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)
30 LIBFFIINCS = @LIBFFIINCS@
32 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
34 # -I/-D flags to pass when compiling.
35 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
37 ACLOCAL_AMFLAGS = -I ./config -I ../config
39 AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
40 $(STRINGOPS_FLAG) $(OSCFLAGS) \
41 -I $(srcdir)/../libgcc -I $(MULTIBUILDTOP)../../gcc/include
44 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
50 # Work around what appears to be a GNU make handling MAKEFLAGS
51 # values defined in terms of make variables, as is the case for CC and
52 # friends when we are called from the top level Makefile.
54 "AR_FLAGS=$(AR_FLAGS)" \
55 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
56 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
58 "CXXFLAGS=$(CXXFLAGS)" \
59 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
60 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
61 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
63 "GOCFLAGS=$(GOCFLAGS)" \
64 "INSTALL=$(INSTALL)" \
65 "INSTALL_DATA=$(INSTALL_DATA)" \
66 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
67 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
68 "LDFLAGS=$(LDFLAGS)" \
69 "LIBCFLAGS=$(LIBCFLAGS)" \
70 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
72 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
73 "PICFLAG=$(PICFLAG)" \
74 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
76 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
77 "exec_prefix=$(exec_prefix)" \
78 "infodir=$(infodir)" \
80 "includedir=$(includedir)" \
82 "tooldir=$(tooldir)" \
83 "gxx_include_dir=$(gxx_include_dir)" \
89 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
90 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
91 "DESTDIR=$(DESTDIR)" \
94 # Subdir rules rely on $(FLAGS_TO_PASS)
95 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
97 toolexeclib_LTLIBRARIES = libgo.la
98 toolexeclib_LIBRARIES = libgobegin.a
100 toolexeclibgodir = $(toolexeclibdir)/go/$(gcc_version)/$(target_alias)
102 toolexeclibgo_DATA = \
134 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
136 toolexeclibgoarchive_DATA = \
140 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
142 toolexeclibgocompress_DATA = \
149 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
151 toolexeclibgocontainer_DATA = \
156 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
158 toolexeclibgocrypto_DATA = \
161 crypto/blowfish.gox \
167 crypto/elliptic.gox \
175 crypto/ripemd160.gox \
186 toolexeclibgocryptoopenpgpdir = $(toolexeclibgocryptodir)/openpgp
188 toolexeclibgocryptoopenpgp_DATA = \
189 crypto/openpgp/armor.gox \
190 crypto/openpgp/elgamal.gox \
191 crypto/openpgp/error.gox \
192 crypto/openpgp/packet.gox \
193 crypto/openpgp/s2k.gox
195 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
197 toolexeclibgocryptox509_DATA = \
200 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
202 toolexeclibgodebug_DATA = \
209 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
211 toolexeclibgoencoding_DATA = \
212 encoding/ascii85.gox \
214 encoding/base32.gox \
215 encoding/base64.gox \
216 encoding/binary.gox \
226 # exp_inotify_gox = exp/inotify.gox
232 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
234 toolexeclibgoexp_DATA = \
244 toolexeclibgoexpsqldir = $(toolexeclibgoexpdir)/sql
246 toolexeclibgoexpsql_DATA = \
249 toolexeclibgogodir = $(toolexeclibgodir)/go
251 toolexeclibgogo_DATA = \
260 toolexeclibgohashdir = $(toolexeclibgodir)/hash
262 toolexeclibgohash_DATA = \
268 toolexeclibgohtmldir = $(toolexeclibgodir)/html
270 toolexeclibgohtml_DATA = \
273 toolexeclibgoimagedir = $(toolexeclibgodir)/image
275 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 = \
322 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
324 toolexeclibgonethttp_DATA = \
327 net/http/httptest.gox \
328 net/http/httputil.gox \
331 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
333 toolexeclibgonetrpc_DATA = \
336 toolexeclibgoolddir = $(toolexeclibgodir)/old
338 toolexeclibgoold_DATA = \
343 toolexeclibgoosdir = $(toolexeclibgodir)/os
345 toolexeclibgoos_DATA = \
350 toolexeclibgopathdir = $(toolexeclibgodir)/path
352 toolexeclibgopath_DATA = \
355 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
357 toolexeclibgoregexp_DATA = \
360 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
362 toolexeclibgoruntime_DATA = \
366 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
368 toolexeclibgosync_DATA = \
371 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
373 toolexeclibgotesting_DATA = \
378 toolexeclibgotextdir = $(toolexeclibgodir)/text
380 toolexeclibgotext_DATA = \
385 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
387 toolexeclibgotexttemplate_DATA = \
388 text/template/parse.gox
390 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
392 toolexeclibgounicode_DATA = \
397 runtime_mem_file = runtime/mem.c
399 runtime_mem_file = runtime/mem_posix_memalign.c
403 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
405 rtems_task_variable_add_file =
409 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
411 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
415 runtime/go-append.c \
416 runtime/go-assert.c \
417 runtime/go-assert-interface.c \
418 runtime/go-byte-array-to-string.c \
419 runtime/go-breakpoint.c \
420 runtime/go-caller.c \
421 runtime/go-can-convert-interface.c \
423 runtime/go-check-interface.c \
424 runtime/go-construct-map.c \
425 runtime/go-convert-interface.c \
428 runtime/go-deferred-recover.c \
429 runtime/go-eface-compare.c \
430 runtime/go-eface-val-compare.c \
431 runtime/go-getgoroot.c \
432 runtime/go-int-array-to-string.c \
433 runtime/go-int-to-string.c \
434 runtime/go-interface-compare.c \
435 runtime/go-interface-eface-compare.c \
436 runtime/go-interface-val-compare.c \
437 runtime/go-make-slice.c \
438 runtime/go-map-delete.c \
439 runtime/go-map-index.c \
440 runtime/go-map-len.c \
441 runtime/go-map-range.c \
442 runtime/go-nanotime.c \
444 runtime/go-new-map.c \
448 runtime/go-recover.c \
449 runtime/go-reflect.c \
450 runtime/go-reflect-call.c \
451 runtime/go-reflect-map.c \
453 runtime/go-runtime-error.c \
454 runtime/go-setenv.c \
455 runtime/go-signal.c \
456 runtime/go-strcmp.c \
457 runtime/go-string-to-byte-array.c \
458 runtime/go-string-to-int-array.c \
459 runtime/go-strplus.c \
460 runtime/go-strslice.c \
461 runtime/go-trampoline.c \
462 runtime/go-type-complex.c \
463 runtime/go-type-eface.c \
464 runtime/go-type-error.c \
465 runtime/go-type-float.c \
466 runtime/go-type-identity.c \
467 runtime/go-type-interface.c \
468 runtime/go-type-string.c \
469 runtime/go-typedesc-equal.c \
470 runtime/go-typestring.c \
471 runtime/go-unreflect.c \
472 runtime/go-unsafe-new.c \
473 runtime/go-unsafe-newarray.c \
474 runtime/go-unsafe-pointer.c \
475 runtime/go-unwind.c \
478 $(runtime_lock_files) \
481 $(runtime_mem_file) \
483 runtime/mfixalloc.c \
491 $(rtems_task_variable_add_file) \
503 goc2c.$(OBJEXT): runtime/goc2c.c
504 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
506 goc2c: goc2c.$(OBJEXT)
507 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
509 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
510 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
513 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
514 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
517 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
518 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
521 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
522 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
525 sema.c: $(srcdir)/runtime/sema.goc goc2c
526 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
529 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
530 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
533 time.c: $(srcdir)/runtime/time.goc goc2c
534 ./goc2c --gcc --go-prefix libgo_time $< > $@.tmp
537 %.c: $(srcdir)/runtime/%.goc goc2c
538 ./goc2c --gcc $< > $@.tmp
547 go/bytes/bytes_decl.go
610 go/math/copysign.go \
630 go/math/nextafter.go \
633 go/math/remainder.go \
645 go/mime/mediatype.go \
650 go_net_fd_os_file = go/net/fd_select.go
651 go_net_newpollserver_file = go/net/newpollserver_rtems.go
652 else # !LIBGO_IS_RTEMS
654 go_net_fd_os_file = go/net/fd_linux.go
655 go_net_newpollserver_file = go/net/newpollserver.go
656 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
658 go_net_fd_os_file = go/net/fd_netbsd.go
659 go_net_newpollserver_file = go/net/newpollserver.go
660 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
661 # By default use select with pipes. Most systems should have
663 go_net_fd_os_file = go/net/fd_select.go
664 go_net_newpollserver_file = go/net/newpollserver.go
665 endif # !LIBGO_IS_NETBSD
666 endif # !LIBGO_IS_LINUX
667 endif # !LIBGO_IS_RTEMS
670 go_net_cgo_file = go/net/cgo_linux.go
671 go_net_sock_file = go/net/sock_linux.go
674 go_net_cgo_file = go/net/cgo_linux.go
675 go_net_sock_file = go/net/sock_linux.go
678 go_net_cgo_file = go/net/cgo_linux.go
679 go_net_sock_file = go/net/sock_linux.go
681 go_net_cgo_file = go/net/cgo_bsd.go
682 go_net_sock_file = go/net/sock_bsd.go
688 go_net_sendfile_file = go/net/sendfile_linux.go
690 go_net_sendfile_file = go/net/sendfile_stub.go
694 go_net_interface_file = go/net/interface_linux.go
697 go_net_interface_file = go/net/interface_netbsd.go
699 go_net_interface_file = go/net/interface_stub.go
707 go/net/dnsclient.go \
708 go/net/dnsclient_unix.go \
709 go/net/dnsconfig.go \
711 $(go_net_newpollserver_file) \
713 $(go_net_fd_os_file) \
716 go/net/interface.go \
717 $(go_net_interface_file) \
719 go/net/iprawsock.go \
720 go/net/iprawsock_posix.go \
722 go/net/ipsock_posix.go \
723 go/net/lookup_unix.go \
728 $(go_net_sendfile_file) \
730 $(go_net_sock_file) \
732 go/net/tcpsock_posix.go \
734 go/net/udpsock_posix.go \
736 go/net/unixsock_posix.go
740 go_os_dir_file = go/os/dir_largefile.go
743 go_os_dir_file = go/os/dir_largefile.go
745 go_os_dir_file = go/os/dir_regfile.go
750 go_os_dir_file = go/os/dir_largefile.go
752 go_os_dir_file = go/os/dir_regfile.go
757 go_os_sys_file = go/os/sys_linux.go
760 go_os_sys_file = go/os/sys_uname.go
763 go_os_sys_file = go/os/sys_uname.go
766 go_os_sys_file = go/os/sys_uname.go
768 go_os_sys_file = go/os/sys_bsd.go
775 go_os_stat_file = go/os/stat_solaris.go
777 go_os_stat_file = go/os/stat.go
785 go/os/error_posix.go \
787 go/os/exec_posix.go \
790 go/os/file_posix.go \
814 go/reflect/deepequal.go \
823 go/net/rpc/client.go \
824 go/net/rpc/debug.go \
828 go/runtime/debug.go \
829 go/runtime/error.go \
830 go/runtime/extern.go \
833 go/runtime/softfloat64.go \
837 version.go: s-version; @true
840 echo "package runtime" > version.go.tmp
841 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
842 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
843 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
844 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
845 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
856 go/strconv/decimal.go \
857 go/strconv/extfloat.go \
863 go/strings/reader.go \
864 go/strings/replace.go \
865 go/strings/strings.go
875 go_syslog_file = go/log/syslog/syslog_libc.go
878 go_syslog_file = go/log/syslog/syslog_libc.go
880 go_syslog_file = go/log/syslog/syslog_unix.go
884 go_log_syslog_files = \
885 go/log/syslog/syslog.go \
887 go_syslog_c_files = \
888 go/log/syslog/syslog_c.c
891 go/testing/benchmark.go \
892 go/testing/example.go \
893 go/testing/testing.go \
894 go/testing/wrapper.go
899 go/time/sys_unix.go \
902 go/time/zoneinfo.go \
903 go/time/zoneinfo_unix.go
906 go/unicode/casetables.go \
907 go/unicode/digit.go \
908 go/unicode/graphic.go \
909 go/unicode/letter.go \
912 go_websocket_files = \
913 go/websocket/client.go \
914 go/websocket/hixie.go \
915 go/websocket/hybi.go \
916 go/websocket/server.go \
917 go/websocket/websocket.go
920 go_archive_tar_files = \
921 go/archive/tar/common.go \
922 go/archive/tar/reader.go \
923 go/archive/tar/writer.go
925 go_archive_zip_files = \
926 go/archive/zip/reader.go \
927 go/archive/zip/struct.go \
928 go/archive/zip/writer.go
930 go_compress_bzip2_files = \
931 go/compress/bzip2/bit_reader.go \
932 go/compress/bzip2/bzip2.go \
933 go/compress/bzip2/huffman.go \
934 go/compress/bzip2/move_to_front.go
936 go_compress_flate_files = \
937 go/compress/flate/deflate.go \
938 go/compress/flate/huffman_bit_writer.go \
939 go/compress/flate/huffman_code.go \
940 go/compress/flate/inflate.go \
941 go/compress/flate/reverse_bits.go \
942 go/compress/flate/token.go \
943 go/compress/flate/util.go
945 go_compress_gzip_files = \
946 go/compress/gzip/gzip.go \
947 go/compress/gzip/gunzip.go
949 go_compress_lzw_files = \
950 go/compress/lzw/reader.go \
951 go/compress/lzw/writer.go
953 go_compress_zlib_files = \
954 go/compress/zlib/reader.go \
955 go/compress/zlib/writer.go
957 go_container_heap_files = \
958 go/container/heap/heap.go
960 go_container_list_files = \
961 go/container/list/list.go
963 go_container_ring_files = \
964 go/container/ring/ring.go
966 go_crypto_aes_files = \
967 go/crypto/aes/block.go \
968 go/crypto/aes/cipher.go \
969 go/crypto/aes/const.go
970 go_crypto_bcrypt_files = \
971 go/crypto/bcrypt/base64.go \
972 go/crypto/bcrypt/bcrypt.go
973 go_crypto_blowfish_files = \
974 go/crypto/blowfish/block.go \
975 go/crypto/blowfish/const.go \
976 go/crypto/blowfish/cipher.go
977 go_crypto_cast5_files = \
978 go/crypto/cast5/cast5.go
979 go_crypto_cipher_files = \
980 go/crypto/cipher/cbc.go \
981 go/crypto/cipher/cfb.go \
982 go/crypto/cipher/cipher.go \
983 go/crypto/cipher/ctr.go \
984 go/crypto/cipher/io.go \
985 go/crypto/cipher/ocfb.go \
986 go/crypto/cipher/ofb.go
987 go_crypto_des_files = \
988 go/crypto/des/block.go \
989 go/crypto/des/cipher.go \
990 go/crypto/des/const.go
991 go_crypto_dsa_files = \
993 go_crypto_ecdsa_files = \
994 go/crypto/ecdsa/ecdsa.go
995 go_crypto_elliptic_files = \
996 go/crypto/elliptic/elliptic.go
997 go_crypto_hmac_files = \
998 go/crypto/hmac/hmac.go
999 go_crypto_md4_files = \
1000 go/crypto/md4/md4.go \
1001 go/crypto/md4/md4block.go
1002 go_crypto_md5_files = \
1003 go/crypto/md5/md5.go \
1004 go/crypto/md5/md5block.go
1005 go_crypto_ocsp_files = \
1006 go/crypto/ocsp/ocsp.go
1007 go_crypto_openpgp_files = \
1008 go/crypto/openpgp/canonical_text.go \
1009 go/crypto/openpgp/keys.go \
1010 go/crypto/openpgp/read.go \
1011 go/crypto/openpgp/write.go
1012 go_crypto_rand_files = \
1013 go/crypto/rand/rand.go \
1014 go/crypto/rand/rand_unix.go \
1015 go/crypto/rand/util.go
1016 go_crypto_rc4_files = \
1017 go/crypto/rc4/rc4.go
1018 go_crypto_ripemd160_files = \
1019 go/crypto/ripemd160/ripemd160.go \
1020 go/crypto/ripemd160/ripemd160block.go
1021 go_crypto_rsa_files = \
1022 go/crypto/rsa/pkcs1v15.go \
1023 go/crypto/rsa/rsa.go
1024 go_crypto_sha1_files = \
1025 go/crypto/sha1/sha1.go \
1026 go/crypto/sha1/sha1block.go
1027 go_crypto_sha256_files = \
1028 go/crypto/sha256/sha256.go \
1029 go/crypto/sha256/sha256block.go
1030 go_crypto_sha512_files = \
1031 go/crypto/sha512/sha512.go \
1032 go/crypto/sha512/sha512block.go
1033 go_crypto_subtle_files = \
1034 go/crypto/subtle/constant_time.go
1035 go_crypto_tls_files = \
1036 go/crypto/tls/alert.go \
1037 go/crypto/tls/cipher_suites.go \
1038 go/crypto/tls/common.go \
1039 go/crypto/tls/conn.go \
1040 go/crypto/tls/handshake_client.go \
1041 go/crypto/tls/handshake_messages.go \
1042 go/crypto/tls/handshake_server.go \
1043 go/crypto/tls/key_agreement.go \
1044 go/crypto/tls/prf.go \
1045 go/crypto/tls/root_unix.go \
1046 go/crypto/tls/tls.go
1047 go_crypto_twofish_files = \
1048 go/crypto/twofish/twofish.go
1049 go_crypto_x509_files = \
1050 go/crypto/x509/cert_pool.go \
1051 go/crypto/x509/pkcs1.go \
1052 go/crypto/x509/pkcs8.go \
1053 go/crypto/x509/verify.go \
1054 go/crypto/x509/x509.go
1055 go_crypto_xtea_files = \
1056 go/crypto/xtea/block.go \
1057 go/crypto/xtea/cipher.go
1059 go_crypto_openpgp_armor_files = \
1060 go/crypto/openpgp/armor/armor.go \
1061 go/crypto/openpgp/armor/encode.go
1062 go_crypto_openpgp_elgamal_files = \
1063 go/crypto/openpgp/elgamal/elgamal.go
1064 go_crypto_openpgp_error_files = \
1065 go/crypto/openpgp/error/error.go
1066 go_crypto_openpgp_packet_files = \
1067 go/crypto/openpgp/packet/compressed.go \
1068 go/crypto/openpgp/packet/encrypted_key.go \
1069 go/crypto/openpgp/packet/literal.go \
1070 go/crypto/openpgp/packet/one_pass_signature.go \
1071 go/crypto/openpgp/packet/packet.go \
1072 go/crypto/openpgp/packet/private_key.go \
1073 go/crypto/openpgp/packet/public_key.go \
1074 go/crypto/openpgp/packet/reader.go \
1075 go/crypto/openpgp/packet/signature.go \
1076 go/crypto/openpgp/packet/symmetric_key_encrypted.go \
1077 go/crypto/openpgp/packet/symmetrically_encrypted.go \
1078 go/crypto/openpgp/packet/userid.go
1079 go_crypto_openpgp_s2k_files = \
1080 go/crypto/openpgp/s2k/s2k.go
1082 go_crypto_x509_pkix_files = \
1083 go/crypto/x509/pkix/pkix.go
1085 go_debug_dwarf_files = \
1086 go/debug/dwarf/buf.go \
1087 go/debug/dwarf/const.go \
1088 go/debug/dwarf/entry.go \
1089 go/debug/dwarf/open.go \
1090 go/debug/dwarf/type.go \
1091 go/debug/dwarf/unit.go
1092 go_debug_elf_files = \
1093 go/debug/elf/elf.go \
1094 go/debug/elf/file.go
1095 go_debug_gosym_files = \
1096 go/debug/gosym/pclntab.go \
1097 go/debug/gosym/symtab.go
1098 go_debug_macho_files = \
1099 go/debug/macho/file.go \
1100 go/debug/macho/macho.go
1101 go_debug_pe_files = \
1102 go/debug/pe/file.go \
1105 go_encoding_ascii85_files = \
1106 go/encoding/ascii85/ascii85.go
1107 go_encoding_asn1_files = \
1108 go/encoding/asn1/asn1.go \
1109 go/encoding/asn1/common.go \
1110 go/encoding/asn1/marshal.go
1111 go_encoding_base32_files = \
1112 go/encoding/base32/base32.go
1113 go_encoding_base64_files = \
1114 go/encoding/base64/base64.go
1115 go_encoding_binary_files = \
1116 go/encoding/binary/binary.go \
1117 go/encoding/binary/varint.go
1118 go_encoding_csv_files = \
1119 go/encoding/csv/reader.go \
1120 go/encoding/csv/writer.go
1121 go_encoding_git85_files = \
1122 go/encoding/git85/git.go
1123 go_encoding_gob_files = \
1124 go/encoding/gob/decode.go \
1125 go/encoding/gob/decoder.go \
1126 go/encoding/gob/doc.go \
1127 go/encoding/gob/encode.go \
1128 go/encoding/gob/encoder.go \
1129 go/encoding/gob/error.go \
1130 go/encoding/gob/type.go
1131 go_encoding_hex_files = \
1132 go/encoding/hex/hex.go
1133 go_encoding_json_files = \
1134 go/encoding/json/decode.go \
1135 go/encoding/json/encode.go \
1136 go/encoding/json/indent.go \
1137 go/encoding/json/scanner.go \
1138 go/encoding/json/stream.go \
1139 go/encoding/json/tags.go
1140 go_encoding_pem_files = \
1141 go/encoding/pem/pem.go
1142 go_encoding_xml_files = \
1143 go/encoding/xml/marshal.go \
1144 go/encoding/xml/read.go \
1145 go/encoding/xml/xml.go
1147 go_exp_ebnf_files = \
1148 go/exp/ebnf/ebnf.go \
1149 go/exp/ebnf/parser.go
1150 go_exp_inotify_files = \
1151 go/exp/inotify/inotify_linux.go
1152 go_exp_norm_files = \
1153 go/exp/norm/composition.go \
1154 go/exp/norm/forminfo.go \
1155 go/exp/norm/input.go \
1156 go/exp/norm/normalize.go \
1157 go/exp/norm/readwriter.go \
1158 go/exp/norm/tables.go \
1160 go_exp_spdy_files = \
1161 go/exp/spdy/read.go \
1162 go/exp/spdy/types.go \
1163 go/exp/spdy/write.go
1164 go_exp_sql_files = \
1165 go/exp/sql/convert.go \
1167 go_exp_ssh_files = \
1168 go/exp/ssh/channel.go \
1169 go/exp/ssh/cipher.go \
1170 go/exp/ssh/client.go \
1171 go/exp/ssh/client_auth.go \
1172 go/exp/ssh/common.go \
1174 go/exp/ssh/messages.go \
1175 go/exp/ssh/server.go \
1176 go/exp/ssh/server_shell.go \
1177 go/exp/ssh/session.go \
1178 go/exp/ssh/tcpip.go \
1179 go/exp/ssh/transport.go
1180 go_exp_terminal_files = \
1181 go/exp/terminal/terminal.go \
1182 go/exp/terminal/util.go
1183 go_exp_types_files = \
1184 go/exp/types/check.go \
1185 go/exp/types/const.go \
1186 go/exp/types/exportdata.go \
1187 go/exp/types/gcimporter.go \
1188 go/exp/types/types.go \
1189 go/exp/types/universe.go
1191 go_exp_sql_driver_files = \
1192 go/exp/sql/driver/driver.go \
1193 go/exp/sql/driver/types.go
1197 go/go/ast/filter.go \
1198 go/go/ast/import.go \
1199 go/go/ast/print.go \
1200 go/go/ast/resolve.go \
1201 go/go/ast/scope.go \
1203 go_go_build_files = \
1204 go/go/build/build.go \
1205 go/go/build/dir.go \
1206 go/go/build/path.go \
1209 go/go/doc/comment.go \
1211 go/go/doc/example.go \
1212 go/go/doc/exports.go \
1214 go_go_parser_files = \
1215 go/go/parser/interface.go \
1216 go/go/parser/parser.go
1217 go_go_printer_files = \
1218 go/go/printer/nodes.go \
1219 go/go/printer/printer.go
1220 go_go_scanner_files = \
1221 go/go/scanner/errors.go \
1222 go/go/scanner/scanner.go
1223 go_go_token_files = \
1224 go/go/token/position.go \
1225 go/go/token/serialize.go \
1226 go/go/token/token.go
1228 go_hash_adler32_files = \
1229 go/hash/adler32/adler32.go
1230 go_hash_crc32_files = \
1231 go/hash/crc32/crc32.go \
1232 go/hash/crc32/crc32_generic.go
1233 go_hash_crc64_files = \
1234 go/hash/crc64/crc64.go
1235 go_hash_fnv_files = \
1238 go_html_template_files = \
1239 go/html/template/attr.go \
1240 go/html/template/clone.go \
1241 go/html/template/content.go \
1242 go/html/template/context.go \
1243 go/html/template/css.go \
1244 go/html/template/doc.go \
1245 go/html/template/error.go \
1246 go/html/template/escape.go \
1247 go/html/template/html.go \
1248 go/html/template/js.go \
1249 go/html/template/template.go \
1250 go/html/template/transition.go \
1251 go/html/template/url.go
1253 go_image_bmp_files = \
1254 go/image/bmp/reader.go
1256 go_image_color_files = \
1257 go/image/color/color.go \
1258 go/image/color/ycbcr.go
1260 go_image_draw_files = \
1261 go/image/draw/draw.go
1263 go_image_gif_files = \
1264 go/image/gif/reader.go
1266 go_image_jpeg_files = \
1267 go/image/jpeg/fdct.go \
1268 go/image/jpeg/huffman.go \
1269 go/image/jpeg/idct.go \
1270 go/image/jpeg/reader.go \
1271 go/image/jpeg/writer.go
1273 go_image_png_files = \
1274 go/image/png/reader.go \
1275 go/image/png/writer.go
1277 go_image_tiff_files = \
1278 go/image/tiff/buffer.go \
1279 go/image/tiff/compress.go \
1280 go/image/tiff/consts.go \
1281 go/image/tiff/reader.go
1283 go_index_suffixarray_files = \
1284 go/index/suffixarray/qsufsort.go \
1285 go/index/suffixarray/suffixarray.go
1287 go_io_ioutil_files = \
1288 go/io/ioutil/ioutil.go \
1289 go/io/ioutil/tempfile.go
1291 go_math_big_files = \
1292 go/math/big/arith.go \
1293 go/math/big/int.go \
1294 go/math/big/nat.go \
1296 go_math_cmplx_files = \
1297 go/math/cmplx/abs.go \
1298 go/math/cmplx/asin.go \
1299 go/math/cmplx/conj.go \
1300 go/math/cmplx/exp.go \
1301 go/math/cmplx/isinf.go \
1302 go/math/cmplx/isnan.go \
1303 go/math/cmplx/log.go \
1304 go/math/cmplx/phase.go \
1305 go/math/cmplx/polar.go \
1306 go/math/cmplx/pow.go \
1307 go/math/cmplx/rect.go \
1308 go/math/cmplx/sin.go \
1309 go/math/cmplx/sqrt.go \
1310 go/math/cmplx/tan.go
1311 go_math_rand_files = \
1312 go/math/rand/exp.go \
1313 go/math/rand/normal.go \
1314 go/math/rand/rand.go \
1315 go/math/rand/rng.go \
1316 go/math/rand/zipf.go
1318 go_mime_multipart_files = \
1319 go/mime/multipart/formdata.go \
1320 go/mime/multipart/multipart.go \
1321 go/mime/multipart/writer.go
1323 go_net_dict_files = \
1325 go_net_http_files = \
1326 go/net/http/chunked.go \
1327 go/net/http/client.go \
1328 go/net/http/cookie.go \
1329 go/net/http/filetransport.go \
1331 go/net/http/header.go \
1332 go/net/http/jar.go \
1333 go/net/http/lex.go \
1334 go/net/http/request.go \
1335 go/net/http/response.go \
1336 go/net/http/server.go \
1337 go/net/http/sniff.go \
1338 go/net/http/status.go \
1339 go/net/http/transfer.go \
1340 go/net/http/transport.go
1341 go_net_mail_files = \
1342 go/net/mail/message.go
1343 go_net_smtp_files = \
1344 go/net/smtp/auth.go \
1346 go_net_textproto_files = \
1347 go/net/textproto/header.go \
1348 go/net/textproto/pipeline.go \
1349 go/net/textproto/reader.go \
1350 go/net/textproto/textproto.go \
1351 go/net/textproto/writer.go
1352 go_net_url_files = \
1355 go_net_http_cgi_files = \
1356 go/net/http/cgi/child.go \
1357 go/net/http/cgi/host.go
1358 go_net_http_fcgi_files = \
1359 go/net/http/fcgi/child.go \
1360 go/net/http/fcgi/fcgi.go
1361 go_net_http_httptest_files = \
1362 go/net/http/httptest/recorder.go \
1363 go/net/http/httptest/server.go
1364 go_net_http_pprof_files = \
1365 go/net/http/pprof/pprof.go
1366 go_net_http_httputil_files = \
1367 go/net/http/httputil/chunked.go \
1368 go/net/http/httputil/dump.go \
1369 go/net/http/httputil/persist.go \
1370 go/net/http/httputil/reverseproxy.go
1373 go_old_netchan_files = \
1374 go/old/netchan/common.go \
1375 go/old/netchan/export.go \
1376 go/old/netchan/import.go
1377 go_old_regexp_files = \
1378 go/old/regexp/regexp.go
1379 go_old_template_files = \
1380 go/old/template/doc.go \
1381 go/old/template/execute.go \
1382 go/old/template/format.go \
1383 go/old/template/parse.go
1385 go_os_exec_files = \
1386 go/os/exec/exec.go \
1387 go/os/exec/lp_unix.go
1389 go_os_user_files = \
1390 go/os/user/user.go \
1391 go/os/user/lookup_unix.go
1393 go_os_signal_files = \
1394 go/os/signal/signal.go
1396 go_path_filepath_files = \
1397 go/path/filepath/match.go \
1398 go/path/filepath/path.go \
1399 go/path/filepath/path_unix.go
1401 go_regexp_syntax_files = \
1402 go/regexp/syntax/compile.go \
1403 go/regexp/syntax/parse.go \
1404 go/regexp/syntax/perl_groups.go \
1405 go/regexp/syntax/prog.go \
1406 go/regexp/syntax/regexp.go \
1407 go/regexp/syntax/simplify.go
1409 go_net_rpc_jsonrpc_files = \
1410 go/net/rpc/jsonrpc/client.go \
1411 go/net/rpc/jsonrpc/server.go
1413 go_runtime_debug_files = \
1414 go/runtime/debug/stack.go
1415 go_runtime_pprof_files = \
1416 go/runtime/pprof/pprof.go
1418 go_text_tabwriter_files = \
1419 go/text/tabwriter/tabwriter.go
1420 go_text_template_files = \
1421 go/text/template/doc.go \
1422 go/text/template/exec.go \
1423 go/text/template/funcs.go \
1424 go/text/template/helper.go \
1425 go/text/template/template.go
1426 go_text_template_parse_files = \
1427 go/text/template/parse/lex.go \
1428 go/text/template/parse/node.go \
1429 go/text/template/parse/parse.go
1431 go_sync_atomic_files = \
1432 go/sync/atomic/doc.go
1433 go_sync_atomic_c_files = \
1434 go/sync/atomic/atomic.c
1436 go_testing_iotest_files = \
1437 go/testing/iotest/logger.go \
1438 go/testing/iotest/reader.go \
1439 go/testing/iotest/writer.go
1440 go_testing_quick_files = \
1441 go/testing/quick/quick.go
1442 go_testing_script_files = \
1443 go/testing/script/script.go
1445 go_text_scanner_files = \
1446 go/text/scanner/scanner.go
1448 go_unicode_utf16_files = \
1449 go/unicode/utf16/utf16.go
1450 go_unicode_utf8_files = \
1451 go/unicode/utf8/string.go \
1452 go/unicode/utf8/utf8.go
1454 # Define Syscall and Syscall6.
1456 syscall_syscall_file = go/syscall/syscall_stubs.go
1458 syscall_syscall_file = go/syscall/syscall_unix.go
1461 # Define ForkExec and Exec.
1463 syscall_exec_file = go/syscall/exec_stubs.go
1465 syscall_exec_file = go/syscall/exec_unix.go
1473 syscall_wait_file = go/syscall/libcall_wait4.go
1475 syscall_wait_file = go/syscall/libcall_waitpid.go
1479 # Support for pulling apart wait status.
1481 syscall_wait_c_file =
1483 syscall_wait_c_file = go/syscall/wait.c
1488 syscall_sleep_file = go/syscall/sleep_rtems.go
1490 syscall_sleep_file = go/syscall/sleep_select.go
1495 syscall_errstr_file = go/syscall/errstr_linux.go
1498 syscall_errstr_file = go/syscall/errstr_linux.go
1501 syscall_errstr_file = go/syscall/errstr.go
1503 syscall_errstr_file = go/syscall/errstr_nor.go
1508 # Declare libc functions that vary for largefile systems.
1510 # Always use lseek64 on GNU/Linux.
1511 syscall_size_file = go/syscall/libcall_posix_largefile.go
1512 else # !LIBGO_IS_LINUX
1515 # Use lseek64 on 32-bit Solaris/x86.
1516 syscall_size_file = go/syscall/libcall_posix_largefile.go
1517 else # !LIBGO_IS_386
1519 # Use lseek64 on 32-bit Solaris/SPARC.
1520 syscall_size_file = go/syscall/libcall_posix_largefile.go
1521 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1522 # Use lseek on 64-bit Solaris.
1523 syscall_size_file = go/syscall/libcall_posix_regfile.go
1524 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1525 endif # !LIBGO_IS_SOLARIS
1526 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1527 # Use lseek by default.
1528 syscall_size_file = go/syscall/libcall_posix_regfile.go
1529 endif # !LIBGO_IS_SOLARIS
1530 endif # !LIBGO_IS_LINUX
1532 # Define socket sizes and types.
1534 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1537 syscall_socket_file = go/syscall/socket_solaris.go
1540 syscall_socket_file = go/syscall/socket_irix.go
1542 syscall_socket_file = go/syscall/socket_bsd.go
1547 # Support for uname.
1550 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1551 syscall_uname_file =
1552 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1553 syscall_uname_file = go/syscall/libcall_uname.go
1555 else # !LIBGO_IS_SOLARIS
1556 syscall_uname_file = go/syscall/libcall_uname.go
1559 # Support for netlink sockets and messages.
1561 syscall_netlink_file = go/syscall/netlink_linux.go
1563 syscall_netlink_file =
1566 go_base_syscall_files = \
1567 go/syscall/env_unix.go \
1568 go/syscall/syscall_errno.go \
1569 go/syscall/libcall_support.go \
1570 go/syscall/libcall_posix.go \
1571 go/syscall/socket.go \
1573 go/syscall/syscall.go \
1574 $(syscall_syscall_file) \
1575 $(syscall_exec_file) \
1576 $(syscall_wait_file) \
1577 $(syscall_sleep_file) \
1578 $(syscall_errstr_file) \
1579 $(syscall_size_file) \
1580 $(syscall_socket_file) \
1581 $(syscall_uname_file) \
1582 $(syscall_netlink_file) \
1583 $(GO_LIBCALL_OS_FILE) \
1584 $(GO_LIBCALL_OS_ARCH_FILE) \
1585 $(GO_SYSCALL_OS_FILE) \
1586 $(GO_SYSCALL_OS_ARCH_FILE)
1588 go_syscall_files = \
1589 $(go_base_syscall_files) \
1593 go_syscall_c_files = \
1594 go/syscall/errno.c \
1595 $(syscall_wait_c_file)
1597 libcalls.go: s-libcalls; @true
1598 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1599 rm -f libcalls.go.tmp
1600 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1601 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1602 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1605 syscall_arch.go: s-syscall_arch; @true
1606 s-syscall_arch: Makefile
1607 rm -f syscall_arch.go.tmp
1608 echo "package syscall" > syscall_arch.go.tmp
1609 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1610 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1611 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1614 sysinfo.go: s-sysinfo; @true
1615 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1616 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1617 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1620 # The epoll struct has an embedded union and is packed on x86_64,
1621 # which is too complicated for mksysinfo.sh. We find the offset of
1622 # the only field we care about in configure.ac, and generate the
1624 epoll.go: s-epoll; @true
1627 echo 'package syscall' > epoll.go.tmp
1628 echo 'type EpollEvent struct {' >> epoll.go.tmp
1629 echo ' Events uint32' >> epoll.go.tmp
1630 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1631 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1633 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1634 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1635 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1636 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1637 echo ' Fd int32' >> epoll.go.tmp; ;; \
1638 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1639 echo ' Fd int32' >> epoll.go.tmp; \
1640 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1641 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1644 echo '}' >> epoll.go.tmp
1645 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1649 # os_lib_inotify_lo = os/inotify.lo
1675 reflect/reflect.lo \
1677 runtime/runtime.lo \
1679 strconv/strconv.lo \
1680 strings/strings.lo \
1683 unicode/unicode.lo \
1684 websocket/websocket.lo \
1697 crypto/blowfish.lo \
1703 crypto/elliptic.lo \
1711 crypto/ripemd160.lo \
1721 crypto/openpgp/armor.lo \
1722 crypto/openpgp/elgamal.lo \
1723 crypto/openpgp/error.lo \
1724 crypto/openpgp/packet.lo \
1725 crypto/openpgp/s2k.lo \
1726 crypto/x509/pkix.lo \
1732 encoding/ascii85.lo \
1734 encoding/base32.lo \
1735 encoding/base64.lo \
1736 encoding/binary.lo \
1766 net/http/httptest.lo \
1767 net/http/httputil.lo \
1776 index/suffixarray.lo \
1779 log/syslog/syslog_c.lo \
1795 $(os_lib_inotify_lo) \
1800 net/rpc/jsonrpc.lo \
1805 syscall/syscall.lo \
1811 text/template/parse.lo \
1812 testing/testing.lo \
1819 libgo_la_SOURCES = $(runtime_files)
1821 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1824 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1826 libgobegin_a_SOURCES = \
1829 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1831 GOCFLAGS = $(CFLAGS)
1832 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1833 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1835 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1836 $(AM_GOCFLAGS) $(GOCFLAGS)
1838 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1839 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1841 # Build the dependencies for a Go package.
1844 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1847 # Build the .go files for a package, generating a .lo file.
1850 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1851 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1863 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1865 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1867 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1868 export RUNTESTFLAGS; \
1871 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1872 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1873 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1874 export LD_LIBRARY_PATH; \
1875 rm -f $@-testsum $@-testlog; \
1876 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1877 test "$${prefix}" != "." || prefix="$(@D)"; \
1878 if test "$(use_dejagnu)" = "yes"; then \
1879 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1881 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1882 echo "PASS: $(@D)" >> $@-testlog; \
1883 echo "PASS: $(@D)"; \
1884 echo "PASS: $(@D)" > $@-testsum; \
1886 echo "FAIL: $(@D)" >> $@-testlog; \
1888 echo "FAIL: $(@D)" > $@-testsum; \
1893 # Build all packages before checking any.
1894 CHECK_DEPS = libgo.la libgobegin.a \
1895 $(toolexeclibgo_DATA) \
1896 $(toolexeclibgoarchive_DATA) \
1897 $(toolexeclibgocompress_DATA) \
1898 $(toolexeclibgocontainer_DATA) \
1899 $(toolexeclibgocrypto_DATA) \
1900 $(toolexeclibgocryptoopenpgp_DATA) \
1901 $(toolexeclibgodebug_DATA) \
1902 $(toolexeclibgoencoding_DATA) \
1903 $(toolexeclibgoexp_DATA) \
1904 $(toolexeclibgogo_DATA) \
1905 $(toolexeclibgohash_DATA) \
1906 $(toolexeclibgoimage_DATA) \
1907 $(toolexeclibgoindex_DATA) \
1908 $(toolexeclibgoio_DATA) \
1909 $(toolexeclibgolog_DATA) \
1910 $(toolexeclibgomath_DATA) \
1911 $(toolexeclibgomime_DATA) \
1912 $(toolexeclibgonet_DATA) \
1913 $(toolexeclibgonethttp_DATA) \
1914 $(toolexeclibgoos_DATA) \
1915 $(toolexeclibgopath_DATA) \
1916 $(toolexeclibgorpc_DATA) \
1917 $(toolexeclibgoruntime_DATA) \
1918 $(toolexeclibgosync_DATA) \
1919 $(toolexeclibgotesting_DATA) \
1920 $(toolexeclibgotext_DATA) \
1921 $(toolexeclibgotexttemplate_DATA) \
1922 $(toolexeclibgounicode_DATA)
1924 @go_include@ bufio/bufio.lo.dep
1925 bufio/bufio.lo.dep: $(go_bufio_files)
1927 bufio/bufio.lo: $(go_bufio_files)
1929 bufio/check: $(CHECK_DEPS)
1933 @go_include@ bytes/bytes.lo.dep
1934 bytes/bytes.lo.dep: $(go_bytes_files)
1936 bytes/bytes.lo: $(go_bytes_files)
1938 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1939 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1940 bytes/check: $(CHECK_DEPS)
1944 @go_include@ crypto/crypto.lo.dep
1945 crypto/crypto.lo.dep: $(go_crypto_files)
1947 crypto/crypto.lo: $(go_crypto_files)
1949 crypto/check: $(CHECK_DEPS)
1951 .PHONY: crypto/check
1953 @go_include@ errors/errors.lo.dep
1954 errors/errors.lo.dep: $(go_errors_files)
1956 errors/errors.lo: $(go_errors_files)
1958 errors/check: $(CHECK_DEPS)
1960 .PHONY: errors/check
1962 @go_include@ expvar/expvar.lo.dep
1963 expvar/expvar.lo.dep: $(go_expvar_files)
1965 expvar/expvar.lo: $(go_expvar_files)
1967 expvar/check: $(CHECK_DEPS)
1969 .PHONY: expvar/check
1971 @go_include@ flag/flag.lo.dep
1972 flag/flag.lo.dep: $(go_flag_files)
1974 flag/flag.lo: $(go_flag_files)
1976 flag/check: $(CHECK_DEPS)
1980 @go_include@ fmt/fmt.lo.dep
1981 fmt/fmt.lo.dep: $(go_fmt_files)
1983 fmt/fmt.lo: $(go_fmt_files)
1985 fmt/check: $(CHECK_DEPS)
1989 @go_include@ hash/hash.lo.dep
1990 hash/hash.lo.dep: $(go_hash_files)
1992 hash/hash.lo: $(go_hash_files)
1994 hash/check: $(CHECK_DEPS)
1998 @go_include@ html/html.lo.dep
1999 html/html.lo.dep: $(go_html_files)
2001 html/html.lo: $(go_html_files)
2003 html/check: $(CHECK_DEPS)
2007 @go_include@ image/image.lo.dep
2008 image/image.lo.dep: $(go_image_files)
2010 image/image.lo: $(go_image_files)
2012 image/check: $(CHECK_DEPS)
2016 @go_include@ io/io.lo.dep
2017 io/io.lo.dep: $(go_io_files)
2019 io/io.lo: $(go_io_files)
2021 io/check: $(CHECK_DEPS)
2025 @go_include@ log/log.lo.dep
2026 log/log.lo.dep: $(go_log_files)
2028 log/log.lo: $(go_log_files)
2030 log/check: $(CHECK_DEPS)
2034 @go_include@ math/math.lo.dep
2035 math/math.lo.dep: $(go_math_files)
2037 math/math.lo: $(go_math_files)
2039 math/check: $(CHECK_DEPS)
2043 @go_include@ mime/mime.lo.dep
2044 mime/mime.lo.dep: $(go_mime_files)
2046 mime/mime.lo: $(go_mime_files)
2048 mime/check: $(CHECK_DEPS)
2052 @go_include@ net/net.lo.dep
2053 net/net.lo.dep: $(go_net_files)
2055 net/net.lo: $(go_net_files)
2057 net/check: $(CHECK_DEPS)
2061 @go_include@ os/os.lo.dep
2062 os/os.lo.dep: $(go_os_files)
2064 os/os.lo: $(go_os_files)
2066 os/check: $(CHECK_DEPS)
2070 signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
2071 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
2074 @go_include@ patch/patch.lo.dep
2075 patch/patch.lo.dep: $(go_patch_files)
2077 patch/patch.lo: $(go_patch_files)
2079 patch/check: $(CHECK_DEPS)
2083 @go_include@ path/path.lo.dep
2084 path/path.lo.dep: $(go_path_files)
2086 path/path.lo: $(go_path_files)
2088 path/check: $(CHECK_DEPS)
2092 @go_include@ reflect/reflect.lo.dep
2093 reflect/reflect.lo.dep: $(go_reflect_files)
2095 reflect/reflect.lo: $(go_reflect_files)
2097 reflect/check: $(CHECK_DEPS)
2099 .PHONY: reflect/check
2101 @go_include@ regexp/regexp.lo.dep
2102 regexp/regexp.lo.dep: $(go_regexp_files)
2104 regexp/regexp.lo: $(go_regexp_files)
2106 regexp/check: $(CHECK_DEPS)
2108 .PHONY: regexp/check
2110 @go_include@ runtime/runtime.lo.dep
2111 runtime/runtime.lo.dep: $(go_runtime_files)
2113 runtime/runtime.lo: $(go_runtime_files)
2115 runtime/check: $(CHECK_DEPS)
2117 .PHONY: runtime/check
2119 @go_include@ text/scanner.lo.dep
2120 text/scanner.lo.dep: $(go_text_scanner_files)
2122 text/scanner.lo: $(go_text_scanner_files)
2124 text/scanner/check: $(CHECK_DEPS)
2125 @$(MKDIR_P) text/scanner
2127 .PHONY: text/scanner/check
2129 @go_include@ sort/sort.lo.dep
2130 sort/sort.lo.dep: $(go_sort_files)
2132 sort/sort.lo: $(go_sort_files)
2134 sort/check: $(CHECK_DEPS)
2138 @go_include@ strconv/strconv.lo.dep
2139 strconv/strconv.lo.dep: $(go_strconv_files)
2141 strconv/strconv.lo: $(go_strconv_files)
2143 strconv/check: $(CHECK_DEPS)
2145 .PHONY: strconv/check
2147 @go_include@ strings/strings.lo.dep
2148 strings/strings.lo.dep: $(go_strings_files)
2150 strings/strings.lo: $(go_strings_files)
2152 strings/check: $(CHECK_DEPS)
2154 .PHONY: strings/check
2156 @go_include@ sync/sync.lo.dep
2157 sync/sync.lo.dep: $(go_sync_files)
2159 sync/sync.lo: $(go_sync_files)
2161 sync/check: $(CHECK_DEPS)
2165 @go_include@ testing/testing.lo.dep
2166 testing/testing.lo.dep: $(go_testing_files)
2168 testing/testing.lo: $(go_testing_files)
2170 testing/check: $(CHECK_DEPS)
2172 .PHONY: testing/check
2174 @go_include@ time/time.lo.dep
2175 time/time.lo.dep: $(go_time_files)
2177 time/time.lo: $(go_time_files)
2179 time/check: $(CHECK_DEPS)
2183 @go_include@ unicode/unicode.lo.dep
2184 unicode/unicode.lo.dep: $(go_unicode_files)
2186 unicode/unicode.lo: $(go_unicode_files)
2188 unicode/check: $(CHECK_DEPS)
2190 .PHONY: unicode/check
2192 @go_include@ websocket/websocket.lo.dep
2193 websocket/websocket.lo.dep: $(go_websocket_files)
2195 websocket/websocket.lo: $(go_websocket_files)
2197 websocket/check: $(CHECK_DEPS)
2199 .PHONY: websocket/check
2201 @go_include@ archive/tar.lo.dep
2202 archive/tar.lo.dep: $(go_archive_tar_files)
2204 archive/tar.lo: $(go_archive_tar_files)
2206 archive/tar/check: $(CHECK_DEPS)
2207 @$(MKDIR_P) archive/tar
2209 .PHONY: archive/tar/check
2211 @go_include@ archive/zip.lo.dep
2212 archive/zip.lo.dep: $(go_archive_zip_files)
2214 archive/zip.lo: $(go_archive_zip_files)
2216 archive/zip/check: $(CHECK_DEPS)
2217 @$(MKDIR_P) archive/zip
2219 .PHONY: archive/zip/check
2221 @go_include@ compress/bzip2.lo.dep
2222 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2224 compress/bzip2.lo: $(go_compress_bzip2_files)
2226 compress/bzip2/check: $(CHECK_DEPS)
2227 @$(MKDIR_P) compress/bzip2
2229 .PHONY: compress/bzip2/check
2231 @go_include@ compress/flate.lo.dep
2232 compress/flate.lo.dep: $(go_compress_flate_files)
2234 compress/flate.lo: $(go_compress_flate_files)
2236 compress/flate/check: $(CHECK_DEPS)
2237 @$(MKDIR_P) compress/flate
2239 .PHONY: compress/flate/check
2241 @go_include@ compress/gzip.lo.dep
2242 compress/gzip.lo.dep: $(go_compress_gzip_files)
2244 compress/gzip.lo: $(go_compress_gzip_files)
2246 compress/gzip/check: $(CHECK_DEPS)
2247 @$(MKDIR_P) compress/gzip
2249 .PHONY: compress/gzip/check
2251 @go_include@ compress/lzw.lo.dep
2252 compress/lzw.lo.dep: $(go_compress_lzw_files)
2254 compress/lzw.lo: $(go_compress_lzw_files)
2256 compress/lzw/check: $(CHECK_DEPS)
2257 @$(MKDIR_P) compress/lzw
2259 .PHONY: compress/lzw/check
2261 @go_include@ compress/zlib.lo.dep
2262 compress/zlib.lo.dep: $(go_compress_zlib_files)
2264 compress/zlib.lo: $(go_compress_zlib_files)
2266 compress/zlib/check: $(CHECK_DEPS)
2267 @$(MKDIR_P) compress/zlib
2269 .PHONY: compress/zlib/check
2271 @go_include@ container/heap.lo.dep
2272 container/heap.lo.dep: $(go_container_heap_files)
2274 container/heap.lo: $(go_container_heap_files)
2276 container/heap/check: $(CHECK_DEPS)
2277 @$(MKDIR_P) container/heap
2279 .PHONY: container/heap/check
2281 @go_include@ container/list.lo.dep
2282 container/list.lo.dep: $(go_container_list_files)
2284 container/list.lo: $(go_container_list_files)
2286 container/list/check: $(CHECK_DEPS)
2287 @$(MKDIR_P) container/list
2289 .PHONY: container/list/check
2291 @go_include@ container/ring.lo.dep
2292 container/ring.lo.dep: $(go_container_ring_files)
2294 container/ring.lo: $(go_container_ring_files)
2296 container/ring/check: $(CHECK_DEPS)
2297 @$(MKDIR_P) container/ring
2299 .PHONY: container/ring/check
2301 @go_include@ crypto/aes.lo.dep
2302 crypto/aes.lo.dep: $(go_crypto_aes_files)
2304 crypto/aes.lo: $(go_crypto_aes_files)
2306 crypto/aes/check: $(CHECK_DEPS)
2307 @$(MKDIR_P) crypto/aes
2309 .PHONY: crypto/aes/check
2311 @go_include@ crypto/bcrypt.lo.dep
2312 crypto/bcrypt.lo.dep: $(go_crypto_bcrypt_files)
2314 crypto/bcrypt.lo: $(go_crypto_bcrypt_files)
2316 crypto/bcrypt/check: $(CHECK_DEPS)
2317 @$(MKDIR_P) crypto/bcrypt
2319 .PHONY: crypto/bcrypt/check
2321 @go_include@ crypto/blowfish.lo.dep
2322 crypto/blowfish.lo.dep: $(go_crypto_blowfish_files)
2324 crypto/blowfish.lo: $(go_crypto_blowfish_files)
2326 crypto/blowfish/check: $(CHECK_DEPS)
2327 @$(MKDIR_P) crypto/blowfish
2329 .PHONY: crypto/blowfish/check
2331 @go_include@ crypto/cast5.lo.dep
2332 crypto/cast5.lo.dep: $(go_crypto_cast5_files)
2334 crypto/cast5.lo: $(go_crypto_cast5_files)
2336 crypto/cast5/check: $(CHECK_DEPS)
2337 @$(MKDIR_P) crypto/cast5
2339 .PHONY: crypto/cast5/check
2341 @go_include@ crypto/cipher.lo.dep
2342 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2344 crypto/cipher.lo: $(go_crypto_cipher_files)
2346 crypto/cipher/check: $(CHECK_DEPS)
2347 @$(MKDIR_P) crypto/cipher
2349 .PHONY: crypto/cipher/check
2351 @go_include@ crypto/des.lo.dep
2352 crypto/des.lo.dep: $(go_crypto_des_files)
2354 crypto/des.lo: $(go_crypto_des_files)
2356 crypto/des/check: $(CHECK_DEPS)
2357 @$(MKDIR_P) crypto/des
2359 .PHONY: crypto/des/check
2361 @go_include@ crypto/dsa.lo.dep
2362 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2364 crypto/dsa.lo: $(go_crypto_dsa_files)
2366 crypto/dsa/check: $(CHECK_DEPS)
2367 @$(MKDIR_P) crypto/dsa
2369 .PHONY: crypto/dsa/check
2371 @go_include@ crypto/ecdsa.lo.dep
2372 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2374 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2376 crypto/ecdsa/check: $(CHECK_DEPS)
2377 @$(MKDIR_P) crypto/ecdsa
2379 .PHONY: crypto/ecdsa/check
2381 @go_include@ crypto/elliptic.lo.dep
2382 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2384 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2386 crypto/elliptic/check: $(CHECK_DEPS)
2387 @$(MKDIR_P) crypto/elliptic
2389 .PHONY: crypto/elliptic/check
2391 @go_include@ crypto/hmac.lo.dep
2392 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2394 crypto/hmac.lo: $(go_crypto_hmac_files)
2396 crypto/hmac/check: $(CHECK_DEPS)
2397 @$(MKDIR_P) crypto/hmac
2399 .PHONY: crypto/hmac/check
2401 @go_include@ crypto/md4.lo.dep
2402 crypto/md4.lo.dep: $(go_crypto_md4_files)
2404 crypto/md4.lo: $(go_crypto_md4_files)
2406 crypto/md4/check: $(CHECK_DEPS)
2407 @$(MKDIR_P) crypto/md4
2409 .PHONY: crypto/md4/check
2411 @go_include@ crypto/md5.lo.dep
2412 crypto/md5.lo.dep: $(go_crypto_md5_files)
2414 crypto/md5.lo: $(go_crypto_md5_files)
2416 crypto/md5/check: $(CHECK_DEPS)
2417 @$(MKDIR_P) crypto/md5
2419 .PHONY: crypto/md5/check
2421 @go_include@ crypto/ocsp.lo.dep
2422 crypto/ocsp.lo.dep: $(go_crypto_ocsp_files)
2424 crypto/ocsp.lo: $(go_crypto_ocsp_files)
2426 crypto/ocsp/check: $(CHECK_DEPS)
2427 @$(MKDIR_P) crypto/ocsp
2429 .PHONY: crypto/ocsp/check
2431 @go_include@ crypto/openpgp.lo.dep
2432 crypto/openpgp.lo.dep: $(go_crypto_openpgp_files)
2434 crypto/openpgp.lo: $(go_crypto_openpgp_files)
2436 crypto/openpgp/check: $(CHECK_DEPS)
2437 @$(MKDIR_P) crypto/openpgp
2439 .PHONY: crypto/openpgp/check
2441 @go_include@ crypto/rand.lo.dep
2442 crypto/rand.lo.dep: $(go_crypto_rand_files)
2444 crypto/rand.lo: $(go_crypto_rand_files)
2446 crypto/rand/check: $(CHECK_DEPS)
2447 @$(MKDIR_P) crypto/rand
2449 .PHONY: crypto/rand/check
2451 @go_include@ crypto/rc4.lo.dep
2452 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2454 crypto/rc4.lo: $(go_crypto_rc4_files)
2456 crypto/rc4/check: $(CHECK_DEPS)
2457 @$(MKDIR_P) crypto/rc4
2459 .PHONY: crypto/rc4/check
2461 @go_include@ crypto/ripemd160.lo.dep
2462 crypto/ripemd160.lo.dep: $(go_crypto_ripemd160_files)
2464 crypto/ripemd160.lo: $(go_crypto_ripemd160_files)
2466 crypto/ripemd160/check: $(CHECK_DEPS)
2467 @$(MKDIR_P) crypto/ripemd160
2469 .PHONY: crypto/ripemd160/check
2471 @go_include@ crypto/rsa.lo.dep
2472 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2474 crypto/rsa.lo: $(go_crypto_rsa_files)
2476 crypto/rsa/check: $(CHECK_DEPS)
2477 @$(MKDIR_P) crypto/rsa
2479 .PHONY: crypto/rsa/check
2481 @go_include@ crypto/sha1.lo.dep
2482 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2484 crypto/sha1.lo: $(go_crypto_sha1_files)
2486 crypto/sha1/check: $(CHECK_DEPS)
2487 @$(MKDIR_P) crypto/sha1
2489 .PHONY: crypto/sha1/check
2491 @go_include@ crypto/sha256.lo.dep
2492 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2494 crypto/sha256.lo: $(go_crypto_sha256_files)
2496 crypto/sha256/check: $(CHECK_DEPS)
2497 @$(MKDIR_P) crypto/sha256
2499 .PHONY: crypto/sha256/check
2501 @go_include@ crypto/sha512.lo.dep
2502 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2504 crypto/sha512.lo: $(go_crypto_sha512_files)
2506 crypto/sha512/check: $(CHECK_DEPS)
2507 @$(MKDIR_P) crypto/sha512
2509 .PHONY: crypto/sha512/check
2511 @go_include@ crypto/subtle.lo.dep
2512 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2514 crypto/subtle.lo: $(go_crypto_subtle_files)
2516 crypto/subtle/check: $(CHECK_DEPS)
2517 @$(MKDIR_P) crypto/subtle
2519 .PHONY: crypto/subtle/check
2521 @go_include@ crypto/tls.lo.dep
2522 crypto/tls.lo.dep: $(go_crypto_tls_files)
2524 crypto/tls.lo: $(go_crypto_tls_files)
2526 crypto/tls/check: $(CHECK_DEPS)
2527 @$(MKDIR_P) crypto/tls
2529 .PHONY: crypto/tls/check
2531 @go_include@ crypto/twofish.lo.dep
2532 crypto/twofish.lo.dep: $(go_crypto_twofish_files)
2534 crypto/twofish.lo: $(go_crypto_twofish_files)
2536 crypto/twofish/check: $(CHECK_DEPS)
2537 @$(MKDIR_P) crypto/twofish
2539 .PHONY: crypto/twofish/check
2541 @go_include@ crypto/x509.lo.dep
2542 crypto/x509.lo.dep: $(go_crypto_x509_files)
2544 crypto/x509.lo: $(go_crypto_x509_files)
2546 crypto/x509/check: $(CHECK_DEPS)
2547 @$(MKDIR_P) crypto/x509
2549 .PHONY: crypto/x509/check
2551 @go_include@ crypto/xtea.lo.dep
2552 crypto/xtea.lo.dep: $(go_crypto_xtea_files)
2554 crypto/xtea.lo: $(go_crypto_xtea_files)
2556 crypto/xtea/check: $(CHECK_DEPS)
2557 @$(MKDIR_P) crypto/xtea
2559 .PHONY: crypto/xtea/check
2561 @go_include@ crypto/openpgp/armor.lo.dep
2562 crypto/openpgp/armor.lo.dep: $(go_crypto_openpgp_armor_files)
2564 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files)
2566 crypto/openpgp/armor/check: $(CHECK_DEPS)
2567 @$(MKDIR_P) crypto/openpgp/armor
2569 .PHONY: crypto/openpgp/armor/check
2571 @go_include@ crypto/openpgp/elgamal.lo.dep
2572 crypto/openpgp/elgamal.lo.dep: $(go_crypto_openpgp_elgamal_files)
2574 crypto/openpgp/elgamal.lo: $(go_crypto_openpgp_elgamal_files)
2576 crypto/openpgp/elgamal/check: $(CHECK_DEPS)
2577 @$(MKDIR_P) crypto/openpgp/elgamal
2579 .PHONY: crypto/openpgp/elgamal/check
2581 @go_include@ crypto/openpgp/error.lo.dep
2582 crypto/openpgp/error.lo.dep: $(go_crypto_openpgp_error_files)
2584 crypto/openpgp/error.lo: $(go_crypto_openpgp_error_files)
2586 crypto/openpgp/error/check: $(CHECK_DEPS)
2587 @$(MKDIR_P) crypto/openpgp/error
2589 .PHONY: crypto/openpgp/error/check
2591 @go_include@ crypto/openpgp/packet.lo.dep
2592 crypto/openpgp/packet.lo.dep: $(go_crypto_openpgp_packet_files)
2594 crypto/openpgp/packet.lo: $(go_crypto_openpgp_packet_files)
2596 crypto/openpgp/packet/check: $(CHECK_DEPS)
2597 @$(MKDIR_P) crypto/openpgp/packet
2599 .PHONY: crypto/openpgp/packet/check
2601 @go_include@ crypto/openpgp/s2k.lo.dep
2602 crypto/openpgp/s2k.lo.dep: $(go_crypto_openpgp_s2k_files)
2604 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files)
2606 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2607 @$(MKDIR_P) crypto/openpgp/s2k
2609 .PHONY: crypto/openpgp/s2k/check
2611 @go_include@ crypto/x509/pkix.lo.dep
2612 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2614 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2616 crypto/x509/pkix/check: $(CHECK_DEPS)
2617 @$(MKDIR_P) crypto/x509/pkix
2619 .PHONY: crypto/x509/pkix/check
2621 @go_include@ debug/dwarf.lo.dep
2622 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2624 debug/dwarf.lo: $(go_debug_dwarf_files)
2626 debug/dwarf/check: $(CHECK_DEPS)
2627 @$(MKDIR_P) debug/dwarf
2629 .PHONY: debug/dwarf/check
2631 @go_include@ debug/elf.lo.dep
2632 debug/elf.lo.dep: $(go_debug_elf_files)
2634 debug/elf.lo: $(go_debug_elf_files)
2636 debug/elf/check: $(CHECK_DEPS)
2637 @$(MKDIR_P) debug/elf
2639 .PHONY: debug/elf/check
2641 @go_include@ debug/gosym.lo.dep
2642 debug/gosym.lo.dep: $(go_debug_gosym_files)
2644 debug/gosym.lo: $(go_debug_gosym_files)
2646 debug/gosym/check: $(CHECK_DEPS)
2647 @$(MKDIR_P) debug/gosym
2649 .PHONY: debug/gosym/check
2651 @go_include@ debug/macho.lo.dep
2652 debug/macho.lo.dep: $(go_debug_macho_files)
2654 debug/macho.lo: $(go_debug_macho_files)
2656 debug/macho/check: $(CHECK_DEPS)
2657 @$(MKDIR_P) debug/macho
2659 .PHONY: debug/macho/check
2661 @go_include@ debug/pe.lo.dep
2662 debug/pe.lo.dep: $(go_debug_pe_files)
2664 debug/pe.lo: $(go_debug_pe_files)
2666 debug/pe/check: $(CHECK_DEPS)
2667 @$(MKDIR_P) debug/pe
2669 .PHONY: debug/pe/check
2671 @go_include@ encoding/asn1.lo.dep
2672 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2674 encoding/asn1.lo: $(go_encoding_asn1_files)
2676 encoding/asn1/check: $(CHECK_DEPS)
2677 @$(MKDIR_P) encoding/asn1
2679 .PHONY: encoding/asn1/check
2681 @go_include@ encoding/ascii85.lo.dep
2682 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2684 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2686 encoding/ascii85/check: $(CHECK_DEPS)
2687 @$(MKDIR_P) encoding/ascii85
2689 .PHONY: encoding/ascii85/check
2691 @go_include@ encoding/base32.lo.dep
2692 encoding/base32.lo.dep: $(go_encoding_base32_files)
2694 encoding/base32.lo: $(go_encoding_base32_files)
2696 encoding/base32/check: $(CHECK_DEPS)
2697 @$(MKDIR_P) encoding/base32
2699 .PHONY: encoding/base32/check
2701 @go_include@ encoding/base64.lo.dep
2702 encoding/base64.lo.dep: $(go_encoding_base64_files)
2704 encoding/base64.lo: $(go_encoding_base64_files)
2706 encoding/base64/check: $(CHECK_DEPS)
2707 @$(MKDIR_P) encoding/base64
2709 .PHONY: encoding/base64/check
2711 @go_include@ encoding/binary.lo.dep
2712 encoding/binary.lo.dep: $(go_encoding_binary_files)
2714 encoding/binary.lo: $(go_encoding_binary_files)
2716 encoding/binary/check: $(CHECK_DEPS)
2717 @$(MKDIR_P) encoding/binary
2719 .PHONY: encoding/binary/check
2721 @go_include@ encoding/csv.lo.dep
2722 encoding/csv.lo.dep: $(go_encoding_csv_files)
2724 encoding/csv.lo: $(go_encoding_csv_files)
2726 encoding/csv/check: $(CHECK_DEPS)
2727 @$(MKDIR_P) encoding/csv
2729 .PHONY: encoding/csv/check
2731 @go_include@ encoding/git85.lo.dep
2732 encoding/git85.lo.dep: $(go_encoding_git85_files)
2734 encoding/git85.lo: $(go_encoding_git85_files)
2736 encoding/git85/check: $(CHECK_DEPS)
2737 @$(MKDIR_P) encoding/git85
2739 .PHONY: encoding/git85/check
2741 @go_include@ encoding/gob.lo.dep
2742 encoding/gob.lo.dep: $(go_encoding_gob_files)
2744 encoding/gob.lo: $(go_encoding_gob_files)
2746 encoding/gob/check: $(CHECK_DEPS)
2747 @$(MKDIR_P) encoding/gob
2749 .PHONY: encoding/gob/check
2751 @go_include@ encoding/hex.lo.dep
2752 encoding/hex.lo.dep: $(go_encoding_hex_files)
2754 encoding/hex.lo: $(go_encoding_hex_files)
2756 encoding/hex/check: $(CHECK_DEPS)
2757 @$(MKDIR_P) encoding/hex
2759 .PHONY: encoding/hex/check
2761 @go_include@ encoding/json.lo.dep
2762 encoding/json.lo.dep: $(go_encoding_json_files)
2764 encoding/json.lo: $(go_encoding_json_files)
2766 encoding/json/check: $(CHECK_DEPS)
2767 @$(MKDIR_P) encoding/json
2769 .PHONY: encoding/json/check
2771 @go_include@ encoding/pem.lo.dep
2772 encoding/pem.lo.dep: $(go_encoding_pem_files)
2774 encoding/pem.lo: $(go_encoding_pem_files)
2776 encoding/pem/check: $(CHECK_DEPS)
2777 @$(MKDIR_P) encoding/pem
2779 .PHONY: encoding/pem/check
2781 @go_include@ encoding/xml.lo.dep
2782 encoding/xml.lo.dep: $(go_encoding_xml_files)
2784 encoding/xml.lo: $(go_encoding_xml_files)
2786 encoding/xml/check: $(CHECK_DEPS)
2787 @$(MKDIR_P) encoding/xml
2789 .PHONY: encoding/xml/check
2791 @go_include@ exp/ebnf.lo.dep
2792 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2794 exp/ebnf.lo: $(go_exp_ebnf_files)
2796 exp/ebnf/check: $(CHECK_DEPS)
2797 @$(MKDIR_P) exp/ebnf
2799 .PHONY: exp/ebnf/check
2801 @go_include@ exp/norm.lo.dep
2802 exp/norm.lo.dep: $(go_exp_norm_files)
2804 exp/norm.lo: $(go_exp_norm_files)
2806 exp/norm/check: $(CHECK_DEPS)
2807 @$(MKDIR_P) exp/norm
2809 .PHONY: exp/norm/check
2811 @go_include@ exp/spdy.lo.dep
2812 exp/spdy.lo.dep: $(go_exp_spdy_files)
2814 exp/spdy.lo: $(go_exp_spdy_files)
2816 exp/spdy/check: $(CHECK_DEPS)
2817 @$(MKDIR_P) exp/spdy
2819 .PHONY: exp/spdy/check
2821 @go_include@ exp/sql.lo.dep
2822 exp/sql.lo.dep: $(go_exp_sql_files)
2824 exp/sql.lo: $(go_exp_sql_files)
2826 exp/sql/check: $(CHECK_DEPS)
2829 .PHONY: exp/sql/check
2831 @go_include@ exp/ssh.lo.dep
2832 exp/ssh.lo.dep: $(go_exp_ssh_files)
2834 exp/ssh.lo: $(go_exp_ssh_files)
2836 exp/ssh/check: $(CHECK_DEPS)
2839 .PHONY: exp/ssh/check
2841 @go_include@ exp/terminal.lo.dep
2842 exp/terminal.lo.dep: $(go_exp_terminal_files)
2844 exp/terminal.lo: $(go_exp_terminal_files)
2846 exp/terminal/check: $(CHECK_DEPS)
2847 @$(MKDIR_P) exp/terminal
2849 .PHONY: exp/terminal/check
2851 @go_include@ exp/types.lo.dep
2852 exp/types.lo.dep: $(go_exp_types_files)
2854 exp/types.lo: $(go_exp_types_files)
2856 exp/types/check: $(CHECK_DEPS)
2857 @$(MKDIR_P) exp/types
2859 .PHONY: exp/types/check
2861 @go_include@ exp/inotify.lo.dep
2862 exp/inotify.lo.dep: $(go_exp_inotify_files)
2864 exp/inotify.lo: $(go_exp_inotify_files)
2866 exp/inotify/check: $(CHECK_DEPS)
2867 @$(MKDIR_P) exp/inotify
2869 .PHONY: exp/inotify/check
2871 @go_include@ exp/sql/driver.lo.dep
2872 exp/sql/driver.lo.dep: $(go_exp_sql_driver_files)
2874 exp/sql/driver.lo: $(go_exp_sql_driver_files)
2876 exp/sql/driver/check: $(CHECK_DEPS)
2877 @$(MKDIR_P) exp/sql/driver
2879 .PHONY: exp/sql/driver/check
2881 @go_include@ html/template.lo.dep
2882 html/template.lo.dep: $(go_html_template_files)
2884 html/template.lo: $(go_html_template_files)
2886 html/template/check: $(CHECK_DEPS)
2887 @$(MKDIR_P) html/template
2889 .PHONY: html/template/check
2891 @go_include@ go/ast.lo.dep
2892 go/ast.lo.dep: $(go_go_ast_files)
2894 go/ast.lo: $(go_go_ast_files)
2896 go/ast/check: $(CHECK_DEPS)
2899 .PHONY: go/ast/check
2901 @go_include@ go/build.lo.dep
2902 go/build.lo.dep: $(go_go_build_files)
2904 go/build.lo: $(go_go_build_files)
2906 go/build/check: $(CHECK_DEPS)
2907 @$(MKDIR_P) go/build
2909 .PHONY: go/build/check
2911 syslist.go: s-syslist; @true
2913 echo '// Generated automatically by make.' >syslist.go.tmp
2914 echo 'package build' >>syslist.go.tmp
2915 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2916 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2917 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2920 @go_include@ go/doc.lo.dep
2921 go/doc.lo.dep: $(go_go_doc_files)
2923 go/doc.lo: $(go_go_doc_files)
2925 go/doc/check: $(CHECK_DEPS)
2928 .PHONY: go/doc/check
2930 @go_include@ go/parser.lo.dep
2931 go/parser.lo.dep: $(go_go_parser_files)
2933 go/parser.lo: $(go_go_parser_files)
2935 go/parser/check: $(CHECK_DEPS)
2936 @$(MKDIR_P) go/parser
2938 .PHONY: go/parser/check
2940 @go_include@ go/printer.lo.dep
2941 go/printer.lo.dep: $(go_go_printer_files)
2943 go/printer.lo: $(go_go_printer_files)
2945 go/printer/check: $(CHECK_DEPS)
2946 @$(MKDIR_P) go/printer
2948 .PHONY: go/printer/check
2950 @go_include@ go/scanner.lo.dep
2951 go/scanner.lo.dep: $(go_go_scanner_files)
2953 go/scanner.lo: $(go_go_scanner_files)
2955 go/scanner/check: $(CHECK_DEPS)
2956 @$(MKDIR_P) go/scanner
2958 .PHONY: go/scanner/check
2960 @go_include@ go/token.lo.dep
2961 go/token.lo.dep: $(go_go_token_files)
2963 go/token.lo: $(go_go_token_files)
2965 go/token/check: $(CHECK_DEPS)
2966 @$(MKDIR_P) go/token
2968 .PHONY: go/token/check
2970 @go_include@ hash/adler32.lo.dep
2971 hash/adler32.lo.dep: $(go_hash_adler32_files)
2973 hash/adler32.lo: $(go_hash_adler32_files)
2975 hash/adler32/check: $(CHECK_DEPS)
2976 @$(MKDIR_P) hash/adler32
2978 .PHONY: hash/adler32/check
2980 @go_include@ hash/crc32.lo.dep
2981 hash/crc32.lo.dep: $(go_hash_crc32_files)
2983 hash/crc32.lo: $(go_hash_crc32_files)
2985 hash/crc32/check: $(CHECK_DEPS)
2986 @$(MKDIR_P) hash/crc32
2988 .PHONY: hash/crc32/check
2990 @go_include@ hash/crc64.lo.dep
2991 hash/crc64.lo.dep: $(go_hash_crc64_files)
2993 hash/crc64.lo: $(go_hash_crc64_files)
2995 hash/crc64/check: $(CHECK_DEPS)
2996 @$(MKDIR_P) hash/crc64
2998 .PHONY: hash/crc64/check
3000 @go_include@ hash/fnv.lo.dep
3001 hash/fnv.lo.dep: $(go_hash_fnv_files)
3003 hash/fnv.lo: $(go_hash_fnv_files)
3005 hash/fnv/check: $(CHECK_DEPS)
3006 @$(MKDIR_P) hash/fnv
3008 .PHONY: hash/fnv/check
3010 @go_include@ image/bmp.lo.dep
3011 image/bmp.lo.dep: $(go_image_bmp_files)
3013 image/bmp.lo: $(go_image_bmp_files)
3015 image/bmp/check: $(CHECK_DEPS)
3016 @$(MKDIR_P) image/bmp
3018 .PHONY: image/bmp/check
3020 @go_include@ image/color.lo.dep
3021 image/color.lo.dep: $(go_image_color_files)
3023 image/color.lo: $(go_image_color_files)
3025 image/color/check: $(CHECK_DEPS)
3026 @$(MKDIR_P) image/color
3028 .PHONY: image/color/check
3030 @go_include@ image/draw.lo.dep
3031 image/draw.lo.dep: $(go_image_draw_files)
3033 image/draw.lo: $(go_image_draw_files)
3035 image/draw/check: $(CHECK_DEPS)
3036 @$(MKDIR_P) image/draw
3038 .PHONY: image/draw/check
3040 @go_include@ image/gif.lo.dep
3041 image/gif.lo.dep: $(go_image_gif_files)
3043 image/gif.lo: $(go_image_gif_files)
3045 image/gif/check: $(CHECK_DEPS)
3046 @$(MKDIR_P) image/gif
3048 .PHONY: image/gif/check
3050 @go_include@ image/jpeg.lo.dep
3051 image/jpeg.lo.dep: $(go_image_jpeg_files)
3053 image/jpeg.lo: $(go_image_jpeg_files)
3055 image/jpeg/check: $(CHECK_DEPS)
3056 @$(MKDIR_P) image/jpeg
3058 .PHONY: image/jpeg/check
3060 @go_include@ image/png.lo.dep
3061 image/png.lo.dep: $(go_image_png_files)
3063 image/png.lo: $(go_image_png_files)
3065 image/png/check: $(CHECK_DEPS)
3066 @$(MKDIR_P) image/png
3068 .PHONY: image/png/check
3070 @go_include@ image/tiff.lo.dep
3071 image/tiff.lo.dep: $(go_image_tiff_files)
3073 image/tiff.lo: $(go_image_tiff_files)
3075 image/tiff/check: $(CHECK_DEPS)
3076 @$(MKDIR_P) image/tiff
3078 .PHONY: image/tiff/check
3080 @go_include@ index/suffixarray.lo.dep
3081 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
3083 index/suffixarray.lo: $(go_index_suffixarray_files)
3085 index/suffixarray/check: $(CHECK_DEPS)
3086 @$(MKDIR_P) index/suffixarray
3088 .PHONY: index/suffixarray/check
3090 @go_include@ io/ioutil.lo.dep
3091 io/ioutil.lo.dep: $(go_io_ioutil_files)
3093 io/ioutil.lo: $(go_io_ioutil_files)
3095 io/ioutil/check: $(CHECK_DEPS)
3096 @$(MKDIR_P) io/ioutil
3098 .PHONY: io/ioutil/check
3100 @go_include@ log/syslog.lo.dep
3101 log/syslog.lo.dep: $(go_log_syslog_files)
3103 log/syslog.lo: $(go_log_syslog_files)
3105 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
3106 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
3107 log/syslog/check: $(CHECK_DEPS)
3108 @$(MKDIR_P) log/syslog
3110 .PHONY: log/syslog/check
3112 @go_include@ math/big.lo.dep
3113 math/big.lo.dep: $(go_math_big_files)
3115 math/big.lo: $(go_math_big_files)
3117 math/big/check: $(CHECK_DEPS)
3118 @$(MKDIR_P) math/big
3120 .PHONY: math/big/check
3122 @go_include@ math/cmplx.lo.dep
3123 math/cmplx.lo.dep: $(go_math_cmplx_files)
3125 math/cmplx.lo: $(go_math_cmplx_files)
3127 math/cmplx/check: $(CHECK_DEPS)
3128 @$(MKDIR_P) math/cmplx
3130 .PHONY: math/cmplx/check
3132 @go_include@ math/rand.lo.dep
3133 math/rand.lo.dep: $(go_math_rand_files)
3135 math/rand.lo: $(go_math_rand_files)
3137 math/rand/check: $(CHECK_DEPS)
3138 @$(MKDIR_P) math/rand
3140 .PHONY: math/rand/check
3142 @go_include@ mime/multipart.lo.dep
3143 mime/multipart.lo.dep: $(go_mime_multipart_files)
3145 mime/multipart.lo: $(go_mime_multipart_files)
3147 mime/multipart/check: $(CHECK_DEPS)
3148 @$(MKDIR_P) mime/multipart
3150 .PHONY: mime/multipart/check
3152 @go_include@ net/dict.lo.dep
3153 net/dict.lo.dep: $(go_net_dict_files)
3155 net/dict.lo: $(go_net_dict_files)
3158 @go_include@ net/http.lo.dep
3159 net/http.lo.dep: $(go_net_http_files)
3161 net/http.lo: $(go_net_http_files)
3163 net/http/check: $(CHECK_DEPS)
3164 @$(MKDIR_P) net/http
3166 .PHONY: net/http/check
3168 @go_include@ net/mail.lo.dep
3169 net/mail.lo.dep: $(go_net_mail_files)
3171 net/mail.lo: $(go_net_mail_files)
3173 net/mail/check: $(CHECK_DEPS)
3174 @$(MKDIR_P) net/mail
3176 .PHONY: net/mail/check
3178 @go_include@ net/rpc.lo.dep
3179 net/rpc.lo.dep: $(go_net_rpc_files)
3181 net/rpc.lo: $(go_net_rpc_files)
3183 net/rpc/check: $(CHECK_DEPS)
3186 .PHONY: net/rpc/check
3188 @go_include@ net/smtp.lo.dep
3189 net/smtp.lo.dep: $(go_net_smtp_files)
3191 net/smtp.lo: $(go_net_smtp_files)
3193 net/smtp/check: $(CHECK_DEPS)
3194 @$(MKDIR_P) net/smtp
3196 .PHONY: net/smtp/check
3198 @go_include@ net/url.lo.dep
3199 net/url.lo.dep: $(go_net_url_files)
3201 net/url.lo: $(go_net_url_files)
3203 net/url/check: $(CHECK_DEPS)
3206 .PHONY: net/url/check
3208 @go_include@ net/textproto.lo.dep
3209 net/textproto.lo.dep: $(go_net_textproto_files)
3211 net/textproto.lo: $(go_net_textproto_files)
3213 net/textproto/check: $(CHECK_DEPS)
3214 @$(MKDIR_P) net/textproto
3216 .PHONY: net/textproto/check
3218 @go_include@ net/http/cgi.lo.dep
3219 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3221 net/http/cgi.lo: $(go_net_http_cgi_files)
3223 net/http/cgi/check: $(CHECK_DEPS)
3224 @$(MKDIR_P) net/http/cgi
3226 .PHONY: net/http/cgi/check
3228 @go_include@ net/http/fcgi.lo.dep
3229 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3231 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3233 net/http/fcgi/check: $(CHECK_DEPS)
3234 @$(MKDIR_P) net/http/fcgi
3236 .PHONY: net/http/fcgi/check
3238 @go_include@ net/http/httptest.lo.dep
3239 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3241 net/http/httptest.lo: $(go_net_http_httptest_files)
3243 net/http/httptest/check: $(check_deps)
3244 @$(MKDIR_P) net/http/httptest
3246 .PHONY: net/http/httptest/check
3248 @go_include@ net/http/httputil.lo.dep
3249 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3251 net/http/httputil.lo: $(go_net_http_httputil_files)
3253 net/http/httputil/check: $(check_deps)
3254 @$(MKDIR_P) net/http/httputil
3256 .PHONY: net/http/httputil/check
3258 @go_include@ net/http/pprof.lo.dep
3259 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3261 net/http/pprof.lo: $(go_net_http_pprof_files)
3263 net/http/pprof/check: $(CHECK_DEPS)
3264 @$(MKDIR_P) net/http/pprof
3266 .PHONY: net/http/pprof/check
3268 @go_include@ net/rpc/jsonrpc.lo.dep
3269 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3271 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3273 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3274 @$(MKDIR_P) net/rpc/jsonrpc
3276 .PHONY: net/rpc/jsonrpc/check
3278 @go_include@ old/netchan.lo.dep
3279 old/netchan.lo.dep: $(go_old_netchan_files)
3281 old/netchan.lo: $(go_old_netchan_files)
3283 old/netchan/check: $(CHECK_DEPS)
3284 @$(MKDIR_P) old/netchan
3286 .PHONY: old/netchan/check
3288 @go_include@ old/regexp.lo.dep
3289 old/regexp.lo.dep: $(go_old_regexp_files)
3291 old/regexp.lo: $(go_old_regexp_files)
3293 old/regexp/check: $(CHECK_DEPS)
3294 @$(MKDIR_P) old/regexp
3296 .PHONY: old/regexp/check
3298 @go_include@ old/template.lo.dep
3299 old/template.lo.dep: $(go_old_template_files)
3301 old/template.lo: $(go_old_template_files)
3303 old/template/check: $(CHECK_DEPS)
3304 @$(MKDIR_P) old/template
3306 .PHONY: old/template/check
3308 @go_include@ os/exec.lo.dep
3309 os/exec.lo.dep: $(go_os_exec_files)
3311 os/exec.lo: $(go_os_exec_files)
3313 os/exec/check: $(CHECK_DEPS)
3316 .PHONY: os/exec/check
3318 @go_include@ os/user.lo.dep
3319 os/user.lo.dep: $(go_os_user_files)
3321 os/user.lo: $(go_os_user_files)
3323 os/user/check: $(CHECK_DEPS)
3326 .PHONY: os/user/check
3328 @go_include@ os/signal.lo.dep
3329 os/signal.lo.dep: $(go_os_signal_files)
3331 os/signal.lo: $(go_os_signal_files)
3333 os/signal/check: $(CHECK_DEPS)
3334 @$(MKDIR_P) os/signal
3336 .PHONY: os/signal/check
3338 @go_include@ path/filepath.lo.dep
3339 path/filepath.lo.dep: $(go_path_filepath_files)
3341 path/filepath.lo: $(go_path_filepath_files)
3343 path/filepath/check: $(CHECK_DEPS)
3344 @$(MKDIR_P) path/filepath
3346 .PHONY: path/filepath/check
3348 @go_include@ regexp/syntax.lo.dep
3349 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3351 regexp/syntax.lo: $(go_regexp_syntax_files)
3353 regexp/syntax/check: $(CHECK_DEPS)
3354 @$(MKDIR_P) regexp/syntax
3356 .PHONY: regexp/syntax/check
3358 @go_include@ runtime/debug.lo.dep
3359 runtime/debug.lo.dep: $(go_runtime_debug_files)
3361 runtime/debug.lo: $(go_runtime_debug_files)
3363 runtime/debug/check: $(CHECK_DEPS)
3364 @$(MKDIR_P) runtime/debug
3366 .PHONY: runtime/debug/check
3368 @go_include@ runtime/pprof.lo.dep
3369 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3371 runtime/pprof.lo: $(go_runtime_pprof_files)
3373 runtime/pprof/check: $(CHECK_DEPS)
3374 @$(MKDIR_P) runtime/pprof
3376 .PHONY: runtime/pprof/check
3378 @go_include@ sync/atomic.lo.dep
3379 sync/atomic.lo.dep: $(go_sync_atomic_files)
3381 sync/atomic.lo: $(go_sync_atomic_files)
3383 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3384 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3385 sync/atomic/check: $(CHECK_DEPS)
3386 @$(MKDIR_P) sync/atomic
3388 .PHONY: sync/atomic/check
3390 @go_include@ text/tabwriter.lo.dep
3391 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3393 text/tabwriter.lo: $(go_text_tabwriter_files)
3395 text/tabwriter/check: $(CHECK_DEPS)
3396 @$(MKDIR_P) text/tabwriter
3398 .PHONY: text/tabwriter/check
3400 @go_include@ text/template.lo.dep
3401 text/template.lo.dep: $(go_text_template_files)
3403 text/template.lo: $(go_text_template_files)
3405 text/template/check: $(CHECK_DEPS)
3407 .PHONY: text/template/check
3409 @go_include@ text/template/parse.lo.dep
3410 text/template/parse.lo.dep: $(go_text_template_parse_files)
3412 text/template/parse.lo: $(go_text_template_parse_files)
3414 text/template/parse/check: $(CHECK_DEPS)
3415 @$(MKDIR_P) text/template/parse
3417 .PHONY: text/template/parse/check
3419 @go_include@ testing/iotest.lo.dep
3420 testing/iotest.lo.dep: $(go_testing_iotest_files)
3422 testing/iotest.lo: $(go_testing_iotest_files)
3424 testing/iotest/check: $(CHECK_DEPS)
3425 @$(MKDIR_P) testing/iotest
3427 .PHONY: testing/iotest/check
3429 @go_include@ testing/quick.lo.dep
3430 testing/quick.lo.dep: $(go_testing_quick_files)
3432 testing/quick.lo: $(go_testing_quick_files)
3434 testing/quick/check: $(CHECK_DEPS)
3435 @$(MKDIR_P) testing/quick
3437 .PHONY: testing/quick/check
3439 @go_include@ testing/script.lo.dep
3440 testing/script.lo.dep: $(go_testing_script_files)
3442 testing/script.lo: $(go_testing_script_files)
3444 testing/script/check: $(CHECK_DEPS)
3445 @$(MKDIR_P) testing/script
3447 .PHONY: testing/script/check
3449 @go_include@ unicode/utf16.lo.dep
3450 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3452 unicode/utf16.lo: $(go_unicode_utf16_files)
3454 unicode/utf16/check: $(CHECK_DEPS)
3455 @$(MKDIR_P) unicode/utf16
3457 .PHONY: unicode/utf16/check
3459 @go_include@ unicode/utf8.lo.dep
3460 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3462 unicode/utf8.lo: $(go_unicode_utf8_files)
3464 unicode/utf8/check: $(CHECK_DEPS)
3465 @$(MKDIR_P) unicode/utf8
3467 .PHONY: unicode/utf8/check
3469 @go_include@ syscall/syscall.lo.dep
3470 syscall/syscall.lo.dep: $(go_syscall_files)
3472 syscall/syscall.lo: $(go_syscall_files)
3474 syscall/errno.lo: go/syscall/errno.c
3475 $(LTCOMPILE) -c -o $@ $<
3476 syscall/wait.lo: go/syscall/wait.c
3477 $(LTCOMPILE) -c -o $@ $<
3479 # How to build a .gox file from a .lo file.
3481 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3482 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3484 bufio.gox: bufio/bufio.lo
3486 bytes.gox: bytes/bytes.lo
3488 crypto.gox: crypto/crypto.lo
3490 errors.gox: errors/errors.lo
3492 expvar.gox: expvar/expvar.lo
3494 flag.gox: flag/flag.lo
3498 hash.gox: hash/hash.lo
3500 html.gox: html/html.lo
3502 image.gox: image/image.lo
3508 math.gox: math/math.lo
3510 mime.gox: mime/mime.lo
3516 patch.gox: patch/patch.lo
3518 path.gox: path/path.lo
3520 reflect.gox: reflect/reflect.lo
3522 regexp.gox: regexp/regexp.lo
3524 runtime.gox: runtime/runtime.lo
3526 sort.gox: sort/sort.lo
3528 strconv.gox: strconv/strconv.lo
3530 strings.gox: strings/strings.lo
3532 sync.gox: sync/sync.lo
3534 syscall.gox: syscall/syscall.lo
3536 testing.gox: testing/testing.lo
3538 time.gox: time/time.lo
3540 unicode.gox: unicode/unicode.lo
3542 websocket.gox: websocket/websocket.lo
3545 archive/tar.gox: archive/tar.lo
3547 archive/zip.gox: archive/zip.lo
3550 compress/bzip2.gox: compress/bzip2.lo
3552 compress/flate.gox: compress/flate.lo
3554 compress/gzip.gox: compress/gzip.lo
3556 compress/lzw.gox: compress/lzw.lo
3558 compress/zlib.gox: compress/zlib.lo
3561 container/heap.gox: container/heap.lo
3563 container/list.gox: container/list.lo
3565 container/ring.gox: container/ring.lo
3568 crypto/aes.gox: crypto/aes.lo
3570 crypto/bcrypt.gox: crypto/bcrypt.lo
3572 crypto/blowfish.gox: crypto/blowfish.lo
3574 crypto/cast5.gox: crypto/cast5.lo
3576 crypto/cipher.gox: crypto/cipher.lo
3578 crypto/des.gox: crypto/des.lo
3580 crypto/dsa.gox: crypto/dsa.lo
3582 crypto/ecdsa.gox: crypto/ecdsa.lo
3584 crypto/elliptic.gox: crypto/elliptic.lo
3586 crypto/hmac.gox: crypto/hmac.lo
3588 crypto/md4.gox: crypto/md4.lo
3590 crypto/md5.gox: crypto/md5.lo
3592 crypto/ocsp.gox: crypto/ocsp.lo
3594 crypto/openpgp.gox: crypto/openpgp.lo
3596 crypto/rand.gox: crypto/rand.lo
3598 crypto/rc4.gox: crypto/rc4.lo
3600 crypto/ripemd160.gox: crypto/ripemd160.lo
3602 crypto/rsa.gox: crypto/rsa.lo
3604 crypto/sha1.gox: crypto/sha1.lo
3606 crypto/sha256.gox: crypto/sha256.lo
3608 crypto/sha512.gox: crypto/sha512.lo
3610 crypto/subtle.gox: crypto/subtle.lo
3612 crypto/tls.gox: crypto/tls.lo
3614 crypto/twofish.gox: crypto/twofish.lo
3616 crypto/x509.gox: crypto/x509.lo
3618 crypto/xtea.gox: crypto/xtea.lo
3621 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
3623 crypto/openpgp/elgamal.gox: crypto/openpgp/elgamal.lo
3625 crypto/openpgp/error.gox: crypto/openpgp/error.lo
3627 crypto/openpgp/packet.gox: crypto/openpgp/packet.lo
3629 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
3632 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3635 debug/dwarf.gox: debug/dwarf.lo
3637 debug/elf.gox: debug/elf.lo
3639 debug/gosym.gox: debug/gosym.lo
3641 debug/macho.gox: debug/macho.lo
3643 debug/pe.gox: debug/pe.lo
3646 encoding/ascii85.gox: encoding/ascii85.lo
3648 encoding/asn1.gox: encoding/asn1.lo
3650 encoding/base32.gox: encoding/base32.lo
3652 encoding/base64.gox: encoding/base64.lo
3654 encoding/binary.gox: encoding/binary.lo
3656 encoding/csv.gox: encoding/csv.lo
3658 encoding/git85.gox: encoding/git85.lo
3660 encoding/gob.gox: encoding/gob.lo
3662 encoding/hex.gox: encoding/hex.lo
3664 encoding/json.gox: encoding/json.lo
3666 encoding/pem.gox: encoding/pem.lo
3668 encoding/xml.gox: encoding/xml.lo
3671 exp/ebnf.gox: exp/ebnf.lo
3673 exp/inotify.gox: exp/inotify.lo
3675 exp/norm.gox: exp/norm.lo
3677 exp/spdy.gox: exp/spdy.lo
3679 exp/sql.gox: exp/sql.lo
3681 exp/ssh.gox: exp/ssh.lo
3683 exp/terminal.gox: exp/terminal.lo
3685 exp/types.gox: exp/types.lo
3688 exp/sql/driver.gox: exp/sql/driver.lo
3691 html/template.gox: html/template.lo
3694 go/ast.gox: go/ast.lo
3696 go/build.gox: go/build.lo
3698 go/doc.gox: go/doc.lo
3700 go/parser.gox: go/parser.lo
3702 go/printer.gox: go/printer.lo
3704 go/scanner.gox: go/scanner.lo
3706 go/token.gox: go/token.lo
3709 hash/adler32.gox: hash/adler32.lo
3711 hash/crc32.gox: hash/crc32.lo
3713 hash/crc64.gox: hash/crc64.lo
3715 hash/fnv.gox: hash/fnv.lo
3718 image/bmp.gox: image/bmp.lo
3720 image/color.gox: image/color.lo
3722 image/draw.gox: image/draw.lo
3724 image/gif.gox: image/gif.lo
3726 image/jpeg.gox: image/jpeg.lo
3728 image/png.gox: image/png.lo
3730 image/tiff.gox: image/tiff.lo
3733 index/suffixarray.gox: index/suffixarray.lo
3736 io/ioutil.gox: io/ioutil.lo
3739 log/syslog.gox: log/syslog.lo
3742 math/big.gox: math/big.lo
3744 math/cmplx.gox: math/cmplx.lo
3746 math/rand.gox: math/rand.lo
3749 mime/multipart.gox: mime/multipart.lo
3752 net/dict.gox: net/dict.lo
3754 net/http.gox: net/http.lo
3756 net/mail.gox: net/mail.lo
3758 net/rpc.gox: net/rpc.lo
3760 net/smtp.gox: net/smtp.lo
3762 net/textproto.gox: net/textproto.lo
3764 net/url.gox: net/url.lo
3767 net/http/cgi.gox: net/http/cgi.lo
3769 net/http/fcgi.gox: net/http/fcgi.lo
3771 net/http/httptest.gox: net/http/httptest.lo
3773 net/http/httputil.gox: net/http/httputil.lo
3775 net/http/pprof.gox: net/http/pprof.lo
3778 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3781 old/netchan.gox: old/netchan.lo
3783 old/regexp.gox: old/regexp.lo
3785 old/template.gox: old/template.lo
3788 os/exec.gox: os/exec.lo
3790 os/user.gox: os/user.lo
3792 os/signal.gox: os/signal.lo
3795 path/filepath.gox: path/filepath.lo
3798 regexp/syntax.gox: regexp/syntax.lo
3801 runtime/debug.gox: runtime/debug.lo
3803 runtime/pprof.gox: runtime/pprof.lo
3806 sync/atomic.gox: sync/atomic.lo
3809 text/scanner.gox: text/scanner.lo
3811 text/tabwriter.gox: text/tabwriter.lo
3813 text/template.gox: text/template.lo
3815 text/template/parse.gox: text/template/parse.lo
3818 testing/iotest.gox: testing/iotest.lo
3820 testing/quick.gox: testing/quick.lo
3822 testing/script.gox: testing/script.lo
3825 unicode/utf16.gox: unicode/utf16.lo
3827 unicode/utf8.gox: unicode/utf8.lo
3831 # exp_inotify_check = exp/inotify/check
3866 compress/bzip2/check \
3867 compress/flate/check \
3868 compress/gzip/check \
3869 compress/lzw/check \
3870 compress/zlib/check \
3871 container/heap/check \
3872 container/list/check \
3873 container/ring/check \
3875 crypto/bcrypt/check \
3876 crypto/blowfish/check \
3877 crypto/cast5/check \
3878 crypto/cipher/check \
3881 crypto/ecdsa/check \
3882 crypto/elliptic/check \
3887 crypto/openpgp/check \
3890 crypto/ripemd160/check \
3893 crypto/sha256/check \
3894 crypto/sha512/check \
3895 crypto/subtle/check \
3897 crypto/twofish/check \
3900 crypto/openpgp/armor/check \
3901 crypto/openpgp/elgamal/check \
3902 crypto/openpgp/packet/check \
3903 crypto/openpgp/s2k/check \
3908 encoding/ascii85/check \
3909 encoding/asn1/check \
3910 encoding/base32/check \
3911 encoding/base64/check \
3912 encoding/binary/check \
3913 encoding/csv/check \
3914 encoding/git85/check \
3915 encoding/gob/check \
3916 encoding/hex/check \
3917 encoding/json/check \
3918 encoding/pem/check \
3919 encoding/xml/check \
3921 $(exp_inotify_check) \
3926 exp/terminal/check \
3927 html/template/check \
3929 $(go_build_check_omitted_since_it_calls_6g) \
3935 $(go_types_check_omitted_since_it_calls_6g) \
3936 hash/adler32/check \
3945 index/suffixarray/check \
3951 mime/multipart/check \
3953 net/http/cgi/check \
3954 net/http/fcgi/check \
3955 net/http/httputil/check \
3959 net/textproto/check \
3961 net/rpc/jsonrpc/check \
3964 old/template/check \
3968 path/filepath/check \
3969 regexp/syntax/check \
3971 text/scanner/check \
3972 text/tabwriter/check \
3973 text/template/check \
3974 text/template/parse/check \
3975 testing/quick/check \
3976 testing/script/check \
3977 unicode/utf16/check \
3981 check-recursive: check-head
3984 @echo "Test Run By $${USER} on `date`" > libgo.head
3985 @echo "Native configuration is $(host_triplet)" >> libgo.head
3987 @echo " === libgo tests ===" >> libgo.head
3990 check-tail: check-recursive check-multi
3991 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3992 for dir in . $(MULTIDIRS); do \
3993 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3994 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3996 mv libgo.head libgo.sum; \
3997 cp libgo.sum libgo.log; \
3998 echo "Schedule of variations:" >> libgo.sum; \
3999 for dir in . $(MULTIDIRS); do \
4000 multidir=../$${dir}/$${lib}; \
4001 multivar=`cat $${multidir}/libgo.var`; \
4002 echo " $${multivar}" >> libgo.sum; \
4004 echo >> libgo.sum; \
4005 pass=0; fail=0; untested=0; \
4006 for dir in . $(MULTIDIRS); do \
4007 multidir=../$${dir}/$${lib}; \
4008 multivar=`cat $${multidir}/libgo.var`; \
4009 echo "Running target $${multivar}" >> libgo.sum; \
4010 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
4011 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
4012 cat $${multidir}/libgo.log.sep >> libgo.log; \
4013 if test -n "${MULTIDIRS}"; then \
4014 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
4015 echo >> libgo.sum; \
4017 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
4018 pass=`expr $$pass + $$p`; \
4019 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4020 echo "# of expected passes $$p" >> libgo.sum; \
4022 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
4023 fail=`expr $$fail + $$p`; \
4024 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4025 echo "# of unexpected failures $$p" >> libgo.sum; \
4027 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
4028 untested=`expr $$untested + $$p`; \
4029 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4030 echo "# of untested testcases $$p" >> libgo.sum; \
4033 echo >> libgo.sum; \
4034 echo " === libgo Summary ===" >> libgo.sum; \
4035 echo >> libgo.sum; \
4036 if test "$$pass" -ne "0"; then \
4037 echo "# of expected passes $$pass" >> libgo.sum; \
4039 if test "$$fail" -ne "0"; then \
4040 echo "# of unexpected failures $$fail" >> libgo.sum; \
4042 if test "$$untested" -ne "0"; then \
4043 echo "# of untested testcases $$untested" >> libgo.sum; \
4045 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
4046 echo >> libgo.log; \
4047 echo "runtest completed at `date`" >> libgo.log; \
4048 if test "$$fail" -ne "0"; then \
4056 @rm -f libgo.sum libgo.log libgo.tail
4058 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
4059 echo "$${multivar}" > libgo.var
4060 @for f in $(TEST_PACKAGES); do \
4061 rm -f $$f-testsum $$f-testlog; \
4063 -@$(MAKE) -k $(TEST_PACKAGES)
4064 @for f in $(TEST_PACKAGES); do \
4065 if test -f $$f-testsum; then \
4066 cat $$f-testsum >> libgo.sum; \
4068 if test -f $$f-testlog; then \
4069 cat $$f-testlog >> libgo.log; \
4074 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
4076 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
4079 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
4080 find . -name '*.$(OBJEXT)' -print | xargs rm -f
4081 find . -name '*-testsum' -print | xargs rm -f
4082 find . -name '*-testlog' -print | xargs rm -f
4084 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
4087 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
4088 find . -name '*.a' -print | xargs rm -f