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) \
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 = \
153 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
155 toolexeclibgoarchive_DATA = \
159 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
161 toolexeclibgocompress_DATA = \
168 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
170 toolexeclibgocontainer_DATA = \
175 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
177 toolexeclibgocrypto_DATA = \
180 crypto/blowfish.gox \
186 crypto/elliptic.gox \
194 crypto/ripemd160.gox \
205 toolexeclibgocryptoopenpgpdir = $(toolexeclibgocryptodir)/openpgp
207 toolexeclibgocryptoopenpgp_DATA = \
208 crypto/openpgp/armor.gox \
209 crypto/openpgp/elgamal.gox \
210 crypto/openpgp/error.gox \
211 crypto/openpgp/packet.gox \
212 crypto/openpgp/s2k.gox
214 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
216 toolexeclibgocryptox509_DATA = \
219 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
221 toolexeclibgodebug_DATA = \
228 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
230 toolexeclibgoencoding_DATA = \
231 encoding/ascii85.gox \
232 encoding/base32.gox \
233 encoding/base64.gox \
234 encoding/binary.gox \
239 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
241 toolexeclibgoexp_DATA = \
251 toolexeclibgoexpguidir = $(toolexeclibgoexpdir)/gui
253 toolexeclibgoexpgui_DATA = \
256 toolexeclibgoexpsqldir = $(toolexeclibgoexpdir)/sql
258 toolexeclibgoexpsql_DATA = \
261 toolexeclibgoexptemplatedir = $(toolexeclibgoexpdir)/template
263 toolexeclibgoexptemplate_DATA = \
264 exp/template/html.gox
266 toolexeclibgogodir = $(toolexeclibgodir)/go
268 toolexeclibgogo_DATA = \
277 toolexeclibgohashdir = $(toolexeclibgodir)/hash
279 toolexeclibgohash_DATA = \
285 toolexeclibgohttpdir = $(toolexeclibgodir)/http
287 toolexeclibgohttp_DATA = \
293 toolexeclibgoimagedir = $(toolexeclibgodir)/image
295 toolexeclibgoimage_DATA = \
305 toolexeclibgoindexdir = $(toolexeclibgodir)/index
307 toolexeclibgoindex_DATA = \
308 index/suffixarray.gox
310 toolexeclibgoiodir = $(toolexeclibgodir)/io
312 toolexeclibgoio_DATA = \
315 toolexeclibgomimedir = $(toolexeclibgodir)/mime
317 toolexeclibgomime_DATA = \
320 toolexeclibgonetdir = $(toolexeclibgodir)/net
322 toolexeclibgonet_DATA = \
326 toolexeclibgoolddir = $(toolexeclibgodir)/old
328 toolexeclibgoold_DATA = \
333 toolexeclibgoosdir = $(toolexeclibgodir)/os
336 # os_inotify_gox = os/inotify.gox
342 toolexeclibgoos_DATA = \
347 toolexeclibgopathdir = $(toolexeclibgodir)/path
349 toolexeclibgopath_DATA = \
352 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
354 toolexeclibgoregexp_DATA = \
357 toolexeclibgorpcdir = $(toolexeclibgodir)/rpc
359 toolexeclibgorpc_DATA = \
362 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
364 toolexeclibgoruntime_DATA = \
368 toolexeclibgotemplatedir = $(toolexeclibgodir)/template
370 toolexeclibgotemplate_DATA = \
373 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
375 toolexeclibgosync_DATA = \
378 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
380 toolexeclibgotesting_DATA = \
386 runtime_mem_file = runtime/mem.c
388 runtime_mem_file = runtime/mem_posix_memalign.c
392 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
394 rtems_task_variable_add_file =
398 runtime/go-append.c \
399 runtime/go-assert.c \
400 runtime/go-assert-interface.c \
401 runtime/go-byte-array-to-string.c \
402 runtime/go-breakpoint.c \
403 runtime/go-caller.c \
404 runtime/go-can-convert-interface.c \
406 runtime/go-chan-cap.c \
407 runtime/go-chan-len.c \
408 runtime/go-check-interface.c \
410 runtime/go-construct-map.c \
411 runtime/go-convert-interface.c \
414 runtime/go-deferred-recover.c \
415 runtime/go-eface-compare.c \
416 runtime/go-eface-val-compare.c \
417 runtime/go-getgoroot.c \
419 runtime/go-gomaxprocs.c \
420 runtime/go-int-array-to-string.c \
421 runtime/go-int-to-string.c \
422 runtime/go-interface-compare.c \
423 runtime/go-interface-eface-compare.c \
424 runtime/go-interface-val-compare.c \
425 runtime/go-lock-os-thread.c \
426 runtime/go-make-slice.c \
427 runtime/go-map-delete.c \
428 runtime/go-map-index.c \
429 runtime/go-map-len.c \
430 runtime/go-map-range.c \
431 runtime/go-nanotime.c \
432 runtime/go-new-channel.c \
433 runtime/go-new-map.c \
437 runtime/go-panic-defer.c \
440 runtime/go-rec-big.c \
441 runtime/go-rec-nb-big.c \
442 runtime/go-rec-nb-small.c \
443 runtime/go-rec-small.c \
444 runtime/go-recover.c \
445 runtime/go-reflect.c \
446 runtime/go-reflect-call.c \
447 runtime/go-reflect-chan.c \
448 runtime/go-reflect-map.c \
450 runtime/go-runtime-error.c \
452 runtime/go-select.c \
453 runtime/go-semacquire.c \
454 runtime/go-send-big.c \
455 runtime/go-send-nb-big.c \
456 runtime/go-send-nb-small.c \
457 runtime/go-send-small.c \
458 runtime/go-setenv.c \
459 runtime/go-signal.c \
460 runtime/go-strcmp.c \
461 runtime/go-string-to-byte-array.c \
462 runtime/go-string-to-int-array.c \
463 runtime/go-strplus.c \
464 runtime/go-strslice.c \
465 runtime/go-trampoline.c \
466 runtime/go-type-eface.c \
467 runtime/go-type-error.c \
468 runtime/go-type-identity.c \
469 runtime/go-type-interface.c \
470 runtime/go-type-string.c \
471 runtime/go-typedesc-equal.c \
472 runtime/go-typestring.c \
473 runtime/go-unreflect.c \
474 runtime/go-unsafe-new.c \
475 runtime/go-unsafe-newarray.c \
476 runtime/go-unsafe-pointer.c \
477 runtime/go-unwind.c \
481 $(runtime_mem_file) \
483 runtime/mfixalloc.c \
490 $(rtems_task_variable_add_file) \
500 goc2c.$(OBJEXT): runtime/goc2c.c
501 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
503 goc2c: goc2c.$(OBJEXT)
504 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
506 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
507 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
510 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
511 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
514 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
515 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
518 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
519 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
522 %.c: $(srcdir)/runtime/%.goc goc2c
523 ./goc2c --gcc $< > $@.tmp
543 go/bytes/bytes_decl.go
613 go/http/filetransport.go \
619 go/http/response.go \
620 go/http/reverseproxy.go \
624 go/http/transfer.go \
660 go/math/copysign.go \
664 go/math/exp_port.go \
671 go/math/hypot_port.go \
683 go/math/nextafter.go \
686 go/math/remainder.go \
692 go/math/sqrt_port.go \
702 go/mime/mediatype.go \
706 go_net_fd_os_file = go/net/fd_select.go
707 go_net_newpollserver_file = go/net/newpollserver_rtems.go
708 else # !LIBGO_IS_RTEMS
710 go_net_fd_os_file = go/net/fd_linux.go
711 go_net_newpollserver_file = go/net/newpollserver.go
712 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
713 # By default use select with pipes. Most systems should have
715 go_net_fd_os_file = go/net/fd_select.go
716 go_net_newpollserver_file = go/net/newpollserver.go
717 endif # !LIBGO_IS_LINUX
718 endif # !LIBGO_IS_RTEMS
721 go_net_cgo_file = go/net/cgo_linux.go
722 go_net_sock_file = go/net/sock_linux.go
725 go_net_cgo_file = go/net/cgo_linux.go
726 go_net_sock_file = go/net/sock_linux.go
729 go_net_cgo_file = go/net/cgo_linux.go
730 go_net_sock_file = go/net/sock_linux.go
732 go_net_cgo_file = go/net/cgo_bsd.go
733 go_net_sock_file = go/net/sock_bsd.go
739 go_net_sendfile_file = go/net/sendfile_linux.go
741 go_net_sendfile_file = go/net/sendfile_stub.go
745 go_net_interface_file = go/net/interface_linux.go
747 go_net_interface_file = go/net/interface_stub.go
754 go/net/dnsclient.go \
755 go/net/dnsclient_unix.go \
756 go/net/dnsconfig.go \
758 $(go_net_newpollserver_file) \
760 $(go_net_fd_os_file) \
763 go/net/interface.go \
764 $(go_net_interface_file) \
766 go/net/iprawsock.go \
767 go/net/iprawsock_posix.go \
769 go/net/ipsock_posix.go \
770 go/net/lookup_unix.go \
775 $(go_net_sendfile_file) \
777 $(go_net_sock_file) \
779 go/net/tcpsock_posix.go \
781 go/net/udpsock_posix.go \
783 go/net/unixsock_posix.go
787 go_os_dir_file = go/os/dir_largefile.go
790 go_os_dir_file = go/os/dir_largefile.go
792 go_os_dir_file = go/os/dir_regfile.go
797 go_os_dir_file = go/os/dir_largefile.go
799 go_os_dir_file = go/os/dir_regfile.go
804 go_os_sys_file = go/os/sys_linux.go
807 go_os_sys_file = go/os/sys_uname.go
810 go_os_sys_file = go/os/sys_uname.go
813 go_os_sys_file = go/os/sys_uname.go
815 go_os_sys_file = go/os/sys_bsd.go
827 go/os/error_posix.go \
829 go/os/exec_posix.go \
832 go/os/file_posix.go \
863 go/reflect/deepequal.go \
877 go/runtime/debug.go \
878 go/runtime/error.go \
879 go/runtime/extern.go \
882 go/runtime/softfloat64.go \
886 version.go: s-version; @true
889 echo "package runtime" > version.go.tmp
890 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
891 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
892 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
893 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
894 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
898 go/scanner/scanner.go
912 go/strconv/decimal.go \
918 go/strings/reader.go \
919 go/strings/replace.go \
920 go/strings/strings.go
930 go_syslog_file = go/syslog/syslog_libc.go
933 go_syslog_file = go/syslog/syslog_libc.go
935 go_syslog_file = go/syslog/syslog_unix.go
940 go/syslog/syslog.go \
942 go_syslog_c_files = \
945 go_tabwriter_files = \
946 go/tabwriter/tabwriter.go
948 go_template_files = \
950 go/template/exec.go \
951 go/template/funcs.go \
952 go/template/helper.go \
953 go/template/parse.go \
957 go/testing/benchmark.go \
958 go/testing/example.go \
959 go/testing/testing.go
965 go/time/sys_unix.go \
968 go/time/zoneinfo_posix.go \
969 go/time/zoneinfo_unix.go
972 go/unicode/casetables.go \
973 go/unicode/digit.go \
974 go/unicode/graphic.go \
975 go/unicode/letter.go \
988 go_websocket_files = \
989 go/websocket/client.go \
990 go/websocket/hixie.go \
991 go/websocket/hybi.go \
992 go/websocket/server.go \
993 go/websocket/websocket.go
1000 go_archive_tar_files = \
1001 go/archive/tar/common.go \
1002 go/archive/tar/reader.go \
1003 go/archive/tar/writer.go
1005 go_archive_zip_files = \
1006 go/archive/zip/reader.go \
1007 go/archive/zip/struct.go \
1008 go/archive/zip/writer.go
1010 go_compress_bzip2_files = \
1011 go/compress/bzip2/bit_reader.go \
1012 go/compress/bzip2/bzip2.go \
1013 go/compress/bzip2/huffman.go \
1014 go/compress/bzip2/move_to_front.go
1016 go_compress_flate_files = \
1017 go/compress/flate/deflate.go \
1018 go/compress/flate/huffman_bit_writer.go \
1019 go/compress/flate/huffman_code.go \
1020 go/compress/flate/inflate.go \
1021 go/compress/flate/reverse_bits.go \
1022 go/compress/flate/token.go \
1023 go/compress/flate/util.go
1025 go_compress_gzip_files = \
1026 go/compress/gzip/gzip.go \
1027 go/compress/gzip/gunzip.go
1029 go_compress_lzw_files = \
1030 go/compress/lzw/reader.go \
1031 go/compress/lzw/writer.go
1033 go_compress_zlib_files = \
1034 go/compress/zlib/reader.go \
1035 go/compress/zlib/writer.go
1037 go_container_heap_files = \
1038 go/container/heap/heap.go
1040 go_container_list_files = \
1041 go/container/list/list.go
1043 go_container_ring_files = \
1044 go/container/ring/ring.go
1046 go_crypto_aes_files = \
1047 go/crypto/aes/block.go \
1048 go/crypto/aes/cipher.go \
1049 go/crypto/aes/const.go
1050 go_crypto_bcrypt_files = \
1051 go/crypto/bcrypt/base64.go \
1052 go/crypto/bcrypt/bcrypt.go
1053 go_crypto_blowfish_files = \
1054 go/crypto/blowfish/block.go \
1055 go/crypto/blowfish/const.go \
1056 go/crypto/blowfish/cipher.go
1057 go_crypto_cast5_files = \
1058 go/crypto/cast5/cast5.go
1059 go_crypto_cipher_files = \
1060 go/crypto/cipher/cbc.go \
1061 go/crypto/cipher/cfb.go \
1062 go/crypto/cipher/cipher.go \
1063 go/crypto/cipher/ctr.go \
1064 go/crypto/cipher/io.go \
1065 go/crypto/cipher/ocfb.go \
1066 go/crypto/cipher/ofb.go
1067 go_crypto_des_files = \
1068 go/crypto/des/block.go \
1069 go/crypto/des/cipher.go \
1070 go/crypto/des/const.go
1071 go_crypto_dsa_files = \
1072 go/crypto/dsa/dsa.go
1073 go_crypto_ecdsa_files = \
1074 go/crypto/ecdsa/ecdsa.go
1075 go_crypto_elliptic_files = \
1076 go/crypto/elliptic/elliptic.go
1077 go_crypto_hmac_files = \
1078 go/crypto/hmac/hmac.go
1079 go_crypto_md4_files = \
1080 go/crypto/md4/md4.go \
1081 go/crypto/md4/md4block.go
1082 go_crypto_md5_files = \
1083 go/crypto/md5/md5.go \
1084 go/crypto/md5/md5block.go
1085 go_crypto_ocsp_files = \
1086 go/crypto/ocsp/ocsp.go
1087 go_crypto_openpgp_files = \
1088 go/crypto/openpgp/canonical_text.go \
1089 go/crypto/openpgp/keys.go \
1090 go/crypto/openpgp/read.go \
1091 go/crypto/openpgp/write.go
1092 go_crypto_rand_files = \
1093 go/crypto/rand/rand.go \
1094 go/crypto/rand/rand_unix.go \
1095 go/crypto/rand/util.go
1096 go_crypto_rc4_files = \
1097 go/crypto/rc4/rc4.go
1098 go_crypto_ripemd160_files = \
1099 go/crypto/ripemd160/ripemd160.go \
1100 go/crypto/ripemd160/ripemd160block.go
1101 go_crypto_rsa_files = \
1102 go/crypto/rsa/pkcs1v15.go \
1103 go/crypto/rsa/rsa.go
1104 go_crypto_sha1_files = \
1105 go/crypto/sha1/sha1.go \
1106 go/crypto/sha1/sha1block.go
1107 go_crypto_sha256_files = \
1108 go/crypto/sha256/sha256.go \
1109 go/crypto/sha256/sha256block.go
1110 go_crypto_sha512_files = \
1111 go/crypto/sha512/sha512.go \
1112 go/crypto/sha512/sha512block.go
1113 go_crypto_subtle_files = \
1114 go/crypto/subtle/constant_time.go
1115 go_crypto_tls_files = \
1116 go/crypto/tls/alert.go \
1117 go/crypto/tls/cipher_suites.go \
1118 go/crypto/tls/common.go \
1119 go/crypto/tls/conn.go \
1120 go/crypto/tls/handshake_client.go \
1121 go/crypto/tls/handshake_messages.go \
1122 go/crypto/tls/handshake_server.go \
1123 go/crypto/tls/key_agreement.go \
1124 go/crypto/tls/prf.go \
1125 go/crypto/tls/root_unix.go \
1126 go/crypto/tls/tls.go
1127 go_crypto_twofish_files = \
1128 go/crypto/twofish/twofish.go
1129 go_crypto_x509_files = \
1130 go/crypto/x509/cert_pool.go \
1131 go/crypto/x509/pkcs1.go \
1132 go/crypto/x509/verify.go \
1133 go/crypto/x509/x509.go
1134 go_crypto_xtea_files = \
1135 go/crypto/xtea/block.go \
1136 go/crypto/xtea/cipher.go
1138 go_crypto_openpgp_armor_files = \
1139 go/crypto/openpgp/armor/armor.go \
1140 go/crypto/openpgp/armor/encode.go
1141 go_crypto_openpgp_elgamal_files = \
1142 go/crypto/openpgp/elgamal/elgamal.go
1143 go_crypto_openpgp_error_files = \
1144 go/crypto/openpgp/error/error.go
1145 go_crypto_openpgp_packet_files = \
1146 go/crypto/openpgp/packet/compressed.go \
1147 go/crypto/openpgp/packet/encrypted_key.go \
1148 go/crypto/openpgp/packet/literal.go \
1149 go/crypto/openpgp/packet/one_pass_signature.go \
1150 go/crypto/openpgp/packet/packet.go \
1151 go/crypto/openpgp/packet/private_key.go \
1152 go/crypto/openpgp/packet/public_key.go \
1153 go/crypto/openpgp/packet/reader.go \
1154 go/crypto/openpgp/packet/signature.go \
1155 go/crypto/openpgp/packet/symmetric_key_encrypted.go \
1156 go/crypto/openpgp/packet/symmetrically_encrypted.go \
1157 go/crypto/openpgp/packet/userid.go
1158 go_crypto_openpgp_s2k_files = \
1159 go/crypto/openpgp/s2k/s2k.go
1161 go_crypto_x509_pkix_files = \
1162 go/crypto/x509/pkix/pkix.go
1164 go_debug_dwarf_files = \
1165 go/debug/dwarf/buf.go \
1166 go/debug/dwarf/const.go \
1167 go/debug/dwarf/entry.go \
1168 go/debug/dwarf/open.go \
1169 go/debug/dwarf/type.go \
1170 go/debug/dwarf/unit.go
1171 go_debug_elf_files = \
1172 go/debug/elf/elf.go \
1173 go/debug/elf/file.go
1174 go_debug_gosym_files = \
1175 go/debug/gosym/pclntab.go \
1176 go/debug/gosym/symtab.go
1177 go_debug_macho_files = \
1178 go/debug/macho/file.go \
1179 go/debug/macho/macho.go
1180 go_debug_pe_files = \
1181 go/debug/pe/file.go \
1184 go_encoding_ascii85_files = \
1185 go/encoding/ascii85/ascii85.go
1186 go_encoding_base32_files = \
1187 go/encoding/base32/base32.go
1188 go_encoding_base64_files = \
1189 go/encoding/base64/base64.go
1190 go_encoding_binary_files = \
1191 go/encoding/binary/binary.go \
1192 go/encoding/binary/varint.go
1193 go_encoding_git85_files = \
1194 go/encoding/git85/git.go
1195 go_encoding_hex_files = \
1196 go/encoding/hex/hex.go
1197 go_encoding_pem_files = \
1198 go/encoding/pem/pem.go
1200 go_exp_ebnf_files = \
1201 go/exp/ebnf/ebnf.go \
1202 go/exp/ebnf/parser.go
1203 go_exp_gui_files = \
1205 go_exp_norm_files = \
1206 go/exp/norm/composition.go \
1207 go/exp/norm/forminfo.go \
1208 go/exp/norm/input.go \
1209 go/exp/norm/normalize.go \
1210 go/exp/norm/readwriter.go \
1211 go/exp/norm/tables.go \
1213 go_exp_spdy_files = \
1214 go/exp/spdy/read.go \
1215 go/exp/spdy/types.go \
1216 go/exp/spdy/write.go
1217 go_exp_sql_files = \
1218 go/exp/sql/convert.go \
1220 go_exp_ssh_files = \
1221 go/exp/ssh/channel.go \
1222 go/exp/ssh/common.go \
1224 go/exp/ssh/messages.go \
1225 go/exp/ssh/server.go \
1226 go/exp/ssh/server_shell.go \
1227 go/exp/ssh/transport.go
1228 go_exp_terminal_files = \
1229 go/exp/terminal/shell.go \
1230 go/exp/terminal/terminal.go
1231 go_exp_types_files = \
1232 go/exp/types/check.go \
1233 go/exp/types/const.go \
1234 go/exp/types/exportdata.go \
1235 go/exp/types/gcimporter.go \
1236 go/exp/types/types.go \
1237 go/exp/types/universe.go
1239 go_exp_gui_x11_files = \
1240 go/exp/gui/x11/auth.go \
1241 go/exp/gui/x11/conn.go
1243 go_exp_sql_driver_files = \
1244 go/exp/sql/driver/driver.go \
1245 go/exp/sql/driver/types.go
1247 go_exp_template_html_files = \
1248 go/exp/template/html/attr.go \
1249 go/exp/template/html/clone.go \
1250 go/exp/template/html/content.go \
1251 go/exp/template/html/context.go \
1252 go/exp/template/html/css.go \
1253 go/exp/template/html/doc.go \
1254 go/exp/template/html/error.go \
1255 go/exp/template/html/escape.go \
1256 go/exp/template/html/html.go \
1257 go/exp/template/html/js.go \
1258 go/exp/template/html/transition.go \
1259 go/exp/template/html/url.go
1263 go/go/ast/filter.go \
1264 go/go/ast/print.go \
1265 go/go/ast/resolve.go \
1266 go/go/ast/scope.go \
1268 go_go_build_files = \
1269 go/go/build/build.go \
1270 go/go/build/dir.go \
1271 go/go/build/path.go \
1274 go/go/doc/comment.go \
1276 go/go/doc/example.go
1277 go_go_parser_files = \
1278 go/go/parser/interface.go \
1279 go/go/parser/parser.go
1280 go_go_printer_files = \
1281 go/go/printer/nodes.go \
1282 go/go/printer/printer.go
1283 go_go_scanner_files = \
1284 go/go/scanner/errors.go \
1285 go/go/scanner/scanner.go
1286 go_go_token_files = \
1287 go/go/token/position.go \
1288 go/go/token/serialize.go \
1289 go/go/token/token.go
1291 go_hash_adler32_files = \
1292 go/hash/adler32/adler32.go
1293 go_hash_crc32_files = \
1294 go/hash/crc32/crc32.go \
1295 go/hash/crc32/crc32_generic.go
1296 go_hash_crc64_files = \
1297 go/hash/crc64/crc64.go
1298 go_hash_fnv_files = \
1301 go_http_cgi_files = \
1302 go/http/cgi/child.go \
1304 go_http_fcgi_files = \
1305 go/http/fcgi/child.go \
1306 go/http/fcgi/fcgi.go
1307 go_http_httptest_files = \
1308 go/http/httptest/recorder.go \
1309 go/http/httptest/server.go
1310 go_http_pprof_files = \
1311 go/http/pprof/pprof.go
1313 go_image_bmp_files = \
1314 go/image/bmp/reader.go
1316 go_image_color_files = \
1317 go/image/color/color.go
1319 go_image_draw_files = \
1320 go/image/draw/draw.go
1322 go_image_gif_files = \
1323 go/image/gif/reader.go
1325 go_image_jpeg_files = \
1326 go/image/jpeg/fdct.go \
1327 go/image/jpeg/huffman.go \
1328 go/image/jpeg/idct.go \
1329 go/image/jpeg/reader.go \
1330 go/image/jpeg/writer.go
1332 go_image_png_files = \
1333 go/image/png/reader.go \
1334 go/image/png/writer.go
1336 go_image_tiff_files = \
1337 go/image/tiff/buffer.go \
1338 go/image/tiff/compress.go \
1339 go/image/tiff/consts.go \
1340 go/image/tiff/reader.go
1342 go_image_ycbcr_files = \
1343 go/image/ycbcr/ycbcr.go
1345 go_index_suffixarray_files = \
1346 go/index/suffixarray/qsufsort.go \
1347 go/index/suffixarray/suffixarray.go
1349 go_io_ioutil_files = \
1350 go/io/ioutil/ioutil.go \
1351 go/io/ioutil/tempfile.go
1353 go_mime_multipart_files = \
1354 go/mime/multipart/formdata.go \
1355 go/mime/multipart/multipart.go \
1356 go/mime/multipart/writer.go
1358 go_net_dict_files = \
1361 go_net_textproto_files = \
1362 go/net/textproto/header.go \
1363 go/net/textproto/pipeline.go \
1364 go/net/textproto/reader.go \
1365 go/net/textproto/textproto.go \
1366 go/net/textproto/writer.go
1368 go_old_netchan_files = \
1369 go/old/netchan/common.go \
1370 go/old/netchan/export.go \
1371 go/old/netchan/import.go
1372 go_old_regexp_files = \
1373 go/old/regexp/regexp.go
1374 go_old_template_files = \
1375 go/old/template/doc.go \
1376 go/old/template/execute.go \
1377 go/old/template/format.go \
1378 go/old/template/parse.go
1380 go_os_inotify_files = \
1381 go/os/inotify/inotify_linux.go
1383 go_os_user_files = \
1384 go/os/user/user.go \
1385 go/os/user/lookup_unix.go
1387 go_os_signal_files = \
1388 go/os/signal/signal.go
1390 go_path_filepath_files = \
1391 go/path/filepath/match.go \
1392 go/path/filepath/path.go \
1393 go/path/filepath/path_unix.go
1395 go_regexp_syntax_files = \
1396 go/regexp/syntax/compile.go \
1397 go/regexp/syntax/parse.go \
1398 go/regexp/syntax/perl_groups.go \
1399 go/regexp/syntax/prog.go \
1400 go/regexp/syntax/regexp.go \
1401 go/regexp/syntax/simplify.go
1403 go_rpc_jsonrpc_files = \
1404 go/rpc/jsonrpc/client.go \
1405 go/rpc/jsonrpc/server.go
1407 go_runtime_debug_files = \
1408 go/runtime/debug/stack.go
1409 go_runtime_pprof_files = \
1410 go/runtime/pprof/pprof.go
1412 go_template_parse_files = \
1413 go/template/parse/lex.go \
1414 go/template/parse/node.go \
1415 go/template/parse/parse.go \
1416 go/template/parse/set.go
1418 go_sync_atomic_files = \
1419 go/sync/atomic/doc.go
1420 go_sync_atomic_c_files = \
1421 go/sync/atomic/atomic.c
1423 go_testing_iotest_files = \
1424 go/testing/iotest/logger.go \
1425 go/testing/iotest/reader.go \
1426 go/testing/iotest/writer.go
1427 go_testing_quick_files = \
1428 go/testing/quick/quick.go
1429 go_testing_script_files = \
1430 go/testing/script/script.go
1432 # Define Syscall and Syscall6.
1434 syscall_syscall_file = go/syscall/syscall_stubs.go
1436 syscall_syscall_file = go/syscall/syscall_unix.go
1439 # Define ForkExec and Exec.
1441 syscall_exec_file = go/syscall/exec_stubs.go
1443 syscall_exec_file = go/syscall/exec_unix.go
1448 syscall_wait_file = go/syscall/libcall_wait4.go
1450 syscall_wait_file = go/syscall/libcall_waitpid.go
1455 syscall_sleep_file = go/syscall/sleep_rtems.go
1457 syscall_sleep_file = go/syscall/sleep_select.go
1462 syscall_errstr_file = go/syscall/errstr_linux.go
1465 syscall_errstr_file = go/syscall/errstr_linux.go
1468 syscall_errstr_file = go/syscall/errstr.go
1470 syscall_errstr_file = go/syscall/errstr_nor.go
1475 # Declare libc functions that vary for largefile systems.
1477 # Always use lseek64 on GNU/Linux.
1478 syscall_size_file = go/syscall/libcall_posix_largefile.go
1479 else # !LIBGO_IS_LINUX
1482 # Use lseek64 on 32-bit Solaris/x86.
1483 syscall_size_file = go/syscall/libcall_posix_largefile.go
1484 else # !LIBGO_IS_386
1486 # Use lseek64 on 32-bit Solaris/SPARC.
1487 syscall_size_file = go/syscall/libcall_posix_largefile.go
1488 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1489 # Use lseek on 64-bit Solaris.
1490 syscall_size_file = go/syscall/libcall_posix_regfile.go
1491 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1492 endif # !LIBGO_IS_SOLARIS
1493 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1494 # Use lseek by default.
1495 syscall_size_file = go/syscall/libcall_posix_regfile.go
1496 endif # !LIBGO_IS_SOLARIS
1497 endif # !LIBGO_IS_LINUX
1499 # Define socket sizes and types.
1501 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1504 syscall_socket_file = go/syscall/socket_solaris.go
1507 syscall_socket_file = go/syscall/socket_irix.go
1509 syscall_socket_file = go/syscall/socket_bsd.go
1514 # Support for uname.
1517 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1518 syscall_uname_file =
1519 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1520 syscall_uname_file = go/syscall/libcall_uname.go
1522 else # !LIBGO_IS_SOLARIS
1523 syscall_uname_file = go/syscall/libcall_uname.go
1526 # Support for netlink sockets and messages.
1528 syscall_netlink_file = go/syscall/netlink_linux.go
1530 syscall_netlink_file =
1533 go_base_syscall_files = \
1534 go/syscall/libcall_support.go \
1535 go/syscall/libcall_posix.go \
1536 go/syscall/socket.go \
1538 go/syscall/syscall.go \
1539 $(syscall_syscall_file) \
1540 $(syscall_exec_file) \
1541 $(syscall_wait_file) \
1542 $(syscall_sleep_file) \
1543 $(syscall_errstr_file) \
1544 $(syscall_size_file) \
1545 $(syscall_socket_file) \
1546 $(syscall_uname_file) \
1547 $(syscall_netlink_file) \
1548 $(GO_LIBCALL_OS_FILE) \
1549 $(GO_LIBCALL_OS_ARCH_FILE) \
1550 $(GO_SYSCALL_OS_FILE) \
1551 $(GO_SYSCALL_OS_ARCH_FILE)
1553 go_syscall_files = \
1554 $(go_base_syscall_files) \
1558 go_syscall_c_files = \
1559 go/syscall/errno.c \
1562 libcalls.go: s-libcalls; @true
1563 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1564 rm -f libcalls.go.tmp
1565 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1566 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1567 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1570 syscall_arch.go: s-syscall_arch; @true
1571 s-syscall_arch: Makefile
1572 rm -f syscall_arch.go.tmp
1573 echo "package syscall" > syscall_arch.go.tmp
1574 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1575 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1576 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1579 sysinfo.go: s-sysinfo; @true
1580 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1581 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1582 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1585 # The epoll struct has an embedded union and is packed on x86_64,
1586 # which is too complicated for mksysinfo.sh. We find the offset of
1587 # the only field we care about in configure.ac, and generate the
1589 epoll.go: s-epoll; @true
1592 echo 'package syscall' > epoll.go.tmp
1593 echo 'type EpollEvent struct {' >> epoll.go.tmp
1594 echo ' Events uint32' >> epoll.go.tmp
1595 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1596 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1598 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1599 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1600 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1601 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1602 echo ' Fd int32' >> epoll.go.tmp; ;; \
1603 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1604 echo ' Fd int32' >> epoll.go.tmp; \
1605 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1606 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1609 echo '}' >> epoll.go.tmp
1610 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1614 # os_lib_inotify_lo = os/inotify.lo
1649 reflect/reflect.lo \
1652 runtime/runtime.lo \
1653 scanner/scanner.lo \
1656 strconv/strconv.lo \
1657 strings/strings.lo \
1660 syslog/syslog_c.lo \
1661 tabwriter/tabwriter.lo \
1662 template/template.lo \
1664 unicode/unicode.lo \
1668 websocket/websocket.lo \
1682 crypto/blowfish.lo \
1688 crypto/elliptic.lo \
1696 crypto/ripemd160.lo \
1706 crypto/openpgp/armor.lo \
1707 crypto/openpgp/elgamal.lo \
1708 crypto/openpgp/error.lo \
1709 crypto/openpgp/packet.lo \
1710 crypto/openpgp/s2k.lo \
1711 crypto/x509/pkix.lo \
1717 encoding/ascii85.lo \
1718 encoding/base32.lo \
1719 encoding/base64.lo \
1720 encoding/binary.lo \
1734 exp/template/html.lo \
1758 index/suffixarray.lo \
1766 $(os_lib_inotify_lo) \
1776 syscall/syscall.lo \
1780 testing/testing.lo \
1785 libgo_la_SOURCES = $(runtime_files)
1787 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1790 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1792 libgobegin_a_SOURCES = \
1795 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1797 GOCFLAGS = $(CFLAGS)
1798 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1799 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1801 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1802 $(AM_GOCFLAGS) $(GOCFLAGS)
1804 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1805 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1807 # Build the .go files for a package, generating a .lo file.
1810 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1811 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1823 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1825 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1827 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1828 export RUNTESTFLAGS; \
1831 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1832 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1833 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1834 export LD_LIBRARY_PATH; \
1835 rm -f $@-testsum $@-testlog; \
1836 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1837 test "$${prefix}" != "." || prefix="$(@D)"; \
1838 if test "$(use_dejagnu)" = "yes"; then \
1839 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1841 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1842 echo "PASS: $(@D)" >> $@-testlog; \
1843 echo "PASS: $(@D)"; \
1844 echo "PASS: $(@D)" > $@-testsum; \
1846 echo "FAIL: $(@D)" >> $@-testlog; \
1848 echo "FAIL: $(@D)" > $@-testsum; \
1853 # Build all packages before checking any.
1854 CHECK_DEPS = libgo.la libgobegin.a \
1855 $(toolexeclibgo_DATA) \
1856 $(toolexeclibgoarchive_DATA) \
1857 $(toolexeclibgocompress_DATA) \
1858 $(toolexeclibgocontainer_DATA) \
1859 $(toolexeclibgocrypto_DATA) \
1860 $(toolexeclibgocryptoopenpgp_DATA) \
1861 $(toolexeclibgodebug_DATA) \
1862 $(toolexeclibgoencoding_DATA) \
1863 $(toolexeclibgoexp_DATA) \
1864 $(toolexeclibgogo_DATA) \
1865 $(toolexeclibgohash_DATA) \
1866 $(toolexeclibgohttp_DATA) \
1867 $(toolexeclibgoimage_DATA) \
1868 $(toolexeclibgoindex_DATA) \
1869 $(toolexeclibgoio_DATA) \
1870 $(toolexeclibgomime_DATA) \
1871 $(toolexeclibgonet_DATA) \
1872 $(toolexeclibgoos_DATA) \
1873 $(toolexeclibgopath_DATA) \
1874 $(toolexeclibgorpc_DATA) \
1875 $(toolexeclibgoruntime_DATA) \
1876 $(toolexeclibgosync_DATA) \
1877 $(toolexeclibgotesting_DATA)
1879 asn1/asn1.lo: $(go_asn1_files) big.gox bytes.gox fmt.gox io.gox os.gox \
1880 reflect.gox strconv.gox strings.gox time.gox
1882 asn1/check: $(CHECK_DEPS)
1886 big/big.lo: $(go_big_files) encoding/binary.gox fmt.gox io.gox os.gox \
1887 rand.gox strings.gox
1889 big/check: $(CHECK_DEPS)
1893 bufio/bufio.lo: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox utf8.gox
1895 bufio/check: $(CHECK_DEPS)
1899 bytes/bytes.lo: $(go_bytes_files) io.gox os.gox unicode.gox utf8.gox
1901 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1902 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1903 bytes/check: $(CHECK_DEPS)
1907 cmath/cmath.lo: $(go_cmath_files) math.gox
1909 cmath/check: $(CHECK_DEPS)
1913 crypto/crypto.lo: $(go_crypto_files) hash.gox
1915 crypto/check: $(CHECK_DEPS)
1917 .PHONY: crypto/check
1919 csv/csv.lo: $(go_csv_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
1920 strings.gox unicode.gox utf8.gox
1922 csv/check: $(CHECK_DEPS)
1926 exec/exec.lo: $(go_exec_files) bytes.gox io.gox os.gox strconv.gox \
1927 strings.gox syscall.gox
1929 exec/check: $(CHECK_DEPS)
1933 expvar/expvar.lo: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \
1934 log.gox os.gox runtime.gox strconv.gox sync.gox
1936 expvar/check: $(CHECK_DEPS)
1938 .PHONY: expvar/check
1940 flag/flag.lo: $(go_flag_files) fmt.gox os.gox strconv.gox
1942 flag/check: $(CHECK_DEPS)
1946 fmt/fmt.lo: $(go_fmt_files) bytes.gox io.gox math.gox os.gox reflect.gox \
1947 strconv.gox strings.gox sync.gox unicode.gox utf8.gox
1949 fmt/check: $(CHECK_DEPS)
1953 gob/gob.lo: $(go_gob_files) bufio.gox bytes.gox fmt.gox io.gox math.gox \
1954 os.gox reflect.gox runtime.gox strings.gox sync.gox \
1955 unicode.gox utf8.gox
1957 gob/check: $(CHECK_DEPS)
1961 hash/hash.lo: $(go_hash_files) io.gox
1963 hash/check: $(CHECK_DEPS)
1967 html/html.lo: $(go_html_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
1968 strconv.gox strings.gox utf8.gox
1970 html/check: $(CHECK_DEPS)
1974 http/http.lo: $(go_http_files) bufio.gox bytes.gox compress/gzip.gox \
1975 crypto/rand.gox crypto/tls.gox encoding/base64.gox \
1976 encoding/binary.gox fmt.gox io.gox io/ioutil.gox log.gox \
1977 mime.gox mime/multipart.gox net.gox net/textproto.gox os.gox \
1978 path.gox path/filepath.gox runtime/debug.gox sort.gox \
1979 strconv.gox strings.gox sync.gox time.gox url.gox utf8.gox
1981 http/check: $(CHECK_DEPS)
1985 image/image.lo: $(go_image_files) bufio.gox image/color.gox io.gox os.gox \
1988 image/check: $(CHECK_DEPS)
1992 io/io.lo: $(go_io_files) os.gox sync.gox
1994 io/check: $(CHECK_DEPS)
1998 json/json.lo: $(go_json_files) bytes.gox encoding/base64.gox fmt.gox io.gox \
1999 math.gox os.gox reflect.gox runtime.gox strconv.gox \
2000 strings.gox unicode.gox utf16.gox utf8.gox
2002 json/check: $(CHECK_DEPS)
2006 log/log.lo: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \
2009 log/check: $(CHECK_DEPS)
2013 math/math.lo: $(go_math_files)
2015 math/check: $(CHECK_DEPS)
2019 mail/mail.lo: $(go_mail_files) bufio.gox bytes.gox encoding/base64.gox \
2020 fmt.gox io.gox io/ioutil.gox log.gox net/textproto.gox os.gox \
2021 strconv.gox strings.gox time.gox
2023 mail/check: $(CHECK_DEPS)
2027 mime/mime.lo: $(go_mime_files) bufio.gox bytes.gox fmt.gox os.gox strings.gox \
2028 sync.gox unicode.gox
2030 mime/check: $(CHECK_DEPS)
2034 net/net.lo: $(go_net_files) bytes.gox fmt.gox io.gox os.gox rand.gox \
2035 reflect.gox sort.gox strconv.gox strings.gox sync.gox \
2036 syscall.gox time.gox
2038 net/check: $(CHECK_DEPS)
2042 os/os.lo: $(go_os_files) runtime.gox sync.gox syscall.gox
2044 os/check: $(CHECK_DEPS)
2048 signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
2049 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
2052 patch/patch.lo: $(go_patch_files) bytes.gox compress/zlib.gox \
2053 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
2054 path.gox strings.gox
2056 patch/check: $(CHECK_DEPS)
2060 path/path.lo: $(go_path_files) os.gox strings.gox utf8.gox
2062 path/check: $(CHECK_DEPS)
2066 rand/rand.lo: $(go_rand_files) math.gox sync.gox
2068 rand/check: $(CHECK_DEPS)
2072 reflect/reflect.lo: $(go_reflect_files) math.gox runtime.gox strconv.gox \
2075 reflect/check: $(CHECK_DEPS)
2077 .PHONY: reflect/check
2079 regexp/regexp.lo: $(go_regexp_files) bytes.gox io.gox os.gox \
2080 regexp/syntax.gox strconv.gox strings.gox sync.gox utf8.gox
2082 regexp/check: $(CHECK_DEPS)
2084 .PHONY: regexp/check
2086 rpc/rpc.lo: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox log.gox \
2087 net.gox os.gox reflect.gox sort.gox strings.gox strconv.gox \
2088 sync.gox template.gox unicode.gox utf8.gox
2090 rpc/check: $(CHECK_DEPS)
2094 runtime/runtime.lo: $(go_runtime_files)
2096 runtime/check: $(CHECK_DEPS)
2098 .PHONY: runtime/check
2100 scanner/scanner.lo: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \
2101 unicode.gox utf8.gox
2103 scanner/check: $(CHECK_DEPS)
2105 .PHONY: scanner/check
2107 smtp/smtp.lo: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \
2108 net.gox net/textproto.gox os.gox strings.gox
2110 smtp/check: $(CHECK_DEPS)
2114 sort/sort.lo: $(go_sort_files) math.gox
2116 sort/check: $(CHECK_DEPS)
2120 strconv/strconv.lo: $(go_strconv_files) bytes.gox math.gox os.gox strings.gox \
2121 unicode.gox utf8.gox
2123 strconv/check: $(CHECK_DEPS)
2125 .PHONY: strconv/check
2127 strings/strings.lo: $(go_strings_files) io.gox os.gox unicode.gox utf8.gox
2129 strings/check: $(CHECK_DEPS)
2131 .PHONY: strings/check
2133 sync/sync.lo: $(go_sync_files) runtime.gox sync/atomic.gox
2135 sync/check: $(CHECK_DEPS)
2139 syslog/syslog.lo: $(go_syslog_files) fmt.gox log.gox net.gox os.gox syscall.gox
2141 syslog/syslog_c.lo: $(go_syslog_c_files) syslog/syslog.lo
2142 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syslog/syslog_c.c
2143 syslog/check: $(CHECK_DEPS)
2145 .PHONY: syslog/check
2147 tabwriter/tabwriter.lo: $(go_tabwriter_files) bytes.gox io.gox os.gox utf8.gox
2149 tabwriter/check: $(CHECK_DEPS)
2151 .PHONY: tabwriter/check
2153 template/template.lo: $(go_template_files) bytes.gox fmt.gox io.gox \
2154 io/ioutil.gox os.gox path/filepath.gox reflect.gox \
2155 runtime.gox strings.gox template/parse.gox unicode.gox \
2158 template/check: $(CHECK_DEPS)
2160 .PHONY: template/check
2162 testing/testing.lo: $(go_testing_files) bytes.gox flag.gox fmt.gox io.gox \
2163 os.gox regexp.gox runtime.gox runtime/pprof.gox strings.gox \
2164 strconv.gox time.gox
2166 testing/check: $(CHECK_DEPS)
2168 .PHONY: testing/check
2170 time/time.lo: $(go_time_files) bytes.gox container/heap.gox io/ioutil.gox \
2171 os.gox strconv.gox sync.gox syscall.gox
2173 time/check: $(CHECK_DEPS)
2177 unicode/unicode.lo: $(go_unicode_files)
2179 unicode/check: $(CHECK_DEPS)
2181 .PHONY: unicode/check
2183 url/url.lo: $(go_url_files) os.gox strconv.gox strings.gox
2185 url/check: $(CHECK_DEPS)
2189 utf16/utf16.lo: $(go_utf16_files) unicode.gox
2191 utf16/check: $(CHECK_DEPS)
2195 utf8/utf8.lo: $(go_utf8_files) unicode.gox
2197 utf8/check: $(CHECK_DEPS)
2201 websocket/websocket.lo: $(go_websocket_files) bufio.gox bytes.gox \
2202 crypto/md5.gox crypto/rand.gox crypto/sha1.gox crypto/tls.gox \
2203 encoding/base64.gox encoding/binary.gox fmt.gox http.gox \
2204 io.gox io/ioutil.gox json.gox net.gox os.gox rand.gox \
2205 strings.gox strconv.gox sync.gox url.gox
2207 websocket/check: $(CHECK_DEPS)
2209 .PHONY: websocket/check
2211 xml/xml.lo: $(go_xml_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
2212 reflect.gox strconv.gox strings.gox unicode.gox utf8.gox
2214 xml/check: $(CHECK_DEPS)
2218 archive/tar.lo: $(go_archive_tar_files) bytes.gox io.gox io/ioutil.gox os.gox \
2219 strconv.gox strings.gox
2221 archive/tar/check: $(CHECK_DEPS)
2222 @$(MKDIR_P) archive/tar
2224 .PHONY: archive/tar/check
2226 archive/zip.lo: $(go_archive_zip_files) bufio.gox compress/flate.gox \
2227 encoding/binary.gox hash.gox hash/crc32.gox \
2228 encoding/binary.gox io.gox io/ioutil.gox os.gox time.gox
2230 archive/zip/check: $(CHECK_DEPS)
2231 @$(MKDIR_P) archive/zip
2233 .PHONY: archive/zip/check
2235 compress/bzip2.lo: $(go_compress_bzip2_files) bufio.gox io.gox os.gox sort.gox
2237 compress/bzip2/check: $(CHECK_DEPS)
2238 @$(MKDIR_P) compress/bzip2
2240 .PHONY: compress/bzip2/check
2242 compress/flate.lo: $(go_compress_flate_files) bufio.gox io.gox math.gox \
2243 os.gox sort.gox strconv.gox
2245 compress/flate/check: $(CHECK_DEPS)
2246 @$(MKDIR_P) compress/flate
2248 .PHONY: compress/flate/check
2250 compress/gzip.lo: $(go_compress_gzip_files) bufio.gox compress/flate.gox \
2251 hash.gox hash/crc32.gox io.gox os.gox
2253 compress/gzip/check: $(CHECK_DEPS)
2254 @$(MKDIR_P) compress/gzip
2256 .PHONY: compress/gzip/check
2258 compress/lzw.lo: $(go_compress_lzw_files) bufio.gox fmt.gox io.gox os.gox
2260 compress/lzw/check: $(CHECK_DEPS)
2261 @$(MKDIR_P) compress/lzw
2263 .PHONY: compress/lzw/check
2265 compress/zlib.lo: $(go_compress_zlib_files) bufio.gox compress/flate.gox \
2266 hash.gox hash/adler32.gox io.gox os.gox
2268 compress/zlib/check: $(CHECK_DEPS)
2269 @$(MKDIR_P) compress/zlib
2271 .PHONY: compress/zlib/check
2273 container/heap.lo: $(go_container_heap_files) sort.gox
2275 container/heap/check: $(CHECK_DEPS)
2276 @$(MKDIR_P) container/heap
2278 .PHONY: container/heap/check
2280 container/list.lo: $(go_container_list_files)
2282 container/list/check: $(CHECK_DEPS)
2283 @$(MKDIR_P) container/list
2285 .PHONY: container/list/check
2287 container/ring.lo: $(go_container_ring_files)
2289 container/ring/check: $(CHECK_DEPS)
2290 @$(MKDIR_P) container/ring
2292 .PHONY: container/ring/check
2294 crypto/aes.lo: $(go_crypto_aes_files) os.gox strconv.gox
2296 crypto/aes/check: $(CHECK_DEPS)
2297 @$(MKDIR_P) crypto/aes
2299 .PHONY: crypto/aes/check
2301 crypto/bcrypt.lo: $(go_crypto_bcrypt_files) crypto/blowfish.gox \
2302 crypto/rand.gox crypto/subtle.gox encoding/base64.gox \
2303 fmt.gox io.gox os.gox strconv.gox
2305 crypto/bcrypt/check: $(CHECK_DEPS)
2306 @$(MKDIR_P) crypto/bcrypt
2308 .PHONY: crypto/bcrypt/check
2310 crypto/blowfish.lo: $(go_crypto_blowfish_files) os.gox strconv.gox
2312 crypto/blowfish/check: $(CHECK_DEPS)
2313 @$(MKDIR_P) crypto/blowfish
2315 .PHONY: crypto/blowfish/check
2317 crypto/cast5.lo: $(go_crypto_cast5_files) os.gox
2319 crypto/cast5/check: $(CHECK_DEPS)
2320 @$(MKDIR_P) crypto/cast5
2322 .PHONY: crypto/cast5/check
2324 crypto/cipher.lo: $(go_crypto_cipher_files) io.gox os.gox
2326 crypto/cipher/check: $(CHECK_DEPS)
2327 @$(MKDIR_P) crypto/cipher
2329 .PHONY: crypto/cipher/check
2331 crypto/des.lo: $(go_crypto_des_files) encoding/binary.gox os.gox strconv.gox
2333 crypto/des/check: $(CHECK_DEPS)
2334 @$(MKDIR_P) crypto/des
2336 .PHONY: crypto/des/check
2338 crypto/dsa.lo: $(go_crypto_dsa_files) big.gox io.gox os.gox
2340 crypto/dsa/check: $(CHECK_DEPS)
2341 @$(MKDIR_P) crypto/dsa
2343 .PHONY: crypto/dsa/check
2345 crypto/ecdsa.lo: $(go_crypto_ecdsa_files) big.gox crypto/elliptic.gox io.gox \
2348 crypto/ecdsa/check: $(CHECK_DEPS)
2349 @$(MKDIR_P) crypto/ecdsa
2351 .PHONY: crypto/ecdsa/check
2353 crypto/elliptic.lo: $(go_crypto_elliptic_files) big.gox io.gox os.gox sync.gox
2355 crypto/elliptic/check: $(CHECK_DEPS)
2356 @$(MKDIR_P) crypto/elliptic
2358 .PHONY: crypto/elliptic/check
2360 crypto/hmac.lo: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \
2361 crypto/sha256.gox hash.gox os.gox
2363 crypto/hmac/check: $(CHECK_DEPS)
2364 @$(MKDIR_P) crypto/hmac
2366 .PHONY: crypto/hmac/check
2368 crypto/md4.lo: $(go_crypto_md4_files) crypto.gox hash.gox os.gox
2370 crypto/md4/check: $(CHECK_DEPS)
2371 @$(MKDIR_P) crypto/md4
2373 .PHONY: crypto/md4/check
2375 crypto/md5.lo: $(go_crypto_md5_files) crypto.gox hash.gox os.gox
2377 crypto/md5/check: $(CHECK_DEPS)
2378 @$(MKDIR_P) crypto/md5
2380 .PHONY: crypto/md5/check
2382 crypto/ocsp.lo: $(go_crypto_ocsp_files) asn1.gox crypto.gox crypto/rsa.gox \
2383 crypto/sha1.gox crypto/x509.gox crypto/x509/pkix.gox os.gox \
2386 crypto/ocsp/check: $(CHECK_DEPS)
2387 @$(MKDIR_P) crypto/ocsp
2389 .PHONY: crypto/ocsp/check
2391 crypto/openpgp.lo: $(go_crypto_openpgp_files) crypto.gox \
2392 crypto/openpgp/armor.gox crypto/openpgp/error.gox \
2393 crypto/openpgp/packet.gox crypto/openpgp/s2k.gox \
2394 crypto/rand.gox crypto/rsa.gox crypto/sha256.gox hash.gox \
2395 io.gox os.gox strconv.gox time.gox
2397 crypto/openpgp/check: $(CHECK_DEPS)
2398 @$(MKDIR_P) crypto/openpgp
2400 .PHONY: crypto/openpgp/check
2402 crypto/rand.lo: $(go_crypto_rand_files) big.gox bufio.gox crypto/aes.gox \
2403 io.gox os.gox sync.gox time.gox
2405 crypto/rand/check: $(CHECK_DEPS)
2406 @$(MKDIR_P) crypto/rand
2408 .PHONY: crypto/rand/check
2410 crypto/rc4.lo: $(go_crypto_rc4_files) os.gox strconv.gox
2412 crypto/rc4/check: $(CHECK_DEPS)
2413 @$(MKDIR_P) crypto/rc4
2415 .PHONY: crypto/rc4/check
2417 crypto/ripemd160.lo: $(go_crypto_ripemd160_files) crypto.gox hash.gox os.gox
2419 crypto/ripemd160/check: $(CHECK_DEPS)
2420 @$(MKDIR_P) crypto/ripemd160
2422 .PHONY: crypto/ripemd160/check
2424 crypto/rsa.lo: $(go_crypto_rsa_files) big.gox crypto.gox crypto/rand.gox \
2425 crypto/sha1.gox crypto/subtle.gox encoding/hex.gox hash.gox \
2428 crypto/rsa/check: $(CHECK_DEPS)
2429 @$(MKDIR_P) crypto/rsa
2431 .PHONY: crypto/rsa/check
2433 crypto/sha1.lo: $(go_crypto_sha1_files) crypto.gox hash.gox os.gox
2435 crypto/sha1/check: $(CHECK_DEPS)
2436 @$(MKDIR_P) crypto/sha1
2438 .PHONY: crypto/sha1/check
2440 crypto/sha256.lo: $(go_crypto_sha256_files) crypto.gox hash.gox os.gox
2442 crypto/sha256/check: $(CHECK_DEPS)
2443 @$(MKDIR_P) crypto/sha256
2445 .PHONY: crypto/sha256/check
2447 crypto/sha512.lo: $(go_crypto_sha512_files) crypto.gox hash.gox os.gox
2449 crypto/sha512/check: $(CHECK_DEPS)
2450 @$(MKDIR_P) crypto/sha512
2452 .PHONY: crypto/sha512/check
2454 crypto/subtle.lo: $(go_crypto_subtle_files)
2456 crypto/subtle/check: $(CHECK_DEPS)
2457 @$(MKDIR_P) crypto/subtle
2459 .PHONY: crypto/subtle/check
2461 crypto/tls.lo: $(go_crypto_tls_files) big.gox bytes.gox crypto.gox \
2462 crypto/aes.gox crypto/cipher.gox crypto/des.gox \
2463 crypto/elliptic.gox crypto/hmac.gox crypto/md5.gox \
2464 crypto/rand.gox crypto/rc4.gox crypto/rsa.gox crypto/sha1.gox \
2465 crypto/subtle.gox crypto/x509.gox crypto/x509/pkix.gox \
2466 encoding/pem.gox hash.gox io.gox io/ioutil.gox net.gox os.gox \
2467 strconv.gox strings.gox sync.gox time.gox
2469 crypto/tls/check: $(CHECK_DEPS)
2470 @$(MKDIR_P) crypto/tls
2472 .PHONY: crypto/tls/check
2474 crypto/twofish.lo: $(go_crypto_twofish_files) os.gox strconv.gox
2476 crypto/twofish/check: $(CHECK_DEPS)
2477 @$(MKDIR_P) crypto/twofish
2479 .PHONY: crypto/twofish/check
2481 crypto/x509.lo: $(go_crypto_x509_files) asn1.gox big.gox bytes.gox crypto.gox \
2482 crypto/dsa.gox crypto/rsa.gox crypto/sha1.gox \
2483 crypto/x509/pkix.gox encoding/pem.gox os.gox strings.gox \
2486 crypto/x509/check: $(CHECK_DEPS)
2487 @$(MKDIR_P) crypto/x509
2489 .PHONY: crypto/x509/check
2491 crypto/xtea.lo: $(go_crypto_xtea_files) os.gox strconv.gox
2493 crypto/xtea/check: $(CHECK_DEPS)
2494 @$(MKDIR_P) crypto/xtea
2496 .PHONY: crypto/xtea/check
2498 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files) bufio.gox bytes.gox \
2499 crypto/openpgp/error.gox encoding/base64.gox io.gox os.gox
2501 crypto/openpgp/armor/check: $(CHECK_DEPS)
2502 @$(MKDIR_P) crypto/openpgp/armor
2504 .PHONY: crypto/openpgp/armor/check
2506 crypto/openpgp/elgamal.lo: $(go_crypto_openpgp_elgamal_files) big.gox \
2507 crypto/rand.gox crypto/subtle.gox io.gox os.gox
2509 crypto/openpgp/elgamal/check: $(CHECK_DEPS)
2510 @$(MKDIR_P) crypto/openpgp/elgamal
2512 .PHONY: crypto/openpgp/elgamal/check
2514 crypto/openpgp/error.lo: $(go_crypto_openpgp_error_files) strconv.gox
2516 crypto/openpgp/error/check: $(CHECK_DEPS)
2517 @$(MKDIR_P) crypto/openpgp/error
2519 .PHONY: crypto/openpgp/error/check
2521 crypto/openpgp/packet.lo: $(go_crypto_openpgp_packet_files) big.gox bytes.gox \
2522 compress/flate.gox compress/zlib.gox crypto.gox \
2523 crypto/aes.gox crypto/cast5.gox crypto/cipher.gox \
2524 crypto/dsa.gox crypto/openpgp/elgamal.gox \
2525 crypto/openpgp/error.gox crypto/openpgp/s2k.gox \
2526 crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
2527 crypto/subtle.gox encoding/binary.gox fmt.gox \
2528 hash.gox io.gox io/ioutil.gox os.gox strconv.gox strings.gox
2530 crypto/openpgp/packet/check: $(CHECK_DEPS)
2531 @$(MKDIR_P) crypto/openpgp/packet
2533 .PHONY: crypto/openpgp/packet/check
2535 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files) crypto.gox \
2536 crypto/md5.gox crypto/openpgp/error.gox crypto/rand.gox \
2537 crypto/ripemd160.gox crypto/sha1.gox crypto/sha256.gox \
2538 crypto/sha512.gox hash.gox io.gox os.gox
2540 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2541 @$(MKDIR_P) crypto/openpgp/s2k
2543 .PHONY: crypto/openpgp/s2k/check
2545 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files) asn1.gox big.gox time.gox
2547 crypto/x509/pkix/check: $(CHECK_DEPS)
2548 @$(MKDIR_P) crypto/x509/pkix
2550 .PHONY: crypto/x509/pkix/check
2552 debug/dwarf.lo: $(go_debug_dwarf_files) encoding/binary.gox os.gox strconv.gox
2554 debug/dwarf/check: $(CHECK_DEPS)
2555 @$(MKDIR_P) debug/dwarf
2557 .PHONY: debug/dwarf/check
2559 debug/elf.lo: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
2560 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2562 debug/elf/check: $(CHECK_DEPS)
2563 @$(MKDIR_P) debug/elf
2565 .PHONY: debug/elf/check
2567 debug/gosym.lo: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \
2568 strconv.gox strings.gox
2570 debug/gosym/check: $(CHECK_DEPS)
2571 @$(MKDIR_P) debug/gosym
2573 .PHONY: debug/gosym/check
2575 debug/macho.lo: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
2576 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2578 debug/macho/check: $(CHECK_DEPS)
2579 @$(MKDIR_P) debug/macho
2581 .PHONY: debug/macho/check
2583 debug/pe.lo: $(go_debug_pe_files) debug/dwarf.gox \
2584 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2586 debug/pe/check: $(CHECK_DEPS)
2587 @$(MKDIR_P) debug/pe
2589 .PHONY: debug/pe/check
2591 encoding/ascii85.lo: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox
2593 encoding/ascii85/check: $(CHECK_DEPS)
2594 @$(MKDIR_P) encoding/ascii85
2596 .PHONY: encoding/ascii85/check
2598 encoding/base32.lo: $(go_encoding_base32_files) io.gox os.gox strconv.gox
2600 encoding/base32/check: $(CHECK_DEPS)
2601 @$(MKDIR_P) encoding/base32
2603 .PHONY: encoding/base32/check
2605 encoding/base64.lo: $(go_encoding_base64_files) io.gox os.gox strconv.gox
2607 encoding/base64/check: $(CHECK_DEPS)
2608 @$(MKDIR_P) encoding/base64
2610 .PHONY: encoding/base64/check
2612 encoding/binary.lo: $(go_encoding_binary_files) io.gox math.gox os.gox \
2615 encoding/binary/check: $(CHECK_DEPS)
2616 @$(MKDIR_P) encoding/binary
2618 .PHONY: encoding/binary/check
2620 encoding/git85.lo: $(go_encoding_git85_files) bytes.gox io.gox os.gox \
2623 encoding/git85/check: $(CHECK_DEPS)
2624 @$(MKDIR_P) encoding/git85
2626 .PHONY: encoding/git85/check
2628 encoding/hex.lo: $(go_encoding_hex_files) bytes.gox io.gox os.gox strconv.gox
2630 encoding/hex/check: $(CHECK_DEPS)
2631 @$(MKDIR_P) encoding/hex
2633 .PHONY: encoding/hex/check
2635 encoding/pem.lo: $(go_encoding_pem_files) bytes.gox encoding/base64.gox
2637 encoding/pem/check: $(CHECK_DEPS)
2638 @$(MKDIR_P) encoding/pem
2640 .PHONY: encoding/pem/check
2642 exp/ebnf.lo: $(go_exp_ebnf_files) scanner.gox go/token.gox os.gox \
2643 strconv.gox unicode.gox utf8.gox
2645 exp/ebnf/check: $(CHECK_DEPS)
2646 @$(MKDIR_P) exp/ebnf
2648 .PHONY: exp/ebnf/check
2650 exp/gui.lo: $(go_exp_gui_files) image.gox image/draw.gox os.gox
2652 exp/gui/check: $(CHECK_DEPS)
2655 .PHONY: exp/gui/check
2657 exp/norm.lo: $(go_exp_norm_files) io.gox os.gox utf8.gox
2659 exp/norm/check: $(CHECK_DEPS)
2660 @$(MKDIR_P) exp/norm
2662 .PHONY: exp/norm/check
2664 exp/spdy.lo: $(go_exp_spdy_files) bytes.gox compress/zlib.gox \
2665 encoding/binary.gox http.gox io.gox os.gox strings.gox
2667 exp/spdy/check: $(CHECK_DEPS)
2668 @$(MKDIR_P) exp/spdy
2670 .PHONY: exp/spdy/check
2672 exp/sql.lo: $(go_exp_sql_files) exp/sql/driver.gox fmt.gox os.gox reflect.gox \
2673 runtime.gox strconv.gox sync.gox
2675 exp/sql/check: $(CHECK_DEPS)
2678 .PHONY: exp/sql/check
2680 exp/ssh.lo: $(go_exp_ssh_files) big.gox bufio.gox bytes.gox crypto.gox \
2681 crypto/aes.gox crypto/cipher.gox crypto/hmac.gox \
2682 crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
2683 crypto/subtle.gox crypto/x509.gox encoding/pem.gox hash.gox \
2684 io.gox net.gox os.gox reflect.gox strconv.gox sync.gox
2686 exp/ssh/check: $(CHECK_DEPS)
2689 .PHONY: exp/ssh/check
2691 exp/terminal.lo: $(go_exp_terminal_files) io.gox os.gox syscall.gox
2693 exp/terminal/check: $(CHECK_DEPS)
2694 @$(MKDIR_P) exp/terminal
2696 .PHONY: exp/terminal/check
2698 exp/types.lo: $(go_exp_types_files) big.gox bufio.gox fmt.gox go/ast.gox \
2699 go/token.gox io.gox os.gox path/filepath.gox runtime.gox \
2700 scanner.gox sort.gox strconv.gox strings.gox
2702 exp/types/check: $(CHECK_DEPS)
2703 @$(MKDIR_P) exp/types
2705 .PHONY: exp/types/check
2707 exp/gui/x11.lo: $(go_exp_gui_x11_files) bufio.gox exp/gui.gox image.gox \
2708 image/draw.gox io.gox log.gox net.gox os.gox strconv.gox \
2709 strings.gox time.gox
2711 exp/gui/x11/check: $(CHECK_DEPS)
2712 @$(MKDIR_P) exp/gui/x11
2714 .PHONY: exp/gui/x11/check
2716 exp/sql/driver.lo: $(go_exp_sql_driver_files) fmt.gox os.gox reflect.gox \
2719 exp/sql/driver/check: $(CHECK_DEPS)
2720 @$(MKDIR_P) exp/sql/driver
2722 .PHONY: exp/sql/driver/check
2724 exp/template/html.lo: $(go_exp_template_html_files) bytes.gox fmt.gox \
2725 html.gox json.gox os.gox strings.gox template.gox \
2726 template/parse.gox unicode.gox utf8.gox
2728 exp/template/html/check: $(CHECK_DEPS)
2729 @$(MKDIR_P) exp/template/html
2731 .PHONY: exp/template/html/check
2733 go/ast.lo: $(go_go_ast_files) bytes.gox fmt.gox go/scanner.gox go/token.gox \
2734 io.gox os.gox reflect.gox strconv.gox unicode.gox utf8.gox
2736 go/ast/check: $(CHECK_DEPS)
2739 .PHONY: go/ast/check
2741 go/build.lo: $(go_go_build_files) bytes.gox exec.gox fmt.gox go/ast.gox \
2742 go/doc.gox go/parser.gox go/token.gox io/ioutil.gox log.gox \
2743 os.gox path.gox path/filepath.gox regexp.gox runtime.gox \
2744 sort.gox strconv.gox strings.gox runtime.gox unicode.gox
2746 go/build/check: $(CHECK_DEPS)
2747 @$(MKDIR_P) go/build
2749 .PHONY: go/build/check
2751 syslist.go: s-syslist; @true
2753 echo '// Generated automatically by make.' >syslist.go.tmp
2754 echo 'package build' >>syslist.go.tmp
2755 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2756 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2757 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2760 go/doc.lo: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \
2761 sort.gox strings.gox template.gox unicode.gox utf8.gox
2763 go/doc/check: $(CHECK_DEPS)
2766 .PHONY: go/doc/check
2768 go/parser.lo: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2769 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2770 path/filepath.gox strings.gox
2772 go/parser/check: $(CHECK_DEPS)
2773 @$(MKDIR_P) go/parser
2775 .PHONY: go/parser/check
2777 go/printer.lo: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2778 go/token.gox io.gox os.gox path/filepath.gox reflect.gox \
2779 strings.gox tabwriter.gox
2781 go/printer/check: $(CHECK_DEPS)
2782 @$(MKDIR_P) go/printer
2784 .PHONY: go/printer/check
2786 go/scanner.lo: $(go_go_scanner_files) bytes.gox fmt.gox go/token.gox io.gox \
2787 os.gox path/filepath.gox sort.gox strconv.gox unicode.gox \
2790 go/scanner/check: $(CHECK_DEPS)
2791 @$(MKDIR_P) go/scanner
2793 .PHONY: go/scanner/check
2795 go/token.lo: $(go_go_token_files) fmt.gox gob.gox io.gox os.gox sort.gox \
2796 strconv.gox sync.gox
2798 go/token/check: $(CHECK_DEPS)
2799 @$(MKDIR_P) go/token
2801 .PHONY: go/token/check
2803 hash/adler32.lo: $(go_hash_adler32_files) hash.gox os.gox
2805 hash/adler32/check: $(CHECK_DEPS)
2806 @$(MKDIR_P) hash/adler32
2808 .PHONY: hash/adler32/check
2810 hash/crc32.lo: $(go_hash_crc32_files) hash.gox os.gox sync.gox
2812 hash/crc32/check: $(CHECK_DEPS)
2813 @$(MKDIR_P) hash/crc32
2815 .PHONY: hash/crc32/check
2817 hash/crc64.lo: $(go_hash_crc64_files) hash.gox os.gox
2819 hash/crc64/check: $(CHECK_DEPS)
2820 @$(MKDIR_P) hash/crc64
2822 .PHONY: hash/crc64/check
2824 hash/fnv.lo: $(go_hash_fnv_files) encoding/binary.gox hash.gox os.gox
2826 hash/fnv/check: $(CHECK_DEPS)
2827 @$(MKDIR_P) hash/fnv
2829 .PHONY: hash/fnv/check
2831 http/cgi.lo: $(go_http_cgi_files) bufio.gox crypto/tls.gox exec.gox fmt.gox \
2832 http.gox net.gox io.gox io/ioutil.gox log.gox os.gox \
2833 path/filepath.gox regexp.gox strconv.gox strings.gox url.gox
2835 http/cgi/check: $(CHECK_DEPS)
2836 @$(MKDIR_P) http/cgi
2838 .PHONY: http/cgi/check
2840 http/fcgi.lo: $(go_http_fcgi_files) bufio.gox bytes.gox encoding/binary.gox \
2841 fmt.gox http.gox http/cgi.gox io.gox net.gox os.gox sync.gox \
2844 http/fcgi/check: $(CHECK_DEPS)
2845 @$(MKDIR_P) http/fcgi
2847 .PHONY: http/fcgi/check
2849 http/httptest.lo: $(go_http_httptest_files) bytes.gox crypto/rand.gox \
2850 crypto/tls.gox flag.gox fmt.gox http.gox net.gox os.gox \
2853 http/httptest/check: $(CHECK_DEPS)
2854 @$(MKDIR_P) http/httptest
2856 .PHONY: http/httptest/check
2858 http/pprof.lo: $(go_http_pprof_files) bufio.gox bytes.gox fmt.gox http.gox \
2859 os.gox runtime.gox runtime/pprof.gox strconv.gox strings.gox
2861 http/pprof/check: $(CHECK_DEPS)
2862 @$(MKDIR_P) http/pprof
2864 .PHONY: http/pprof/check
2866 image/bmp.lo: $(go_image_bmp_files) image.gox image/color.gox io.gox os.gox
2868 image/bmp/check: $(CHECK_DEPS)
2869 @$(MKDIR_P) image/bmp
2871 .PHONY: image/bmp/check
2873 image/color.lo: $(go_image_color_files)
2875 image/color/check: $(CHECK_DEPS)
2876 @$(MKDIR_P) image/color
2878 .PHONY: image/color/check
2880 image/draw.lo: $(go_image_draw_files) image.gox image/color.gox image/ycbcr.gox
2882 image/draw/check: $(CHECK_DEPS)
2883 @$(MKDIR_P) image/draw
2885 .PHONY: image/draw/check
2887 image/gif.lo: $(go_image_gif_files) bufio.gox compress/lzw.gox fmt.gox \
2888 image.gox image/color.gox io.gox os.gox
2890 image/gif/check: $(CHECK_DEPS)
2891 @$(MKDIR_P) image/gif
2893 .PHONY: image/gif/check
2895 image/jpeg.lo: $(go_image_jpeg_files) bufio.gox image.gox image/color.gox \
2896 image/ycbcr.gox io.gox os.gox
2898 image/jpeg/check: $(CHECK_DEPS)
2899 @$(MKDIR_P) image/jpeg
2901 .PHONY: image/jpeg/check
2903 image/png.lo: $(go_image_png_files) bufio.gox compress/zlib.gox \
2904 encoding/binary.gox fmt.gox hash.gox hash/crc32.gox image.gox \
2905 image/color.gox io.gox os.gox strconv.gox
2907 image/png/check: $(CHECK_DEPS)
2908 @$(MKDIR_P) image/png
2910 .PHONY: image/png/check
2912 image/tiff.lo: $(go_image_tiff_files) bufio.gox compress/lzw.gox \
2913 compress/zlib.gox encoding/binary.gox image.gox \
2914 image/color.gox io.gox io/ioutil.gox os.gox
2916 image/tiff/check: $(CHECK_DEPS)
2917 @$(MKDIR_P) image/tiff
2919 .PHONY: image/tiff/check
2921 image/ycbcr.lo: $(go_image_ycbcr_files) image.gox image/color.gox
2923 image/ycbcr/check: $(CHECK_DEPS)
2924 @$(MKDIR_P) image/ycbcr
2926 .PHONY: image/ycbcr/check
2928 index/suffixarray.lo: $(go_index_suffixarray_files) bytes.gox \
2929 encoding/binary.gox io.gox os.gox regexp.gox sort.gox
2931 index/suffixarray/check: $(CHECK_DEPS)
2932 @$(MKDIR_P) index/suffixarray
2934 .PHONY: index/suffixarray/check
2936 io/ioutil.lo: $(go_io_ioutil_files) bytes.gox io.gox os.gox path/filepath.gox \
2937 sort.gox strconv.gox
2939 io/ioutil/check: $(CHECK_DEPS)
2940 @$(MKDIR_P) io/ioutil
2942 .PHONY: io/ioutil/check
2944 mime/multipart.lo: $(go_mime_multipart_files) bufio.gox bytes.gox \
2945 crypto/rand.gox fmt.gox io.gox io/ioutil.gox mime.gox \
2946 net/textproto.gox os.gox strings.gox
2948 mime/multipart/check: $(CHECK_DEPS)
2949 @$(MKDIR_P) mime/multipart
2951 .PHONY: mime/multipart/check
2953 net/dict.lo: $(go_net_dict_files) net/textproto.gox os.gox strconv.gox \
2957 net/textproto.lo: $(go_net_textproto_files) bufio.gox bytes.gox fmt.gox \
2958 io.gox io/ioutil.gox net.gox os.gox strings.gox strconv.gox \
2961 net/textproto/check: $(CHECK_DEPS)
2962 @$(MKDIR_P) net/textproto
2964 .PHONY: net/textproto/check
2966 old/netchan.lo: $(go_old_netchan_files) gob.gox io.gox log.gox net.gox os.gox \
2967 reflect.gox strconv.gox sync.gox time.gox
2969 old/netchan/check: $(CHECK_DEPS)
2970 @$(MKDIR_P) old/netchan
2972 .PHONY: old/netchan/check
2974 old/regexp.lo: $(go_old_regexp_files) bytes.gox io.gox os.gox strings.gox \
2977 old/regexp/check: $(CHECK_DEPS)
2978 @$(MKDIR_P) old/regexp
2980 .PHONY: old/regexp/check
2982 old/template.lo: $(go_old_template_files) bytes.gox fmt.gox io.gox \
2983 io/ioutil.gox os.gox reflect.gox strconv.gox strings.gox \
2984 unicode.gox utf8.gox
2986 old/template/check: $(CHECK_DEPS)
2987 @$(MKDIR_P) old/template
2989 .PHONY: old/template/check
2991 os/inotify.lo: $(go_os_inotify_files) fmt.gox os.gox strings.gox syscall.gox
2993 os/inotify/check: $(CHECK_DEPS)
2994 @$(MKDIR_P) os/inotify
2996 .PHONY: os/inotify/check
2998 os/user.lo: $(go_os_user_files) fmt.gox os.gox runtime.gox strconv.gox \
2999 strings.gox syscall.gox
3001 os/user/check: $(CHECK_DEPS)
3004 .PHONY: os/user/check
3006 os/signal.lo: $(go_os_signal_files) os.gox runtime.gox
3008 os/signal/check: $(CHECK_DEPS)
3009 @$(MKDIR_P) os/signal
3011 .PHONY: os/signal/check
3013 path/filepath.lo: $(go_path_filepath_files) bytes.gox os.gox runtime.gox \
3014 sort.gox strings.gox utf8.gox
3016 path/filepath/check: $(CHECK_DEPS)
3017 @$(MKDIR_P) path/filepath
3019 .PHONY: path/filepath/check
3021 regexp/syntax.lo: $(go_regexp_syntax_files) bytes.gox os.gox sort.gox \
3022 strconv.gox strings.gox unicode.gox utf8.gox
3024 regexp/syntax/check: $(CHECK_DEPS)
3025 @$(MKDIR_P) regexp/syntax
3027 .PHONY: regexp/syntax/check
3029 rpc/jsonrpc.lo: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \
3030 os.gox rpc.gox sync.gox
3032 rpc/jsonrpc/check: $(CHECK_DEPS)
3033 @$(MKDIR_P) rpc/jsonrpc
3035 .PHONY: rpc/jsonrpc/check
3037 runtime/debug.lo: $(go_runtime_debug_files) bytes.gox fmt.gox io/ioutil.gox \
3040 runtime/debug/check: $(CHECK_DEPS)
3041 @$(MKDIR_P) runtime/debug
3043 .PHONY: runtime/debug/check
3045 runtime/pprof.lo: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \
3046 runtime.gox sync.gox
3048 runtime/pprof/check: $(CHECK_DEPS)
3049 @$(MKDIR_P) runtime/pprof
3051 .PHONY: runtime/pprof/check
3053 sync/atomic.lo: $(go_sync_atomic_files)
3055 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3056 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3057 sync/atomic/check: $(CHECK_DEPS)
3058 @$(MKDIR_P) sync/atomic
3060 .PHONY: sync/atomic/check
3062 template/parse.lo: $(go_template_parse_files) bytes.gox fmt.gox os.gox \
3063 runtime.gox strconv.gox strings.gox unicode.gox utf8.gox
3065 template/parse/check: $(CHECK_DEPS)
3066 @$(MKDIR_P) template/parse
3068 .PHONY: template/parse/check
3070 testing/iotest.lo: $(go_testing_iotest_files) io.gox log.gox os.gox
3072 testing/iotest/check: $(CHECK_DEPS)
3073 @$(MKDIR_P) testing/iotest
3075 .PHONY: testing/iotest/check
3077 testing/quick.lo: $(go_testing_quick_files) flag.gox fmt.gox math.gox os.gox \
3078 rand.gox reflect.gox strings.gox
3080 testing/quick/check: $(CHECK_DEPS)
3081 @$(MKDIR_P) testing/quick
3083 .PHONY: testing/quick/check
3085 testing/script.lo: $(go_testing_script_files) fmt.gox os.gox rand.gox \
3086 reflect.gox strings.gox
3088 testing/script/check: $(CHECK_DEPS)
3089 @$(MKDIR_P) testing/script
3091 .PHONY: testing/script/check
3093 syscall/syscall.lo: $(go_syscall_files) sync.gox
3095 syscall/errno.lo: go/syscall/errno.c
3096 $(LTCOMPILE) -c -o $@ $<
3097 syscall/wait.lo: go/syscall/wait.c
3098 $(LTCOMPILE) -c -o $@ $<
3100 # How to build a .gox file from a .lo file.
3102 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3103 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3105 asn1.gox: asn1/asn1.lo
3109 bufio.gox: bufio/bufio.lo
3111 bytes.gox: bytes/bytes.lo
3113 cmath.gox: cmath/cmath.lo
3115 crypto.gox: crypto/crypto.lo
3119 exec.gox: exec/exec.lo
3121 expvar.gox: expvar/expvar.lo
3123 flag.gox: flag/flag.lo
3129 hash.gox: hash/hash.lo
3131 html.gox: html/html.lo
3133 http.gox: http/http.lo
3135 image.gox: image/image.lo
3139 json.gox: json/json.lo
3143 math.gox: math/math.lo
3145 mail.gox: mail/mail.lo
3147 mime.gox: mime/mime.lo
3153 patch.gox: patch/patch.lo
3155 path.gox: path/path.lo
3157 rand.gox: rand/rand.lo
3159 reflect.gox: reflect/reflect.lo
3161 regexp.gox: regexp/regexp.lo
3165 runtime.gox: runtime/runtime.lo
3167 scanner.gox: scanner/scanner.lo
3169 smtp.gox: smtp/smtp.lo
3171 sort.gox: sort/sort.lo
3173 strconv.gox: strconv/strconv.lo
3175 strings.gox: strings/strings.lo
3177 sync.gox: sync/sync.lo
3179 syslog.gox: syslog/syslog.lo
3181 syscall.gox: syscall/syscall.lo
3183 tabwriter.gox: tabwriter/tabwriter.lo
3185 template.gox: template/template.lo
3187 testing.gox: testing/testing.lo
3189 time.gox: time/time.lo
3191 unicode.gox: unicode/unicode.lo
3195 utf16.gox: utf16/utf16.lo
3197 utf8.gox: utf8/utf8.lo
3199 websocket.gox: websocket/websocket.lo
3204 archive/tar.gox: archive/tar.lo
3206 archive/zip.gox: archive/zip.lo
3209 compress/bzip2.gox: compress/bzip2.lo
3211 compress/flate.gox: compress/flate.lo
3213 compress/gzip.gox: compress/gzip.lo
3215 compress/lzw.gox: compress/lzw.lo
3217 compress/zlib.gox: compress/zlib.lo
3220 container/heap.gox: container/heap.lo
3222 container/list.gox: container/list.lo
3224 container/ring.gox: container/ring.lo
3227 crypto/aes.gox: crypto/aes.lo
3229 crypto/bcrypt.gox: crypto/bcrypt.lo
3231 crypto/blowfish.gox: crypto/blowfish.lo
3233 crypto/cast5.gox: crypto/cast5.lo
3235 crypto/cipher.gox: crypto/cipher.lo
3237 crypto/des.gox: crypto/des.lo
3239 crypto/dsa.gox: crypto/dsa.lo
3241 crypto/ecdsa.gox: crypto/ecdsa.lo
3243 crypto/elliptic.gox: crypto/elliptic.lo
3245 crypto/hmac.gox: crypto/hmac.lo
3247 crypto/md4.gox: crypto/md4.lo
3249 crypto/md5.gox: crypto/md5.lo
3251 crypto/ocsp.gox: crypto/ocsp.lo
3253 crypto/openpgp.gox: crypto/openpgp.lo
3255 crypto/rand.gox: crypto/rand.lo
3257 crypto/rc4.gox: crypto/rc4.lo
3259 crypto/ripemd160.gox: crypto/ripemd160.lo
3261 crypto/rsa.gox: crypto/rsa.lo
3263 crypto/sha1.gox: crypto/sha1.lo
3265 crypto/sha256.gox: crypto/sha256.lo
3267 crypto/sha512.gox: crypto/sha512.lo
3269 crypto/subtle.gox: crypto/subtle.lo
3271 crypto/tls.gox: crypto/tls.lo
3273 crypto/twofish.gox: crypto/twofish.lo
3275 crypto/x509.gox: crypto/x509.lo
3277 crypto/xtea.gox: crypto/xtea.lo
3280 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
3282 crypto/openpgp/elgamal.gox: crypto/openpgp/elgamal.lo
3284 crypto/openpgp/error.gox: crypto/openpgp/error.lo
3286 crypto/openpgp/packet.gox: crypto/openpgp/packet.lo
3288 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
3291 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3294 debug/dwarf.gox: debug/dwarf.lo
3296 debug/elf.gox: debug/elf.lo
3298 debug/gosym.gox: debug/gosym.lo
3300 debug/macho.gox: debug/macho.lo
3302 debug/pe.gox: debug/pe.lo
3305 encoding/ascii85.gox: encoding/ascii85.lo
3307 encoding/base32.gox: encoding/base32.lo
3309 encoding/base64.gox: encoding/base64.lo
3311 encoding/binary.gox: encoding/binary.lo
3313 encoding/git85.gox: encoding/git85.lo
3315 encoding/hex.gox: encoding/hex.lo
3317 encoding/pem.gox: encoding/pem.lo
3320 exp/ebnf.gox: exp/ebnf.lo
3322 exp/gui.gox: exp/gui.lo
3324 exp/norm.gox: exp/norm.lo
3326 exp/spdy.gox: exp/spdy.lo
3328 exp/sql.gox: exp/sql.lo
3330 exp/ssh.gox: exp/ssh.lo
3332 exp/terminal.gox: exp/terminal.lo
3334 exp/types.gox: exp/types.lo
3337 exp/gui/x11.gox: exp/gui/x11.lo
3340 exp/sql/driver.gox: exp/sql/driver.lo
3343 exp/template/html.gox: exp/template/html.lo
3346 go/ast.gox: go/ast.lo
3348 go/build.gox: go/build.lo
3350 go/doc.gox: go/doc.lo
3352 go/parser.gox: go/parser.lo
3354 go/printer.gox: go/printer.lo
3356 go/scanner.gox: go/scanner.lo
3358 go/token.gox: go/token.lo
3361 hash/adler32.gox: hash/adler32.lo
3363 hash/crc32.gox: hash/crc32.lo
3365 hash/crc64.gox: hash/crc64.lo
3367 hash/fnv.gox: hash/fnv.lo
3370 http/cgi.gox: http/cgi.lo
3372 http/fcgi.gox: http/fcgi.lo
3374 http/httptest.gox: http/httptest.lo
3376 http/pprof.gox: http/pprof.lo
3379 image/bmp.gox: image/bmp.lo
3381 image/color.gox: image/color.lo
3383 image/draw.gox: image/draw.lo
3385 image/gif.gox: image/gif.lo
3387 image/jpeg.gox: image/jpeg.lo
3389 image/png.gox: image/png.lo
3391 image/tiff.gox: image/tiff.lo
3393 image/ycbcr.gox: image/ycbcr.lo
3396 index/suffixarray.gox: index/suffixarray.lo
3399 io/ioutil.gox: io/ioutil.lo
3402 mime/multipart.gox: mime/multipart.lo
3405 net/dict.gox: net/dict.lo
3407 net/textproto.gox: net/textproto.lo
3410 old/netchan.gox: old/netchan.lo
3412 old/regexp.gox: old/regexp.lo
3414 old/template.gox: old/template.lo
3417 os/inotify.gox: os/inotify.lo
3419 os/user.gox: os/user.lo
3421 os/signal.gox: os/signal.lo
3424 path/filepath.gox: path/filepath.lo
3427 regexp/syntax.gox: regexp/syntax.lo
3430 rpc/jsonrpc.gox: rpc/jsonrpc.lo
3433 runtime/debug.gox: runtime/debug.lo
3435 runtime/pprof.gox: runtime/pprof.lo
3438 sync/atomic.gox: sync/atomic.lo
3441 template/parse.gox: template/parse.lo
3444 testing/iotest.gox: testing/iotest.lo
3446 testing/quick.gox: testing/quick.lo
3448 testing/script.gox: testing/script.lo
3452 # os_inotify_check = os/inotify/check
3506 compress/bzip2/check \
3507 compress/flate/check \
3508 compress/gzip/check \
3509 compress/lzw/check \
3510 compress/zlib/check \
3511 container/heap/check \
3512 container/list/check \
3513 container/ring/check \
3515 crypto/bcrypt/check \
3516 crypto/blowfish/check \
3517 crypto/cast5/check \
3518 crypto/cipher/check \
3521 crypto/ecdsa/check \
3522 crypto/elliptic/check \
3527 crypto/openpgp/check \
3530 crypto/ripemd160/check \
3533 crypto/sha256/check \
3534 crypto/sha512/check \
3535 crypto/subtle/check \
3537 crypto/twofish/check \
3540 crypto/openpgp/armor/check \
3541 crypto/openpgp/elgamal/check \
3542 crypto/openpgp/packet/check \
3543 crypto/openpgp/s2k/check \
3548 encoding/ascii85/check \
3549 encoding/base32/check \
3550 encoding/base64/check \
3551 encoding/binary/check \
3552 encoding/git85/check \
3553 encoding/hex/check \
3554 encoding/pem/check \
3560 exp/terminal/check \
3561 exp/template/html/check \
3563 $(go_build_check_omitted_since_it_calls_6g) \
3568 $(go_types_check_omitted_since_it_calls_6g) \
3569 hash/adler32/check \
3580 index/suffixarray/check \
3582 mime/multipart/check \
3583 net/textproto/check \
3586 old/template/check \
3587 $(os_inotify_check) \
3590 path/filepath/check \
3591 regexp/syntax/check \
3594 template/parse/check \
3595 testing/quick/check \
3596 testing/script/check
3599 check-recursive: check-head
3602 @echo "Test Run By $${USER} on `date`" > libgo.head
3603 @echo "Native configuration is $(host_triplet)" >> libgo.head
3605 @echo " === libgo tests ===" >> libgo.head
3608 check-tail: check-recursive check-multi
3609 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3610 for dir in . $(MULTIDIRS); do \
3611 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3612 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3614 mv libgo.head libgo.sum; \
3615 cp libgo.sum libgo.log; \
3616 echo "Schedule of variations:" >> libgo.sum; \
3617 for dir in . $(MULTIDIRS); do \
3618 multidir=../$${dir}/$${lib}; \
3619 multivar=`cat $${multidir}/libgo.var`; \
3620 echo " $${multivar}" >> libgo.sum; \
3622 echo >> libgo.sum; \
3623 pass=0; fail=0; untested=0; \
3624 for dir in . $(MULTIDIRS); do \
3625 multidir=../$${dir}/$${lib}; \
3626 multivar=`cat $${multidir}/libgo.var`; \
3627 echo "Running target $${multivar}" >> libgo.sum; \
3628 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3629 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3630 cat $${multidir}/libgo.log.sep >> libgo.log; \
3631 if test -n "${MULTIDIRS}"; then \
3632 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3633 echo >> libgo.sum; \
3635 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3636 pass=`expr $$pass + $$p`; \
3637 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3638 echo "# of expected passes $$p" >> libgo.sum; \
3640 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3641 fail=`expr $$fail + $$p`; \
3642 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3643 echo "# of unexpected failures $$p" >> libgo.sum; \
3645 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3646 untested=`expr $$untested + $$p`; \
3647 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3648 echo "# of untested testcases $$p" >> libgo.sum; \
3651 echo >> libgo.sum; \
3652 echo " === libgo Summary ===" >> libgo.sum; \
3653 echo >> libgo.sum; \
3654 if test "$$pass" -ne "0"; then \
3655 echo "# of expected passes $$pass" >> libgo.sum; \
3657 if test "$$fail" -ne "0"; then \
3658 echo "# of unexpected failures $$fail" >> libgo.sum; \
3660 if test "$$untested" -ne "0"; then \
3661 echo "# of untested testcases $$untested" >> libgo.sum; \
3663 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3664 echo >> libgo.log; \
3665 echo "runtest completed at `date`" >> libgo.log; \
3666 if test "$$fail" -ne "0"; then \
3674 @rm -f libgo.sum libgo.log libgo.tail
3676 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3677 echo "$${multivar}" > libgo.var
3678 @for f in $(TEST_PACKAGES); do \
3679 rm -f $$f-testsum $$f-testlog; \
3681 -@$(MAKE) -k $(TEST_PACKAGES)
3682 @for f in $(TEST_PACKAGES); do \
3683 if test -f $$f-testsum; then \
3684 cat $$f-testsum >> libgo.sum; \
3686 if test -f $$f-testlog; then \
3687 cat $$f-testlog >> libgo.log; \
3692 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3694 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3697 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3698 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3699 find . -name '*-testsum' -print | xargs rm -f
3700 find . -name '*-testlog' -print | xargs rm -f
3702 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3705 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3706 find . -name '*.a' -print | xargs rm -f