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)/../gcc -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 = \
176 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
178 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/error.gox \
210 crypto/openpgp/packet.gox \
211 crypto/openpgp/s2k.gox
213 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
215 toolexeclibgodebug_DATA = \
223 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
225 toolexeclibgoencoding_DATA = \
226 encoding/ascii85.gox \
227 encoding/base32.gox \
228 encoding/base64.gox \
229 encoding/binary.gox \
235 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
237 toolexeclibgoexp_DATA = \
242 toolexeclibgogodir = $(toolexeclibgodir)/go
244 toolexeclibgogo_DATA = \
253 toolexeclibgohashdir = $(toolexeclibgodir)/hash
255 toolexeclibgohash_DATA = \
261 toolexeclibgohttpdir = $(toolexeclibgodir)/http
263 toolexeclibgohttp_DATA = \
268 toolexeclibgoimagedir = $(toolexeclibgodir)/image
270 toolexeclibgoimage_DATA = \
274 toolexeclibgoindexdir = $(toolexeclibgodir)/index
276 toolexeclibgoindex_DATA = \
277 index/suffixarray.gox
279 toolexeclibgoiodir = $(toolexeclibgodir)/io
281 toolexeclibgoio_DATA = \
284 toolexeclibgomimedir = $(toolexeclibgodir)/mime
286 toolexeclibgomime_DATA = \
289 toolexeclibgonetdir = $(toolexeclibgodir)/net
291 toolexeclibgonet_DATA = \
295 toolexeclibgoosdir = $(toolexeclibgodir)/os
298 # os_inotify_gox = os/inotify.gox
304 toolexeclibgoos_DATA = \
308 toolexeclibgopathdir = $(toolexeclibgodir)/path
310 toolexeclibgopath_DATA = \
313 toolexeclibgorpcdir = $(toolexeclibgodir)/rpc
315 toolexeclibgorpc_DATA = \
318 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
320 toolexeclibgoruntime_DATA = \
324 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
326 toolexeclibgosync_DATA = \
329 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
331 toolexeclibgotesting_DATA = \
337 runtime_mem_file = runtime/mem.c
339 runtime_mem_file = runtime/mem_posix_memalign.c
343 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
345 rtems_task_variable_add_file =
349 runtime/go-append.c \
350 runtime/go-assert.c \
351 runtime/go-assert-interface.c \
352 runtime/go-byte-array-to-string.c \
353 runtime/go-breakpoint.c \
354 runtime/go-caller.c \
355 runtime/go-can-convert-interface.c \
357 runtime/go-chan-cap.c \
358 runtime/go-chan-len.c \
359 runtime/go-check-interface.c \
361 runtime/go-construct-map.c \
362 runtime/go-convert-interface.c \
365 runtime/go-deferred-recover.c \
366 runtime/go-eface-compare.c \
367 runtime/go-eface-val-compare.c \
368 runtime/go-getgoroot.c \
370 runtime/go-gomaxprocs.c \
371 runtime/go-int-array-to-string.c \
372 runtime/go-int-to-string.c \
373 runtime/go-interface-compare.c \
374 runtime/go-interface-eface-compare.c \
375 runtime/go-interface-val-compare.c \
376 runtime/go-lock-os-thread.c \
377 runtime/go-map-delete.c \
378 runtime/go-map-index.c \
379 runtime/go-map-len.c \
380 runtime/go-map-range.c \
381 runtime/go-nanotime.c \
382 runtime/go-new-channel.c \
383 runtime/go-new-map.c \
387 runtime/go-panic-defer.c \
389 runtime/go-rec-big.c \
390 runtime/go-rec-nb-big.c \
391 runtime/go-rec-nb-small.c \
392 runtime/go-rec-small.c \
393 runtime/go-recover.c \
394 runtime/go-reflect.c \
395 runtime/go-reflect-call.c \
396 runtime/go-reflect-chan.c \
397 runtime/go-reflect-map.c \
399 runtime/go-runtime-error.c \
401 runtime/go-select.c \
402 runtime/go-semacquire.c \
403 runtime/go-send-big.c \
404 runtime/go-send-nb-big.c \
405 runtime/go-send-nb-small.c \
406 runtime/go-send-small.c \
407 runtime/go-signal.c \
408 runtime/go-strcmp.c \
409 runtime/go-string-to-byte-array.c \
410 runtime/go-string-to-int-array.c \
411 runtime/go-strplus.c \
412 runtime/go-strslice.c \
413 runtime/go-trampoline.c \
414 runtime/go-type-eface.c \
415 runtime/go-type-error.c \
416 runtime/go-type-identity.c \
417 runtime/go-type-interface.c \
418 runtime/go-type-string.c \
419 runtime/go-typedesc-equal.c \
420 runtime/go-typestring.c \
421 runtime/go-unreflect.c \
422 runtime/go-unsafe-new.c \
423 runtime/go-unsafe-newarray.c \
424 runtime/go-unsafe-pointer.c \
425 runtime/go-unwind.c \
429 $(runtime_mem_file) \
431 runtime/mfixalloc.c \
437 $(rtems_task_variable_add_file) \
447 goc2c.$(OBJEXT): runtime/goc2c.c
448 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
450 goc2c: goc2c.$(OBJEXT)
451 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
453 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
454 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
457 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
458 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
461 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
462 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
465 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
466 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
469 %.c: $(srcdir)/runtime/%.goc goc2c
470 ./goc2c --gcc $< > $@.tmp
490 go/bytes/bytes_decl.go
562 go/http/response.go \
565 go/http/transfer.go \
566 go/http/transport.go \
601 go/math/copysign.go \
604 go/math/exp_port.go \
614 go/math/hypot_port.go \
625 go/math/nextafter.go \
628 go/math/remainder.go \
634 go/math/sqrt_port.go \
641 go/mime/mediatype.go \
645 go_net_fd_os_file = go/net/fd_select.go
646 go_net_newpollserver_file = go/net/newpollserver_rtems.go
647 else # !LIBGO_IS_RTEMS
649 go_net_fd_os_file = go/net/fd_linux.go
650 go_net_newpollserver_file = go/net/newpollserver.go
651 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
652 # By default use select with pipes. Most systems should have
654 go_net_fd_os_file = go/net/fd_select.go
655 go_net_newpollserver_file = go/net/newpollserver.go
656 endif # !LIBGO_IS_LINUX
657 endif # !LIBGO_IS_RTEMS
662 go/net/dnsclient.go \
663 go/net/dnsconfig.go \
665 $(go_net_newpollserver_file) \
667 $(go_net_fd_os_file) \
671 go/net/iprawsock.go \
684 go/netchan/common.go \
685 go/netchan/export.go \
690 go_os_dir_file = go/os/dir_largefile.go
693 go_os_dir_file = go/os/dir_largefile.go
695 go_os_dir_file = go/os/dir_regfile.go
700 go_os_dir_file = go/os/dir_largefile.go
702 go_os_dir_file = go/os/dir_regfile.go
707 go_os_sys_file = go/os/sys_linux.go
710 go_os_sys_file = go/os/sys_uname.go
713 go_os_sys_file = go/os/sys_uname.go
716 go_os_sys_file = go/os/sys_uname.go
718 go_os_sys_file = go/os/sys_bsd.go
730 go/os/error_posix.go \
732 go/os/exec_posix.go \
735 go/os/file_posix.go \
763 go/reflect/deepequal.go \
776 go/runtime/debug.go \
777 go/runtime/error.go \
778 go/runtime/extern.go \
781 go/runtime/softfloat64.go \
785 version.go: s-version; @true
788 echo "package runtime" > version.go.tmp
789 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
790 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
791 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
792 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
793 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
797 go/scanner/scanner.go
811 go/strconv/decimal.go \
817 go/strings/reader.go \
818 go/strings/strings.go
828 go_syslog_file = go/syslog/syslog_solaris.go
830 go_syslog_file = go/syslog/syslog_unix.go
834 go/syslog/syslog.go \
836 go_syslog_c_files = \
839 go_tabwriter_files = \
840 go/tabwriter/tabwriter.go
842 go_template_files = \
843 go/template/format.go \
844 go/template/template.go
847 go/testing/benchmark.go \
848 go/testing/testing.go
856 go/time/zoneinfo_unix.go
862 go/unicode/casetables.go \
863 go/unicode/digit.go \
864 go/unicode/letter.go \
874 go_websocket_files = \
875 go/websocket/client.go \
876 go/websocket/server.go \
877 go/websocket/websocket.go
883 go_archive_tar_files = \
884 go/archive/tar/common.go \
885 go/archive/tar/reader.go \
886 go/archive/tar/writer.go
888 go_archive_zip_files = \
889 go/archive/zip/reader.go \
890 go/archive/zip/struct.go
892 go_compress_bzip2_files = \
893 go/compress/bzip2/bit_reader.go \
894 go/compress/bzip2/bzip2.go \
895 go/compress/bzip2/huffman.go \
896 go/compress/bzip2/move_to_front.go
898 go_compress_flate_files = \
899 go/compress/flate/deflate.go \
900 go/compress/flate/huffman_bit_writer.go \
901 go/compress/flate/huffman_code.go \
902 go/compress/flate/inflate.go \
903 go/compress/flate/reverse_bits.go \
904 go/compress/flate/token.go \
905 go/compress/flate/util.go
907 go_compress_gzip_files = \
908 go/compress/gzip/gzip.go \
909 go/compress/gzip/gunzip.go
911 go_compress_lzw_files = \
912 go/compress/lzw/reader.go \
913 go/compress/lzw/writer.go
915 go_compress_zlib_files = \
916 go/compress/zlib/reader.go \
917 go/compress/zlib/writer.go
919 go_container_heap_files = \
920 go/container/heap/heap.go
922 go_container_list_files = \
923 go/container/list/list.go
925 go_container_ring_files = \
926 go/container/ring/ring.go
928 go_container_vector_files = \
929 go/container/vector/defs.go \
930 go/container/vector/intvector.go \
931 go/container/vector/stringvector.go \
932 go/container/vector/vector.go
934 go_crypto_aes_files = \
935 go/crypto/aes/block.go \
936 go/crypto/aes/cipher.go \
937 go/crypto/aes/const.go
938 go_crypto_blowfish_files = \
939 go/crypto/blowfish/block.go \
940 go/crypto/blowfish/const.go \
941 go/crypto/blowfish/cipher.go
942 go_crypto_cast5_files = \
943 go/crypto/cast5/cast5.go
944 go_crypto_cipher_files = \
945 go/crypto/cipher/cbc.go \
946 go/crypto/cipher/cfb.go \
947 go/crypto/cipher/cipher.go \
948 go/crypto/cipher/ctr.go \
949 go/crypto/cipher/io.go \
950 go/crypto/cipher/ocfb.go \
951 go/crypto/cipher/ofb.go
952 go_crypto_des_files = \
953 go/crypto/des/block.go \
954 go/crypto/des/cipher.go \
955 go/crypto/des/const.go
956 go_crypto_dsa_files = \
958 go_crypto_ecdsa_files = \
959 go/crypto/ecdsa/ecdsa.go
960 go_crypto_elliptic_files = \
961 go/crypto/elliptic/elliptic.go
962 go_crypto_hmac_files = \
963 go/crypto/hmac/hmac.go
964 go_crypto_md4_files = \
965 go/crypto/md4/md4.go \
966 go/crypto/md4/md4block.go
967 go_crypto_md5_files = \
968 go/crypto/md5/md5.go \
969 go/crypto/md5/md5block.go
970 go_crypto_ocsp_files = \
971 go/crypto/ocsp/ocsp.go
972 go_crypto_openpgp_files = \
973 go/crypto/openpgp/canonical_text.go \
974 go/crypto/openpgp/keys.go \
975 go/crypto/openpgp/read.go \
976 go/crypto/openpgp/write.go
977 go_crypto_rand_files = \
978 go/crypto/rand/rand.go \
979 go/crypto/rand/rand_unix.go
980 go_crypto_rc4_files = \
982 go_crypto_ripemd160_files = \
983 go/crypto/ripemd160/ripemd160.go \
984 go/crypto/ripemd160/ripemd160block.go
985 go_crypto_rsa_files = \
986 go/crypto/rsa/pkcs1v15.go \
988 go_crypto_sha1_files = \
989 go/crypto/sha1/sha1.go \
990 go/crypto/sha1/sha1block.go
991 go_crypto_sha256_files = \
992 go/crypto/sha256/sha256.go \
993 go/crypto/sha256/sha256block.go
994 go_crypto_sha512_files = \
995 go/crypto/sha512/sha512.go \
996 go/crypto/sha512/sha512block.go
997 go_crypto_subtle_files = \
998 go/crypto/subtle/constant_time.go
999 go_crypto_tls_files = \
1000 go/crypto/tls/alert.go \
1001 go/crypto/tls/ca_set.go \
1002 go/crypto/tls/cipher_suites.go \
1003 go/crypto/tls/common.go \
1004 go/crypto/tls/conn.go \
1005 go/crypto/tls/handshake_client.go \
1006 go/crypto/tls/handshake_messages.go \
1007 go/crypto/tls/handshake_server.go \
1008 go/crypto/tls/key_agreement.go \
1009 go/crypto/tls/prf.go \
1010 go/crypto/tls/tls.go
1011 go_crypto_twofish_files = \
1012 go/crypto/twofish/twofish.go
1013 go_crypto_x509_files = \
1014 go/crypto/x509/x509.go
1015 go_crypto_xtea_files = \
1016 go/crypto/xtea/block.go \
1017 go/crypto/xtea/cipher.go
1019 go_crypto_openpgp_armor_files = \
1020 go/crypto/openpgp/armor/armor.go \
1021 go/crypto/openpgp/armor/encode.go
1022 go_crypto_openpgp_error_files = \
1023 go/crypto/openpgp/error/error.go
1024 go_crypto_openpgp_packet_files = \
1025 go/crypto/openpgp/packet/compressed.go \
1026 go/crypto/openpgp/packet/encrypted_key.go \
1027 go/crypto/openpgp/packet/literal.go \
1028 go/crypto/openpgp/packet/one_pass_signature.go \
1029 go/crypto/openpgp/packet/packet.go \
1030 go/crypto/openpgp/packet/private_key.go \
1031 go/crypto/openpgp/packet/public_key.go \
1032 go/crypto/openpgp/packet/reader.go \
1033 go/crypto/openpgp/packet/signature.go \
1034 go/crypto/openpgp/packet/symmetric_key_encrypted.go \
1035 go/crypto/openpgp/packet/symmetrically_encrypted.go \
1036 go/crypto/openpgp/packet/userid.go
1037 go_crypto_openpgp_s2k_files = \
1038 go/crypto/openpgp/s2k/s2k.go
1040 go_debug_dwarf_files = \
1041 go/debug/dwarf/buf.go \
1042 go/debug/dwarf/const.go \
1043 go/debug/dwarf/entry.go \
1044 go/debug/dwarf/open.go \
1045 go/debug/dwarf/type.go \
1046 go/debug/dwarf/unit.go
1047 go_debug_elf_files = \
1048 go/debug/elf/elf.go \
1049 go/debug/elf/file.go
1050 go_debug_gosym_files = \
1051 go/debug/gosym/pclntab.go \
1052 go/debug/gosym/symtab.go
1053 go_debug_macho_files = \
1054 go/debug/macho/file.go \
1055 go/debug/macho/macho.go
1056 go_debug_pe_files = \
1057 go/debug/pe/file.go \
1060 go_debug_proc_files = \
1061 go/debug/proc/proc.go \
1062 go/debug/proc/proc_$(GOOS).go \
1063 $(GO_DEBUG_PROC_REGS_OS_ARCH_FILE)
1065 go_encoding_ascii85_files = \
1066 go/encoding/ascii85/ascii85.go
1067 go_encoding_base32_files = \
1068 go/encoding/base32/base32.go
1069 go_encoding_base64_files = \
1070 go/encoding/base64/base64.go
1071 go_encoding_binary_files = \
1072 go/encoding/binary/binary.go
1073 go_encoding_git85_files = \
1074 go/encoding/git85/git.go
1075 go_encoding_hex_files = \
1076 go/encoding/hex/hex.go
1077 go_encoding_line_files = \
1078 go/encoding/line/line.go
1079 go_encoding_pem_files = \
1080 go/encoding/pem/pem.go
1082 go_exp_datafmt_files = \
1083 go/exp/datafmt/datafmt.go \
1084 go/exp/datafmt/parser.go
1085 go_exp_draw_files = \
1086 go/exp/draw/draw.go \
1087 go/exp/draw/event.go
1088 go_exp_eval_files = \
1089 go/exp/eval/abort.go \
1090 go/exp/eval/bridge.go \
1091 go/exp/eval/compiler.go \
1092 go/exp/eval/expr.go \
1093 go/exp/eval/expr1.go \
1094 go/exp/eval/func.go \
1095 go/exp/eval/scope.go \
1096 go/exp/eval/stmt.go \
1097 go/exp/eval/type.go \
1098 go/exp/eval/typec.go \
1099 go/exp/eval/value.go \
1100 go/exp/eval/world.go
1104 go/go/ast/filter.go \
1105 go/go/ast/print.go \
1106 go/go/ast/resolve.go \
1107 go/go/ast/scope.go \
1110 go/go/doc/comment.go \
1112 go_go_parser_files = \
1113 go/go/parser/interface.go \
1114 go/go/parser/parser.go
1115 go_go_printer_files = \
1116 go/go/printer/nodes.go \
1117 go/go/printer/printer.go
1118 go_go_scanner_files = \
1119 go/go/scanner/errors.go \
1120 go/go/scanner/scanner.go
1121 go_go_token_files = \
1122 go/go/token/position.go \
1123 go/go/token/token.go
1124 go_go_typechecker_files = \
1125 go/go/typechecker/scope.go \
1126 go/go/typechecker/type.go \
1127 go/go/typechecker/typechecker.go \
1128 go/go/typechecker/universe.go
1130 go_hash_adler32_files = \
1131 go/hash/adler32/adler32.go
1132 go_hash_crc32_files = \
1133 go/hash/crc32/crc32.go
1134 go_hash_crc64_files = \
1135 go/hash/crc64/crc64.go
1136 go_hash_fnv_files = \
1139 go_http_cgi_files = \
1140 go/http/cgi/child.go \
1142 go_http_httptest_files = \
1143 go/http/httptest/recorder.go \
1144 go/http/httptest/server.go
1145 go_http_pprof_files = \
1146 go/http/pprof/pprof.go
1148 go_image_jpeg_files = \
1149 go/image/jpeg/huffman.go \
1150 go/image/jpeg/idct.go \
1151 go/image/jpeg/reader.go
1153 go_image_png_files = \
1154 go/image/png/reader.go \
1155 go/image/png/writer.go
1157 go_index_suffixarray_files = \
1158 go/index/suffixarray/qsufsort.go \
1159 go/index/suffixarray/suffixarray.go
1161 go_io_ioutil_files = \
1162 go/io/ioutil/ioutil.go \
1163 go/io/ioutil/tempfile.go
1165 go_mime_multipart_files = \
1166 go/mime/multipart/multipart.go
1168 go_net_dict_files = \
1171 go_net_textproto_files = \
1172 go/net/textproto/header.go \
1173 go/net/textproto/pipeline.go \
1174 go/net/textproto/reader.go \
1175 go/net/textproto/textproto.go \
1176 go/net/textproto/writer.go
1178 go_os_inotify_files = \
1179 go/os/inotify/inotify_linux.go
1181 go_os_signal_files = \
1182 go/os/signal/signal.go \
1185 go_path_filepath_files = \
1186 go/path/filepath/match.go \
1187 go/path/filepath/path.go \
1188 go/path/filepath/path_unix.go
1190 go_rpc_jsonrpc_files = \
1191 go/rpc/jsonrpc/client.go \
1192 go/rpc/jsonrpc/server.go
1194 go_runtime_debug_files = \
1195 go/runtime/debug/stack.go
1196 go_runtime_pprof_files = \
1197 go/runtime/pprof/pprof.go
1199 go_sync_atomic_files = \
1200 go/sync/atomic/doc.go
1201 go_sync_atomic_c_files = \
1202 go/sync/atomic/atomic.c
1204 go_testing_iotest_files = \
1205 go/testing/iotest/logger.go \
1206 go/testing/iotest/reader.go \
1207 go/testing/iotest/writer.go
1208 go_testing_quick_files = \
1209 go/testing/quick/quick.go
1210 go_testing_script_files = \
1211 go/testing/script/script.go
1213 # Define Syscall and Syscall6.
1215 syscall_syscall_file = syscalls/syscall_stubs.go
1217 syscall_syscall_file = syscalls/syscall.go
1220 # Declare libc functions that vary for largefile systems.
1222 # Always use lseek64 on GNU/Linux.
1223 syscall_filesize_file = syscalls/sysfile_largefile.go
1224 syscall_stat_file = syscalls/sysfile_stat_largefile.go
1225 else # !LIBGO_IS_LINUX
1228 # Use lseek64 on 32-bit Solaris/x86.
1229 syscall_filesize_file = syscalls/sysfile_largefile.go
1230 syscall_stat_file = syscalls/sysfile_stat_largefile.go
1231 else # !LIBGO_IS_386
1233 # Use lseek64 on 32-bit Solaris/SPARC.
1234 syscall_filesize_file = syscalls/sysfile_largefile.go
1235 syscall_stat_file = syscalls/sysfile_stat_largefile.go
1236 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1237 # Use lseek on 64-bit Solaris.
1238 syscall_filesize_file = syscalls/sysfile_regfile.go
1239 syscall_stat_file = syscalls/sysfile_stat_regfile.go
1240 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1241 endif # !LIBGO_IS_SOLARIS
1242 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1243 # Use lseek by default.
1244 syscall_filesize_file = syscalls/sysfile_regfile.go
1245 syscall_stat_file = syscalls/sysfile_stat_regfile.go
1246 endif # !LIBGO_IS_SOLARIS
1247 endif # !LIBGO_IS_LINUX
1250 # Define ForkExec, PtraceForkExec, and Exec.
1252 syscall_exec_os_file = syscalls/exec_stubs.go
1254 syscall_exec_os_file = syscalls/exec.go
1259 syscall_wait_file = syscalls/wait4.go
1261 syscall_wait_file = syscalls/waitpid.go
1266 syscall_sleep_file = syscalls/sleep_rtems.go
1268 syscall_sleep_file = syscalls/sleep_select.go
1273 syscall_errstr_file = syscalls/errstr_rtems.go
1276 syscall_errstr_file = syscalls/errstr.go
1278 syscall_errstr_file = syscalls/errstr_nor.go
1282 # Declare libc_strerror_r which is the Go name for strerror_r.
1284 # RTEMS uses newlib in which strerror_r returns char *.
1285 syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go
1288 # On GNU/Linux the POSIX strerror_r is called __xpg_strerror_r.
1289 syscall_errstr_decl_file = syscalls/errstr_decl_linux.go
1291 # On other systems we hope strerror_r is just strerror_r.
1292 syscall_errstr_decl_file = syscalls/errstr_decl.go
1296 # Define socket sizes and types.
1298 syscall_socket_os_file = syscalls/socket_linux.go
1301 syscall_socket_os_file = syscalls/socket_solaris.go
1303 syscall_socket_os_file = syscalls/socket_bsd.go
1307 # Support for epoll.
1309 syscall_socket_epoll_file = syscalls/socket_epoll.go
1311 syscall_socket_epoll_file =
1314 # Support for uname.
1317 # 32-bit Solaris 2/x86 needs _nuname, handled in syscall_solaris_386.go.
1318 syscall_uname_file =
1319 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1320 syscall_uname_file = syscalls/syscall_uname.go
1322 else # !LIBGO_IS_SOLARIS
1323 syscall_uname_file = syscalls/syscall_uname.go
1326 syscall_arch.go: s-syscall_arch; @true
1327 s-syscall_arch: Makefile
1328 rm -f syscall_arch.go.tmp
1329 echo "package syscall" > syscall_arch.go.tmp
1330 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1331 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1332 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1335 go_syscall_files = \
1336 $(syscall_errstr_file) \
1337 $(syscall_errstr_decl_file) \
1338 syscalls/exec_helpers.go \
1339 $(syscall_exec_os_file) \
1340 $(syscall_wait_file) \
1341 $(syscall_filesize_file) \
1342 $(syscall_stat_file) \
1343 $(syscall_sleep_file) \
1344 syscalls/socket.go \
1345 $(syscall_socket_os_file) \
1346 $(syscall_socket_epoll_file) \
1347 $(syscall_syscall_file) \
1348 $(syscall_uname_file) \
1349 syscalls/syscall_unix.go \
1350 syscalls/stringbyte.go \
1351 syscalls/syscall_$(GOOS).go \
1352 $(GO_SYSCALLS_SYSCALL_OS_ARCH_FILE) \
1353 syscalls/sysfile_posix.go \
1356 go_syscall_c_files = \
1360 # os_lib_inotify_lo = os/inotify.lo
1390 netchan/netchan.lo \
1395 reflect/reflect.lo \
1398 runtime/runtime.lo \
1399 scanner/scanner.lo \
1402 strconv/strconv.lo \
1403 strings/strings.lo \
1406 syslog/syslog_c.lo \
1407 tabwriter/tabwriter.lo \
1408 template/template.lo \
1411 unicode/unicode.lo \
1414 websocket/websocket.lo \
1426 container/vector.lo \
1428 crypto/blowfish.lo \
1434 crypto/elliptic.lo \
1442 crypto/ripemd160.lo \
1452 crypto/openpgp/armor.lo \
1453 crypto/openpgp/error.lo \
1454 crypto/openpgp/packet.lo \
1455 crypto/openpgp/s2k.lo \
1462 encoding/ascii85.lo \
1463 encoding/base32.lo \
1464 encoding/base64.lo \
1465 encoding/binary.lo \
1489 index/suffixarray.lo \
1494 $(os_lib_inotify_lo) \
1502 syscalls/syscall.lo \
1504 testing/testing.lo \
1509 libgo_la_SOURCES = $(runtime_files)
1511 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1514 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1516 libgobegin_a_SOURCES = \
1519 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1521 GOCFLAGS = $(CFLAGS)
1522 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1523 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1525 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1526 $(AM_GOCFLAGS) $(GOCFLAGS)
1528 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1529 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1531 # Build the .go files for a package, generating a .lo file.
1534 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1535 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1547 GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1549 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1550 export RUNTESTFLAGS; \
1553 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1554 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1555 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1556 export LD_LIBRARY_PATH; \
1557 rm -f $@-testsum $@-testlog; \
1558 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1559 test "$${prefix}" != "." || prefix="$(@D)"; \
1560 if test "$(use_dejagnu)" = "yes"; then \
1561 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1563 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1564 echo "PASS: $(@D)" >> $@-testlog; \
1565 echo "PASS: $(@D)"; \
1566 echo "PASS: $(@D)" > $@-testsum; \
1568 echo "FAIL: $(@D)" >> $@-testlog; \
1570 echo "FAIL: $(@D)" > $@-testsum; \
1575 # Check a package that is only tested if GCCGO_RUN_ALL_TESTS is set.
1576 CHECK_ON_REQUEST = \
1577 if test "$$GCCGO_RUN_ALL_TESTS" != ""; then \
1580 rm -f $@-testsum $@-testlog; \
1581 echo "Set GCCGO_RUN_ALL_TESTS in environment to run $(@D) test" > $@-testlog; \
1582 echo "UNTESTED: $(@D)" >> $@-testlog; \
1583 echo "UNTESTED: $(@D)"; \
1584 echo "UNTESTED: $(@D)" > $@-testsum; \
1587 # Build all packages before checking any.
1588 CHECK_DEPS = libgo.la libgobegin.a \
1589 $(toolexeclibgo_DATA) \
1590 $(toolexeclibgoarchive_DATA) \
1591 $(toolexeclibgocompress_DATA) \
1592 $(toolexeclibgocontainer_DATA) \
1593 $(toolexeclibgocrypto_DATA) \
1594 $(toolexeclibgocryptoopenpgp_DATA) \
1595 $(toolexeclibgodebug_DATA) \
1596 $(toolexeclibgoencoding_DATA) \
1597 $(toolexeclibgoexp_DATA) \
1598 $(toolexeclibgogo_DATA) \
1599 $(toolexeclibgohash_DATA) \
1600 $(toolexeclibgohttp_DATA) \
1601 $(toolexeclibgoimage_DATA) \
1602 $(toolexeclibgoindex_DATA) \
1603 $(toolexeclibgoio_DATA) \
1604 $(toolexeclibgomime_DATA) \
1605 $(toolexeclibgonet_DATA) \
1606 $(toolexeclibgoos_DATA) \
1607 $(toolexeclibgopath_DATA) \
1608 $(toolexeclibgorpc_DATA) \
1609 $(toolexeclibgoruntime_DATA) \
1610 $(toolexeclibgosync_DATA) \
1611 $(toolexeclibgotesting_DATA)
1613 asn1/asn1.lo: $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1614 strconv.gox strings.gox time.gox
1616 asn1/check: $(CHECK_DEPS)
1620 big/big.lo: $(go_big_files) fmt.gox rand.gox strings.gox os.gox
1622 big/check: $(CHECK_DEPS)
1626 bufio/bufio.lo: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox utf8.gox
1628 bufio/check: $(CHECK_DEPS)
1632 bytes/bytes.lo: $(go_bytes_files) io.gox os.gox unicode.gox utf8.gox
1634 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1635 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1636 bytes/check: $(CHECK_DEPS)
1640 cmath/cmath.lo: $(go_cmath_files) math.gox
1642 cmath/check: $(CHECK_DEPS)
1646 crypto/crypto.lo: $(go_crypto_files) hash.gox
1648 crypto/check: $(CHECK_DEPS)
1650 .PHONY: crypto/check
1652 ebnf/ebnf.lo: $(go_ebnf_files) container/vector.gox go/scanner.gox \
1653 go/token.gox os.gox strconv.gox unicode.gox utf8.gox
1655 ebnf/check: $(CHECK_DEPS)
1659 exec/exec.lo: $(go_exec_files) os.gox strconv.gox strings.gox
1661 exec/check: $(CHECK_DEPS)
1665 expvar/expvar.lo: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \
1666 log.gox os.gox runtime.gox strconv.gox sync.gox
1668 expvar/check: $(CHECK_DEPS)
1670 .PHONY: expvar/check
1672 flag/flag.lo: $(go_flag_files) fmt.gox os.gox strconv.gox
1674 flag/check: $(CHECK_DEPS)
1678 fmt/fmt.lo: $(go_fmt_files) bytes.gox io.gox math.gox os.gox reflect.gox \
1679 strconv.gox strings.gox unicode.gox utf8.gox
1681 fmt/check: $(CHECK_DEPS)
1685 gob/gob.lo: $(go_gob_files) bufio.gox bytes.gox fmt.gox io.gox math.gox \
1686 os.gox reflect.gox runtime.gox strings.gox sync.gox \
1687 unicode.gox utf8.gox
1689 gob/check: $(CHECK_DEPS)
1693 hash/hash.lo: $(go_hash_files) io.gox
1695 hash/check: $(CHECK_DEPS)
1699 html/html.lo: $(go_html_files) bytes.gox io.gox os.gox strconv.gox strings.gox \
1702 html/check: $(CHECK_DEPS)
1706 http/http.lo: $(go_http_files) bufio.gox bytes.gox container/vector.gox \
1707 crypto/rand.gox crypto/tls.gox encoding/base64.gox fmt.gox \
1708 io.gox io/ioutil.gox log.gox mime.gox mime/multipart.gox \
1709 net.gox net/textproto.gox os.gox path.gox path/filepath.gox \
1710 sort.gox strconv.gox strings.gox sync.gox time.gox utf8.gox
1712 http/check: $(CHECK_DEPS)
1716 image/image.lo: $(go_image_files) bufio.gox io.gox os.gox strconv.gox
1718 image/check: $(CHECK_DEPS)
1722 io/io.lo: $(go_io_files) os.gox sync.gox
1724 io/check: $(CHECK_DEPS)
1728 json/json.lo: $(go_json_files) bytes.gox container/vector.gox \
1729 encoding/base64.gox fmt.gox io.gox math.gox os.gox \
1730 reflect.gox runtime.gox strconv.gox strings.gox unicode.gox \
1733 json/check: $(CHECK_DEPS)
1737 log/log.lo: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \
1740 log/check: $(CHECK_DEPS)
1744 math/math.lo: $(go_math_files)
1746 math/check: $(CHECK_DEPS)
1750 mime/mime.lo: $(go_mime_files) bufio.gox bytes.gox os.gox strings.gox \
1751 sync.gox unicode.gox
1753 mime/check: $(CHECK_DEPS)
1757 net/net.lo: $(go_net_files) bytes.gox fmt.gox io.gox os.gox rand.gox \
1758 reflect.gox strconv.gox strings.gox sync.gox syscall.gox \
1761 net/check: $(CHECK_DEPS)
1762 @$(CHECK_ON_REQUEST)
1765 netchan/netchan.lo: $(go_netchan_files) gob.gox io.gox log.gox net.gox os.gox \
1766 reflect.gox strconv.gox sync.gox time.gox
1768 netchan/check: $(CHECK_DEPS)
1770 .PHONY: netchan/check
1772 os/os.lo: $(go_os_files) runtime.gox sync.gox syscall.gox
1774 os/check: $(CHECK_DEPS)
1778 patch/patch.lo: $(go_patch_files) bytes.gox compress/zlib.gox \
1779 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
1780 path.gox strings.gox
1782 patch/check: $(CHECK_DEPS)
1786 path/path.lo: $(go_path_files) os.gox strings.gox utf8.gox
1788 path/check: $(CHECK_DEPS)
1792 rand/rand.lo: $(go_rand_files) math.gox sync.gox
1794 rand/check: $(CHECK_DEPS)
1798 reflect/reflect.lo: $(go_reflect_files) math.gox runtime.gox strconv.gox \
1801 reflect/check: $(CHECK_DEPS)
1803 .PHONY: reflect/check
1805 regexp/regexp.lo: $(go_regexp_files) bytes.gox io.gox os.gox strings.gox \
1808 regexp/check: $(CHECK_DEPS)
1810 .PHONY: regexp/check
1812 rpc/rpc.lo: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox log.gox \
1813 net.gox os.gox reflect.gox sort.gox strings.gox strconv.gox \
1814 sync.gox template.gox unicode.gox utf8.gox
1816 rpc/check: $(CHECK_DEPS)
1820 runtime/runtime.lo: $(go_runtime_files)
1822 runtime/check: $(CHECK_DEPS)
1824 .PHONY: runtime/check
1826 scanner/scanner.lo: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \
1827 unicode.gox utf8.gox
1829 scanner/check: $(CHECK_DEPS)
1831 .PHONY: scanner/check
1833 smtp/smtp.lo: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \
1834 net.gox net/textproto.gox os.gox strings.gox
1836 smtp/check: $(CHECK_DEPS)
1840 sort/sort.lo: $(go_sort_files)
1842 sort/check: $(CHECK_DEPS)
1846 strconv/strconv.lo: $(go_strconv_files) bytes.gox math.gox os.gox strings.gox \
1847 unicode.gox utf8.gox
1849 strconv/check: $(CHECK_DEPS)
1851 .PHONY: strconv/check
1853 strings/strings.lo: $(go_strings_files) os.gox unicode.gox utf8.gox
1855 strings/check: $(CHECK_DEPS)
1857 .PHONY: strings/check
1859 sync/sync.lo: $(go_sync_files) runtime.gox sync/atomic.gox
1861 sync/check: $(CHECK_DEPS)
1865 syslog/syslog.lo: $(go_syslog_files) fmt.gox log.gox net.gox os.gox syscall.gox
1867 syslog/syslog_c.lo: $(go_syslog_c_files) syslog/syslog.lo
1868 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syslog/syslog_c.c
1869 syslog/check: $(CHECK_DEPS)
1870 @$(CHECK_ON_REQUEST)
1871 .PHONY: syslog/check
1873 tabwriter/tabwriter.lo: $(go_tabwriter_files) bytes.gox io.gox os.gox utf8.gox
1875 tabwriter/check: $(CHECK_DEPS)
1877 .PHONY: tabwriter/check
1879 template/template.lo: $(go_template_files) bytes.gox fmt.gox io.gox os.gox \
1880 reflect.gox runtime.gox strings.gox container/vector.gox
1882 template/check: $(CHECK_DEPS)
1884 .PHONY: template/check
1886 testing/testing.lo: $(go_testing_files) flag.gox fmt.gox os.gox regexp.gox \
1887 runtime.gox runtime/pprof.gox time.gox
1889 testing/check: $(CHECK_DEPS)
1891 .PHONY: testing/check
1893 time/time.lo: $(go_time_files) bytes.gox container/heap.gox io/ioutil.gox \
1894 os.gox strconv.gox sync.gox syscall.gox
1896 time/check: $(CHECK_DEPS)
1900 try/try.lo: $(go_try_files) fmt.gox io.gox os.gox reflect.gox unicode.gox
1902 try/check: $(CHECK_DEPS)
1906 unicode/unicode.lo: $(go_unicode_files)
1908 unicode/check: $(CHECK_DEPS)
1910 .PHONY: unicode/check
1912 utf16/utf16.lo: $(go_utf16_files) unicode.gox
1914 utf16/check: $(CHECK_DEPS)
1918 utf8/utf8.lo: $(go_utf8_files) unicode.gox
1920 utf8/check: $(CHECK_DEPS)
1924 websocket/websocket.lo: $(go_websocket_files) bufio.gox bytes.gox \
1925 container/vector.gox crypto/md5.gox crypto/tls.gox \
1926 encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \
1927 rand.gox strings.gox
1929 websocket/check: $(CHECK_DEPS)
1931 .PHONY: websocket/check
1933 xml/xml.lo: $(go_xml_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
1934 reflect.gox strconv.gox strings.gox unicode.gox utf8.gox
1936 xml/check: $(CHECK_DEPS)
1940 archive/tar.lo: $(go_archive_tar_files) bytes.gox io.gox os.gox strconv.gox \
1943 archive/tar/check: $(CHECK_DEPS)
1944 @$(MKDIR_P) archive/tar
1946 .PHONY: archive/tar/check
1948 archive/zip.lo: $(go_archive_zip_files) bufio.gox bytes.gox \
1949 compress/flate.gox hash.gox hash/crc32.gox \
1950 encoding/binary.gox io.gox io/ioutil.gox os.gox
1952 archive/zip/check: $(CHECK_DEPS)
1953 @$(MKDIR_P) archive/zip
1955 .PHONY: archive/zip/check
1957 compress/bzip2.lo: $(go_compress_bzip2_files) bufio.gox io.gox os.gox sort.gox
1959 compress/bzip2/check: $(CHECK_DEPS)
1960 @$(MKDIR_P) compress/bzip2
1962 .PHONY: compress/bzip2/check
1964 compress/flate.lo: $(go_compress_flate_files) bufio.gox io.gox math.gox \
1965 os.gox sort.gox strconv.gox
1967 compress/flate/check: $(CHECK_DEPS)
1968 @$(MKDIR_P) compress/flate
1970 .PHONY: compress/flate/check
1972 compress/gzip.lo: $(go_compress_gzip_files) bufio.gox compress/flate.gox \
1973 hash.gox hash/crc32.gox io.gox os.gox
1975 compress/gzip/check: $(CHECK_DEPS)
1976 @$(MKDIR_P) compress/gzip
1978 .PHONY: compress/gzip/check
1980 compress/lzw.lo: $(go_compress_lzw_files) bufio.gox fmt.gox io.gox os.gox
1982 compress/lzw/check: $(CHECK_DEPS)
1983 @$(MKDIR_P) compress/lzw
1985 .PHONY: compress/lzw/check
1987 compress/zlib.lo: $(go_compress_zlib_files) bufio.gox compress/flate.gox \
1988 hash.gox hash/adler32.gox io.gox os.gox
1990 compress/zlib/check: $(CHECK_DEPS)
1991 @$(MKDIR_P) compress/zlib
1993 .PHONY: compress/zlib/check
1995 container/heap.lo: $(go_container_heap_files) sort.gox
1997 container/heap/check: $(CHECK_DEPS)
1998 @$(MKDIR_P) container/heap
2000 .PHONY: container/heap/check
2002 container/list.lo: $(go_container_list_files)
2004 container/list/check: $(CHECK_DEPS)
2005 @$(MKDIR_P) container/list
2007 .PHONY: container/list/check
2009 container/ring.lo: $(go_container_ring_files)
2011 container/ring/check: $(CHECK_DEPS)
2012 @$(MKDIR_P) container/ring
2014 .PHONY: container/ring/check
2016 container/vector.lo: $(go_container_vector_files)
2018 container/vector/check: $(CHECK_DEPS)
2019 @$(MKDIR_P) container/vector
2021 .PHONY: container/vector/check
2023 crypto/aes.lo: $(go_crypto_aes_files) os.gox strconv.gox
2025 crypto/aes/check: $(CHECK_DEPS)
2026 @$(MKDIR_P) crypto/aes
2028 .PHONY: crypto/aes/check
2030 crypto/blowfish.lo: $(go_crypto_blowfish_files) os.gox strconv.gox
2032 crypto/blowfish/check: $(CHECK_DEPS)
2033 @$(MKDIR_P) crypto/blowfish
2035 .PHONY: crypto/blowfish/check
2037 crypto/cast5.lo: $(go_crypto_cast5_files) os.gox
2039 crypto/cast5/check: $(CHECK_DEPS)
2040 @$(MKDIR_P) crypto/cast5
2042 .PHONY: crypto/cast5/check
2044 crypto/cipher.lo: $(go_crypto_cipher_files) io.gox os.gox
2046 crypto/cipher/check: $(CHECK_DEPS)
2047 @$(MKDIR_P) crypto/cipher
2049 .PHONY: crypto/cipher/check
2051 crypto/des.lo: $(go_crypto_des_files) encoding/binary.gox os.gox strconv.gox
2053 crypto/des/check: $(CHECK_DEPS)
2054 @$(MKDIR_P) crypto/des
2056 .PHONY: crypto/des/check
2058 crypto/dsa.lo: $(go_crypto_dsa_files) big.gox io.gox os.gox
2060 crypto/dsa/check: $(CHECK_DEPS)
2061 @$(MKDIR_P) crypto/dsa
2063 .PHONY: crypto/dsa/check
2065 crypto/ecdsa.lo: $(go_crypto_ecdsa_files) big.gox crypto/elliptic.gox io.gox \
2068 crypto/ecdsa/check: $(CHECK_DEPS)
2069 @$(MKDIR_P) crypto/ecdsa
2071 .PHONY: crypto/ecdsa/check
2073 crypto/elliptic.lo: $(go_crypto_elliptic_files) big.gox io.gox os.gox sync.gox
2075 crypto/elliptic/check: $(CHECK_DEPS)
2076 @$(MKDIR_P) crypto/elliptic
2078 .PHONY: crypto/elliptic/check
2080 crypto/hmac.lo: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \
2081 crypto/sha256.gox hash.gox os.gox
2083 crypto/hmac/check: $(CHECK_DEPS)
2084 @$(MKDIR_P) crypto/hmac
2086 .PHONY: crypto/hmac/check
2088 crypto/md4.lo: $(go_crypto_md4_files) crypto.gox hash.gox os.gox
2090 crypto/md4/check: $(CHECK_DEPS)
2091 @$(MKDIR_P) crypto/md4
2093 .PHONY: crypto/md4/check
2095 crypto/md5.lo: $(go_crypto_md5_files) crypto.gox hash.gox os.gox
2097 crypto/md5/check: $(CHECK_DEPS)
2098 @$(MKDIR_P) crypto/md5
2100 .PHONY: crypto/md5/check
2102 crypto/ocsp.lo: $(go_crypto_ocsp_files) asn1.gox crypto.gox crypto/rsa.gox \
2103 crypto/sha1.gox crypto/x509.gox os.gox time.gox
2105 crypto/ocsp/check: $(CHECK_DEPS)
2106 @$(MKDIR_P) crypto/ocsp
2108 .PHONY: crypto/ocsp/check
2110 crypto/openpgp.lo: $(go_crypto_openpgp_files) crypto.gox crypto/dsa.gox \
2111 crypto/openpgp/armor.gox crypto/openpgp/error.gox \
2112 crypto/openpgp/packet.gox crypto/rsa.gox crypto/sha256.gox \
2113 hash.gox io.gox os.gox strconv.gox time.gox
2115 crypto/openpgp/check: $(CHECK_DEPS)
2116 @$(MKDIR_P) crypto/openpgp
2118 .PHONY: crypto/openpgp/check
2120 crypto/rand.lo: $(go_crypto_rand_files) bufio.gox crypto/aes.gox io.gox \
2121 os.gox sync.gox time.gox
2123 crypto/rand/check: $(CHECK_DEPS)
2124 @$(MKDIR_P) crypto/rand
2126 .PHONY: crypto/rand/check
2128 crypto/rc4.lo: $(go_crypto_rc4_files) os.gox strconv.gox
2130 crypto/rc4/check: $(CHECK_DEPS)
2131 @$(MKDIR_P) crypto/rc4
2133 .PHONY: crypto/rc4/check
2135 crypto/ripemd160.lo: $(go_crypto_ripemd160_files) crypto.gox hash.gox os.gox
2137 crypto/ripemd160/check: $(CHECK_DEPS)
2138 @$(MKDIR_P) crypto/ripemd160
2140 .PHONY: crypto/ripemd160/check
2142 crypto/rsa.lo: $(go_crypto_rsa_files) big.gox crypto.gox crypto/sha1.gox \
2143 crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox \
2146 crypto/rsa/check: $(CHECK_DEPS)
2147 @$(MKDIR_P) crypto/rsa
2149 .PHONY: crypto/rsa/check
2151 crypto/sha1.lo: $(go_crypto_sha1_files) crypto.gox hash.gox os.gox
2153 crypto/sha1/check: $(CHECK_DEPS)
2154 @$(MKDIR_P) crypto/sha1
2156 .PHONY: crypto/sha1/check
2158 crypto/sha256.lo: $(go_crypto_sha256_files) crypto.gox hash.gox os.gox
2160 crypto/sha256/check: $(CHECK_DEPS)
2161 @$(MKDIR_P) crypto/sha256
2163 .PHONY: crypto/sha256/check
2165 crypto/sha512.lo: $(go_crypto_sha512_files) crypto.gox hash.gox os.gox
2167 crypto/sha512/check: $(CHECK_DEPS)
2168 @$(MKDIR_P) crypto/sha512
2170 .PHONY: crypto/sha512/check
2172 crypto/subtle.lo: $(go_crypto_subtle_files)
2174 crypto/subtle/check: $(CHECK_DEPS)
2175 @$(MKDIR_P) crypto/subtle
2177 .PHONY: crypto/subtle/check
2179 crypto/tls.lo: $(go_crypto_tls_files) big.gox bufio.gox bytes.gox \
2180 container/list.gox crypto.gox crypto/aes.gox crypto/cipher.gox \
2181 crypto/elliptic.gox crypto/hmac.gox crypto/md5.gox \
2182 crypto/rc4.gox crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
2183 crypto/subtle.gox crypto/rsa.gox crypto/sha1.gox \
2184 crypto/x509.gox encoding/pem.gox fmt.gox hash.gox io.gox \
2185 io/ioutil.gox net.gox os.gox strings.gox sync.gox time.gox
2187 crypto/tls/check: $(CHECK_DEPS)
2188 @$(MKDIR_P) crypto/tls
2190 .PHONY: crypto/tls/check
2192 crypto/twofish.lo: $(go_crypto_twofish_files) os.gox strconv.gox
2194 crypto/twofish/check: $(CHECK_DEPS)
2195 @$(MKDIR_P) crypto/twofish
2197 .PHONY: crypto/twofish/check
2199 crypto/x509.lo: $(go_crypto_x509_files) asn1.gox big.gox container/vector.gox \
2200 crypto.gox crypto/rsa.gox crypto/sha1.gox hash.gox os.gox \
2201 strings.gox time.gox
2203 crypto/x509/check: $(CHECK_DEPS)
2204 @$(MKDIR_P) crypto/x509
2206 .PHONY: crypto/x509/check
2208 crypto/xtea.lo: $(go_crypto_xtea_files) os.gox strconv.gox
2210 crypto/xtea/check: $(CHECK_DEPS)
2211 @$(MKDIR_P) crypto/xtea
2213 .PHONY: crypto/xtea/check
2215 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files) bytes.gox \
2216 crypto/openpgp/error.gox encoding/base64.gox \
2217 encoding/line.gox io.gox os.gox
2219 crypto/openpgp/armor/check: $(CHECK_DEPS)
2220 @$(MKDIR_P) crypto/openpgp/armor
2222 .PHONY: crypto/openpgp/armor/check
2224 crypto/openpgp/error.lo: $(go_crypto_openpgp_error_files) strconv.gox
2226 crypto/openpgp/error/check: $(CHECK_DEPS)
2227 @$(MKDIR_P) crypto/openpgp/error
2229 .PHONY: crypto/openpgp/error/check
2231 crypto/openpgp/packet.lo: $(go_crypto_openpgp_packet_files) big.gox bytes.gox \
2232 compress/flate.gox compress/zlib.gox crypto.gox \
2233 crypto/aes.gox crypto/cast5.gox crypto/cipher.gox \
2234 crypto/dsa.gox crypto/openpgp/error.gox \
2235 crypto/openpgp/s2k.gox crypto/rand.gox crypto/rsa.gox \
2236 crypto/sha1.gox crypto/subtle.gox encoding/binary.gox fmt.gox \
2237 hash.gox io.gox io/ioutil.gox os.gox strconv.gox strings.gox
2239 crypto/openpgp/packet/check: $(CHECK_DEPS)
2240 @$(MKDIR_P) crypto/openpgp/packet
2242 .PHONY: crypto/openpgp/packet/check
2244 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files) crypto.gox \
2245 crypto/md5.gox crypto/openpgp/error.gox crypto/ripemd160.gox \
2246 crypto/sha1.gox crypto/sha256.gox crypto/sha512.gox hash.gox \
2249 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2250 @$(MKDIR_P) crypto/openpgp/s2k
2252 .PHONY: crypto/openpgp/s2k/check
2254 debug/dwarf.lo: $(go_debug_dwarf_files) encoding/binary.gox os.gox strconv.gox
2256 debug/dwarf/check: $(CHECK_DEPS)
2257 @$(MKDIR_P) debug/dwarf
2259 .PHONY: debug/dwarf/check
2261 debug/elf.lo: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
2262 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2264 debug/elf/check: $(CHECK_DEPS)
2265 @$(MKDIR_P) debug/elf
2267 .PHONY: debug/elf/check
2269 debug/gosym.lo: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \
2270 strconv.gox strings.gox
2272 debug/gosym/check: $(CHECK_DEPS)
2273 @$(MKDIR_P) debug/gosym
2275 .PHONY: debug/gosym/check
2277 debug/macho.lo: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
2278 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2280 debug/macho/check: $(CHECK_DEPS)
2281 @$(MKDIR_P) debug/macho
2283 .PHONY: debug/macho/check
2285 debug/pe.lo: $(go_debug_pe_files) debug/dwarf.gox \
2286 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2288 debug/pe/check: $(CHECK_DEPS)
2289 @$(MKDIR_P) debug/pe
2291 .PHONY: debug/pe/check
2293 debug/proc.lo: $(go_debug_proc_files) container/vector.gox fmt.gox \
2294 io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \
2295 sync.gox syscall.gox
2297 debug/proc/check: $(CHECK_DEPS)
2298 @$(MKDIR_P) debug/proc
2300 .PHONY: debug/proc/check
2302 encoding/ascii85.lo: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox
2304 encoding/ascii85/check: $(CHECK_DEPS)
2305 @$(MKDIR_P) encoding/ascii85
2307 .PHONY: encoding/ascii85/check
2309 encoding/base32.lo: $(go_encoding_base32_files) io.gox os.gox strconv.gox
2311 encoding/base32/check: $(CHECK_DEPS)
2312 @$(MKDIR_P) encoding/base32
2314 .PHONY: encoding/base32/check
2316 encoding/base64.lo: $(go_encoding_base64_files) io.gox os.gox strconv.gox
2318 encoding/base64/check: $(CHECK_DEPS)
2319 @$(MKDIR_P) encoding/base64
2321 .PHONY: encoding/base64/check
2323 encoding/binary.lo: $(go_encoding_binary_files) io.gox math.gox os.gox \
2326 encoding/binary/check: $(CHECK_DEPS)
2327 @$(MKDIR_P) encoding/binary
2329 .PHONY: encoding/binary/check
2331 encoding/git85.lo: $(go_encoding_git85_files) bytes.gox io.gox os.gox \
2334 encoding/git85/check: $(CHECK_DEPS)
2335 @$(MKDIR_P) encoding/git85
2337 .PHONY: encoding/git85/check
2339 encoding/hex.lo: $(go_encoding_hex_files) os.gox strconv.gox
2341 encoding/hex/check: $(CHECK_DEPS)
2342 @$(MKDIR_P) encoding/hex
2344 .PHONY: encoding/hex/check
2346 encoding/line.lo: $(go_encoding_line_files) io.gox os.gox
2348 encoding/line/check: $(CHECK_DEPS)
2349 @$(MKDIR_P) encoding/line
2351 .PHONY: encoding/line/check
2353 encoding/pem.lo: $(go_encoding_pem_files) bytes.gox encoding/base64.gox
2355 encoding/pem/check: $(CHECK_DEPS)
2356 @$(MKDIR_P) encoding/pem
2358 .PHONY: encoding/pem/check
2360 exp/datafmt.lo: $(go_exp_datafmt_files) bytes.gox container/vector.gox \
2361 fmt.gox go/scanner.gox go/token.gox io.gox os.gox reflect.gox \
2362 runtime.gox strconv.gox strings.gox
2364 exp/datafmt/check: $(CHECK_DEPS)
2365 @$(MKDIR_P) exp/datafmt
2367 .PHONY: exp/datafmt/check
2369 exp/draw.lo: $(go_exp_draw_files) image.gox os.gox
2371 exp/draw/check: $(CHECK_DEPS)
2372 @$(MKDIR_P) exp/draw
2374 .PHONY: exp/draw/check
2376 exp/eval.lo: $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \
2377 go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \
2378 strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox
2380 exp/eval/check: $(CHECK_DEPS)
2381 @$(MKDIR_P) exp/eval
2383 .PHONY: exp/eval/check
2385 go/ast.lo: $(go_go_ast_files) bytes.gox fmt.gox go/scanner.gox go/token.gox \
2386 io.gox os.gox reflect.gox unicode.gox utf8.gox
2388 go/ast/check: $(CHECK_DEPS)
2391 .PHONY: go/ast/check
2393 go/doc.lo: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \
2394 sort.gox strings.gox template.gox
2396 go/doc/check: $(CHECK_DEPS)
2399 .PHONY: go/doc/check
2401 go/parser.lo: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2402 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2403 path/filepath.gox strings.gox
2405 go/parser/check: $(CHECK_DEPS)
2406 @$(MKDIR_P) go/parser
2408 .PHONY: go/parser/check
2410 go/printer.lo: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2411 go/token.gox io.gox os.gox path/filepath.gox reflect.gox \
2412 runtime.gox strings.gox tabwriter.gox
2414 go/printer/check: $(CHECK_DEPS)
2415 @$(MKDIR_P) go/printer
2417 .PHONY: go/printer/check
2419 go/scanner.lo: $(go_go_scanner_files) bytes.gox container/vector.gox fmt.gox \
2420 go/token.gox io.gox os.gox path/filepath.gox sort.gox \
2421 strconv.gox unicode.gox utf8.gox
2423 go/scanner/check: $(CHECK_DEPS)
2424 @$(MKDIR_P) go/scanner
2426 .PHONY: go/scanner/check
2428 go/token.lo: $(go_go_token_files) fmt.gox strconv.gox
2430 go/token/check: $(CHECK_DEPS)
2431 @$(MKDIR_P) go/token
2433 .PHONY: go/token/check
2435 go/typechecker.lo: $(go_go_typechecker_files) fmt.gox go/ast.gox go/token.gox \
2436 go/scanner.gox os.gox
2438 go/typechecker/check: $(CHECK_DEPS)
2439 @$(MKDIR_P) go/typechecker
2441 .PHONY: go/typechecker/check
2443 hash/adler32.lo: $(go_hash_adler32_files) hash.gox os.gox
2445 hash/adler32/check: $(CHECK_DEPS)
2446 @$(MKDIR_P) hash/adler32
2448 .PHONY: hash/adler32/check
2450 hash/crc32.lo: $(go_hash_crc32_files) hash.gox os.gox
2452 hash/crc32/check: $(CHECK_DEPS)
2453 @$(MKDIR_P) hash/crc32
2455 .PHONY: hash/crc32/check
2457 hash/crc64.lo: $(go_hash_crc64_files) hash.gox os.gox
2459 hash/crc64/check: $(CHECK_DEPS)
2460 @$(MKDIR_P) hash/crc64
2462 .PHONY: hash/crc64/check
2464 hash/fnv.lo: $(go_hash_fnv_files) encoding/binary.gox hash.gox os.gox
2466 hash/fnv/check: $(CHECK_DEPS)
2467 @$(MKDIR_P) hash/fnv
2469 .PHONY: hash/fnv/check
2471 http/cgi.lo: $(go_http_cgi_files) bufio.gox bytes.gox encoding/line.gox \
2472 exec.gox fmt.gox http.gox io.gox io/ioutil.gox log.gox \
2473 os.gox path/filepath.gox regexp.gox strconv.gox strings.gox
2475 http/cgi/check: $(CHECK_DEPS)
2476 @$(MKDIR_P) http/cgi
2478 .PHONY: http/cgi/check
2480 http/httptest.lo: $(go_http_httptest_files) bytes.gox crypto/rand.gox \
2481 crypto/tls.gox fmt.gox http.gox net.gox os.gox time.gox
2483 http/httptest/check: $(CHECK_DEPS)
2484 @$(MKDIR_P) http/httptest
2486 .PHONY: http/httptest/check
2488 http/pprof.lo: $(go_http_pprof_files) bufio.gox fmt.gox http.gox os.gox \
2489 runtime.gox runtime/pprof.gox strconv.gox strings.gox
2491 http/pprof/check: $(CHECK_DEPS)
2492 @$(MKDIR_P) http/pprof
2494 .PHONY: http/pprof/check
2496 image/jpeg.lo: $(go_image_jpeg_files) bufio.gox image.gox io.gox os.gox
2498 image/jpeg/check: $(CHECK_DEPS)
2499 @$(MKDIR_P) image/jpeg
2501 .PHONY: image/jpeg/check
2503 image/png.lo: $(go_image_png_files) bufio.gox compress/zlib.gox fmt.gox \
2504 hash.gox hash/crc32.gox image.gox io.gox os.gox strconv.gox
2506 image/png/check: $(CHECK_DEPS)
2507 @$(MKDIR_P) image/png
2509 .PHONY: image/png/check
2511 index/suffixarray.lo: $(go_index_suffixarray_files) bytes.gox regexp.gox \
2514 index/suffixarray/check: $(CHECK_DEPS)
2515 @$(MKDIR_P) index/suffixarray
2517 .PHONY: index/suffixarray/check
2519 io/ioutil.lo: $(go_io_ioutil_files) bytes.gox io.gox os.gox path/filepath.gox \
2520 sort.gox strconv.gox
2522 io/ioutil/check: $(CHECK_DEPS)
2523 @$(MKDIR_P) io/ioutil
2525 .PHONY: io/ioutil/check
2527 mime/multipart.lo: $(go_mime_multipart_files) bufio.gox bytes.gox io.gox \
2528 mime.gox net/textproto.gox os.gox regexp.gox strings.gox
2530 mime/multipart/check: $(CHECK_DEPS)
2531 @$(MKDIR_P) mime/multipart
2533 .PHONY: mime/multipart/check
2535 net/dict.lo: $(go_net_dict_files) container/vector.gox net/textproto.gox \
2536 os.gox strconv.gox strings.gox
2539 net/textproto.lo: $(go_net_textproto_files) bufio.gox bytes.gox \
2540 container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \
2541 os.gox strconv.gox sync.gox
2543 net/textproto/check: $(CHECK_DEPS)
2544 @$(MKDIR_P) net/textproto
2546 .PHONY: net/textproto/check
2548 os/inotify.lo: $(go_os_inotify_files) fmt.gox os.gox strings.gox syscall.gox
2550 os/inotify/check: $(CHECK_DEPS)
2551 @$(MKDIR_P) os/inotify
2553 .PHONY: os/inotify/check
2555 os/signal.lo: $(go_os_signal_files) runtime.gox strconv.gox
2557 os/signal/check: $(CHECK_DEPS)
2558 @$(MKDIR_P) os/signal
2560 .PHONY: os/signal/check
2562 unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go
2563 $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp
2566 path/filepath.lo: $(go_path_filepath_files) bytes.gox os.gox sort.gox \
2567 strings.gox utf8.gox
2569 path/filepath/check: $(CHECK_DEPS)
2570 @$(MKDIR_P) path/filepath
2572 .PHONY: path/filepath/check
2574 rpc/jsonrpc.lo: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \
2575 os.gox rpc.gox sync.gox
2577 rpc/jsonrpc/check: $(CHECK_DEPS)
2578 @$(MKDIR_P) rpc/jsonrpc
2580 .PHONY: rpc/jsonrpc/check
2582 runtime/debug.lo: $(go_runtime_debug_files) bytes.gox fmt.gox io/ioutil.gox \
2585 runtime/debug/check: $(CHECK_DEPS)
2586 @$(MKDIR_P) runtime/debug
2588 .PHONY: runtime/debug/check
2590 runtime/pprof.lo: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \
2591 runtime.gox sync.gox
2593 runtime/pprof/check: $(CHECK_DEPS)
2594 @$(MKDIR_P) runtime/pprof
2596 .PHONY: runtime/pprof/check
2598 sync/atomic.lo: $(go_sync_atomic_files)
2600 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
2601 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
2602 sync/atomic/check: $(CHECK_DEPS)
2603 @$(MKDIR_P) sync/atomic
2605 .PHONY: sync/atomic/check
2607 testing/iotest.lo: $(go_testing_iotest_files) io.gox log.gox os.gox
2609 testing/iotest/check: $(CHECK_DEPS)
2610 @$(MKDIR_P) testing/iotest
2612 .PHONY: testing/iotest/check
2614 testing/quick.lo: $(go_testing_quick_files) flag.gox fmt.gox math.gox os.gox \
2615 rand.gox reflect.gox strings.gox
2617 testing/quick/check: $(CHECK_DEPS)
2618 @$(MKDIR_P) testing/quick
2620 .PHONY: testing/quick/check
2622 testing/script.lo: $(go_testing_script_files) fmt.gox os.gox rand.gox \
2623 reflect.gox strings.gox
2625 testing/script/check: $(CHECK_DEPS)
2626 @$(MKDIR_P) testing/script
2628 .PHONY: testing/script/check
2630 sysinfo.go: s-sysinfo; @true
2631 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
2632 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
2633 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
2636 syscalls/syscall.lo: $(go_syscall_files) sync.gox
2638 syscalls/errno.lo: $(go_syscall_c_files) syscalls/syscall.lo
2639 $(LTCOMPILE) -c -o $@ $(srcdir)/syscalls/errno.c
2641 # How to build a .gox file from a .lo file.
2643 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
2644 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
2646 asn1.gox: asn1/asn1.lo
2650 bufio.gox: bufio/bufio.lo
2652 bytes.gox: bytes/bytes.lo
2654 cmath.gox: cmath/cmath.lo
2656 crypto.gox: crypto/crypto.lo
2658 ebnf.gox: ebnf/ebnf.lo
2660 exec.gox: exec/exec.lo
2662 expvar.gox: expvar/expvar.lo
2664 flag.gox: flag/flag.lo
2670 hash.gox: hash/hash.lo
2672 html.gox: html/html.lo
2674 http.gox: http/http.lo
2676 image.gox: image/image.lo
2680 json.gox: json/json.lo
2684 math.gox: math/math.lo
2686 mime.gox: mime/mime.lo
2690 netchan.gox: netchan/netchan.lo
2694 patch.gox: patch/patch.lo
2696 path.gox: path/path.lo
2698 rand.gox: rand/rand.lo
2700 reflect.gox: reflect/reflect.lo
2702 regexp.gox: regexp/regexp.lo
2706 runtime.gox: runtime/runtime.lo
2708 scanner.gox: scanner/scanner.lo
2710 smtp.gox: smtp/smtp.lo
2712 sort.gox: sort/sort.lo
2714 strconv.gox: strconv/strconv.lo
2716 strings.gox: strings/strings.lo
2718 sync.gox: sync/sync.lo
2720 syslog.gox: syslog/syslog.lo
2722 syscall.gox: syscalls/syscall.lo
2724 tabwriter.gox: tabwriter/tabwriter.lo
2726 template.gox: template/template.lo
2728 testing.gox: testing/testing.lo
2730 time.gox: time/time.lo
2734 unicode.gox: unicode/unicode.lo
2736 utf16.gox: utf16/utf16.lo
2738 utf8.gox: utf8/utf8.lo
2740 websocket.gox: websocket/websocket.lo
2745 archive/tar.gox: archive/tar.lo
2747 archive/zip.gox: archive/zip.lo
2750 compress/bzip2.gox: compress/bzip2.lo
2752 compress/flate.gox: compress/flate.lo
2754 compress/gzip.gox: compress/gzip.lo
2756 compress/lzw.gox: compress/lzw.lo
2758 compress/zlib.gox: compress/zlib.lo
2761 container/heap.gox: container/heap.lo
2763 container/list.gox: container/list.lo
2765 container/ring.gox: container/ring.lo
2767 container/vector.gox: container/vector.lo
2770 crypto/aes.gox: crypto/aes.lo
2772 crypto/blowfish.gox: crypto/blowfish.lo
2774 crypto/cast5.gox: crypto/cast5.lo
2776 crypto/cipher.gox: crypto/cipher.lo
2778 crypto/des.gox: crypto/des.lo
2780 crypto/dsa.gox: crypto/dsa.lo
2782 crypto/ecdsa.gox: crypto/ecdsa.lo
2784 crypto/elliptic.gox: crypto/elliptic.lo
2786 crypto/hmac.gox: crypto/hmac.lo
2788 crypto/md4.gox: crypto/md4.lo
2790 crypto/md5.gox: crypto/md5.lo
2792 crypto/ocsp.gox: crypto/ocsp.lo
2794 crypto/openpgp.gox: crypto/openpgp.lo
2796 crypto/rand.gox: crypto/rand.lo
2798 crypto/rc4.gox: crypto/rc4.lo
2800 crypto/ripemd160.gox: crypto/ripemd160.lo
2802 crypto/rsa.gox: crypto/rsa.lo
2804 crypto/sha1.gox: crypto/sha1.lo
2806 crypto/sha256.gox: crypto/sha256.lo
2808 crypto/sha512.gox: crypto/sha512.lo
2810 crypto/subtle.gox: crypto/subtle.lo
2812 crypto/tls.gox: crypto/tls.lo
2814 crypto/twofish.gox: crypto/twofish.lo
2816 crypto/x509.gox: crypto/x509.lo
2818 crypto/xtea.gox: crypto/xtea.lo
2821 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
2823 crypto/openpgp/error.gox: crypto/openpgp/error.lo
2825 crypto/openpgp/packet.gox: crypto/openpgp/packet.lo
2827 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
2830 debug/dwarf.gox: debug/dwarf.lo
2832 debug/elf.gox: debug/elf.lo
2834 debug/gosym.gox: debug/gosym.lo
2836 debug/macho.gox: debug/macho.lo
2838 debug/pe.gox: debug/pe.lo
2840 debug/proc.gox: debug/proc.lo
2843 encoding/ascii85.gox: encoding/ascii85.lo
2845 encoding/base32.gox: encoding/base32.lo
2847 encoding/base64.gox: encoding/base64.lo
2849 encoding/binary.gox: encoding/binary.lo
2851 encoding/git85.gox: encoding/git85.lo
2853 encoding/hex.gox: encoding/hex.lo
2855 encoding/line.gox: encoding/line.lo
2857 encoding/pem.gox: encoding/pem.lo
2860 exp/datafmt.gox: exp/datafmt.lo
2862 exp/draw.gox: exp/draw.lo
2864 exp/eval.gox: exp/eval.lo
2867 go/ast.gox: go/ast.lo
2869 go/doc.gox: go/doc.lo
2871 go/parser.gox: go/parser.lo
2873 go/printer.gox: go/printer.lo
2875 go/scanner.gox: go/scanner.lo
2877 go/token.gox: go/token.lo
2879 go/typechecker.gox: go/typechecker.lo
2882 hash/adler32.gox: hash/adler32.lo
2884 hash/crc32.gox: hash/crc32.lo
2886 hash/crc64.gox: hash/crc64.lo
2888 hash/fnv.gox: hash/fnv.lo
2891 http/cgi.gox: http/cgi.lo
2893 http/httptest.gox: http/httptest.lo
2895 http/pprof.gox: http/pprof.lo
2898 image/jpeg.gox: image/jpeg.lo
2900 image/png.gox: image/png.lo
2903 index/suffixarray.gox: index/suffixarray.lo
2906 io/ioutil.gox: io/ioutil.lo
2909 mime/multipart.gox: mime/multipart.lo
2912 net/dict.gox: net/dict.lo
2914 net/textproto.gox: net/textproto.lo
2917 os/inotify.gox: os/inotify.lo
2919 os/signal.gox: os/signal.lo
2922 path/filepath.gox: path/filepath.lo
2925 rpc/jsonrpc.gox: rpc/jsonrpc.lo
2928 runtime/debug.gox: runtime/debug.lo
2930 runtime/pprof.gox: runtime/pprof.lo
2933 sync/atomic.gox: sync/atomic.lo
2936 testing/iotest.gox: testing/iotest.lo
2938 testing/quick.gox: testing/quick.lo
2940 testing/script.gox: testing/script.lo
2944 # os_inotify_check = os/inotify/check
2997 compress/bzip2/check \
2998 compress/flate/check \
2999 compress/gzip/check \
3000 compress/lzw/check \
3001 compress/zlib/check \
3002 container/heap/check \
3003 container/list/check \
3004 container/ring/check \
3005 container/vector/check \
3007 crypto/blowfish/check \
3008 crypto/cast5/check \
3009 crypto/cipher/check \
3012 crypto/ecdsa/check \
3013 crypto/elliptic/check \
3018 crypto/openpgp/check \
3021 crypto/ripemd160/check \
3024 crypto/sha256/check \
3025 crypto/sha512/check \
3026 crypto/subtle/check \
3028 crypto/twofish/check \
3031 crypto/openpgp/armor/check \
3032 crypto/openpgp/packet/check \
3033 crypto/openpgp/s2k/check \
3038 encoding/ascii85/check \
3039 encoding/base32/check \
3040 encoding/base64/check \
3041 encoding/binary/check \
3042 encoding/git85/check \
3043 encoding/hex/check \
3044 encoding/line/check \
3045 encoding/pem/check \
3053 go/typechecker/check \
3054 hash/adler32/check \
3060 index/suffixarray/check \
3062 mime/multipart/check \
3063 net/textproto/check \
3064 $(os_inotify_check) \
3066 path/filepath/check \
3069 testing/quick/check \
3070 testing/script/check
3073 check-recursive: check-head
3076 @echo "Test Run By $${USER} on `date`" > libgo.head
3077 @echo "Native configuration is $(host_triplet)" >> libgo.head
3079 @echo " === libgo tests ===" >> libgo.head
3082 check-tail: check-recursive check-multi
3083 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3084 for dir in . $(MULTIDIRS); do \
3085 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3086 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3088 mv libgo.head libgo.sum; \
3089 cp libgo.sum libgo.log; \
3090 echo "Schedule of variations:" >> libgo.sum; \
3091 for dir in . $(MULTIDIRS); do \
3092 multidir=../$${dir}/$${lib}; \
3093 multivar=`cat $${multidir}/libgo.var`; \
3094 echo " $${multivar}" >> libgo.sum; \
3096 echo >> libgo.sum; \
3097 pass=0; fail=0; untested=0; \
3098 for dir in . $(MULTIDIRS); do \
3099 multidir=../$${dir}/$${lib}; \
3100 multivar=`cat $${multidir}/libgo.var`; \
3101 echo "Running target $${multivar}" >> libgo.sum; \
3102 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3103 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3104 cat $${multidir}/libgo.log.sep >> libgo.log; \
3105 if test -n "${MULTIDIRS}"; then \
3106 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3107 echo >> libgo.sum; \
3109 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3110 pass=`expr $$pass + $$p`; \
3111 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3112 echo "# of expected passes $$p" >> libgo.sum; \
3114 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3115 fail=`expr $$fail + $$p`; \
3116 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3117 echo "# of unexpected failures $$p" >> libgo.sum; \
3119 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3120 untested=`expr $$untested + $$p`; \
3121 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3122 echo "# of untested testcases $$p" >> libgo.sum; \
3125 echo >> libgo.sum; \
3126 echo " === libgo Summary ===" >> libgo.sum; \
3127 echo >> libgo.sum; \
3128 if test "$$pass" -ne "0"; then \
3129 echo "# of expected passes $$pass" >> libgo.sum; \
3131 if test "$$fail" -ne "0"; then \
3132 echo "# of unexpected failures $$fail" >> libgo.sum; \
3134 if test "$$untested" -ne "0"; then \
3135 echo "# of untested testcases $$untested" >> libgo.sum; \
3137 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3138 echo >> libgo.log; \
3139 echo "runtest completed at `date`" >> libgo.log; \
3140 if test "$$fail" -ne "0"; then \
3148 @rm -f libgo.sum libgo.log libgo.tail
3150 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3151 echo "$${multivar}" > libgo.var
3152 @for f in $(TEST_PACKAGES); do \
3153 rm -f $$f-testsum $$f-testlog; \
3155 -@$(MAKE) -k $(TEST_PACKAGES)
3156 @for f in $(TEST_PACKAGES); do \
3157 if test -f $$f-testsum; then \
3158 cat $$f-testsum >> libgo.sum; \
3160 if test -f $$f-testlog; then \
3161 cat $$f-testlog >> libgo.log; \
3166 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3168 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3171 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3172 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3173 find . -name '*-testsum' -print | xargs rm -f
3174 find . -name '*-testlog' -print | xargs rm -f
3176 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3179 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3180 find . -name '*.a' -print | xargs rm -f