1 # Makefile.am -- Go library Makefile.
3 # Copyright 2009 The Go Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
7 # Process this file with autoreconf to produce Makefile.in.
10 SUFFIXES = .c .go .gox .o .obj .lo .a
18 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
20 MAINT_CHARSET = latin1
22 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
23 PWD_COMMAND = $${PWDCMD-pwd}
24 STAMP = echo timestamp >
26 toolexecdir = $(glibgo_toolexecdir)
27 toolexeclibdir = $(glibgo_toolexeclibdir)
28 toolexeclibgodir = $(nover_glibgo_toolexeclibdir)/go/$(gcc_version)/$(target_alias)
31 LIBFFIINCS = @LIBFFIINCS@
33 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
35 # -I/-D flags to pass when compiling.
36 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
38 ACLOCAL_AMFLAGS = -I ./config -I ../config
40 AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
41 $(STRINGOPS_FLAG) $(OSCFLAGS) \
42 -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
43 -I $(MULTIBUILDTOP)../../gcc/include
46 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
52 # Work around what appears to be a GNU make handling MAKEFLAGS
53 # values defined in terms of make variables, as is the case for CC and
54 # friends when we are called from the top level Makefile.
56 "AR_FLAGS=$(AR_FLAGS)" \
57 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
58 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
60 "CXXFLAGS=$(CXXFLAGS)" \
61 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
62 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
63 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
65 "GOCFLAGS=$(GOCFLAGS)" \
66 "INSTALL=$(INSTALL)" \
67 "INSTALL_DATA=$(INSTALL_DATA)" \
68 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
69 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
70 "LDFLAGS=$(LDFLAGS)" \
71 "LIBCFLAGS=$(LIBCFLAGS)" \
72 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
74 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
75 "PICFLAG=$(PICFLAG)" \
76 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
78 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
79 "exec_prefix=$(exec_prefix)" \
80 "infodir=$(infodir)" \
82 "includedir=$(includedir)" \
84 "tooldir=$(tooldir)" \
85 "gxx_include_dir=$(gxx_include_dir)" \
91 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
92 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
93 "DESTDIR=$(DESTDIR)" \
96 # Subdir rules rely on $(FLAGS_TO_PASS)
97 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
99 toolexeclib_LTLIBRARIES = libgo.la
100 toolexeclib_LIBRARIES = libgobegin.a
102 toolexeclibgo_DATA = \
132 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
134 toolexeclibgoarchive_DATA = \
138 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
140 toolexeclibgocompress_DATA = \
147 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
149 toolexeclibgocontainer_DATA = \
154 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
156 toolexeclibgocrypto_DATA = \
162 crypto/elliptic.gox \
175 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
177 toolexeclibgocryptox509_DATA = \
180 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
182 toolexeclibgodatabase_DATA = \
185 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
187 toolexeclibgodatabasesql_DATA = \
188 database/sql/driver.gox
190 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
192 toolexeclibgodebug_DATA = \
199 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
201 toolexeclibgoencoding_DATA = \
202 encoding/ascii85.gox \
204 encoding/base32.gox \
205 encoding/base64.gox \
206 encoding/binary.gox \
215 # exp_inotify_gox = exp/inotify.gox
221 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
223 toolexeclibgoexp_DATA = \
234 toolexeclibgoexphtmldir = $(toolexeclibgoexpdir)/html
236 toolexeclibgoexphtml_DATA = \
239 toolexeclibgoexplocaledir = $(toolexeclibgoexpdir)/locale
241 toolexeclibgoexplocale_DATA = \
242 exp/locale/collate.gox
244 toolexeclibgoexplocalecollatedir = $(toolexeclibgoexplocaledir)/collate
246 toolexeclibgoexplocalecollate_DATA = \
247 exp/locale/collate/build.gox
249 toolexeclibgogodir = $(toolexeclibgodir)/go
251 toolexeclibgogo_DATA = \
262 toolexeclibgohashdir = $(toolexeclibgodir)/hash
264 toolexeclibgohash_DATA = \
270 toolexeclibgohtmldir = $(toolexeclibgodir)/html
272 toolexeclibgohtml_DATA = \
275 toolexeclibgoimagedir = $(toolexeclibgodir)/image
277 toolexeclibgoimage_DATA = \
284 toolexeclibgoindexdir = $(toolexeclibgodir)/index
286 toolexeclibgoindex_DATA = \
287 index/suffixarray.gox
289 toolexeclibgoiodir = $(toolexeclibgodir)/io
291 toolexeclibgoio_DATA = \
294 toolexeclibgologdir = $(toolexeclibgodir)/log
296 toolexeclibgolog_DATA = \
299 toolexeclibgomathdir = $(toolexeclibgodir)/math
301 toolexeclibgomath_DATA = \
306 toolexeclibgomimedir = $(toolexeclibgodir)/mime
308 toolexeclibgomime_DATA = \
311 toolexeclibgonetdir = $(toolexeclibgodir)/net
313 toolexeclibgonet_DATA = \
321 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
323 toolexeclibgonethttp_DATA = \
326 net/http/httptest.gox \
327 net/http/httputil.gox \
330 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
332 toolexeclibgonetrpc_DATA = \
335 toolexeclibgoolddir = $(toolexeclibgodir)/old
337 toolexeclibgoold_DATA = \
342 toolexeclibgoosdir = $(toolexeclibgodir)/os
344 toolexeclibgoos_DATA = \
349 toolexeclibgopathdir = $(toolexeclibgodir)/path
351 toolexeclibgopath_DATA = \
354 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
356 toolexeclibgoregexp_DATA = \
359 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
361 toolexeclibgoruntime_DATA = \
365 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
367 toolexeclibgosync_DATA = \
370 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
372 toolexeclibgotesting_DATA = \
376 toolexeclibgotextdir = $(toolexeclibgodir)/text
378 toolexeclibgotext_DATA = \
383 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
385 toolexeclibgotexttemplate_DATA = \
386 text/template/parse.gox
388 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
390 toolexeclibgounicode_DATA = \
395 runtime_mem_file = runtime/mem.c
397 runtime_mem_file = runtime/mem_posix_memalign.c
401 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
403 rtems_task_variable_add_file =
407 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
409 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
413 runtime_getncpu_file = runtime/getncpu-linux.c
416 runtime_getncpu_file = runtime/getncpu-bsd.c
419 runtime_getncpu_file = runtime/getncpu-irix.c
422 runtime_getncpu_file = runtime/getncpu-solaris.c
425 runtime_getncpu_file = runtime/getncpu-bsd.c
428 runtime_getncpu_file = runtime/getncpu-bsd.c
430 runtime_getncpu_file = runtime/getncpu-none.c
439 runtime/go-append.c \
440 runtime/go-assert.c \
441 runtime/go-assert-interface.c \
442 runtime/go-byte-array-to-string.c \
443 runtime/go-breakpoint.c \
444 runtime/go-caller.c \
445 runtime/go-callers.c \
446 runtime/go-can-convert-interface.c \
448 runtime/go-check-interface.c \
449 runtime/go-construct-map.c \
450 runtime/go-convert-interface.c \
453 runtime/go-deferred-recover.c \
454 runtime/go-eface-compare.c \
455 runtime/go-eface-val-compare.c \
456 runtime/go-fieldtrack.c \
457 runtime/go-getgoroot.c \
458 runtime/go-int-array-to-string.c \
459 runtime/go-int-to-string.c \
460 runtime/go-interface-compare.c \
461 runtime/go-interface-eface-compare.c \
462 runtime/go-interface-val-compare.c \
463 runtime/go-make-slice.c \
464 runtime/go-map-delete.c \
465 runtime/go-map-index.c \
466 runtime/go-map-len.c \
467 runtime/go-map-range.c \
468 runtime/go-matherr.c \
469 runtime/go-memcmp.c \
470 runtime/go-nanotime.c \
472 runtime/go-new-map.c \
477 runtime/go-recover.c \
478 runtime/go-reflect-call.c \
479 runtime/go-reflect-map.c \
481 runtime/go-runtime-error.c \
482 runtime/go-setenv.c \
483 runtime/go-signal.c \
484 runtime/go-strcmp.c \
485 runtime/go-string-to-byte-array.c \
486 runtime/go-string-to-int-array.c \
487 runtime/go-strplus.c \
488 runtime/go-strslice.c \
489 runtime/go-traceback.c \
490 runtime/go-trampoline.c \
491 runtime/go-type-complex.c \
492 runtime/go-type-eface.c \
493 runtime/go-type-error.c \
494 runtime/go-type-float.c \
495 runtime/go-type-identity.c \
496 runtime/go-type-interface.c \
497 runtime/go-type-string.c \
498 runtime/go-typedesc-equal.c \
499 runtime/go-typestring.c \
500 runtime/go-unsafe-new.c \
501 runtime/go-unsafe-newarray.c \
502 runtime/go-unsafe-pointer.c \
503 runtime/go-unwind.c \
506 runtime/env_posix.c \
508 $(runtime_lock_files) \
511 $(runtime_mem_file) \
513 runtime/mfixalloc.c \
522 runtime/signal_unix.c \
525 $(rtems_task_variable_add_file) \
536 $(runtime_getncpu_file)
538 goc2c.$(OBJEXT): runtime/goc2c.c
539 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
541 goc2c: goc2c.$(OBJEXT)
542 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
544 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
548 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
552 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
556 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
560 sema.c: $(srcdir)/runtime/sema.goc goc2c
564 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
565 ./goc2c --go-pkgpath os_signal $< > $@.tmp
568 time.c: $(srcdir)/runtime/time.goc goc2c
572 %.c: $(srcdir)/runtime/%.goc goc2c
582 go/bytes/bytes_decl.go \
638 go/math/copysign.go \
658 go/math/nextafter.go \
661 go/math/remainder.go \
673 go/mime/mediatype.go \
678 go_net_fd_os_file = go/net/fd_select.go
679 go_net_newpollserver_file = go/net/newpollserver_rtems.go
680 else # !LIBGO_IS_RTEMS
682 go_net_fd_os_file = go/net/fd_linux.go
683 go_net_newpollserver_file = go/net/newpollserver_unix.go
684 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
686 go_net_fd_os_file = go/net/fd_bsd.go
687 go_net_newpollserver_file = go/net/newpollserver_unix.go
688 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
689 # By default use select with pipes. Most systems should have
691 go_net_fd_os_file = go/net/fd_select.go
692 go_net_newpollserver_file = go/net/newpollserver_unix.go
693 endif # !LIBGO_IS_NETBSD
694 endif # !LIBGO_IS_LINUX
695 endif # !LIBGO_IS_RTEMS
698 go_net_cgo_file = go/net/cgo_linux.go
699 go_net_sock_file = go/net/sock_linux.go
700 go_net_sockopt_file = go/net/sockopt_linux.go
701 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
704 go_net_cgo_file = go/net/cgo_linux.go
705 go_net_sock_file = go/net/sock_linux.go
706 go_net_sockopt_file = go/net/sockopt_linux.go
707 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
710 go_net_cgo_file = go/net/cgo_linux.go
711 go_net_sock_file = go/net/sock_solaris.go
712 go_net_sockopt_file = go/net/sockopt_bsd.go
713 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
716 go_net_cgo_file = go/net/cgo_bsd.go
717 go_net_sock_file = go/net/sock_bsd.go
718 go_net_sockopt_file = go/net/sockopt_bsd.go
719 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
722 go_net_cgo_file = go/net/cgo_netbsd.go
723 go_net_sock_file = go/net/sock_bsd.go
724 go_net_sockopt_file = go/net/sockopt_bsd.go
725 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
727 go_net_cgo_file = go/net/cgo_bsd.go
728 go_net_sock_file = go/net/sock_bsd.go
729 go_net_sockopt_file = go/net/sockopt_bsd.go
730 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
738 go_net_sendfile_file = go/net/sendfile_linux.go
741 go_net_sendfile_file = go/net/sendfile_freebsd.go
743 go_net_sendfile_file = go/net/sendfile_stub.go
748 go_net_interface_file = go/net/interface_linux.go
751 go_net_interface_file = go/net/interface_netbsd.go
753 go_net_interface_file = go/net/interface_stub.go
758 go_net_cloexec_file = go/net/sock_cloexec.go
760 go_net_cloexec_file = go/net/sys_cloexec.go
766 $(go_net_cloexec_file) \
768 go/net/dnsclient.go \
769 go/net/dnsclient_unix.go \
770 go/net/dnsconfig_unix.go \
772 $(go_net_newpollserver_file) \
774 $(go_net_fd_os_file) \
775 go/net/file_unix.go \
777 go/net/interface.go \
778 $(go_net_interface_file) \
780 go/net/iprawsock.go \
781 go/net/iprawsock_posix.go \
783 go/net/ipsock_posix.go \
785 go/net/lookup_unix.go \
791 go/net/port_unix.go \
792 $(go_net_sendfile_file) \
793 go/net/sock_posix.go \
794 $(go_net_sock_file) \
795 go/net/sockopt_posix.go \
796 $(go_net_sockopt_file) \
797 $(go_net_sockoptip_file) \
799 go/net/tcpsock_posix.go \
801 go/net/udpsock_posix.go \
803 go/net/unixsock_posix.go
807 go_os_dir_file = go/os/dir_largefile.go
810 go_os_dir_file = go/os/dir_largefile.go
812 go_os_dir_file = go/os/dir_regfile.go
817 go_os_dir_file = go/os/dir_largefile.go
819 go_os_dir_file = go/os/dir_regfile.go
824 go_os_sys_file = go/os/sys_linux.go
827 go_os_sys_file = go/os/sys_uname.go
830 go_os_sys_file = go/os/sys_uname.go
833 go_os_sys_file = go/os/sys_uname.go
835 go_os_sys_file = go/os/sys_bsd.go
842 go_os_stat_file = go/os/stat_solaris.go
845 go_os_stat_file = go/os/stat_atim.go
848 go_os_stat_file = go/os/stat_atim.go
851 go_os_stat_file = go/os/stat_atimespec.go
854 go_os_stat_file = go/os/stat_atimespec.go
857 go_os_stat_file = go/os/stat_atimespec.go
859 go_os_stat_file = go/os/stat.go
868 go_os_pipe_file = go/os/pipe_linux.go
870 go_os_pipe_file = go/os/pipe_bsd.go
879 go/os/error_posix.go \
881 go/os/exec_posix.go \
884 go/os/file_posix.go \
901 go/reflect/deepequal.go \
902 go/reflect/makefunc.go \
911 go/net/rpc/client.go \
912 go/net/rpc/debug.go \
916 go/runtime/compiler.go \
917 go/runtime/debug.go \
918 go/runtime/error.go \
919 go/runtime/extern.go \
921 go/runtime/softfloat64.go \
925 version.go: s-version; @true
928 echo "package runtime" > version.go.tmp
929 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
930 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
931 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
932 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
933 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
944 go/strconv/decimal.go \
945 go/strconv/extfloat.go \
947 go/strconv/isprint.go \
952 go/strings/reader.go \
953 go/strings/replace.go \
954 go/strings/search.go \
955 go/strings/strings.go
967 go_syslog_file = go/log/syslog/syslog_libc.go
970 go_syslog_file = go/log/syslog/syslog_libc.go
972 go_syslog_file = go/log/syslog/syslog_unix.go
976 go_log_syslog_files = \
977 go/log/syslog/syslog.go \
979 go_syslog_c_files = \
980 go/log/syslog/syslog_c.c
983 go/testing/benchmark.go \
984 go/testing/example.go \
985 go/testing/testing.go
990 go/time/sys_unix.go \
993 go/time/zoneinfo.go \
994 go/time/zoneinfo_read.go \
995 go/time/zoneinfo_unix.go
998 go/unicode/casetables.go \
999 go/unicode/digit.go \
1000 go/unicode/graphic.go \
1001 go/unicode/letter.go \
1002 go/unicode/tables.go
1005 archive_tar_atim_file = go/archive/tar/stat_atim.go
1008 archive_tar_atim_file = go/archive/tar/stat_atim.go
1011 archive_tar_atim_file = go/archive/tar/stat_atim.go
1014 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1017 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1020 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1023 go_archive_tar_files = \
1024 go/archive/tar/common.go \
1025 go/archive/tar/reader.go \
1026 go/archive/tar/stat_unix.go \
1027 go/archive/tar/writer.go \
1028 $(archive_tar_atim_file)
1030 go_archive_zip_files = \
1031 go/archive/zip/reader.go \
1032 go/archive/zip/struct.go \
1033 go/archive/zip/writer.go
1035 go_compress_bzip2_files = \
1036 go/compress/bzip2/bit_reader.go \
1037 go/compress/bzip2/bzip2.go \
1038 go/compress/bzip2/huffman.go \
1039 go/compress/bzip2/move_to_front.go
1041 go_compress_flate_files = \
1042 go/compress/flate/copy.go \
1043 go/compress/flate/deflate.go \
1044 go/compress/flate/fixedhuff.go \
1045 go/compress/flate/huffman_bit_writer.go \
1046 go/compress/flate/huffman_code.go \
1047 go/compress/flate/inflate.go \
1048 go/compress/flate/reverse_bits.go \
1049 go/compress/flate/token.go
1051 go_compress_gzip_files = \
1052 go/compress/gzip/gzip.go \
1053 go/compress/gzip/gunzip.go
1055 go_compress_lzw_files = \
1056 go/compress/lzw/reader.go \
1057 go/compress/lzw/writer.go
1059 go_compress_zlib_files = \
1060 go/compress/zlib/reader.go \
1061 go/compress/zlib/writer.go
1063 go_container_heap_files = \
1064 go/container/heap/heap.go
1066 go_container_list_files = \
1067 go/container/list/list.go
1069 go_container_ring_files = \
1070 go/container/ring/ring.go
1072 go_crypto_aes_files = \
1073 go/crypto/aes/block.go \
1074 go/crypto/aes/cipher.go \
1075 go/crypto/aes/cipher_generic.go \
1076 go/crypto/aes/const.go
1077 go_crypto_cipher_files = \
1078 go/crypto/cipher/cbc.go \
1079 go/crypto/cipher/cfb.go \
1080 go/crypto/cipher/cipher.go \
1081 go/crypto/cipher/ctr.go \
1082 go/crypto/cipher/io.go \
1083 go/crypto/cipher/ofb.go
1084 go_crypto_des_files = \
1085 go/crypto/des/block.go \
1086 go/crypto/des/cipher.go \
1087 go/crypto/des/const.go
1088 go_crypto_dsa_files = \
1089 go/crypto/dsa/dsa.go
1090 go_crypto_ecdsa_files = \
1091 go/crypto/ecdsa/ecdsa.go
1092 go_crypto_elliptic_files = \
1093 go/crypto/elliptic/elliptic.go \
1094 go/crypto/elliptic/p224.go
1095 go_crypto_hmac_files = \
1096 go/crypto/hmac/hmac.go
1097 go_crypto_md5_files = \
1098 go/crypto/md5/md5.go \
1099 go/crypto/md5/md5block.go
1100 go_crypto_rand_files = \
1101 go/crypto/rand/rand.go \
1102 go/crypto/rand/rand_unix.go \
1103 go/crypto/rand/util.go
1104 go_crypto_rc4_files = \
1105 go/crypto/rc4/rc4.go
1106 go_crypto_rsa_files = \
1107 go/crypto/rsa/pkcs1v15.go \
1108 go/crypto/rsa/rsa.go
1109 go_crypto_sha1_files = \
1110 go/crypto/sha1/sha1.go \
1111 go/crypto/sha1/sha1block.go
1112 go_crypto_sha256_files = \
1113 go/crypto/sha256/sha256.go \
1114 go/crypto/sha256/sha256block.go
1115 go_crypto_sha512_files = \
1116 go/crypto/sha512/sha512.go \
1117 go/crypto/sha512/sha512block.go
1118 go_crypto_subtle_files = \
1119 go/crypto/subtle/constant_time.go
1120 go_crypto_tls_files = \
1121 go/crypto/tls/alert.go \
1122 go/crypto/tls/cipher_suites.go \
1123 go/crypto/tls/common.go \
1124 go/crypto/tls/conn.go \
1125 go/crypto/tls/handshake_client.go \
1126 go/crypto/tls/handshake_messages.go \
1127 go/crypto/tls/handshake_server.go \
1128 go/crypto/tls/key_agreement.go \
1129 go/crypto/tls/prf.go \
1130 go/crypto/tls/ticket.go \
1131 go/crypto/tls/tls.go
1132 go_crypto_x509_files = \
1133 go/crypto/x509/cert_pool.go \
1134 go/crypto/x509/pem_decrypt.go \
1135 go/crypto/x509/pkcs1.go \
1136 go/crypto/x509/pkcs8.go \
1137 go/crypto/x509/root.go \
1138 go/crypto/x509/root_unix.go \
1139 go/crypto/x509/sec1.go \
1140 go/crypto/x509/verify.go \
1141 go/crypto/x509/x509.go
1143 go_crypto_x509_pkix_files = \
1144 go/crypto/x509/pkix/pkix.go
1146 go_database_sql_files = \
1147 go/database/sql/convert.go \
1148 go/database/sql/sql.go
1150 go_database_sql_driver_files = \
1151 go/database/sql/driver/driver.go \
1152 go/database/sql/driver/types.go
1154 go_debug_dwarf_files = \
1155 go/debug/dwarf/buf.go \
1156 go/debug/dwarf/const.go \
1157 go/debug/dwarf/entry.go \
1158 go/debug/dwarf/line.go \
1159 go/debug/dwarf/open.go \
1160 go/debug/dwarf/type.go \
1161 go/debug/dwarf/unit.go
1162 go_debug_elf_files = \
1163 go/debug/elf/elf.go \
1164 go/debug/elf/file.go
1165 go_debug_gosym_files = \
1166 go/debug/gosym/pclntab.go \
1167 go/debug/gosym/symtab.go
1168 go_debug_macho_files = \
1169 go/debug/macho/file.go \
1170 go/debug/macho/macho.go
1171 go_debug_pe_files = \
1172 go/debug/pe/file.go \
1175 go_encoding_ascii85_files = \
1176 go/encoding/ascii85/ascii85.go
1177 go_encoding_asn1_files = \
1178 go/encoding/asn1/asn1.go \
1179 go/encoding/asn1/common.go \
1180 go/encoding/asn1/marshal.go
1181 go_encoding_base32_files = \
1182 go/encoding/base32/base32.go
1183 go_encoding_base64_files = \
1184 go/encoding/base64/base64.go
1185 go_encoding_binary_files = \
1186 go/encoding/binary/binary.go \
1187 go/encoding/binary/varint.go
1188 go_encoding_csv_files = \
1189 go/encoding/csv/reader.go \
1190 go/encoding/csv/writer.go
1191 go_encoding_gob_files = \
1192 go/encoding/gob/decode.go \
1193 go/encoding/gob/decoder.go \
1194 go/encoding/gob/doc.go \
1195 go/encoding/gob/encode.go \
1196 go/encoding/gob/encoder.go \
1197 go/encoding/gob/error.go \
1198 go/encoding/gob/type.go
1199 go_encoding_hex_files = \
1200 go/encoding/hex/hex.go
1201 go_encoding_json_files = \
1202 go/encoding/json/decode.go \
1203 go/encoding/json/encode.go \
1204 go/encoding/json/indent.go \
1205 go/encoding/json/scanner.go \
1206 go/encoding/json/stream.go \
1207 go/encoding/json/tags.go
1208 go_encoding_pem_files = \
1209 go/encoding/pem/pem.go
1210 go_encoding_xml_files = \
1211 go/encoding/xml/marshal.go \
1212 go/encoding/xml/read.go \
1213 go/encoding/xml/typeinfo.go \
1214 go/encoding/xml/xml.go
1216 go_exp_cookiejar_files = \
1217 go/exp/cookiejar/jar.go \
1218 go/exp/cookiejar/storage.go
1219 go_exp_ebnf_files = \
1220 go/exp/ebnf/ebnf.go \
1221 go/exp/ebnf/parser.go
1222 go_exp_html_files = \
1223 go/exp/html/const.go \
1224 go/exp/html/doc.go \
1225 go/exp/html/doctype.go \
1226 go/exp/html/entity.go \
1227 go/exp/html/escape.go \
1228 go/exp/html/foreign.go \
1229 go/exp/html/node.go \
1230 go/exp/html/parse.go \
1231 go/exp/html/render.go \
1232 go/exp/html/token.go
1233 go_exp_html_atom_files = \
1234 go/exp/html/atom/atom.go \
1235 go/exp/html/atom/table.go
1236 go_exp_inotify_files = \
1237 go/exp/inotify/inotify_linux.go
1238 go_exp_locale_collate_files = \
1239 go/exp/locale/collate/colelem.go \
1240 go/exp/locale/collate/collate.go \
1241 go/exp/locale/collate/colltab.go \
1242 go/exp/locale/collate/contract.go \
1243 go/exp/locale/collate/export.go \
1244 go/exp/locale/collate/sort.go \
1245 go/exp/locale/collate/table.go \
1246 go/exp/locale/collate/tables.go \
1247 go/exp/locale/collate/trie.go
1248 go_exp_locale_collate_build_files = \
1249 go/exp/locale/collate/build/builder.go \
1250 go/exp/locale/collate/build/colelem.go \
1251 go/exp/locale/collate/build/contract.go \
1252 go/exp/locale/collate/build/order.go \
1253 go/exp/locale/collate/build/table.go \
1254 go/exp/locale/collate/build/trie.go
1255 go_exp_norm_files = \
1256 go/exp/norm/composition.go \
1257 go/exp/norm/forminfo.go \
1258 go/exp/norm/input.go \
1259 go/exp/norm/iter.go \
1260 go/exp/norm/normalize.go \
1261 go/exp/norm/readwriter.go \
1262 go/exp/norm/tables.go \
1264 go_exp_proxy_files = \
1265 go/exp/proxy/direct.go \
1266 go/exp/proxy/per_host.go \
1267 go/exp/proxy/proxy.go \
1268 go/exp/proxy/socks5.go
1269 go_exp_ssa_files = \
1270 go/exp/ssa/blockopt.go \
1272 go/exp/ssa/func.go \
1273 go/exp/ssa/sanity.go \
1275 go/exp/ssa/literal.go \
1276 go/exp/ssa/print.go \
1278 go_exp_terminal_files = \
1279 go/exp/terminal/terminal.go \
1280 go/exp/terminal/util.go
1281 go_exp_utf8string_files = \
1282 go/exp/utf8string/string.go
1286 go/go/ast/commentmap.go \
1287 go/go/ast/filter.go \
1288 go/go/ast/import.go \
1289 go/go/ast/print.go \
1290 go/go/ast/resolve.go \
1291 go/go/ast/scope.go \
1293 go_go_build_files = \
1294 go/go/build/build.go \
1295 go/go/build/doc.go \
1296 go/go/build/read.go \
1299 go/go/doc/comment.go \
1301 go/go/doc/example.go \
1302 go/go/doc/exports.go \
1303 go/go/doc/filter.go \
1304 go/go/doc/reader.go \
1305 go/go/doc/synopsis.go
1306 go_go_format_files = \
1307 go/go/format/format.go
1308 go_go_parser_files = \
1309 go/go/parser/interface.go \
1310 go/go/parser/parser.go
1311 go_go_printer_files = \
1312 go/go/printer/nodes.go \
1313 go/go/printer/printer.go
1314 go_go_scanner_files = \
1315 go/go/scanner/errors.go \
1316 go/go/scanner/scanner.go
1317 go_go_token_files = \
1318 go/go/token/position.go \
1319 go/go/token/serialize.go \
1320 go/go/token/token.go
1321 go_go_types_files = \
1322 go/go/types/api.go \
1323 go/go/types/builtins.go \
1324 go/go/types/check.go \
1325 go/go/types/const.go \
1326 go/go/types/conversions.go \
1327 go/go/types/errors.go \
1328 go/go/types/exportdata.go \
1329 go/go/types/expr.go \
1330 go/go/types/gcimporter.go \
1331 go/go/types/objects.go \
1332 go/go/types/operand.go \
1333 go/go/types/predicates.go \
1334 go/go/types/resolve.go \
1335 go/go/types/scope.go \
1336 go/go/types/stmt.go \
1337 go/go/types/types.go \
1338 go/go/types/universe.go
1340 go_hash_adler32_files = \
1341 go/hash/adler32/adler32.go
1342 go_hash_crc32_files = \
1343 go/hash/crc32/crc32.go \
1344 go/hash/crc32/crc32_generic.go
1345 go_hash_crc64_files = \
1346 go/hash/crc64/crc64.go
1347 go_hash_fnv_files = \
1350 go_html_template_files = \
1351 go/html/template/attr.go \
1352 go/html/template/content.go \
1353 go/html/template/context.go \
1354 go/html/template/css.go \
1355 go/html/template/doc.go \
1356 go/html/template/error.go \
1357 go/html/template/escape.go \
1358 go/html/template/html.go \
1359 go/html/template/js.go \
1360 go/html/template/template.go \
1361 go/html/template/transition.go \
1362 go/html/template/url.go
1364 go_image_color_files = \
1365 go/image/color/color.go \
1366 go/image/color/ycbcr.go
1368 go_image_draw_files = \
1369 go/image/draw/draw.go
1371 go_image_gif_files = \
1372 go/image/gif/reader.go
1374 go_image_jpeg_files = \
1375 go/image/jpeg/fdct.go \
1376 go/image/jpeg/huffman.go \
1377 go/image/jpeg/idct.go \
1378 go/image/jpeg/reader.go \
1379 go/image/jpeg/scan.go \
1380 go/image/jpeg/writer.go
1382 go_image_png_files = \
1383 go/image/png/paeth.go \
1384 go/image/png/reader.go \
1385 go/image/png/writer.go
1387 go_index_suffixarray_files = \
1388 go/index/suffixarray/qsufsort.go \
1389 go/index/suffixarray/suffixarray.go
1391 go_io_ioutil_files = \
1392 go/io/ioutil/blackhole.go \
1393 go/io/ioutil/ioutil.go \
1394 go/io/ioutil/tempfile.go
1396 go_math_big_files = \
1397 go/math/big/arith.go \
1398 go/math/big/int.go \
1399 go/math/big/nat.go \
1401 go_math_cmplx_files = \
1402 go/math/cmplx/abs.go \
1403 go/math/cmplx/asin.go \
1404 go/math/cmplx/conj.go \
1405 go/math/cmplx/exp.go \
1406 go/math/cmplx/isinf.go \
1407 go/math/cmplx/isnan.go \
1408 go/math/cmplx/log.go \
1409 go/math/cmplx/phase.go \
1410 go/math/cmplx/polar.go \
1411 go/math/cmplx/pow.go \
1412 go/math/cmplx/rect.go \
1413 go/math/cmplx/sin.go \
1414 go/math/cmplx/sqrt.go \
1415 go/math/cmplx/tan.go
1416 go_math_rand_files = \
1417 go/math/rand/exp.go \
1418 go/math/rand/normal.go \
1419 go/math/rand/rand.go \
1420 go/math/rand/rng.go \
1421 go/math/rand/zipf.go
1423 go_mime_multipart_files = \
1424 go/mime/multipart/formdata.go \
1425 go/mime/multipart/multipart.go \
1426 go/mime/multipart/quotedprintable.go \
1427 go/mime/multipart/writer.go
1429 go_net_http_files = \
1430 go/net/http/chunked.go \
1431 go/net/http/client.go \
1432 go/net/http/cookie.go \
1433 go/net/http/filetransport.go \
1435 go/net/http/header.go \
1436 go/net/http/jar.go \
1437 go/net/http/lex.go \
1438 go/net/http/request.go \
1439 go/net/http/response.go \
1440 go/net/http/server.go \
1441 go/net/http/sniff.go \
1442 go/net/http/status.go \
1443 go/net/http/transfer.go \
1444 go/net/http/transport.go
1445 go_net_mail_files = \
1446 go/net/mail/message.go
1447 go_net_smtp_files = \
1448 go/net/smtp/auth.go \
1450 go_net_textproto_files = \
1451 go/net/textproto/header.go \
1452 go/net/textproto/pipeline.go \
1453 go/net/textproto/reader.go \
1454 go/net/textproto/textproto.go \
1455 go/net/textproto/writer.go
1456 go_net_url_files = \
1459 go_net_http_cgi_files = \
1460 go/net/http/cgi/child.go \
1461 go/net/http/cgi/host.go
1462 go_net_http_fcgi_files = \
1463 go/net/http/fcgi/child.go \
1464 go/net/http/fcgi/fcgi.go
1465 go_net_http_httptest_files = \
1466 go/net/http/httptest/recorder.go \
1467 go/net/http/httptest/server.go
1468 go_net_http_pprof_files = \
1469 go/net/http/pprof/pprof.go
1470 go_net_http_httputil_files = \
1471 go/net/http/httputil/chunked.go \
1472 go/net/http/httputil/dump.go \
1473 go/net/http/httputil/persist.go \
1474 go/net/http/httputil/reverseproxy.go
1477 go_old_netchan_files = \
1478 go/old/netchan/common.go \
1479 go/old/netchan/export.go \
1480 go/old/netchan/import.go
1481 go_old_regexp_files = \
1482 go/old/regexp/regexp.go
1483 go_old_template_files = \
1484 go/old/template/doc.go \
1485 go/old/template/execute.go \
1486 go/old/template/format.go \
1487 go/old/template/parse.go
1489 go_os_exec_files = \
1490 go/os/exec/exec.go \
1491 go/os/exec/lp_unix.go
1493 go_os_signal_files = \
1494 go/os/signal/signal.go \
1495 go/os/signal/signal_unix.go
1497 go_os_user_files = \
1498 go/os/user/user.go \
1499 go/os/user/lookup.go \
1500 go/os/user/lookup_unix.go
1502 go_path_filepath_files = \
1503 go/path/filepath/match.go \
1504 go/path/filepath/path.go \
1505 go/path/filepath/path_unix.go \
1506 go/path/filepath/symlink.go
1508 go_regexp_syntax_files = \
1509 go/regexp/syntax/compile.go \
1510 go/regexp/syntax/doc.go \
1511 go/regexp/syntax/parse.go \
1512 go/regexp/syntax/perl_groups.go \
1513 go/regexp/syntax/prog.go \
1514 go/regexp/syntax/regexp.go \
1515 go/regexp/syntax/simplify.go
1517 go_net_rpc_jsonrpc_files = \
1518 go/net/rpc/jsonrpc/client.go \
1519 go/net/rpc/jsonrpc/server.go
1521 go_runtime_debug_files = \
1522 go/runtime/debug/stack.go
1523 go_runtime_pprof_files = \
1524 go/runtime/pprof/pprof.go
1526 go_text_tabwriter_files = \
1527 go/text/tabwriter/tabwriter.go
1528 go_text_template_files = \
1529 go/text/template/doc.go \
1530 go/text/template/exec.go \
1531 go/text/template/funcs.go \
1532 go/text/template/helper.go \
1533 go/text/template/template.go
1534 go_text_template_parse_files = \
1535 go/text/template/parse/lex.go \
1536 go/text/template/parse/node.go \
1537 go/text/template/parse/parse.go
1539 go_sync_atomic_files = \
1540 go/sync/atomic/doc.go
1541 go_sync_atomic_c_files = \
1542 go/sync/atomic/atomic.c
1544 go_testing_iotest_files = \
1545 go/testing/iotest/logger.go \
1546 go/testing/iotest/reader.go \
1547 go/testing/iotest/writer.go
1548 go_testing_quick_files = \
1549 go/testing/quick/quick.go
1551 go_text_scanner_files = \
1552 go/text/scanner/scanner.go
1554 go_unicode_utf16_files = \
1555 go/unicode/utf16/utf16.go
1556 go_unicode_utf8_files = \
1557 go/unicode/utf8/utf8.go
1559 # Define Syscall and Syscall6.
1561 syscall_syscall_file = go/syscall/syscall_stubs.go
1563 syscall_syscall_file = go/syscall/syscall_unix.go
1566 # Define ForkExec and Exec.
1568 syscall_exec_file = go/syscall/exec_stubs.go
1569 syscall_exec_os_file =
1572 syscall_exec_file = go/syscall/exec_unix.go
1573 syscall_exec_os_file = go/syscall/exec_linux.go
1575 syscall_exec_file = go/syscall/exec_unix.go
1576 syscall_exec_os_file = go/syscall/exec_bsd.go
1585 syscall_wait_file = go/syscall/libcall_wait4.go
1587 syscall_wait_file = go/syscall/libcall_waitpid.go
1591 # Support for pulling apart wait status.
1593 syscall_wait_c_file =
1595 syscall_wait_c_file = go/syscall/wait.c
1600 syscall_sleep_file = go/syscall/sleep_rtems.go
1602 syscall_sleep_file = go/syscall/sleep_select.go
1607 syscall_errstr_file = go/syscall/errstr_linux.go
1610 syscall_errstr_file = go/syscall/errstr_linux.go
1613 syscall_errstr_file = go/syscall/errstr.go
1615 syscall_errstr_file = go/syscall/errstr_nor.go
1620 # Declare libc functions that vary for largefile systems.
1622 # Always use lseek64 on GNU/Linux.
1623 syscall_size_file = go/syscall/libcall_posix_largefile.go
1624 else # !LIBGO_IS_LINUX
1627 # Use lseek64 on 32-bit Solaris/x86.
1628 syscall_size_file = go/syscall/libcall_posix_largefile.go
1629 else # !LIBGO_IS_386
1631 # Use lseek64 on 32-bit Solaris/SPARC.
1632 syscall_size_file = go/syscall/libcall_posix_largefile.go
1633 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1634 # Use lseek on 64-bit Solaris.
1635 syscall_size_file = go/syscall/libcall_posix_regfile.go
1636 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1637 endif # !LIBGO_IS_SOLARIS
1638 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1639 # Use lseek by default.
1640 syscall_size_file = go/syscall/libcall_posix_regfile.go
1641 endif # !LIBGO_IS_SOLARIS
1642 endif # !LIBGO_IS_LINUX
1644 # Define socket sizes and types.
1646 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1649 syscall_socket_file = go/syscall/socket_solaris.go
1652 syscall_socket_file = go/syscall/socket_irix.go
1654 syscall_socket_file = go/syscall/socket_bsd.go
1659 # Support for uname.
1662 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1663 syscall_uname_file =
1664 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1665 syscall_uname_file = go/syscall/libcall_uname.go
1667 else # !LIBGO_IS_SOLARIS
1668 syscall_uname_file = go/syscall/libcall_uname.go
1671 # GNU/Linux specific socket control messages.
1673 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1675 syscall_sockcmsg_file =
1678 # Support for netlink sockets and messages.
1680 syscall_netlink_file = go/syscall/netlink_linux.go
1682 syscall_netlink_file =
1685 # GNU/Linux specific socket filters.
1687 syscall_lsf_file = go/syscall/lsf_linux.go
1692 # GNU/Linux specific utimesnano support.
1694 syscall_utimesnano_file = go/syscall/libcall_linux_utimesnano.go
1696 syscall_utimesnano_file = go/syscall/libcall_posix_utimesnano.go
1701 syscall_creds_test_file = go/syscall/creds_test.go
1703 syscall_creds_test_file =
1706 go_base_syscall_files = \
1707 go/syscall/env_unix.go \
1708 go/syscall/syscall_errno.go \
1709 go/syscall/libcall_support.go \
1710 go/syscall/libcall_posix.go \
1711 go/syscall/race0.go \
1712 go/syscall/socket.go \
1713 go/syscall/sockcmsg_unix.go \
1715 go/syscall/syscall.go \
1716 $(syscall_sockcmsg_file) \
1717 $(syscall_syscall_file) \
1718 $(syscall_exec_file) \
1719 $(syscall_exec_os_file) \
1720 $(syscall_wait_file) \
1721 $(syscall_sleep_file) \
1722 $(syscall_errstr_file) \
1723 $(syscall_size_file) \
1724 $(syscall_socket_file) \
1725 $(syscall_uname_file) \
1726 $(syscall_netlink_file) \
1727 $(syscall_lsf_file) \
1728 $(syscall_utimesnano_file) \
1729 $(GO_LIBCALL_OS_FILE) \
1730 $(GO_LIBCALL_OS_ARCH_FILE) \
1731 $(GO_SYSCALL_OS_FILE) \
1732 $(GO_SYSCALL_OS_ARCH_FILE)
1734 go_syscall_files = \
1735 $(go_base_syscall_files) \
1739 go_syscall_c_files = \
1740 go/syscall/errno.c \
1741 go/syscall/signame.c \
1742 $(syscall_wait_c_file)
1744 go_syscall_test_files = \
1745 $(syscall_creds_test_file) \
1746 go/syscall/passfd_test.go
1748 libcalls.go: s-libcalls; @true
1749 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1750 rm -f libcalls.go.tmp
1751 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1752 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1753 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1756 syscall_arch.go: s-syscall_arch; @true
1757 s-syscall_arch: Makefile
1758 rm -f syscall_arch.go.tmp
1759 echo "package syscall" > syscall_arch.go.tmp
1760 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1761 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1762 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1765 sysinfo.go: s-sysinfo; @true
1766 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1767 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1768 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1771 # The epoll struct has an embedded union and is packed on x86_64,
1772 # which is too complicated for mksysinfo.sh. We find the offset of
1773 # the only field we care about in configure.ac, and generate the
1775 epoll.go: s-epoll; @true
1778 echo 'package syscall' > epoll.go.tmp
1779 echo 'type EpollEvent struct {' >> epoll.go.tmp
1780 echo ' Events uint32' >> epoll.go.tmp
1781 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1782 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1784 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1785 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1786 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1787 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1788 echo ' Fd int32' >> epoll.go.tmp; ;; \
1789 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1790 echo ' Fd int32' >> epoll.go.tmp; \
1791 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1792 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1795 echo '}' >> epoll.go.tmp
1796 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1800 # os_lib_inotify_lo = os/inotify.lo
1834 syscall/signame.lo \
1854 crypto/elliptic.lo \
1866 crypto/x509/pkix.lo \
1868 database/sql/driver.lo \
1874 encoding/ascii85.lo \
1876 encoding/base32.lo \
1877 encoding/base64.lo \
1878 encoding/binary.lo \
1889 exp/locale/collate.lo \
1890 exp/locale/collate/build.lo \
1912 net/http/httptest.lo \
1913 net/http/httputil.lo \
1920 index/suffixarray.lo \
1923 log/syslog/syslog_c.lo \
1938 $(os_lib_inotify_lo) \
1943 net/rpc/jsonrpc.lo \
1951 text/template/parse.lo \
1957 libgo_la_SOURCES = $(runtime_files)
1959 libgo_la_LDFLAGS = \
1960 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1963 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
1964 ../libatomic/libatomic_convenience.la \
1965 $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1967 libgobegin_a_SOURCES = \
1970 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1972 GOCFLAGS = $(CFLAGS)
1973 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1974 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1976 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1977 $(AM_GOCFLAGS) $(GOCFLAGS)
1979 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1980 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1982 # Build the dependencies for a Go package.
1985 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1988 # Build the .go files for a package, generating a .lo file.
1991 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1992 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
1998 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
2000 GOLIBS="$(MATH_LIBS) $(NET_LIBS) $(LIBS)"; \
2002 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
2003 export RUNTESTFLAGS; \
2006 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
2007 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
2008 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
2009 export LD_LIBRARY_PATH; \
2011 rm -f $@-testsum $@-testlog; \
2012 if test "$(USE_DEJAGNU)" = "yes"; then \
2013 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files); \
2015 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files) >>$@-testlog 2>&1; then \
2016 echo "PASS: $(@D)" >> $@-testlog; \
2017 echo "PASS: $(@D)"; \
2018 echo "PASS: $(@D)" > $@-testsum; \
2020 echo "FAIL: $(@D)" >> $@-testlog; \
2022 echo "FAIL: $(@D)" > $@-testsum; \
2027 # Build all packages before checking any.
2028 CHECK_DEPS = libgo.la libgobegin.a \
2029 $(toolexeclibgo_DATA) \
2030 $(toolexeclibgoarchive_DATA) \
2031 $(toolexeclibgocompress_DATA) \
2032 $(toolexeclibgocontainer_DATA) \
2033 $(toolexeclibgocrypto_DATA) \
2034 $(toolexeclibgodebug_DATA) \
2035 $(toolexeclibgoencoding_DATA) \
2036 $(toolexeclibgoexp_DATA) \
2037 $(toolexeclibgogo_DATA) \
2038 $(toolexeclibgohash_DATA) \
2039 $(toolexeclibgoimage_DATA) \
2040 $(toolexeclibgoindex_DATA) \
2041 $(toolexeclibgoio_DATA) \
2042 $(toolexeclibgolog_DATA) \
2043 $(toolexeclibgomath_DATA) \
2044 $(toolexeclibgomime_DATA) \
2045 $(toolexeclibgonet_DATA) \
2046 $(toolexeclibgonethttp_DATA) \
2047 $(toolexeclibgoos_DATA) \
2048 $(toolexeclibgopath_DATA) \
2049 $(toolexeclibgorpc_DATA) \
2050 $(toolexeclibgoruntime_DATA) \
2051 $(toolexeclibgosync_DATA) \
2052 $(toolexeclibgotesting_DATA) \
2053 $(toolexeclibgotext_DATA) \
2054 $(toolexeclibgotexttemplate_DATA) \
2055 $(toolexeclibgounicode_DATA)
2057 @go_include@ bufio.lo.dep
2058 bufio.lo.dep: $(go_bufio_files)
2060 bufio.lo: $(go_bufio_files)
2062 bufio/check: $(CHECK_DEPS)
2066 @go_include@ bytes.lo.dep
2067 bytes.lo.dep: $(go_bytes_files)
2069 bytes.lo: $(go_bytes_files)
2071 bytes/index.lo: $(go_bytes_c_files)
2073 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
2074 bytes/check: $(CHECK_DEPS)
2078 @go_include@ crypto.lo.dep
2079 crypto.lo.dep: $(go_crypto_files)
2081 crypto.lo: $(go_crypto_files)
2083 crypto/check: $(CHECK_DEPS)
2085 .PHONY: crypto/check
2087 @go_include@ errors.lo.dep
2088 errors.lo.dep: $(go_errors_files)
2090 errors.lo: $(go_errors_files)
2092 errors/check: $(CHECK_DEPS)
2094 .PHONY: errors/check
2096 @go_include@ expvar.lo.dep
2097 expvar.lo.dep: $(go_expvar_files)
2099 expvar.lo: $(go_expvar_files)
2101 expvar/check: $(CHECK_DEPS)
2103 .PHONY: expvar/check
2105 @go_include@ flag.lo.dep
2106 flag.lo.dep: $(go_flag_files)
2108 flag.lo: $(go_flag_files)
2110 flag/check: $(CHECK_DEPS)
2114 @go_include@ fmt.lo.dep
2115 fmt.lo.dep: $(go_fmt_files)
2117 fmt.lo: $(go_fmt_files)
2119 fmt/check: $(CHECK_DEPS)
2123 @go_include@ hash.lo.dep
2124 hash.lo.dep: $(go_hash_files)
2126 hash.lo: $(go_hash_files)
2128 hash/check: $(CHECK_DEPS)
2132 @go_include@ html.lo.dep
2133 html.lo.dep: $(go_html_files)
2135 html.lo: $(go_html_files)
2137 html/check: $(CHECK_DEPS)
2141 @go_include@ image.lo.dep
2142 image.lo.dep: $(go_image_files)
2144 image.lo: $(go_image_files)
2146 image/check: $(CHECK_DEPS)
2150 @go_include@ io.lo.dep
2151 io.lo.dep: $(go_io_files)
2153 io.lo: $(go_io_files)
2155 io/check: $(CHECK_DEPS)
2159 @go_include@ log.lo.dep
2160 log.lo.dep: $(go_log_files)
2162 log.lo: $(go_log_files)
2164 log/check: $(CHECK_DEPS)
2168 @go_include@ math.lo.dep
2169 math.lo.dep: $(go_math_files)
2171 math.lo: $(go_math_files)
2173 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2174 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
2175 math/check: $(CHECK_DEPS)
2179 @go_include@ mime.lo.dep
2180 mime.lo.dep: $(go_mime_files)
2182 mime.lo: $(go_mime_files)
2184 mime/check: $(CHECK_DEPS)
2188 @go_include@ net.lo.dep
2189 net.lo.dep: $(go_net_files)
2191 net.lo: $(go_net_files)
2193 net/check: $(CHECK_DEPS)
2197 @go_include@ os.lo.dep
2198 os.lo.dep: $(go_os_files)
2200 os.lo: $(go_os_files)
2202 os/check: $(CHECK_DEPS)
2206 @go_include@ path.lo.dep
2207 path.lo.dep: $(go_path_files)
2209 path.lo: $(go_path_files)
2211 path/check: $(CHECK_DEPS)
2215 @go_include@ reflect-go.lo.dep
2216 reflect-go.lo.dep: $(go_reflect_files)
2218 reflect-go.lo: $(go_reflect_files)
2220 reflect/check: $(CHECK_DEPS)
2222 .PHONY: reflect/check
2224 @go_include@ regexp.lo.dep
2225 regexp.lo.dep: $(go_regexp_files)
2227 regexp.lo: $(go_regexp_files)
2229 regexp/check: $(CHECK_DEPS)
2231 .PHONY: regexp/check
2233 @go_include@ runtime-go.lo.dep
2234 runtime-go.lo.dep: $(go_runtime_files)
2236 runtime-go.lo: $(go_runtime_files)
2238 runtime/check: $(CHECK_DEPS)
2240 .PHONY: runtime/check
2242 @go_include@ sort.lo.dep
2243 sort.lo.dep: $(go_sort_files)
2245 sort.lo: $(go_sort_files)
2247 sort/check: $(CHECK_DEPS)
2251 @go_include@ strconv.lo.dep
2252 strconv.lo.dep: $(go_strconv_files)
2254 strconv.lo: $(go_strconv_files)
2256 strconv/check: $(CHECK_DEPS)
2258 .PHONY: strconv/check
2260 @go_include@ strings.lo.dep
2261 strings.lo.dep: $(go_strings_files)
2263 strings.lo: $(go_strings_files)
2265 strings/check: $(CHECK_DEPS)
2267 .PHONY: strings/check
2269 @go_include@ sync.lo.dep
2270 sync.lo.dep: $(go_sync_files)
2272 sync.lo: $(go_sync_files)
2274 sync/check: $(CHECK_DEPS)
2278 @go_include@ testing.lo.dep
2279 testing.lo.dep: $(go_testing_files)
2281 testing.lo: $(go_testing_files)
2283 testing/check: $(CHECK_DEPS)
2285 .PHONY: testing/check
2287 @go_include@ time-go.lo.dep
2288 time-go.lo.dep: $(go_time_files)
2290 time-go.lo: $(go_time_files)
2292 time/check: $(CHECK_DEPS)
2296 @go_include@ unicode.lo.dep
2297 unicode.lo.dep: $(go_unicode_files)
2299 unicode.lo: $(go_unicode_files)
2301 unicode/check: $(CHECK_DEPS)
2303 .PHONY: unicode/check
2305 @go_include@ archive/tar.lo.dep
2306 archive/tar.lo.dep: $(go_archive_tar_files)
2308 archive/tar.lo: $(go_archive_tar_files)
2310 archive/tar/check: $(CHECK_DEPS)
2312 .PHONY: archive/tar/check
2314 @go_include@ archive/zip.lo.dep
2315 archive/zip.lo.dep: $(go_archive_zip_files)
2317 archive/zip.lo: $(go_archive_zip_files)
2319 archive/zip/check: $(CHECK_DEPS)
2321 .PHONY: archive/zip/check
2323 @go_include@ compress/bzip2.lo.dep
2324 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2326 compress/bzip2.lo: $(go_compress_bzip2_files)
2328 compress/bzip2/check: $(CHECK_DEPS)
2330 .PHONY: compress/bzip2/check
2332 @go_include@ compress/flate.lo.dep
2333 compress/flate.lo.dep: $(go_compress_flate_files)
2335 compress/flate.lo: $(go_compress_flate_files)
2337 compress/flate/check: $(CHECK_DEPS)
2339 .PHONY: compress/flate/check
2341 @go_include@ compress/gzip.lo.dep
2342 compress/gzip.lo.dep: $(go_compress_gzip_files)
2344 compress/gzip.lo: $(go_compress_gzip_files)
2346 compress/gzip/check: $(CHECK_DEPS)
2348 .PHONY: compress/gzip/check
2350 @go_include@ compress/lzw.lo.dep
2351 compress/lzw.lo.dep: $(go_compress_lzw_files)
2353 compress/lzw.lo: $(go_compress_lzw_files)
2355 compress/lzw/check: $(CHECK_DEPS)
2357 .PHONY: compress/lzw/check
2359 @go_include@ compress/zlib.lo.dep
2360 compress/zlib.lo.dep: $(go_compress_zlib_files)
2362 compress/zlib.lo: $(go_compress_zlib_files)
2364 compress/zlib/check: $(CHECK_DEPS)
2366 .PHONY: compress/zlib/check
2368 @go_include@ container/heap.lo.dep
2369 container/heap.lo.dep: $(go_container_heap_files)
2371 container/heap.lo: $(go_container_heap_files)
2373 container/heap/check: $(CHECK_DEPS)
2375 .PHONY: container/heap/check
2377 @go_include@ container/list.lo.dep
2378 container/list.lo.dep: $(go_container_list_files)
2380 container/list.lo: $(go_container_list_files)
2382 container/list/check: $(CHECK_DEPS)
2384 .PHONY: container/list/check
2386 @go_include@ container/ring.lo.dep
2387 container/ring.lo.dep: $(go_container_ring_files)
2389 container/ring.lo: $(go_container_ring_files)
2391 container/ring/check: $(CHECK_DEPS)
2393 .PHONY: container/ring/check
2395 @go_include@ crypto/aes.lo.dep
2396 crypto/aes.lo.dep: $(go_crypto_aes_files)
2398 crypto/aes.lo: $(go_crypto_aes_files)
2400 crypto/aes/check: $(CHECK_DEPS)
2402 .PHONY: crypto/aes/check
2404 @go_include@ crypto/cipher.lo.dep
2405 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2407 crypto/cipher.lo: $(go_crypto_cipher_files)
2409 crypto/cipher/check: $(CHECK_DEPS)
2411 .PHONY: crypto/cipher/check
2413 @go_include@ crypto/des.lo.dep
2414 crypto/des.lo.dep: $(go_crypto_des_files)
2416 crypto/des.lo: $(go_crypto_des_files)
2418 crypto/des/check: $(CHECK_DEPS)
2420 .PHONY: crypto/des/check
2422 @go_include@ crypto/dsa.lo.dep
2423 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2425 crypto/dsa.lo: $(go_crypto_dsa_files)
2427 crypto/dsa/check: $(CHECK_DEPS)
2429 .PHONY: crypto/dsa/check
2431 @go_include@ crypto/ecdsa.lo.dep
2432 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2434 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2436 crypto/ecdsa/check: $(CHECK_DEPS)
2438 .PHONY: crypto/ecdsa/check
2440 @go_include@ crypto/elliptic.lo.dep
2441 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2443 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2445 crypto/elliptic/check: $(CHECK_DEPS)
2447 .PHONY: crypto/elliptic/check
2449 @go_include@ crypto/hmac.lo.dep
2450 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2452 crypto/hmac.lo: $(go_crypto_hmac_files)
2454 crypto/hmac/check: $(CHECK_DEPS)
2456 .PHONY: crypto/hmac/check
2458 @go_include@ crypto/md5.lo.dep
2459 crypto/md5.lo.dep: $(go_crypto_md5_files)
2461 crypto/md5.lo: $(go_crypto_md5_files)
2463 crypto/md5/check: $(CHECK_DEPS)
2465 .PHONY: crypto/md5/check
2467 @go_include@ crypto/rand.lo.dep
2468 crypto/rand.lo.dep: $(go_crypto_rand_files)
2470 crypto/rand.lo: $(go_crypto_rand_files)
2472 crypto/rand/check: $(CHECK_DEPS)
2474 .PHONY: crypto/rand/check
2476 @go_include@ crypto/rc4.lo.dep
2477 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2479 crypto/rc4.lo: $(go_crypto_rc4_files)
2481 crypto/rc4/check: $(CHECK_DEPS)
2483 .PHONY: crypto/rc4/check
2485 @go_include@ crypto/rsa.lo.dep
2486 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2488 crypto/rsa.lo: $(go_crypto_rsa_files)
2490 crypto/rsa/check: $(CHECK_DEPS)
2492 .PHONY: crypto/rsa/check
2494 @go_include@ crypto/sha1.lo.dep
2495 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2497 crypto/sha1.lo: $(go_crypto_sha1_files)
2499 crypto/sha1/check: $(CHECK_DEPS)
2501 .PHONY: crypto/sha1/check
2503 @go_include@ crypto/sha256.lo.dep
2504 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2506 crypto/sha256.lo: $(go_crypto_sha256_files)
2508 crypto/sha256/check: $(CHECK_DEPS)
2510 .PHONY: crypto/sha256/check
2512 @go_include@ crypto/sha512.lo.dep
2513 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2515 crypto/sha512.lo: $(go_crypto_sha512_files)
2517 crypto/sha512/check: $(CHECK_DEPS)
2519 .PHONY: crypto/sha512/check
2521 @go_include@ crypto/subtle.lo.dep
2522 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2524 crypto/subtle.lo: $(go_crypto_subtle_files)
2526 crypto/subtle/check: $(CHECK_DEPS)
2528 .PHONY: crypto/subtle/check
2530 @go_include@ crypto/tls.lo.dep
2531 crypto/tls.lo.dep: $(go_crypto_tls_files)
2533 crypto/tls.lo: $(go_crypto_tls_files)
2535 crypto/tls/check: $(CHECK_DEPS)
2537 .PHONY: crypto/tls/check
2539 @go_include@ crypto/x509.lo.dep
2540 crypto/x509.lo.dep: $(go_crypto_x509_files)
2542 crypto/x509.lo: $(go_crypto_x509_files)
2544 crypto/x509/check: $(CHECK_DEPS)
2546 .PHONY: crypto/x509/check
2548 @go_include@ crypto/x509/pkix.lo.dep
2549 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2551 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2553 crypto/x509/pkix/check: $(CHECK_DEPS)
2555 .PHONY: crypto/x509/pkix/check
2557 @go_include@ database/sql.lo.dep
2558 database/sql.lo.dep: $(go_database_sql_files)
2560 database/sql.lo: $(go_database_sql_files)
2562 database/sql/check: $(CHECK_DEPS)
2564 .PHONY: database/sql/check
2566 @go_include@ database/sql/driver.lo.dep
2567 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2569 database/sql/driver.lo: $(go_database_sql_driver_files)
2571 database/sql/driver/check: $(CHECK_DEPS)
2573 .PHONY: database/sql/driver/check
2575 @go_include@ debug/dwarf.lo.dep
2576 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2578 debug/dwarf.lo: $(go_debug_dwarf_files)
2580 debug/dwarf/check: $(CHECK_DEPS)
2582 .PHONY: debug/dwarf/check
2584 @go_include@ debug/elf.lo.dep
2585 debug/elf.lo.dep: $(go_debug_elf_files)
2587 debug/elf.lo: $(go_debug_elf_files)
2589 debug/elf/check: $(CHECK_DEPS)
2591 .PHONY: debug/elf/check
2593 @go_include@ debug/gosym.lo.dep
2594 debug/gosym.lo.dep: $(go_debug_gosym_files)
2596 debug/gosym.lo: $(go_debug_gosym_files)
2598 debug/gosym/check: $(CHECK_DEPS)
2600 .PHONY: debug/gosym/check
2602 @go_include@ debug/macho.lo.dep
2603 debug/macho.lo.dep: $(go_debug_macho_files)
2605 debug/macho.lo: $(go_debug_macho_files)
2607 debug/macho/check: $(CHECK_DEPS)
2609 .PHONY: debug/macho/check
2611 @go_include@ debug/pe.lo.dep
2612 debug/pe.lo.dep: $(go_debug_pe_files)
2614 debug/pe.lo: $(go_debug_pe_files)
2616 debug/pe/check: $(CHECK_DEPS)
2618 .PHONY: debug/pe/check
2620 @go_include@ encoding/asn1.lo.dep
2621 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2623 encoding/asn1.lo: $(go_encoding_asn1_files)
2625 encoding/asn1/check: $(CHECK_DEPS)
2627 .PHONY: encoding/asn1/check
2629 @go_include@ encoding/ascii85.lo.dep
2630 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2632 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2634 encoding/ascii85/check: $(CHECK_DEPS)
2636 .PHONY: encoding/ascii85/check
2638 @go_include@ encoding/base32.lo.dep
2639 encoding/base32.lo.dep: $(go_encoding_base32_files)
2641 encoding/base32.lo: $(go_encoding_base32_files)
2643 encoding/base32/check: $(CHECK_DEPS)
2645 .PHONY: encoding/base32/check
2647 @go_include@ encoding/base64.lo.dep
2648 encoding/base64.lo.dep: $(go_encoding_base64_files)
2650 encoding/base64.lo: $(go_encoding_base64_files)
2652 encoding/base64/check: $(CHECK_DEPS)
2654 .PHONY: encoding/base64/check
2656 @go_include@ encoding/binary.lo.dep
2657 encoding/binary.lo.dep: $(go_encoding_binary_files)
2659 encoding/binary.lo: $(go_encoding_binary_files)
2661 encoding/binary/check: $(CHECK_DEPS)
2663 .PHONY: encoding/binary/check
2665 @go_include@ encoding/csv.lo.dep
2666 encoding/csv.lo.dep: $(go_encoding_csv_files)
2668 encoding/csv.lo: $(go_encoding_csv_files)
2670 encoding/csv/check: $(CHECK_DEPS)
2672 .PHONY: encoding/csv/check
2674 @go_include@ encoding/gob.lo.dep
2675 encoding/gob.lo.dep: $(go_encoding_gob_files)
2677 encoding/gob.lo: $(go_encoding_gob_files)
2679 encoding/gob/check: $(CHECK_DEPS)
2681 .PHONY: encoding/gob/check
2683 @go_include@ encoding/hex.lo.dep
2684 encoding/hex.lo.dep: $(go_encoding_hex_files)
2686 encoding/hex.lo: $(go_encoding_hex_files)
2688 encoding/hex/check: $(CHECK_DEPS)
2690 .PHONY: encoding/hex/check
2692 @go_include@ encoding/json.lo.dep
2693 encoding/json.lo.dep: $(go_encoding_json_files)
2695 encoding/json.lo: $(go_encoding_json_files)
2697 encoding/json/check: $(CHECK_DEPS)
2699 .PHONY: encoding/json/check
2701 @go_include@ encoding/pem.lo.dep
2702 encoding/pem.lo.dep: $(go_encoding_pem_files)
2704 encoding/pem.lo: $(go_encoding_pem_files)
2706 encoding/pem/check: $(CHECK_DEPS)
2708 .PHONY: encoding/pem/check
2710 @go_include@ encoding/xml.lo.dep
2711 encoding/xml.lo.dep: $(go_encoding_xml_files)
2713 encoding/xml.lo: $(go_encoding_xml_files)
2715 encoding/xml/check: $(CHECK_DEPS)
2717 .PHONY: encoding/xml/check
2719 @go_include@ exp/cookiejar.lo.dep
2720 exp/cookiejar.lo.dep: $(go_exp_cookiejar_files)
2722 exp/cookiejar.lo: $(go_exp_cookiejar_files)
2724 exp/cookiejar/check: $(CHECK_DEPS)
2726 .PHONY: exp/cookiejar/check
2728 @go_include@ exp/ebnf.lo.dep
2729 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2731 exp/ebnf.lo: $(go_exp_ebnf_files)
2733 exp/ebnf/check: $(CHECK_DEPS)
2735 .PHONY: exp/ebnf/check
2737 @go_include@ exp/html.lo.dep
2738 exp/html.lo.dep: $(go_exp_html_files)
2740 exp/html.lo: $(go_exp_html_files)
2742 exp/html/check: $(CHECK_DEPS)
2744 .PHONY: exp/html/check
2746 @go_include@ exp/html/atom.lo.dep
2747 exp/html/atom.lo.dep: $(go_exp_html_atom_files)
2749 exp/html/atom.lo: $(go_exp_html_atom_files)
2751 exp/html/atom/check: $(CHECK_DEPS)
2753 .PHONY: exp/html/atom/check
2755 @go_include@ exp/locale/collate.lo.dep
2756 exp/locale/collate.lo.dep: $(go_exp_locale_collate_files)
2758 exp/locale/collate.lo: $(go_exp_locale_collate_files)
2760 exp/locale/collate/check: $(CHECK_DEPS)
2762 .PHONY: exp/locale/collate/check
2764 @go_include@ exp/locale/collate/build.lo.dep
2765 exp/locale/collate/build.lo.dep: $(go_exp_locale_collate_build_files)
2767 exp/locale/collate/build.lo: $(go_exp_locale_collate_build_files)
2769 exp/locale/collate/build/check: $(CHECK_DEPS)
2771 .PHONY: exp/locale/collate/build/check
2773 @go_include@ exp/norm.lo.dep
2774 exp/norm.lo.dep: $(go_exp_norm_files)
2776 exp/norm.lo: $(go_exp_norm_files)
2778 exp/norm/check: $(CHECK_DEPS)
2780 .PHONY: exp/norm/check
2782 @go_include@ exp/proxy.lo.dep
2783 exp/proxy.lo.dep: $(go_exp_proxy_files)
2785 exp/proxy.lo: $(go_exp_proxy_files)
2787 exp/proxy/check: $(CHECK_DEPS)
2789 .PHONY: exp/proxy/check
2791 @go_include@ exp/ssa.lo.dep
2792 exp/ssa.lo.dep: $(go_exp_ssa_files)
2794 exp/ssa.lo: $(go_exp_ssa_files)
2796 exp/ssa/check: $(CHECK_DEPS)
2798 .PHONY: exp/ssa/check
2800 @go_include@ exp/terminal.lo.dep
2801 exp/terminal.lo.dep: $(go_exp_terminal_files)
2803 exp/terminal.lo: $(go_exp_terminal_files)
2805 exp/terminal/check: $(CHECK_DEPS)
2807 .PHONY: exp/terminal/check
2809 @go_include@ exp/utf8string.lo.dep
2810 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2812 exp/utf8string.lo: $(go_exp_utf8string_files)
2814 exp/utf8string/check: $(CHECK_DEPS)
2816 .PHONY: exp/utf8string/check
2818 @go_include@ exp/inotify.lo.dep
2819 exp/inotify.lo.dep: $(go_exp_inotify_files)
2821 exp/inotify.lo: $(go_exp_inotify_files)
2823 exp/inotify/check: $(CHECK_DEPS)
2825 .PHONY: exp/inotify/check
2827 @go_include@ html/template.lo.dep
2828 html/template.lo.dep: $(go_html_template_files)
2830 html/template.lo: $(go_html_template_files)
2832 html/template/check: $(CHECK_DEPS)
2834 .PHONY: html/template/check
2836 @go_include@ go/ast.lo.dep
2837 go/ast.lo.dep: $(go_go_ast_files)
2839 go/ast.lo: $(go_go_ast_files)
2841 go/ast/check: $(CHECK_DEPS)
2843 .PHONY: go/ast/check
2845 @go_include@ go/build.lo.dep
2846 go/build.lo.dep: $(go_go_build_files)
2848 go/build.lo: $(go_go_build_files)
2850 go/build/check: $(CHECK_DEPS)
2852 .PHONY: go/build/check
2854 syslist.go: s-syslist; @true
2856 echo '// Generated automatically by make.' >syslist.go.tmp
2857 echo 'package build' >>syslist.go.tmp
2858 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2859 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2860 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2863 @go_include@ go/doc.lo.dep
2864 go/doc.lo.dep: $(go_go_doc_files)
2866 go/doc.lo: $(go_go_doc_files)
2868 go/doc/check: $(CHECK_DEPS)
2870 .PHONY: go/doc/check
2872 @go_include@ go/format.lo.dep
2873 go/format.lo.dep: $(go_go_format_files)
2875 go/format.lo: $(go_go_format_files)
2877 go/format/check: $(CHECK_DEPS)
2879 .PHONY: go/format/check
2881 @go_include@ go/parser.lo.dep
2882 go/parser.lo.dep: $(go_go_parser_files)
2884 go/parser.lo: $(go_go_parser_files)
2886 go/parser/check: $(CHECK_DEPS)
2888 .PHONY: go/parser/check
2890 @go_include@ go/printer.lo.dep
2891 go/printer.lo.dep: $(go_go_printer_files)
2893 go/printer.lo: $(go_go_printer_files)
2895 go/printer/check: $(CHECK_DEPS)
2897 .PHONY: go/printer/check
2899 @go_include@ go/scanner.lo.dep
2900 go/scanner.lo.dep: $(go_go_scanner_files)
2902 go/scanner.lo: $(go_go_scanner_files)
2904 go/scanner/check: $(CHECK_DEPS)
2906 .PHONY: go/scanner/check
2908 @go_include@ go/token.lo.dep
2909 go/token.lo.dep: $(go_go_token_files)
2911 go/token.lo: $(go_go_token_files)
2913 go/token/check: $(CHECK_DEPS)
2915 .PHONY: go/token/check
2917 @go_include@ go/types.lo.dep
2918 go/types.lo.dep: $(go_go_types_files)
2920 go/types.lo: $(go_go_types_files)
2922 go/types/check: $(CHECK_DEPS)
2924 .PHONY: go/types/check
2926 @go_include@ hash/adler32.lo.dep
2927 hash/adler32.lo.dep: $(go_hash_adler32_files)
2929 hash/adler32.lo: $(go_hash_adler32_files)
2931 hash/adler32/check: $(CHECK_DEPS)
2933 .PHONY: hash/adler32/check
2935 @go_include@ hash/crc32.lo.dep
2936 hash/crc32.lo.dep: $(go_hash_crc32_files)
2938 hash/crc32.lo: $(go_hash_crc32_files)
2940 hash/crc32/check: $(CHECK_DEPS)
2942 .PHONY: hash/crc32/check
2944 @go_include@ hash/crc64.lo.dep
2945 hash/crc64.lo.dep: $(go_hash_crc64_files)
2947 hash/crc64.lo: $(go_hash_crc64_files)
2949 hash/crc64/check: $(CHECK_DEPS)
2951 .PHONY: hash/crc64/check
2953 @go_include@ hash/fnv.lo.dep
2954 hash/fnv.lo.dep: $(go_hash_fnv_files)
2956 hash/fnv.lo: $(go_hash_fnv_files)
2958 hash/fnv/check: $(CHECK_DEPS)
2960 .PHONY: hash/fnv/check
2962 @go_include@ image/color.lo.dep
2963 image/color.lo.dep: $(go_image_color_files)
2965 image/color.lo: $(go_image_color_files)
2967 image/color/check: $(CHECK_DEPS)
2969 .PHONY: image/color/check
2971 @go_include@ image/draw.lo.dep
2972 image/draw.lo.dep: $(go_image_draw_files)
2974 image/draw.lo: $(go_image_draw_files)
2976 image/draw/check: $(CHECK_DEPS)
2978 .PHONY: image/draw/check
2980 @go_include@ image/gif.lo.dep
2981 image/gif.lo.dep: $(go_image_gif_files)
2983 image/gif.lo: $(go_image_gif_files)
2985 image/gif/check: $(CHECK_DEPS)
2987 .PHONY: image/gif/check
2989 @go_include@ image/jpeg.lo.dep
2990 image/jpeg.lo.dep: $(go_image_jpeg_files)
2992 image/jpeg.lo: $(go_image_jpeg_files)
2994 image/jpeg/check: $(CHECK_DEPS)
2996 .PHONY: image/jpeg/check
2998 @go_include@ image/png.lo.dep
2999 image/png.lo.dep: $(go_image_png_files)
3001 image/png.lo: $(go_image_png_files)
3003 image/png/check: $(CHECK_DEPS)
3005 .PHONY: image/png/check
3007 @go_include@ index/suffixarray.lo.dep
3008 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
3010 index/suffixarray.lo: $(go_index_suffixarray_files)
3012 index/suffixarray/check: $(CHECK_DEPS)
3014 .PHONY: index/suffixarray/check
3016 @go_include@ io/ioutil.lo.dep
3017 io/ioutil.lo.dep: $(go_io_ioutil_files)
3019 io/ioutil.lo: $(go_io_ioutil_files)
3021 io/ioutil/check: $(CHECK_DEPS)
3023 .PHONY: io/ioutil/check
3025 @go_include@ log/syslog.lo.dep
3026 log/syslog.lo.dep: $(go_log_syslog_files)
3028 log/syslog.lo: $(go_log_syslog_files)
3030 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
3031 @$(MKDIR_P) log/syslog
3032 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
3033 log/syslog/check: $(CHECK_DEPS)
3035 .PHONY: log/syslog/check
3037 @go_include@ math/big.lo.dep
3038 math/big.lo.dep: $(go_math_big_files)
3040 math/big.lo: $(go_math_big_files)
3042 math/big/check: $(CHECK_DEPS)
3044 .PHONY: math/big/check
3046 @go_include@ math/cmplx.lo.dep
3047 math/cmplx.lo.dep: $(go_math_cmplx_files)
3049 math/cmplx.lo: $(go_math_cmplx_files)
3051 math/cmplx/check: $(CHECK_DEPS)
3053 .PHONY: math/cmplx/check
3055 @go_include@ math/rand.lo.dep
3056 math/rand.lo.dep: $(go_math_rand_files)
3058 math/rand.lo: $(go_math_rand_files)
3060 math/rand/check: $(CHECK_DEPS)
3062 .PHONY: math/rand/check
3064 @go_include@ mime/multipart.lo.dep
3065 mime/multipart.lo.dep: $(go_mime_multipart_files)
3067 mime/multipart.lo: $(go_mime_multipart_files)
3069 mime/multipart/check: $(CHECK_DEPS)
3071 .PHONY: mime/multipart/check
3073 @go_include@ net/http.lo.dep
3074 net/http.lo.dep: $(go_net_http_files)
3076 net/http.lo: $(go_net_http_files)
3078 net/http/check: $(CHECK_DEPS)
3080 .PHONY: net/http/check
3082 @go_include@ net/mail.lo.dep
3083 net/mail.lo.dep: $(go_net_mail_files)
3085 net/mail.lo: $(go_net_mail_files)
3087 net/mail/check: $(CHECK_DEPS)
3089 .PHONY: net/mail/check
3091 @go_include@ net/rpc.lo.dep
3092 net/rpc.lo.dep: $(go_net_rpc_files)
3094 net/rpc.lo: $(go_net_rpc_files)
3096 net/rpc/check: $(CHECK_DEPS)
3098 .PHONY: net/rpc/check
3100 @go_include@ net/smtp.lo.dep
3101 net/smtp.lo.dep: $(go_net_smtp_files)
3103 net/smtp.lo: $(go_net_smtp_files)
3105 net/smtp/check: $(CHECK_DEPS)
3107 .PHONY: net/smtp/check
3109 @go_include@ net/url.lo.dep
3110 net/url.lo.dep: $(go_net_url_files)
3112 net/url.lo: $(go_net_url_files)
3114 net/url/check: $(CHECK_DEPS)
3116 .PHONY: net/url/check
3118 @go_include@ net/textproto.lo.dep
3119 net/textproto.lo.dep: $(go_net_textproto_files)
3121 net/textproto.lo: $(go_net_textproto_files)
3123 net/textproto/check: $(CHECK_DEPS)
3125 .PHONY: net/textproto/check
3127 @go_include@ net/http/cgi.lo.dep
3128 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3130 net/http/cgi.lo: $(go_net_http_cgi_files)
3132 net/http/cgi/check: $(CHECK_DEPS)
3134 .PHONY: net/http/cgi/check
3136 @go_include@ net/http/fcgi.lo.dep
3137 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3139 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3141 net/http/fcgi/check: $(CHECK_DEPS)
3143 .PHONY: net/http/fcgi/check
3145 @go_include@ net/http/httptest.lo.dep
3146 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3148 net/http/httptest.lo: $(go_net_http_httptest_files)
3150 net/http/httptest/check: $(check_deps)
3152 .PHONY: net/http/httptest/check
3154 @go_include@ net/http/httputil.lo.dep
3155 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3157 net/http/httputil.lo: $(go_net_http_httputil_files)
3159 net/http/httputil/check: $(check_deps)
3161 .PHONY: net/http/httputil/check
3163 @go_include@ net/http/pprof.lo.dep
3164 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3166 net/http/pprof.lo: $(go_net_http_pprof_files)
3168 net/http/pprof/check: $(CHECK_DEPS)
3170 .PHONY: net/http/pprof/check
3172 @go_include@ net/rpc/jsonrpc.lo.dep
3173 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3175 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3177 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3179 .PHONY: net/rpc/jsonrpc/check
3181 @go_include@ old/netchan.lo.dep
3182 old/netchan.lo.dep: $(go_old_netchan_files)
3184 old/netchan.lo: $(go_old_netchan_files)
3186 old/netchan/check: $(CHECK_DEPS)
3188 .PHONY: old/netchan/check
3190 @go_include@ old/regexp.lo.dep
3191 old/regexp.lo.dep: $(go_old_regexp_files)
3193 old/regexp.lo: $(go_old_regexp_files)
3195 old/regexp/check: $(CHECK_DEPS)
3197 .PHONY: old/regexp/check
3199 @go_include@ old/template.lo.dep
3200 old/template.lo.dep: $(go_old_template_files)
3202 old/template.lo: $(go_old_template_files)
3204 old/template/check: $(CHECK_DEPS)
3206 .PHONY: old/template/check
3208 @go_include@ os/exec.lo.dep
3209 os/exec.lo.dep: $(go_os_exec_files)
3211 os/exec.lo: $(go_os_exec_files)
3213 os/exec/check: $(CHECK_DEPS)
3215 .PHONY: os/exec/check
3217 @go_include@ os/signal.lo.dep
3218 os/signal.lo.dep: $(go_os_signal_files)
3220 os/signal.lo: $(go_os_signal_files)
3222 os/signal/check: $(CHECK_DEPS)
3224 .PHONY: os/signal/check
3226 @go_include@ os/user.lo.dep
3227 os/user.lo.dep: $(go_os_user_files)
3229 os/user.lo: $(go_os_user_files)
3231 os/user/check: $(CHECK_DEPS)
3233 .PHONY: os/user/check
3235 @go_include@ path/filepath.lo.dep
3236 path/filepath.lo.dep: $(go_path_filepath_files)
3238 path/filepath.lo: $(go_path_filepath_files)
3240 path/filepath/check: $(CHECK_DEPS)
3242 .PHONY: path/filepath/check
3244 @go_include@ regexp/syntax.lo.dep
3245 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3247 regexp/syntax.lo: $(go_regexp_syntax_files)
3249 regexp/syntax/check: $(CHECK_DEPS)
3251 .PHONY: regexp/syntax/check
3253 @go_include@ runtime/debug.lo.dep
3254 runtime/debug.lo.dep: $(go_runtime_debug_files)
3256 runtime/debug.lo: $(go_runtime_debug_files)
3258 runtime/debug/check: $(CHECK_DEPS)
3260 .PHONY: runtime/debug/check
3262 @go_include@ runtime/pprof.lo.dep
3263 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3265 runtime/pprof.lo: $(go_runtime_pprof_files)
3267 runtime/pprof/check: $(CHECK_DEPS)
3269 .PHONY: runtime/pprof/check
3270 # At least for now, we need -static-libgo for this test, because
3271 # otherwise we can't get the line numbers.
3272 runtime_pprof_check_GOCFLAGS = -static-libgo
3274 @go_include@ sync/atomic.lo.dep
3275 sync/atomic.lo.dep: $(go_sync_atomic_files)
3277 sync/atomic.lo: $(go_sync_atomic_files)
3279 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3280 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3281 sync/atomic/check: $(CHECK_DEPS)
3283 .PHONY: sync/atomic/check
3285 @go_include@ text/scanner.lo.dep
3286 text/scanner.lo.dep: $(go_text_scanner_files)
3288 text/scanner.lo: $(go_text_scanner_files)
3290 text/scanner/check: $(CHECK_DEPS)
3292 .PHONY: text/scanner/check
3294 @go_include@ text/tabwriter.lo.dep
3295 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3297 text/tabwriter.lo: $(go_text_tabwriter_files)
3299 text/tabwriter/check: $(CHECK_DEPS)
3301 .PHONY: text/tabwriter/check
3303 @go_include@ text/template.lo.dep
3304 text/template.lo.dep: $(go_text_template_files)
3306 text/template.lo: $(go_text_template_files)
3308 text/template/check: $(CHECK_DEPS)
3310 .PHONY: text/template/check
3312 @go_include@ text/template/parse.lo.dep
3313 text/template/parse.lo.dep: $(go_text_template_parse_files)
3315 text/template/parse.lo: $(go_text_template_parse_files)
3317 text/template/parse/check: $(CHECK_DEPS)
3319 .PHONY: text/template/parse/check
3321 @go_include@ testing/iotest.lo.dep
3322 testing/iotest.lo.dep: $(go_testing_iotest_files)
3324 testing/iotest.lo: $(go_testing_iotest_files)
3326 testing/iotest/check: $(CHECK_DEPS)
3328 .PHONY: testing/iotest/check
3330 @go_include@ testing/quick.lo.dep
3331 testing/quick.lo.dep: $(go_testing_quick_files)
3333 testing/quick.lo: $(go_testing_quick_files)
3335 testing/quick/check: $(CHECK_DEPS)
3337 .PHONY: testing/quick/check
3339 @go_include@ unicode/utf16.lo.dep
3340 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3342 unicode/utf16.lo: $(go_unicode_utf16_files)
3344 unicode/utf16/check: $(CHECK_DEPS)
3346 .PHONY: unicode/utf16/check
3348 @go_include@ unicode/utf8.lo.dep
3349 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3351 unicode/utf8.lo: $(go_unicode_utf8_files)
3353 unicode/utf8/check: $(CHECK_DEPS)
3355 .PHONY: unicode/utf8/check
3357 @go_include@ syscall.lo.dep
3358 syscall.lo.dep: $(go_syscall_files)
3360 syscall.lo: $(go_syscall_files)
3362 syscall/errno.lo: go/syscall/errno.c
3364 $(LTCOMPILE) -c -o $@ $<
3365 syscall/signame.lo: go/syscall/signame.c
3367 $(LTCOMPILE) -c -o $@ $<
3368 syscall/wait.lo: go/syscall/wait.c
3370 $(LTCOMPILE) -c -o $@ $<
3371 syscall/check: $(CHECK_DEPS)
3373 .PHONY: syscall/check
3375 # How to build a .gox file from a .lo file.
3377 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3378 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3384 crypto.gox: crypto.lo
3386 errors.gox: errors.lo
3388 expvar.gox: expvar.lo
3414 reflect.gox: reflect-go.lo
3416 regexp.gox: regexp.lo
3418 runtime.gox: runtime-go.lo
3422 strconv.gox: strconv.lo
3424 strings.gox: strings.lo
3428 syscall.gox: syscall.lo
3430 testing.gox: testing.lo
3432 time.gox: time-go.lo
3434 unicode.gox: unicode.lo
3437 archive/tar.gox: archive/tar.lo
3439 archive/zip.gox: archive/zip.lo
3442 compress/bzip2.gox: compress/bzip2.lo
3444 compress/flate.gox: compress/flate.lo
3446 compress/gzip.gox: compress/gzip.lo
3448 compress/lzw.gox: compress/lzw.lo
3450 compress/zlib.gox: compress/zlib.lo
3453 container/heap.gox: container/heap.lo
3455 container/list.gox: container/list.lo
3457 container/ring.gox: container/ring.lo
3460 crypto/aes.gox: crypto/aes.lo
3462 crypto/cipher.gox: crypto/cipher.lo
3464 crypto/des.gox: crypto/des.lo
3466 crypto/dsa.gox: crypto/dsa.lo
3468 crypto/ecdsa.gox: crypto/ecdsa.lo
3470 crypto/elliptic.gox: crypto/elliptic.lo
3472 crypto/hmac.gox: crypto/hmac.lo
3474 crypto/md5.gox: crypto/md5.lo
3476 crypto/rand.gox: crypto/rand.lo
3478 crypto/rc4.gox: crypto/rc4.lo
3480 crypto/rsa.gox: crypto/rsa.lo
3482 crypto/sha1.gox: crypto/sha1.lo
3484 crypto/sha256.gox: crypto/sha256.lo
3486 crypto/sha512.gox: crypto/sha512.lo
3488 crypto/subtle.gox: crypto/subtle.lo
3490 crypto/tls.gox: crypto/tls.lo
3492 crypto/x509.gox: crypto/x509.lo
3495 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3498 database/sql.gox: database/sql.lo
3501 database/sql/driver.gox: database/sql/driver.lo
3504 debug/dwarf.gox: debug/dwarf.lo
3506 debug/elf.gox: debug/elf.lo
3508 debug/gosym.gox: debug/gosym.lo
3510 debug/macho.gox: debug/macho.lo
3512 debug/pe.gox: debug/pe.lo
3515 encoding/ascii85.gox: encoding/ascii85.lo
3517 encoding/asn1.gox: encoding/asn1.lo
3519 encoding/base32.gox: encoding/base32.lo
3521 encoding/base64.gox: encoding/base64.lo
3523 encoding/binary.gox: encoding/binary.lo
3525 encoding/csv.gox: encoding/csv.lo
3527 encoding/gob.gox: encoding/gob.lo
3529 encoding/hex.gox: encoding/hex.lo
3531 encoding/json.gox: encoding/json.lo
3533 encoding/pem.gox: encoding/pem.lo
3535 encoding/xml.gox: encoding/xml.lo
3538 exp/cookiejar.gox: exp/cookiejar.lo
3540 exp/ebnf.gox: exp/ebnf.lo
3542 exp/html.gox: exp/html.lo
3544 exp/html/atom.gox: exp/html/atom.lo
3546 exp/inotify.gox: exp/inotify.lo
3548 exp/locale/collate.gox: exp/locale/collate.lo
3550 exp/locale/collate/build.gox: exp/locale/collate/build.lo
3552 exp/norm.gox: exp/norm.lo
3554 exp/proxy.gox: exp/proxy.lo
3556 exp/ssa.gox: exp/ssa.lo
3558 exp/terminal.gox: exp/terminal.lo
3560 exp/utf8string.gox: exp/utf8string.lo
3563 html/template.gox: html/template.lo
3566 go/ast.gox: go/ast.lo
3568 go/build.gox: go/build.lo
3570 go/doc.gox: go/doc.lo
3572 go/format.gox: go/format.lo
3574 go/parser.gox: go/parser.lo
3576 go/printer.gox: go/printer.lo
3578 go/scanner.gox: go/scanner.lo
3580 go/token.gox: go/token.lo
3582 go/types.gox: go/types.lo
3585 hash/adler32.gox: hash/adler32.lo
3587 hash/crc32.gox: hash/crc32.lo
3589 hash/crc64.gox: hash/crc64.lo
3591 hash/fnv.gox: hash/fnv.lo
3594 image/color.gox: image/color.lo
3596 image/draw.gox: image/draw.lo
3598 image/gif.gox: image/gif.lo
3600 image/jpeg.gox: image/jpeg.lo
3602 image/png.gox: image/png.lo
3605 index/suffixarray.gox: index/suffixarray.lo
3608 io/ioutil.gox: io/ioutil.lo
3611 log/syslog.gox: log/syslog.lo
3614 math/big.gox: math/big.lo
3616 math/cmplx.gox: math/cmplx.lo
3618 math/rand.gox: math/rand.lo
3621 mime/multipart.gox: mime/multipart.lo
3624 net/http.gox: net/http.lo
3626 net/mail.gox: net/mail.lo
3628 net/rpc.gox: net/rpc.lo
3630 net/smtp.gox: net/smtp.lo
3632 net/textproto.gox: net/textproto.lo
3634 net/url.gox: net/url.lo
3637 net/http/cgi.gox: net/http/cgi.lo
3639 net/http/fcgi.gox: net/http/fcgi.lo
3641 net/http/httptest.gox: net/http/httptest.lo
3643 net/http/httputil.gox: net/http/httputil.lo
3645 net/http/pprof.gox: net/http/pprof.lo
3648 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3651 old/netchan.gox: old/netchan.lo
3653 old/regexp.gox: old/regexp.lo
3655 old/template.gox: old/template.lo
3658 os/exec.gox: os/exec.lo
3660 os/signal.gox: os/signal.lo
3662 os/user.gox: os/user.lo
3665 path/filepath.gox: path/filepath.lo
3668 regexp/syntax.gox: regexp/syntax.lo
3671 runtime/debug.gox: runtime/debug.lo
3673 runtime/pprof.gox: runtime/pprof.lo
3676 sync/atomic.gox: sync/atomic.lo
3679 text/scanner.gox: text/scanner.lo
3681 text/tabwriter.gox: text/tabwriter.lo
3683 text/template.gox: text/template.lo
3685 text/template/parse.gox: text/template/parse.lo
3688 testing/iotest.gox: testing/iotest.lo
3690 testing/quick.gox: testing/quick.lo
3693 unicode/utf16.gox: unicode/utf16.lo
3695 unicode/utf8.gox: unicode/utf8.lo
3699 # exp_inotify_check = exp/inotify/check
3733 compress/bzip2/check \
3734 compress/flate/check \
3735 compress/gzip/check \
3736 compress/lzw/check \
3737 compress/zlib/check \
3738 container/heap/check \
3739 container/list/check \
3740 container/ring/check \
3742 crypto/cipher/check \
3745 crypto/ecdsa/check \
3746 crypto/elliptic/check \
3753 crypto/sha256/check \
3754 crypto/sha512/check \
3755 crypto/subtle/check \
3758 database/sql/check \
3759 database/sql/driver/check \
3764 encoding/ascii85/check \
3765 encoding/asn1/check \
3766 encoding/base32/check \
3767 encoding/base64/check \
3768 encoding/binary/check \
3769 encoding/csv/check \
3770 encoding/gob/check \
3771 encoding/hex/check \
3772 encoding/json/check \
3773 encoding/pem/check \
3774 encoding/xml/check \
3775 exp/cookiejar/check \
3778 exp/html/atom/check \
3779 $(exp_inotify_check) \
3780 exp/locale/collate/check \
3781 exp/locale/collate/build/check \
3784 exp/terminal/check \
3785 exp/utf8string/check \
3786 html/template/check \
3788 $(go_build_check_omitted_since_it_calls_6g) \
3796 hash/adler32/check \
3804 index/suffixarray/check \
3810 mime/multipart/check \
3812 net/http/cgi/check \
3813 net/http/fcgi/check \
3814 net/http/httptest/check \
3815 net/http/httputil/check \
3819 net/textproto/check \
3821 net/rpc/jsonrpc/check \
3824 old/template/check \
3828 path/filepath/check \
3829 regexp/syntax/check \
3830 runtime/pprof/check \
3832 text/scanner/check \
3833 text/tabwriter/check \
3834 text/template/check \
3835 text/template/parse/check \
3836 testing/quick/check \
3837 unicode/utf16/check \
3841 check-recursive: check-head
3844 @echo "Test Run By $${USER} on `date`" > libgo.head
3845 @echo "Native configuration is $(host_triplet)" >> libgo.head
3847 @echo " === libgo tests ===" >> libgo.head
3850 check-tail: check-recursive check-multi
3851 @if test "$(USE_DEJAGNU)" = "yes"; then \
3854 lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3855 for dir in . $(MULTIDIRS); do \
3856 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3857 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3859 mv libgo.head libgo.sum; \
3860 cp libgo.sum libgo.log; \
3861 echo "Schedule of variations:" >> libgo.sum; \
3862 for dir in . $(MULTIDIRS); do \
3863 multidir=../$${dir}/$${lib}; \
3864 multivar=`cat $${multidir}/libgo.var`; \
3865 echo " $${multivar}" >> libgo.sum; \
3867 echo >> libgo.sum; \
3868 pass=0; fail=0; untested=0; \
3869 for dir in . $(MULTIDIRS); do \
3870 multidir=../$${dir}/$${lib}; \
3871 multivar=`cat $${multidir}/libgo.var`; \
3872 echo "Running target $${multivar}" >> libgo.sum; \
3873 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3874 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3875 cat $${multidir}/libgo.log.sep >> libgo.log; \
3876 if test -n "${MULTIDIRS}"; then \
3877 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3878 echo >> libgo.sum; \
3880 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3881 pass=`expr $$pass + $$p`; \
3882 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3883 echo "# of expected passes $$p" >> libgo.sum; \
3885 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3886 fail=`expr $$fail + $$p`; \
3887 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3888 echo "# of unexpected failures $$p" >> libgo.sum; \
3890 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3891 untested=`expr $$untested + $$p`; \
3892 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3893 echo "# of untested testcases $$p" >> libgo.sum; \
3896 echo >> libgo.sum; \
3897 echo " === libgo Summary ===" >> libgo.sum; \
3898 echo >> libgo.sum; \
3899 if test "$$pass" -ne "0"; then \
3900 echo "# of expected passes $$pass" >> libgo.sum; \
3902 if test "$$fail" -ne "0"; then \
3903 echo "# of unexpected failures $$fail" >> libgo.sum; \
3905 if test "$$untested" -ne "0"; then \
3906 echo "# of untested testcases $$untested" >> libgo.sum; \
3908 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3909 echo >> libgo.log; \
3910 echo "runtest completed at `date`" >> libgo.log; \
3911 if test "$$fail" -ne "0"; then \
3919 @rm -f libgo.sum libgo.log libgo.tail
3921 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3922 echo "$${multivar}" > libgo.var
3923 @for f in $(TEST_PACKAGES); do \
3924 rm -f $$f-testsum $$f-testlog; \
3926 -@$(MAKE) -k $(TEST_PACKAGES)
3927 @for f in $(TEST_PACKAGES); do \
3928 if test -f $$f-testsum; then \
3929 cat $$f-testsum >> libgo.sum; \
3931 if test -f $$f-testlog; then \
3932 cat $$f-testlog >> libgo.log; \
3937 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3939 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3942 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3943 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3944 find . -name '*-testsum' -print | xargs rm -f
3945 find . -name '*-testlog' -print | xargs rm -f
3947 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3950 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3951 find . -name '*.a' -print | xargs rm -f