1 # Makefile.am -- Go library Makefile.
3 # Copyright 2009 The Go Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
7 # Process this file with autoreconf to produce Makefile.in.
10 SUFFIXES = .c .go .gox .o .obj .lo .a
18 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
20 MAINT_CHARSET = latin1
22 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
23 PWD_COMMAND = $${PWDCMD-pwd}
24 STAMP = echo timestamp >
26 toolexecdir = $(glibgo_toolexecdir)
27 toolexeclibdir = $(glibgo_toolexeclibdir)
30 LIBFFIINCS = @LIBFFIINCS@
32 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
34 # -I/-D flags to pass when compiling.
35 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
37 ACLOCAL_AMFLAGS = -I ./config -I ../config
39 AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
40 $(STRINGOPS_FLAG) $(OSCFLAGS) \
41 -I $(srcdir)/../libgcc -I $(MULTIBUILDTOP)../../gcc/include
44 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
50 # Work around what appears to be a GNU make handling MAKEFLAGS
51 # values defined in terms of make variables, as is the case for CC and
52 # friends when we are called from the top level Makefile.
54 "AR_FLAGS=$(AR_FLAGS)" \
55 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
56 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
58 "CXXFLAGS=$(CXXFLAGS)" \
59 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
60 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
61 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
63 "GOCFLAGS=$(GOCFLAGS)" \
64 "INSTALL=$(INSTALL)" \
65 "INSTALL_DATA=$(INSTALL_DATA)" \
66 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
67 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
68 "LDFLAGS=$(LDFLAGS)" \
69 "LIBCFLAGS=$(LIBCFLAGS)" \
70 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
72 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
73 "PICFLAG=$(PICFLAG)" \
74 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
76 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
77 "exec_prefix=$(exec_prefix)" \
78 "infodir=$(infodir)" \
80 "includedir=$(includedir)" \
82 "tooldir=$(tooldir)" \
83 "gxx_include_dir=$(gxx_include_dir)" \
89 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
90 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
91 "DESTDIR=$(DESTDIR)" \
94 # Subdir rules rely on $(FLAGS_TO_PASS)
95 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
97 toolexeclib_LTLIBRARIES = libgo.la
98 toolexeclib_LIBRARIES = libgobegin.a
100 toolexeclibgodir = $(toolexeclibdir)/go/$(gcc_version)/$(target_alias)
102 toolexeclibgo_DATA = \
134 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
136 toolexeclibgoarchive_DATA = \
140 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
142 toolexeclibgocompress_DATA = \
149 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
151 toolexeclibgocontainer_DATA = \
156 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
158 toolexeclibgocrypto_DATA = \
161 crypto/blowfish.gox \
167 crypto/elliptic.gox \
175 crypto/ripemd160.gox \
186 toolexeclibgocryptoopenpgpdir = $(toolexeclibgocryptodir)/openpgp
188 toolexeclibgocryptoopenpgp_DATA = \
189 crypto/openpgp/armor.gox \
190 crypto/openpgp/elgamal.gox \
191 crypto/openpgp/error.gox \
192 crypto/openpgp/packet.gox \
193 crypto/openpgp/s2k.gox
195 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
197 toolexeclibgocryptox509_DATA = \
200 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
202 toolexeclibgodebug_DATA = \
209 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
211 toolexeclibgoencoding_DATA = \
212 encoding/ascii85.gox \
214 encoding/base32.gox \
215 encoding/base64.gox \
216 encoding/binary.gox \
226 # exp_inotify_gox = exp/inotify.gox
232 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
234 toolexeclibgoexp_DATA = \
244 toolexeclibgoexpsqldir = $(toolexeclibgoexpdir)/sql
246 toolexeclibgoexpsql_DATA = \
249 toolexeclibgogodir = $(toolexeclibgodir)/go
251 toolexeclibgogo_DATA = \
260 toolexeclibgohashdir = $(toolexeclibgodir)/hash
262 toolexeclibgohash_DATA = \
268 toolexeclibgohtmldir = $(toolexeclibgodir)/html
270 toolexeclibgohtml_DATA = \
273 toolexeclibgoimagedir = $(toolexeclibgodir)/image
275 toolexeclibgoimage_DATA = \
285 toolexeclibgoindexdir = $(toolexeclibgodir)/index
287 toolexeclibgoindex_DATA = \
288 index/suffixarray.gox
290 toolexeclibgoiodir = $(toolexeclibgodir)/io
292 toolexeclibgoio_DATA = \
295 toolexeclibgologdir = $(toolexeclibgodir)/log
297 toolexeclibgolog_DATA = \
300 toolexeclibgomathdir = $(toolexeclibgodir)/math
302 toolexeclibgomath_DATA = \
307 toolexeclibgomimedir = $(toolexeclibgodir)/mime
309 toolexeclibgomime_DATA = \
312 toolexeclibgonetdir = $(toolexeclibgodir)/net
314 toolexeclibgonet_DATA = \
323 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
325 toolexeclibgonethttp_DATA = \
328 net/http/httptest.gox \
329 net/http/httputil.gox \
332 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
334 toolexeclibgonetrpc_DATA = \
337 toolexeclibgoolddir = $(toolexeclibgodir)/old
339 toolexeclibgoold_DATA = \
344 toolexeclibgoosdir = $(toolexeclibgodir)/os
346 toolexeclibgoos_DATA = \
351 toolexeclibgopathdir = $(toolexeclibgodir)/path
353 toolexeclibgopath_DATA = \
356 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
358 toolexeclibgoregexp_DATA = \
361 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
363 toolexeclibgoruntime_DATA = \
367 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
369 toolexeclibgosync_DATA = \
372 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
374 toolexeclibgotesting_DATA = \
379 toolexeclibgotextdir = $(toolexeclibgodir)/text
381 toolexeclibgotext_DATA = \
386 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
388 toolexeclibgotexttemplate_DATA = \
389 text/template/parse.gox
391 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
393 toolexeclibgounicode_DATA = \
398 runtime_mem_file = runtime/mem.c
400 runtime_mem_file = runtime/mem_posix_memalign.c
404 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
406 rtems_task_variable_add_file =
410 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
412 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
416 runtime/go-append.c \
417 runtime/go-assert.c \
418 runtime/go-assert-interface.c \
419 runtime/go-byte-array-to-string.c \
420 runtime/go-breakpoint.c \
421 runtime/go-caller.c \
422 runtime/go-can-convert-interface.c \
424 runtime/go-check-interface.c \
425 runtime/go-construct-map.c \
426 runtime/go-convert-interface.c \
429 runtime/go-deferred-recover.c \
430 runtime/go-eface-compare.c \
431 runtime/go-eface-val-compare.c \
432 runtime/go-getgoroot.c \
433 runtime/go-int-array-to-string.c \
434 runtime/go-int-to-string.c \
435 runtime/go-interface-compare.c \
436 runtime/go-interface-eface-compare.c \
437 runtime/go-interface-val-compare.c \
438 runtime/go-make-slice.c \
439 runtime/go-map-delete.c \
440 runtime/go-map-index.c \
441 runtime/go-map-len.c \
442 runtime/go-map-range.c \
443 runtime/go-nanotime.c \
445 runtime/go-new-map.c \
449 runtime/go-recover.c \
450 runtime/go-reflect.c \
451 runtime/go-reflect-call.c \
452 runtime/go-reflect-map.c \
454 runtime/go-runtime-error.c \
455 runtime/go-setenv.c \
456 runtime/go-signal.c \
457 runtime/go-strcmp.c \
458 runtime/go-string-to-byte-array.c \
459 runtime/go-string-to-int-array.c \
460 runtime/go-strplus.c \
461 runtime/go-strslice.c \
462 runtime/go-trampoline.c \
463 runtime/go-type-complex.c \
464 runtime/go-type-eface.c \
465 runtime/go-type-error.c \
466 runtime/go-type-float.c \
467 runtime/go-type-identity.c \
468 runtime/go-type-interface.c \
469 runtime/go-type-string.c \
470 runtime/go-typedesc-equal.c \
471 runtime/go-typestring.c \
472 runtime/go-unreflect.c \
473 runtime/go-unsafe-new.c \
474 runtime/go-unsafe-newarray.c \
475 runtime/go-unsafe-pointer.c \
476 runtime/go-unwind.c \
479 $(runtime_lock_files) \
482 $(runtime_mem_file) \
484 runtime/mfixalloc.c \
492 $(rtems_task_variable_add_file) \
504 goc2c.$(OBJEXT): runtime/goc2c.c
505 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
507 goc2c: goc2c.$(OBJEXT)
508 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
510 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
511 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
514 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
515 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
518 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
519 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
522 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
523 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
526 sema.c: $(srcdir)/runtime/sema.goc goc2c
527 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
530 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
531 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
534 time.c: $(srcdir)/runtime/time.goc goc2c
535 ./goc2c --gcc --go-prefix libgo_time $< > $@.tmp
538 %.c: $(srcdir)/runtime/%.goc goc2c
539 ./goc2c --gcc $< > $@.tmp
548 go/bytes/bytes_decl.go
609 go/math/copysign.go \
613 go/math/exp_port.go \
620 go/math/hypot_port.go \
632 go/math/nextafter.go \
635 go/math/remainder.go \
641 go/math/sqrt_port.go \
648 go/mime/mediatype.go \
653 go_net_fd_os_file = go/net/fd_select.go
654 go_net_newpollserver_file = go/net/newpollserver_rtems.go
655 else # !LIBGO_IS_RTEMS
657 go_net_fd_os_file = go/net/fd_linux.go
658 go_net_newpollserver_file = go/net/newpollserver.go
659 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
660 # By default use select with pipes. Most systems should have
662 go_net_fd_os_file = go/net/fd_select.go
663 go_net_newpollserver_file = go/net/newpollserver.go
664 endif # !LIBGO_IS_LINUX
665 endif # !LIBGO_IS_RTEMS
668 go_net_cgo_file = go/net/cgo_linux.go
669 go_net_sock_file = go/net/sock_linux.go
672 go_net_cgo_file = go/net/cgo_linux.go
673 go_net_sock_file = go/net/sock_linux.go
676 go_net_cgo_file = go/net/cgo_linux.go
677 go_net_sock_file = go/net/sock_linux.go
679 go_net_cgo_file = go/net/cgo_bsd.go
680 go_net_sock_file = go/net/sock_bsd.go
686 go_net_sendfile_file = go/net/sendfile_linux.go
688 go_net_sendfile_file = go/net/sendfile_stub.go
692 go_net_interface_file = go/net/interface_linux.go
694 go_net_interface_file = go/net/interface_stub.go
701 go/net/dnsclient.go \
702 go/net/dnsclient_unix.go \
703 go/net/dnsconfig.go \
705 $(go_net_newpollserver_file) \
707 $(go_net_fd_os_file) \
710 go/net/interface.go \
711 $(go_net_interface_file) \
713 go/net/iprawsock.go \
714 go/net/iprawsock_posix.go \
716 go/net/ipsock_posix.go \
717 go/net/lookup_unix.go \
722 $(go_net_sendfile_file) \
724 $(go_net_sock_file) \
726 go/net/tcpsock_posix.go \
728 go/net/udpsock_posix.go \
730 go/net/unixsock_posix.go
734 go_os_dir_file = go/os/dir_largefile.go
737 go_os_dir_file = go/os/dir_largefile.go
739 go_os_dir_file = go/os/dir_regfile.go
744 go_os_dir_file = go/os/dir_largefile.go
746 go_os_dir_file = go/os/dir_regfile.go
751 go_os_sys_file = go/os/sys_linux.go
754 go_os_sys_file = go/os/sys_uname.go
757 go_os_sys_file = go/os/sys_uname.go
760 go_os_sys_file = go/os/sys_uname.go
762 go_os_sys_file = go/os/sys_bsd.go
769 go_os_stat_file = go/os/stat_solaris.go
771 go_os_stat_file = go/os/stat.go
779 go/os/error_posix.go \
781 go/os/exec_posix.go \
784 go/os/file_posix.go \
808 go/reflect/deepequal.go \
817 go/net/rpc/client.go \
818 go/net/rpc/debug.go \
822 go/runtime/debug.go \
823 go/runtime/error.go \
824 go/runtime/extern.go \
827 go/runtime/softfloat64.go \
831 version.go: s-version; @true
834 echo "package runtime" > version.go.tmp
835 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
836 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
837 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
838 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
839 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
850 go/strconv/decimal.go \
856 go/strings/reader.go \
857 go/strings/replace.go \
858 go/strings/strings.go
868 go_syslog_file = go/log/syslog/syslog_libc.go
871 go_syslog_file = go/log/syslog/syslog_libc.go
873 go_syslog_file = go/log/syslog/syslog_unix.go
877 go_log_syslog_files = \
878 go/log/syslog/syslog.go \
880 go_syslog_c_files = \
881 go/log/syslog/syslog_c.c
884 go/testing/benchmark.go \
885 go/testing/example.go \
886 go/testing/testing.go
892 go/time/sys_unix.go \
895 go/time/zoneinfo.go \
896 go/time/zoneinfo_unix.go
899 go/unicode/casetables.go \
900 go/unicode/digit.go \
901 go/unicode/graphic.go \
902 go/unicode/letter.go \
905 go_websocket_files = \
906 go/websocket/client.go \
907 go/websocket/hixie.go \
908 go/websocket/hybi.go \
909 go/websocket/server.go \
910 go/websocket/websocket.go
913 go_archive_tar_files = \
914 go/archive/tar/common.go \
915 go/archive/tar/reader.go \
916 go/archive/tar/writer.go
918 go_archive_zip_files = \
919 go/archive/zip/reader.go \
920 go/archive/zip/struct.go \
921 go/archive/zip/writer.go
923 go_compress_bzip2_files = \
924 go/compress/bzip2/bit_reader.go \
925 go/compress/bzip2/bzip2.go \
926 go/compress/bzip2/huffman.go \
927 go/compress/bzip2/move_to_front.go
929 go_compress_flate_files = \
930 go/compress/flate/deflate.go \
931 go/compress/flate/huffman_bit_writer.go \
932 go/compress/flate/huffman_code.go \
933 go/compress/flate/inflate.go \
934 go/compress/flate/reverse_bits.go \
935 go/compress/flate/token.go \
936 go/compress/flate/util.go
938 go_compress_gzip_files = \
939 go/compress/gzip/gzip.go \
940 go/compress/gzip/gunzip.go
942 go_compress_lzw_files = \
943 go/compress/lzw/reader.go \
944 go/compress/lzw/writer.go
946 go_compress_zlib_files = \
947 go/compress/zlib/reader.go \
948 go/compress/zlib/writer.go
950 go_container_heap_files = \
951 go/container/heap/heap.go
953 go_container_list_files = \
954 go/container/list/list.go
956 go_container_ring_files = \
957 go/container/ring/ring.go
959 go_crypto_aes_files = \
960 go/crypto/aes/block.go \
961 go/crypto/aes/cipher.go \
962 go/crypto/aes/const.go
963 go_crypto_bcrypt_files = \
964 go/crypto/bcrypt/base64.go \
965 go/crypto/bcrypt/bcrypt.go
966 go_crypto_blowfish_files = \
967 go/crypto/blowfish/block.go \
968 go/crypto/blowfish/const.go \
969 go/crypto/blowfish/cipher.go
970 go_crypto_cast5_files = \
971 go/crypto/cast5/cast5.go
972 go_crypto_cipher_files = \
973 go/crypto/cipher/cbc.go \
974 go/crypto/cipher/cfb.go \
975 go/crypto/cipher/cipher.go \
976 go/crypto/cipher/ctr.go \
977 go/crypto/cipher/io.go \
978 go/crypto/cipher/ocfb.go \
979 go/crypto/cipher/ofb.go
980 go_crypto_des_files = \
981 go/crypto/des/block.go \
982 go/crypto/des/cipher.go \
983 go/crypto/des/const.go
984 go_crypto_dsa_files = \
986 go_crypto_ecdsa_files = \
987 go/crypto/ecdsa/ecdsa.go
988 go_crypto_elliptic_files = \
989 go/crypto/elliptic/elliptic.go
990 go_crypto_hmac_files = \
991 go/crypto/hmac/hmac.go
992 go_crypto_md4_files = \
993 go/crypto/md4/md4.go \
994 go/crypto/md4/md4block.go
995 go_crypto_md5_files = \
996 go/crypto/md5/md5.go \
997 go/crypto/md5/md5block.go
998 go_crypto_ocsp_files = \
999 go/crypto/ocsp/ocsp.go
1000 go_crypto_openpgp_files = \
1001 go/crypto/openpgp/canonical_text.go \
1002 go/crypto/openpgp/keys.go \
1003 go/crypto/openpgp/read.go \
1004 go/crypto/openpgp/write.go
1005 go_crypto_rand_files = \
1006 go/crypto/rand/rand.go \
1007 go/crypto/rand/rand_unix.go \
1008 go/crypto/rand/util.go
1009 go_crypto_rc4_files = \
1010 go/crypto/rc4/rc4.go
1011 go_crypto_ripemd160_files = \
1012 go/crypto/ripemd160/ripemd160.go \
1013 go/crypto/ripemd160/ripemd160block.go
1014 go_crypto_rsa_files = \
1015 go/crypto/rsa/pkcs1v15.go \
1016 go/crypto/rsa/rsa.go
1017 go_crypto_sha1_files = \
1018 go/crypto/sha1/sha1.go \
1019 go/crypto/sha1/sha1block.go
1020 go_crypto_sha256_files = \
1021 go/crypto/sha256/sha256.go \
1022 go/crypto/sha256/sha256block.go
1023 go_crypto_sha512_files = \
1024 go/crypto/sha512/sha512.go \
1025 go/crypto/sha512/sha512block.go
1026 go_crypto_subtle_files = \
1027 go/crypto/subtle/constant_time.go
1028 go_crypto_tls_files = \
1029 go/crypto/tls/alert.go \
1030 go/crypto/tls/cipher_suites.go \
1031 go/crypto/tls/common.go \
1032 go/crypto/tls/conn.go \
1033 go/crypto/tls/handshake_client.go \
1034 go/crypto/tls/handshake_messages.go \
1035 go/crypto/tls/handshake_server.go \
1036 go/crypto/tls/key_agreement.go \
1037 go/crypto/tls/prf.go \
1038 go/crypto/tls/root_unix.go \
1039 go/crypto/tls/tls.go
1040 go_crypto_twofish_files = \
1041 go/crypto/twofish/twofish.go
1042 go_crypto_x509_files = \
1043 go/crypto/x509/cert_pool.go \
1044 go/crypto/x509/pkcs1.go \
1045 go/crypto/x509/pkcs8.go \
1046 go/crypto/x509/verify.go \
1047 go/crypto/x509/x509.go
1048 go_crypto_xtea_files = \
1049 go/crypto/xtea/block.go \
1050 go/crypto/xtea/cipher.go
1052 go_crypto_openpgp_armor_files = \
1053 go/crypto/openpgp/armor/armor.go \
1054 go/crypto/openpgp/armor/encode.go
1055 go_crypto_openpgp_elgamal_files = \
1056 go/crypto/openpgp/elgamal/elgamal.go
1057 go_crypto_openpgp_error_files = \
1058 go/crypto/openpgp/error/error.go
1059 go_crypto_openpgp_packet_files = \
1060 go/crypto/openpgp/packet/compressed.go \
1061 go/crypto/openpgp/packet/encrypted_key.go \
1062 go/crypto/openpgp/packet/literal.go \
1063 go/crypto/openpgp/packet/one_pass_signature.go \
1064 go/crypto/openpgp/packet/packet.go \
1065 go/crypto/openpgp/packet/private_key.go \
1066 go/crypto/openpgp/packet/public_key.go \
1067 go/crypto/openpgp/packet/reader.go \
1068 go/crypto/openpgp/packet/signature.go \
1069 go/crypto/openpgp/packet/symmetric_key_encrypted.go \
1070 go/crypto/openpgp/packet/symmetrically_encrypted.go \
1071 go/crypto/openpgp/packet/userid.go
1072 go_crypto_openpgp_s2k_files = \
1073 go/crypto/openpgp/s2k/s2k.go
1075 go_crypto_x509_pkix_files = \
1076 go/crypto/x509/pkix/pkix.go
1078 go_debug_dwarf_files = \
1079 go/debug/dwarf/buf.go \
1080 go/debug/dwarf/const.go \
1081 go/debug/dwarf/entry.go \
1082 go/debug/dwarf/open.go \
1083 go/debug/dwarf/type.go \
1084 go/debug/dwarf/unit.go
1085 go_debug_elf_files = \
1086 go/debug/elf/elf.go \
1087 go/debug/elf/file.go
1088 go_debug_gosym_files = \
1089 go/debug/gosym/pclntab.go \
1090 go/debug/gosym/symtab.go
1091 go_debug_macho_files = \
1092 go/debug/macho/file.go \
1093 go/debug/macho/macho.go
1094 go_debug_pe_files = \
1095 go/debug/pe/file.go \
1098 go_encoding_ascii85_files = \
1099 go/encoding/ascii85/ascii85.go
1100 go_encoding_asn1_files = \
1101 go/encoding/asn1/asn1.go \
1102 go/encoding/asn1/common.go \
1103 go/encoding/asn1/marshal.go
1104 go_encoding_base32_files = \
1105 go/encoding/base32/base32.go
1106 go_encoding_base64_files = \
1107 go/encoding/base64/base64.go
1108 go_encoding_binary_files = \
1109 go/encoding/binary/binary.go \
1110 go/encoding/binary/varint.go
1111 go_encoding_csv_files = \
1112 go/encoding/csv/reader.go \
1113 go/encoding/csv/writer.go
1114 go_encoding_git85_files = \
1115 go/encoding/git85/git.go
1116 go_encoding_gob_files = \
1117 go/encoding/gob/decode.go \
1118 go/encoding/gob/decoder.go \
1119 go/encoding/gob/doc.go \
1120 go/encoding/gob/encode.go \
1121 go/encoding/gob/encoder.go \
1122 go/encoding/gob/error.go \
1123 go/encoding/gob/type.go
1124 go_encoding_hex_files = \
1125 go/encoding/hex/hex.go
1126 go_encoding_json_files = \
1127 go/encoding/json/decode.go \
1128 go/encoding/json/encode.go \
1129 go/encoding/json/indent.go \
1130 go/encoding/json/scanner.go \
1131 go/encoding/json/stream.go \
1132 go/encoding/json/tags.go
1133 go_encoding_pem_files = \
1134 go/encoding/pem/pem.go
1135 go_encoding_xml_files = \
1136 go/encoding/xml/marshal.go \
1137 go/encoding/xml/read.go \
1138 go/encoding/xml/xml.go
1140 go_exp_ebnf_files = \
1141 go/exp/ebnf/ebnf.go \
1142 go/exp/ebnf/parser.go
1143 go_exp_inotify_files = \
1144 go/exp/inotify/inotify_linux.go
1145 go_exp_norm_files = \
1146 go/exp/norm/composition.go \
1147 go/exp/norm/forminfo.go \
1148 go/exp/norm/input.go \
1149 go/exp/norm/normalize.go \
1150 go/exp/norm/readwriter.go \
1151 go/exp/norm/tables.go \
1153 go_exp_spdy_files = \
1154 go/exp/spdy/read.go \
1155 go/exp/spdy/types.go \
1156 go/exp/spdy/write.go
1157 go_exp_sql_files = \
1158 go/exp/sql/convert.go \
1160 go_exp_ssh_files = \
1161 go/exp/ssh/channel.go \
1162 go/exp/ssh/cipher.go \
1163 go/exp/ssh/client.go \
1164 go/exp/ssh/client_auth.go \
1165 go/exp/ssh/common.go \
1167 go/exp/ssh/messages.go \
1168 go/exp/ssh/server.go \
1169 go/exp/ssh/server_shell.go \
1170 go/exp/ssh/session.go \
1171 go/exp/ssh/tcpip.go \
1172 go/exp/ssh/transport.go
1173 go_exp_terminal_files = \
1174 go/exp/terminal/terminal.go \
1175 go/exp/terminal/util.go
1176 go_exp_types_files = \
1177 go/exp/types/check.go \
1178 go/exp/types/const.go \
1179 go/exp/types/exportdata.go \
1180 go/exp/types/gcimporter.go \
1181 go/exp/types/types.go \
1182 go/exp/types/universe.go
1184 go_exp_sql_driver_files = \
1185 go/exp/sql/driver/driver.go \
1186 go/exp/sql/driver/types.go
1190 go/go/ast/filter.go \
1191 go/go/ast/import.go \
1192 go/go/ast/print.go \
1193 go/go/ast/resolve.go \
1194 go/go/ast/scope.go \
1196 go_go_build_files = \
1197 go/go/build/build.go \
1198 go/go/build/dir.go \
1199 go/go/build/path.go \
1202 go/go/doc/comment.go \
1204 go/go/doc/example.go
1205 go_go_parser_files = \
1206 go/go/parser/interface.go \
1207 go/go/parser/parser.go
1208 go_go_printer_files = \
1209 go/go/printer/nodes.go \
1210 go/go/printer/printer.go
1211 go_go_scanner_files = \
1212 go/go/scanner/errors.go \
1213 go/go/scanner/scanner.go
1214 go_go_token_files = \
1215 go/go/token/position.go \
1216 go/go/token/serialize.go \
1217 go/go/token/token.go
1219 go_hash_adler32_files = \
1220 go/hash/adler32/adler32.go
1221 go_hash_crc32_files = \
1222 go/hash/crc32/crc32.go \
1223 go/hash/crc32/crc32_generic.go
1224 go_hash_crc64_files = \
1225 go/hash/crc64/crc64.go
1226 go_hash_fnv_files = \
1229 go_html_template_files = \
1230 go/html/template/attr.go \
1231 go/html/template/clone.go \
1232 go/html/template/content.go \
1233 go/html/template/context.go \
1234 go/html/template/css.go \
1235 go/html/template/doc.go \
1236 go/html/template/error.go \
1237 go/html/template/escape.go \
1238 go/html/template/html.go \
1239 go/html/template/js.go \
1240 go/html/template/template.go \
1241 go/html/template/transition.go \
1242 go/html/template/url.go
1244 go_image_bmp_files = \
1245 go/image/bmp/reader.go
1247 go_image_color_files = \
1248 go/image/color/color.go
1250 go_image_draw_files = \
1251 go/image/draw/draw.go
1253 go_image_gif_files = \
1254 go/image/gif/reader.go
1256 go_image_jpeg_files = \
1257 go/image/jpeg/fdct.go \
1258 go/image/jpeg/huffman.go \
1259 go/image/jpeg/idct.go \
1260 go/image/jpeg/reader.go \
1261 go/image/jpeg/writer.go
1263 go_image_png_files = \
1264 go/image/png/reader.go \
1265 go/image/png/writer.go
1267 go_image_tiff_files = \
1268 go/image/tiff/buffer.go \
1269 go/image/tiff/compress.go \
1270 go/image/tiff/consts.go \
1271 go/image/tiff/reader.go
1273 go_image_ycbcr_files = \
1274 go/image/ycbcr/ycbcr.go
1276 go_index_suffixarray_files = \
1277 go/index/suffixarray/qsufsort.go \
1278 go/index/suffixarray/suffixarray.go
1280 go_io_ioutil_files = \
1281 go/io/ioutil/ioutil.go \
1282 go/io/ioutil/tempfile.go
1284 go_math_big_files = \
1285 go/math/big/arith.go \
1286 go/math/big/int.go \
1287 go/math/big/nat.go \
1289 go_math_cmplx_files = \
1290 go/math/cmplx/abs.go \
1291 go/math/cmplx/asin.go \
1292 go/math/cmplx/conj.go \
1293 go/math/cmplx/exp.go \
1294 go/math/cmplx/isinf.go \
1295 go/math/cmplx/isnan.go \
1296 go/math/cmplx/log.go \
1297 go/math/cmplx/phase.go \
1298 go/math/cmplx/polar.go \
1299 go/math/cmplx/pow.go \
1300 go/math/cmplx/rect.go \
1301 go/math/cmplx/sin.go \
1302 go/math/cmplx/sqrt.go \
1303 go/math/cmplx/tan.go
1304 go_math_rand_files = \
1305 go/math/rand/exp.go \
1306 go/math/rand/normal.go \
1307 go/math/rand/rand.go \
1308 go/math/rand/rng.go \
1309 go/math/rand/zipf.go
1311 go_mime_multipart_files = \
1312 go/mime/multipart/formdata.go \
1313 go/mime/multipart/multipart.go \
1314 go/mime/multipart/writer.go
1316 go_net_dict_files = \
1318 go_net_http_files = \
1319 go/net/http/chunked.go \
1320 go/net/http/client.go \
1321 go/net/http/cookie.go \
1322 go/net/http/filetransport.go \
1324 go/net/http/header.go \
1325 go/net/http/lex.go \
1326 go/net/http/request.go \
1327 go/net/http/response.go \
1328 go/net/http/server.go \
1329 go/net/http/sniff.go \
1330 go/net/http/status.go \
1331 go/net/http/transfer.go \
1332 go/net/http/transport.go
1333 go_net_mail_files = \
1334 go/net/mail/message.go
1335 go_net_smtp_files = \
1336 go/net/smtp/auth.go \
1338 go_net_textproto_files = \
1339 go/net/textproto/header.go \
1340 go/net/textproto/pipeline.go \
1341 go/net/textproto/reader.go \
1342 go/net/textproto/textproto.go \
1343 go/net/textproto/writer.go
1344 go_net_url_files = \
1347 go_net_http_cgi_files = \
1348 go/net/http/cgi/child.go \
1349 go/net/http/cgi/host.go
1350 go_net_http_fcgi_files = \
1351 go/net/http/fcgi/child.go \
1352 go/net/http/fcgi/fcgi.go
1353 go_net_http_httptest_files = \
1354 go/net/http/httptest/recorder.go \
1355 go/net/http/httptest/server.go
1356 go_net_http_pprof_files = \
1357 go/net/http/pprof/pprof.go
1358 go_net_http_httputil_files = \
1359 go/net/http/httputil/chunked.go \
1360 go/net/http/httputil/dump.go \
1361 go/net/http/httputil/persist.go \
1362 go/net/http/httputil/reverseproxy.go
1365 go_old_netchan_files = \
1366 go/old/netchan/common.go \
1367 go/old/netchan/export.go \
1368 go/old/netchan/import.go
1369 go_old_regexp_files = \
1370 go/old/regexp/regexp.go
1371 go_old_template_files = \
1372 go/old/template/doc.go \
1373 go/old/template/execute.go \
1374 go/old/template/format.go \
1375 go/old/template/parse.go
1377 go_os_exec_files = \
1378 go/os/exec/exec.go \
1379 go/os/exec/lp_unix.go
1381 go_os_user_files = \
1382 go/os/user/user.go \
1383 go/os/user/lookup_unix.go
1385 go_os_signal_files = \
1386 go/os/signal/signal.go
1388 go_path_filepath_files = \
1389 go/path/filepath/match.go \
1390 go/path/filepath/path.go \
1391 go/path/filepath/path_unix.go
1393 go_regexp_syntax_files = \
1394 go/regexp/syntax/compile.go \
1395 go/regexp/syntax/parse.go \
1396 go/regexp/syntax/perl_groups.go \
1397 go/regexp/syntax/prog.go \
1398 go/regexp/syntax/regexp.go \
1399 go/regexp/syntax/simplify.go
1401 go_net_rpc_jsonrpc_files = \
1402 go/net/rpc/jsonrpc/client.go \
1403 go/net/rpc/jsonrpc/server.go
1405 go_runtime_debug_files = \
1406 go/runtime/debug/stack.go
1407 go_runtime_pprof_files = \
1408 go/runtime/pprof/pprof.go
1410 go_text_tabwriter_files = \
1411 go/text/tabwriter/tabwriter.go
1412 go_text_template_files = \
1413 go/text/template/doc.go \
1414 go/text/template/exec.go \
1415 go/text/template/funcs.go \
1416 go/text/template/helper.go \
1417 go/text/template/template.go
1418 go_text_template_parse_files = \
1419 go/text/template/parse/lex.go \
1420 go/text/template/parse/node.go \
1421 go/text/template/parse/parse.go
1423 go_sync_atomic_files = \
1424 go/sync/atomic/doc.go
1425 go_sync_atomic_c_files = \
1426 go/sync/atomic/atomic.c
1428 go_testing_iotest_files = \
1429 go/testing/iotest/logger.go \
1430 go/testing/iotest/reader.go \
1431 go/testing/iotest/writer.go
1432 go_testing_quick_files = \
1433 go/testing/quick/quick.go
1434 go_testing_script_files = \
1435 go/testing/script/script.go
1437 go_text_scanner_files = \
1438 go/text/scanner/scanner.go
1440 go_unicode_utf16_files = \
1441 go/unicode/utf16/utf16.go
1442 go_unicode_utf8_files = \
1443 go/unicode/utf8/string.go \
1444 go/unicode/utf8/utf8.go
1446 # Define Syscall and Syscall6.
1448 syscall_syscall_file = go/syscall/syscall_stubs.go
1450 syscall_syscall_file = go/syscall/syscall_unix.go
1453 # Define ForkExec and Exec.
1455 syscall_exec_file = go/syscall/exec_stubs.go
1457 syscall_exec_file = go/syscall/exec_unix.go
1465 syscall_wait_file = go/syscall/libcall_wait4.go
1467 syscall_wait_file = go/syscall/libcall_waitpid.go
1471 # Support for pulling apart wait status.
1473 syscall_wait_c_file =
1475 syscall_wait_c_file = go/syscall/wait.c
1480 syscall_sleep_file = go/syscall/sleep_rtems.go
1482 syscall_sleep_file = go/syscall/sleep_select.go
1487 syscall_errstr_file = go/syscall/errstr_linux.go
1490 syscall_errstr_file = go/syscall/errstr_linux.go
1493 syscall_errstr_file = go/syscall/errstr.go
1495 syscall_errstr_file = go/syscall/errstr_nor.go
1500 # Declare libc functions that vary for largefile systems.
1502 # Always use lseek64 on GNU/Linux.
1503 syscall_size_file = go/syscall/libcall_posix_largefile.go
1504 else # !LIBGO_IS_LINUX
1507 # Use lseek64 on 32-bit Solaris/x86.
1508 syscall_size_file = go/syscall/libcall_posix_largefile.go
1509 else # !LIBGO_IS_386
1511 # Use lseek64 on 32-bit Solaris/SPARC.
1512 syscall_size_file = go/syscall/libcall_posix_largefile.go
1513 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1514 # Use lseek on 64-bit Solaris.
1515 syscall_size_file = go/syscall/libcall_posix_regfile.go
1516 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1517 endif # !LIBGO_IS_SOLARIS
1518 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1519 # Use lseek by default.
1520 syscall_size_file = go/syscall/libcall_posix_regfile.go
1521 endif # !LIBGO_IS_SOLARIS
1522 endif # !LIBGO_IS_LINUX
1524 # Define socket sizes and types.
1526 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1529 syscall_socket_file = go/syscall/socket_solaris.go
1532 syscall_socket_file = go/syscall/socket_irix.go
1534 syscall_socket_file = go/syscall/socket_bsd.go
1539 # Support for uname.
1542 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1543 syscall_uname_file =
1544 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1545 syscall_uname_file = go/syscall/libcall_uname.go
1547 else # !LIBGO_IS_SOLARIS
1548 syscall_uname_file = go/syscall/libcall_uname.go
1551 # Support for netlink sockets and messages.
1553 syscall_netlink_file = go/syscall/netlink_linux.go
1555 syscall_netlink_file =
1558 go_base_syscall_files = \
1559 go/syscall/env_unix.go \
1560 go/syscall/syscall_errno.go \
1561 go/syscall/libcall_support.go \
1562 go/syscall/libcall_posix.go \
1563 go/syscall/socket.go \
1565 go/syscall/syscall.go \
1566 $(syscall_syscall_file) \
1567 $(syscall_exec_file) \
1568 $(syscall_wait_file) \
1569 $(syscall_sleep_file) \
1570 $(syscall_errstr_file) \
1571 $(syscall_size_file) \
1572 $(syscall_socket_file) \
1573 $(syscall_uname_file) \
1574 $(syscall_netlink_file) \
1575 $(GO_LIBCALL_OS_FILE) \
1576 $(GO_LIBCALL_OS_ARCH_FILE) \
1577 $(GO_SYSCALL_OS_FILE) \
1578 $(GO_SYSCALL_OS_ARCH_FILE)
1580 go_syscall_files = \
1581 $(go_base_syscall_files) \
1585 go_syscall_c_files = \
1586 go/syscall/errno.c \
1587 $(syscall_wait_c_file)
1589 libcalls.go: s-libcalls; @true
1590 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1591 rm -f libcalls.go.tmp
1592 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1593 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1594 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1597 syscall_arch.go: s-syscall_arch; @true
1598 s-syscall_arch: Makefile
1599 rm -f syscall_arch.go.tmp
1600 echo "package syscall" > syscall_arch.go.tmp
1601 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1602 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1603 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1606 sysinfo.go: s-sysinfo; @true
1607 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1608 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1609 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1612 # The epoll struct has an embedded union and is packed on x86_64,
1613 # which is too complicated for mksysinfo.sh. We find the offset of
1614 # the only field we care about in configure.ac, and generate the
1616 epoll.go: s-epoll; @true
1619 echo 'package syscall' > epoll.go.tmp
1620 echo 'type EpollEvent struct {' >> epoll.go.tmp
1621 echo ' Events uint32' >> epoll.go.tmp
1622 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1623 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1625 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1626 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1627 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1628 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1629 echo ' Fd int32' >> epoll.go.tmp; ;; \
1630 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1631 echo ' Fd int32' >> epoll.go.tmp; \
1632 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1633 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1636 echo '}' >> epoll.go.tmp
1637 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1641 # os_lib_inotify_lo = os/inotify.lo
1667 reflect/reflect.lo \
1669 runtime/runtime.lo \
1671 strconv/strconv.lo \
1672 strings/strings.lo \
1675 unicode/unicode.lo \
1676 websocket/websocket.lo \
1689 crypto/blowfish.lo \
1695 crypto/elliptic.lo \
1703 crypto/ripemd160.lo \
1713 crypto/openpgp/armor.lo \
1714 crypto/openpgp/elgamal.lo \
1715 crypto/openpgp/error.lo \
1716 crypto/openpgp/packet.lo \
1717 crypto/openpgp/s2k.lo \
1718 crypto/x509/pkix.lo \
1724 encoding/ascii85.lo \
1726 encoding/base32.lo \
1727 encoding/base64.lo \
1728 encoding/binary.lo \
1758 net/http/httptest.lo \
1759 net/http/httputil.lo \
1769 index/suffixarray.lo \
1772 log/syslog/syslog_c.lo \
1788 $(os_lib_inotify_lo) \
1793 net/rpc/jsonrpc.lo \
1798 syscall/syscall.lo \
1804 text/template/parse.lo \
1805 testing/testing.lo \
1812 libgo_la_SOURCES = $(runtime_files)
1814 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1817 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1819 libgobegin_a_SOURCES = \
1822 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1824 GOCFLAGS = $(CFLAGS)
1825 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1826 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1828 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1829 $(AM_GOCFLAGS) $(GOCFLAGS)
1831 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1832 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1834 # Build the dependencies for a Go package.
1837 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1840 # Build the .go files for a package, generating a .lo file.
1843 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1844 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1856 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1858 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1860 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1861 export RUNTESTFLAGS; \
1864 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1865 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1866 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1867 export LD_LIBRARY_PATH; \
1868 rm -f $@-testsum $@-testlog; \
1869 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1870 test "$${prefix}" != "." || prefix="$(@D)"; \
1871 if test "$(use_dejagnu)" = "yes"; then \
1872 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1874 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1875 echo "PASS: $(@D)" >> $@-testlog; \
1876 echo "PASS: $(@D)"; \
1877 echo "PASS: $(@D)" > $@-testsum; \
1879 echo "FAIL: $(@D)" >> $@-testlog; \
1881 echo "FAIL: $(@D)" > $@-testsum; \
1886 # Build all packages before checking any.
1887 CHECK_DEPS = libgo.la libgobegin.a \
1888 $(toolexeclibgo_DATA) \
1889 $(toolexeclibgoarchive_DATA) \
1890 $(toolexeclibgocompress_DATA) \
1891 $(toolexeclibgocontainer_DATA) \
1892 $(toolexeclibgocrypto_DATA) \
1893 $(toolexeclibgocryptoopenpgp_DATA) \
1894 $(toolexeclibgodebug_DATA) \
1895 $(toolexeclibgoencoding_DATA) \
1896 $(toolexeclibgoexp_DATA) \
1897 $(toolexeclibgogo_DATA) \
1898 $(toolexeclibgohash_DATA) \
1899 $(toolexeclibgoimage_DATA) \
1900 $(toolexeclibgoindex_DATA) \
1901 $(toolexeclibgoio_DATA) \
1902 $(toolexeclibgolog_DATA) \
1903 $(toolexeclibgomath_DATA) \
1904 $(toolexeclibgomime_DATA) \
1905 $(toolexeclibgonet_DATA) \
1906 $(toolexeclibgonethttp_DATA) \
1907 $(toolexeclibgoos_DATA) \
1908 $(toolexeclibgopath_DATA) \
1909 $(toolexeclibgorpc_DATA) \
1910 $(toolexeclibgoruntime_DATA) \
1911 $(toolexeclibgosync_DATA) \
1912 $(toolexeclibgotesting_DATA) \
1913 $(toolexeclibgotext_DATA) \
1914 $(toolexeclibgotexttemplate_DATA) \
1915 $(toolexeclibgounicode_DATA)
1917 @go_include@ bufio/bufio.lo.dep
1918 bufio/bufio.lo.dep: $(go_bufio_files)
1920 bufio/bufio.lo: $(go_bufio_files)
1922 bufio/check: $(CHECK_DEPS)
1926 @go_include@ bytes/bytes.lo.dep
1927 bytes/bytes.lo.dep: $(go_bytes_files)
1929 bytes/bytes.lo: $(go_bytes_files)
1931 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1932 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1933 bytes/check: $(CHECK_DEPS)
1937 @go_include@ crypto/crypto.lo.dep
1938 crypto/crypto.lo.dep: $(go_crypto_files)
1940 crypto/crypto.lo: $(go_crypto_files)
1942 crypto/check: $(CHECK_DEPS)
1944 .PHONY: crypto/check
1946 @go_include@ errors/errors.lo.dep
1947 errors/errors.lo.dep: $(go_errors_files)
1949 errors/errors.lo: $(go_errors_files)
1951 errors/check: $(CHECK_DEPS)
1953 .PHONY: errors/check
1955 @go_include@ expvar/expvar.lo.dep
1956 expvar/expvar.lo.dep: $(go_expvar_files)
1958 expvar/expvar.lo: $(go_expvar_files)
1960 expvar/check: $(CHECK_DEPS)
1962 .PHONY: expvar/check
1964 @go_include@ flag/flag.lo.dep
1965 flag/flag.lo.dep: $(go_flag_files)
1967 flag/flag.lo: $(go_flag_files)
1969 flag/check: $(CHECK_DEPS)
1973 @go_include@ fmt/fmt.lo.dep
1974 fmt/fmt.lo.dep: $(go_fmt_files)
1976 fmt/fmt.lo: $(go_fmt_files)
1978 fmt/check: $(CHECK_DEPS)
1982 @go_include@ hash/hash.lo.dep
1983 hash/hash.lo.dep: $(go_hash_files)
1985 hash/hash.lo: $(go_hash_files)
1987 hash/check: $(CHECK_DEPS)
1991 @go_include@ html/html.lo.dep
1992 html/html.lo.dep: $(go_html_files)
1994 html/html.lo: $(go_html_files)
1996 html/check: $(CHECK_DEPS)
2000 @go_include@ image/image.lo.dep
2001 image/image.lo.dep: $(go_image_files)
2003 image/image.lo: $(go_image_files)
2005 image/check: $(CHECK_DEPS)
2009 @go_include@ io/io.lo.dep
2010 io/io.lo.dep: $(go_io_files)
2012 io/io.lo: $(go_io_files)
2014 io/check: $(CHECK_DEPS)
2018 @go_include@ log/log.lo.dep
2019 log/log.lo.dep: $(go_log_files)
2021 log/log.lo: $(go_log_files)
2023 log/check: $(CHECK_DEPS)
2027 @go_include@ math/math.lo.dep
2028 math/math.lo.dep: $(go_math_files)
2030 math/math.lo: $(go_math_files)
2032 math/check: $(CHECK_DEPS)
2036 @go_include@ mime/mime.lo.dep
2037 mime/mime.lo.dep: $(go_mime_files)
2039 mime/mime.lo: $(go_mime_files)
2041 mime/check: $(CHECK_DEPS)
2045 @go_include@ net/net.lo.dep
2046 net/net.lo.dep: $(go_net_files)
2048 net/net.lo: $(go_net_files)
2050 net/check: $(CHECK_DEPS)
2054 @go_include@ os/os.lo.dep
2055 os/os.lo.dep: $(go_os_files)
2057 os/os.lo: $(go_os_files)
2059 os/check: $(CHECK_DEPS)
2063 signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
2064 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
2067 @go_include@ patch/patch.lo.dep
2068 patch/patch.lo.dep: $(go_patch_files)
2070 patch/patch.lo: $(go_patch_files)
2072 patch/check: $(CHECK_DEPS)
2076 @go_include@ path/path.lo.dep
2077 path/path.lo.dep: $(go_path_files)
2079 path/path.lo: $(go_path_files)
2081 path/check: $(CHECK_DEPS)
2085 @go_include@ reflect/reflect.lo.dep
2086 reflect/reflect.lo.dep: $(go_reflect_files)
2088 reflect/reflect.lo: $(go_reflect_files)
2090 reflect/check: $(CHECK_DEPS)
2092 .PHONY: reflect/check
2094 @go_include@ regexp/regexp.lo.dep
2095 regexp/regexp.lo.dep: $(go_regexp_files)
2097 regexp/regexp.lo: $(go_regexp_files)
2099 regexp/check: $(CHECK_DEPS)
2101 .PHONY: regexp/check
2103 @go_include@ runtime/runtime.lo.dep
2104 runtime/runtime.lo.dep: $(go_runtime_files)
2106 runtime/runtime.lo: $(go_runtime_files)
2108 runtime/check: $(CHECK_DEPS)
2110 .PHONY: runtime/check
2112 @go_include@ text/scanner.lo.dep
2113 text/scanner.lo.dep: $(go_text_scanner_files)
2115 text/scanner.lo: $(go_text_scanner_files)
2117 text/scanner/check: $(CHECK_DEPS)
2118 @$(MKDIR_P) text/scanner
2120 .PHONY: text/scanner/check
2122 @go_include@ sort/sort.lo.dep
2123 sort/sort.lo.dep: $(go_sort_files)
2125 sort/sort.lo: $(go_sort_files)
2127 sort/check: $(CHECK_DEPS)
2131 @go_include@ strconv/strconv.lo.dep
2132 strconv/strconv.lo.dep: $(go_strconv_files)
2134 strconv/strconv.lo: $(go_strconv_files)
2136 strconv/check: $(CHECK_DEPS)
2138 .PHONY: strconv/check
2140 @go_include@ strings/strings.lo.dep
2141 strings/strings.lo.dep: $(go_strings_files)
2143 strings/strings.lo: $(go_strings_files)
2145 strings/check: $(CHECK_DEPS)
2147 .PHONY: strings/check
2149 @go_include@ sync/sync.lo.dep
2150 sync/sync.lo.dep: $(go_sync_files)
2152 sync/sync.lo: $(go_sync_files)
2154 sync/check: $(CHECK_DEPS)
2158 @go_include@ testing/testing.lo.dep
2159 testing/testing.lo.dep: $(go_testing_files)
2161 testing/testing.lo: $(go_testing_files)
2163 testing/check: $(CHECK_DEPS)
2165 .PHONY: testing/check
2167 @go_include@ time/time.lo.dep
2168 time/time.lo.dep: $(go_time_files)
2170 time/time.lo: $(go_time_files)
2172 time/check: $(CHECK_DEPS)
2176 @go_include@ unicode/unicode.lo.dep
2177 unicode/unicode.lo.dep: $(go_unicode_files)
2179 unicode/unicode.lo: $(go_unicode_files)
2181 unicode/check: $(CHECK_DEPS)
2183 .PHONY: unicode/check
2185 @go_include@ websocket/websocket.lo.dep
2186 websocket/websocket.lo.dep: $(go_websocket_files)
2188 websocket/websocket.lo: $(go_websocket_files)
2190 websocket/check: $(CHECK_DEPS)
2192 .PHONY: websocket/check
2194 @go_include@ archive/tar.lo.dep
2195 archive/tar.lo.dep: $(go_archive_tar_files)
2197 archive/tar.lo: $(go_archive_tar_files)
2199 archive/tar/check: $(CHECK_DEPS)
2200 @$(MKDIR_P) archive/tar
2202 .PHONY: archive/tar/check
2204 @go_include@ archive/zip.lo.dep
2205 archive/zip.lo.dep: $(go_archive_zip_files)
2207 archive/zip.lo: $(go_archive_zip_files)
2209 archive/zip/check: $(CHECK_DEPS)
2210 @$(MKDIR_P) archive/zip
2212 .PHONY: archive/zip/check
2214 @go_include@ compress/bzip2.lo.dep
2215 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2217 compress/bzip2.lo: $(go_compress_bzip2_files)
2219 compress/bzip2/check: $(CHECK_DEPS)
2220 @$(MKDIR_P) compress/bzip2
2222 .PHONY: compress/bzip2/check
2224 @go_include@ compress/flate.lo.dep
2225 compress/flate.lo.dep: $(go_compress_flate_files)
2227 compress/flate.lo: $(go_compress_flate_files)
2229 compress/flate/check: $(CHECK_DEPS)
2230 @$(MKDIR_P) compress/flate
2232 .PHONY: compress/flate/check
2234 @go_include@ compress/gzip.lo.dep
2235 compress/gzip.lo.dep: $(go_compress_gzip_files)
2237 compress/gzip.lo: $(go_compress_gzip_files)
2239 compress/gzip/check: $(CHECK_DEPS)
2240 @$(MKDIR_P) compress/gzip
2242 .PHONY: compress/gzip/check
2244 @go_include@ compress/lzw.lo.dep
2245 compress/lzw.lo.dep: $(go_compress_lzw_files)
2247 compress/lzw.lo: $(go_compress_lzw_files)
2249 compress/lzw/check: $(CHECK_DEPS)
2250 @$(MKDIR_P) compress/lzw
2252 .PHONY: compress/lzw/check
2254 @go_include@ compress/zlib.lo.dep
2255 compress/zlib.lo.dep: $(go_compress_zlib_files)
2257 compress/zlib.lo: $(go_compress_zlib_files)
2259 compress/zlib/check: $(CHECK_DEPS)
2260 @$(MKDIR_P) compress/zlib
2262 .PHONY: compress/zlib/check
2264 @go_include@ container/heap.lo.dep
2265 container/heap.lo.dep: $(go_container_heap_files)
2267 container/heap.lo: $(go_container_heap_files)
2269 container/heap/check: $(CHECK_DEPS)
2270 @$(MKDIR_P) container/heap
2272 .PHONY: container/heap/check
2274 @go_include@ container/list.lo.dep
2275 container/list.lo.dep: $(go_container_list_files)
2277 container/list.lo: $(go_container_list_files)
2279 container/list/check: $(CHECK_DEPS)
2280 @$(MKDIR_P) container/list
2282 .PHONY: container/list/check
2284 @go_include@ container/ring.lo.dep
2285 container/ring.lo.dep: $(go_container_ring_files)
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 @go_include@ crypto/aes.lo.dep
2295 crypto/aes.lo.dep: $(go_crypto_aes_files)
2297 crypto/aes.lo: $(go_crypto_aes_files)
2299 crypto/aes/check: $(CHECK_DEPS)
2300 @$(MKDIR_P) crypto/aes
2302 .PHONY: crypto/aes/check
2304 @go_include@ crypto/bcrypt.lo.dep
2305 crypto/bcrypt.lo.dep: $(go_crypto_bcrypt_files)
2307 crypto/bcrypt.lo: $(go_crypto_bcrypt_files)
2309 crypto/bcrypt/check: $(CHECK_DEPS)
2310 @$(MKDIR_P) crypto/bcrypt
2312 .PHONY: crypto/bcrypt/check
2314 @go_include@ crypto/blowfish.lo.dep
2315 crypto/blowfish.lo.dep: $(go_crypto_blowfish_files)
2317 crypto/blowfish.lo: $(go_crypto_blowfish_files)
2319 crypto/blowfish/check: $(CHECK_DEPS)
2320 @$(MKDIR_P) crypto/blowfish
2322 .PHONY: crypto/blowfish/check
2324 @go_include@ crypto/cast5.lo.dep
2325 crypto/cast5.lo.dep: $(go_crypto_cast5_files)
2327 crypto/cast5.lo: $(go_crypto_cast5_files)
2329 crypto/cast5/check: $(CHECK_DEPS)
2330 @$(MKDIR_P) crypto/cast5
2332 .PHONY: crypto/cast5/check
2334 @go_include@ crypto/cipher.lo.dep
2335 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2337 crypto/cipher.lo: $(go_crypto_cipher_files)
2339 crypto/cipher/check: $(CHECK_DEPS)
2340 @$(MKDIR_P) crypto/cipher
2342 .PHONY: crypto/cipher/check
2344 @go_include@ crypto/des.lo.dep
2345 crypto/des.lo.dep: $(go_crypto_des_files)
2347 crypto/des.lo: $(go_crypto_des_files)
2349 crypto/des/check: $(CHECK_DEPS)
2350 @$(MKDIR_P) crypto/des
2352 .PHONY: crypto/des/check
2354 @go_include@ crypto/dsa.lo.dep
2355 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2357 crypto/dsa.lo: $(go_crypto_dsa_files)
2359 crypto/dsa/check: $(CHECK_DEPS)
2360 @$(MKDIR_P) crypto/dsa
2362 .PHONY: crypto/dsa/check
2364 @go_include@ crypto/ecdsa.lo.dep
2365 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2367 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2369 crypto/ecdsa/check: $(CHECK_DEPS)
2370 @$(MKDIR_P) crypto/ecdsa
2372 .PHONY: crypto/ecdsa/check
2374 @go_include@ crypto/elliptic.lo.dep
2375 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2377 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2379 crypto/elliptic/check: $(CHECK_DEPS)
2380 @$(MKDIR_P) crypto/elliptic
2382 .PHONY: crypto/elliptic/check
2384 @go_include@ crypto/hmac.lo.dep
2385 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2387 crypto/hmac.lo: $(go_crypto_hmac_files)
2389 crypto/hmac/check: $(CHECK_DEPS)
2390 @$(MKDIR_P) crypto/hmac
2392 .PHONY: crypto/hmac/check
2394 @go_include@ crypto/md4.lo.dep
2395 crypto/md4.lo.dep: $(go_crypto_md4_files)
2397 crypto/md4.lo: $(go_crypto_md4_files)
2399 crypto/md4/check: $(CHECK_DEPS)
2400 @$(MKDIR_P) crypto/md4
2402 .PHONY: crypto/md4/check
2404 @go_include@ crypto/md5.lo.dep
2405 crypto/md5.lo.dep: $(go_crypto_md5_files)
2407 crypto/md5.lo: $(go_crypto_md5_files)
2409 crypto/md5/check: $(CHECK_DEPS)
2410 @$(MKDIR_P) crypto/md5
2412 .PHONY: crypto/md5/check
2414 @go_include@ crypto/ocsp.lo.dep
2415 crypto/ocsp.lo.dep: $(go_crypto_ocsp_files)
2417 crypto/ocsp.lo: $(go_crypto_ocsp_files)
2419 crypto/ocsp/check: $(CHECK_DEPS)
2420 @$(MKDIR_P) crypto/ocsp
2422 .PHONY: crypto/ocsp/check
2424 @go_include@ crypto/openpgp.lo.dep
2425 crypto/openpgp.lo.dep: $(go_crypto_openpgp_files)
2427 crypto/openpgp.lo: $(go_crypto_openpgp_files)
2429 crypto/openpgp/check: $(CHECK_DEPS)
2430 @$(MKDIR_P) crypto/openpgp
2432 .PHONY: crypto/openpgp/check
2434 @go_include@ crypto/rand.lo.dep
2435 crypto/rand.lo.dep: $(go_crypto_rand_files)
2437 crypto/rand.lo: $(go_crypto_rand_files)
2439 crypto/rand/check: $(CHECK_DEPS)
2440 @$(MKDIR_P) crypto/rand
2442 .PHONY: crypto/rand/check
2444 @go_include@ crypto/rc4.lo.dep
2445 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2447 crypto/rc4.lo: $(go_crypto_rc4_files)
2449 crypto/rc4/check: $(CHECK_DEPS)
2450 @$(MKDIR_P) crypto/rc4
2452 .PHONY: crypto/rc4/check
2454 @go_include@ crypto/ripemd160.lo.dep
2455 crypto/ripemd160.lo.dep: $(go_crypto_ripemd160_files)
2457 crypto/ripemd160.lo: $(go_crypto_ripemd160_files)
2459 crypto/ripemd160/check: $(CHECK_DEPS)
2460 @$(MKDIR_P) crypto/ripemd160
2462 .PHONY: crypto/ripemd160/check
2464 @go_include@ crypto/rsa.lo.dep
2465 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2467 crypto/rsa.lo: $(go_crypto_rsa_files)
2469 crypto/rsa/check: $(CHECK_DEPS)
2470 @$(MKDIR_P) crypto/rsa
2472 .PHONY: crypto/rsa/check
2474 @go_include@ crypto/sha1.lo.dep
2475 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2477 crypto/sha1.lo: $(go_crypto_sha1_files)
2479 crypto/sha1/check: $(CHECK_DEPS)
2480 @$(MKDIR_P) crypto/sha1
2482 .PHONY: crypto/sha1/check
2484 @go_include@ crypto/sha256.lo.dep
2485 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2487 crypto/sha256.lo: $(go_crypto_sha256_files)
2489 crypto/sha256/check: $(CHECK_DEPS)
2490 @$(MKDIR_P) crypto/sha256
2492 .PHONY: crypto/sha256/check
2494 @go_include@ crypto/sha512.lo.dep
2495 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2497 crypto/sha512.lo: $(go_crypto_sha512_files)
2499 crypto/sha512/check: $(CHECK_DEPS)
2500 @$(MKDIR_P) crypto/sha512
2502 .PHONY: crypto/sha512/check
2504 @go_include@ crypto/subtle.lo.dep
2505 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2507 crypto/subtle.lo: $(go_crypto_subtle_files)
2509 crypto/subtle/check: $(CHECK_DEPS)
2510 @$(MKDIR_P) crypto/subtle
2512 .PHONY: crypto/subtle/check
2514 @go_include@ crypto/tls.lo.dep
2515 crypto/tls.lo.dep: $(go_crypto_tls_files)
2517 crypto/tls.lo: $(go_crypto_tls_files)
2519 crypto/tls/check: $(CHECK_DEPS)
2520 @$(MKDIR_P) crypto/tls
2522 .PHONY: crypto/tls/check
2524 @go_include@ crypto/twofish.lo.dep
2525 crypto/twofish.lo.dep: $(go_crypto_twofish_files)
2527 crypto/twofish.lo: $(go_crypto_twofish_files)
2529 crypto/twofish/check: $(CHECK_DEPS)
2530 @$(MKDIR_P) crypto/twofish
2532 .PHONY: crypto/twofish/check
2534 @go_include@ crypto/x509.lo.dep
2535 crypto/x509.lo.dep: $(go_crypto_x509_files)
2537 crypto/x509.lo: $(go_crypto_x509_files)
2539 crypto/x509/check: $(CHECK_DEPS)
2540 @$(MKDIR_P) crypto/x509
2542 .PHONY: crypto/x509/check
2544 @go_include@ crypto/xtea.lo.dep
2545 crypto/xtea.lo.dep: $(go_crypto_xtea_files)
2547 crypto/xtea.lo: $(go_crypto_xtea_files)
2549 crypto/xtea/check: $(CHECK_DEPS)
2550 @$(MKDIR_P) crypto/xtea
2552 .PHONY: crypto/xtea/check
2554 @go_include@ crypto/openpgp/armor.lo.dep
2555 crypto/openpgp/armor.lo.dep: $(go_crypto_openpgp_armor_files)
2557 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files)
2559 crypto/openpgp/armor/check: $(CHECK_DEPS)
2560 @$(MKDIR_P) crypto/openpgp/armor
2562 .PHONY: crypto/openpgp/armor/check
2564 @go_include@ crypto/openpgp/elgamal.lo.dep
2565 crypto/openpgp/elgamal.lo.dep: $(go_crypto_openpgp_elgamal_files)
2567 crypto/openpgp/elgamal.lo: $(go_crypto_openpgp_elgamal_files)
2569 crypto/openpgp/elgamal/check: $(CHECK_DEPS)
2570 @$(MKDIR_P) crypto/openpgp/elgamal
2572 .PHONY: crypto/openpgp/elgamal/check
2574 @go_include@ crypto/openpgp/error.lo.dep
2575 crypto/openpgp/error.lo.dep: $(go_crypto_openpgp_error_files)
2577 crypto/openpgp/error.lo: $(go_crypto_openpgp_error_files)
2579 crypto/openpgp/error/check: $(CHECK_DEPS)
2580 @$(MKDIR_P) crypto/openpgp/error
2582 .PHONY: crypto/openpgp/error/check
2584 @go_include@ crypto/openpgp/packet.lo.dep
2585 crypto/openpgp/packet.lo.dep: $(go_crypto_openpgp_packet_files)
2587 crypto/openpgp/packet.lo: $(go_crypto_openpgp_packet_files)
2589 crypto/openpgp/packet/check: $(CHECK_DEPS)
2590 @$(MKDIR_P) crypto/openpgp/packet
2592 .PHONY: crypto/openpgp/packet/check
2594 @go_include@ crypto/openpgp/s2k.lo.dep
2595 crypto/openpgp/s2k.lo.dep: $(go_crypto_openpgp_s2k_files)
2597 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files)
2599 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2600 @$(MKDIR_P) crypto/openpgp/s2k
2602 .PHONY: crypto/openpgp/s2k/check
2604 @go_include@ crypto/x509/pkix.lo.dep
2605 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2607 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2609 crypto/x509/pkix/check: $(CHECK_DEPS)
2610 @$(MKDIR_P) crypto/x509/pkix
2612 .PHONY: crypto/x509/pkix/check
2614 @go_include@ debug/dwarf.lo.dep
2615 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2617 debug/dwarf.lo: $(go_debug_dwarf_files)
2619 debug/dwarf/check: $(CHECK_DEPS)
2620 @$(MKDIR_P) debug/dwarf
2622 .PHONY: debug/dwarf/check
2624 @go_include@ debug/elf.lo.dep
2625 debug/elf.lo.dep: $(go_debug_elf_files)
2627 debug/elf.lo: $(go_debug_elf_files)
2629 debug/elf/check: $(CHECK_DEPS)
2630 @$(MKDIR_P) debug/elf
2632 .PHONY: debug/elf/check
2634 @go_include@ debug/gosym.lo.dep
2635 debug/gosym.lo.dep: $(go_debug_gosym_files)
2637 debug/gosym.lo: $(go_debug_gosym_files)
2639 debug/gosym/check: $(CHECK_DEPS)
2640 @$(MKDIR_P) debug/gosym
2642 .PHONY: debug/gosym/check
2644 @go_include@ debug/macho.lo.dep
2645 debug/macho.lo.dep: $(go_debug_macho_files)
2647 debug/macho.lo: $(go_debug_macho_files)
2649 debug/macho/check: $(CHECK_DEPS)
2650 @$(MKDIR_P) debug/macho
2652 .PHONY: debug/macho/check
2654 @go_include@ debug/pe.lo.dep
2655 debug/pe.lo.dep: $(go_debug_pe_files)
2657 debug/pe.lo: $(go_debug_pe_files)
2659 debug/pe/check: $(CHECK_DEPS)
2660 @$(MKDIR_P) debug/pe
2662 .PHONY: debug/pe/check
2664 @go_include@ encoding/asn1.lo.dep
2665 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2667 encoding/asn1.lo: $(go_encoding_asn1_files)
2669 encoding/asn1/check: $(CHECK_DEPS)
2670 @$(MKDIR_P) encoding/asn1
2672 .PHONY: encoding/asn1/check
2674 @go_include@ encoding/ascii85.lo.dep
2675 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2677 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2679 encoding/ascii85/check: $(CHECK_DEPS)
2680 @$(MKDIR_P) encoding/ascii85
2682 .PHONY: encoding/ascii85/check
2684 @go_include@ encoding/base32.lo.dep
2685 encoding/base32.lo.dep: $(go_encoding_base32_files)
2687 encoding/base32.lo: $(go_encoding_base32_files)
2689 encoding/base32/check: $(CHECK_DEPS)
2690 @$(MKDIR_P) encoding/base32
2692 .PHONY: encoding/base32/check
2694 @go_include@ encoding/base64.lo.dep
2695 encoding/base64.lo.dep: $(go_encoding_base64_files)
2697 encoding/base64.lo: $(go_encoding_base64_files)
2699 encoding/base64/check: $(CHECK_DEPS)
2700 @$(MKDIR_P) encoding/base64
2702 .PHONY: encoding/base64/check
2704 @go_include@ encoding/binary.lo.dep
2705 encoding/binary.lo.dep: $(go_encoding_binary_files)
2707 encoding/binary.lo: $(go_encoding_binary_files)
2709 encoding/binary/check: $(CHECK_DEPS)
2710 @$(MKDIR_P) encoding/binary
2712 .PHONY: encoding/binary/check
2714 @go_include@ encoding/csv.lo.dep
2715 encoding/csv.lo.dep: $(go_encoding_csv_files)
2717 encoding/csv.lo: $(go_encoding_csv_files)
2719 encoding/csv/check: $(CHECK_DEPS)
2720 @$(MKDIR_P) encoding/csv
2722 .PHONY: encoding/csv/check
2724 @go_include@ encoding/git85.lo.dep
2725 encoding/git85.lo.dep: $(go_encoding_git85_files)
2727 encoding/git85.lo: $(go_encoding_git85_files)
2729 encoding/git85/check: $(CHECK_DEPS)
2730 @$(MKDIR_P) encoding/git85
2732 .PHONY: encoding/git85/check
2734 @go_include@ encoding/gob.lo.dep
2735 encoding/gob.lo.dep: $(go_encoding_gob_files)
2737 encoding/gob.lo: $(go_encoding_gob_files)
2739 encoding/gob/check: $(CHECK_DEPS)
2740 @$(MKDIR_P) encoding/gob
2742 .PHONY: encoding/gob/check
2744 @go_include@ encoding/hex.lo.dep
2745 encoding/hex.lo.dep: $(go_encoding_hex_files)
2747 encoding/hex.lo: $(go_encoding_hex_files)
2749 encoding/hex/check: $(CHECK_DEPS)
2750 @$(MKDIR_P) encoding/hex
2752 .PHONY: encoding/hex/check
2754 @go_include@ encoding/json.lo.dep
2755 encoding/json.lo.dep: $(go_encoding_json_files)
2757 encoding/json.lo: $(go_encoding_json_files)
2759 encoding/json/check: $(CHECK_DEPS)
2760 @$(MKDIR_P) encoding/json
2762 .PHONY: encoding/json/check
2764 @go_include@ encoding/pem.lo.dep
2765 encoding/pem.lo.dep: $(go_encoding_pem_files)
2767 encoding/pem.lo: $(go_encoding_pem_files)
2769 encoding/pem/check: $(CHECK_DEPS)
2770 @$(MKDIR_P) encoding/pem
2772 .PHONY: encoding/pem/check
2774 @go_include@ encoding/xml.lo.dep
2775 encoding/xml.lo.dep: $(go_encoding_xml_files)
2777 encoding/xml.lo: $(go_encoding_xml_files)
2779 encoding/xml/check: $(CHECK_DEPS)
2780 @$(MKDIR_P) encoding/xml
2782 .PHONY: encoding/xml/check
2784 @go_include@ exp/ebnf.lo.dep
2785 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2787 exp/ebnf.lo: $(go_exp_ebnf_files)
2789 exp/ebnf/check: $(CHECK_DEPS)
2790 @$(MKDIR_P) exp/ebnf
2792 .PHONY: exp/ebnf/check
2794 @go_include@ exp/norm.lo.dep
2795 exp/norm.lo.dep: $(go_exp_norm_files)
2797 exp/norm.lo: $(go_exp_norm_files)
2799 exp/norm/check: $(CHECK_DEPS)
2800 @$(MKDIR_P) exp/norm
2802 .PHONY: exp/norm/check
2804 @go_include@ exp/spdy.lo.dep
2805 exp/spdy.lo.dep: $(go_exp_spdy_files)
2807 exp/spdy.lo: $(go_exp_spdy_files)
2809 exp/spdy/check: $(CHECK_DEPS)
2810 @$(MKDIR_P) exp/spdy
2812 .PHONY: exp/spdy/check
2814 @go_include@ exp/sql.lo.dep
2815 exp/sql.lo.dep: $(go_exp_sql_files)
2817 exp/sql.lo: $(go_exp_sql_files)
2819 exp/sql/check: $(CHECK_DEPS)
2822 .PHONY: exp/sql/check
2824 @go_include@ exp/ssh.lo.dep
2825 exp/ssh.lo.dep: $(go_exp_ssh_files)
2827 exp/ssh.lo: $(go_exp_ssh_files)
2829 exp/ssh/check: $(CHECK_DEPS)
2832 .PHONY: exp/ssh/check
2834 @go_include@ exp/terminal.lo.dep
2835 exp/terminal.lo.dep: $(go_exp_terminal_files)
2837 exp/terminal.lo: $(go_exp_terminal_files)
2839 exp/terminal/check: $(CHECK_DEPS)
2840 @$(MKDIR_P) exp/terminal
2842 .PHONY: exp/terminal/check
2844 @go_include@ exp/types.lo.dep
2845 exp/types.lo.dep: $(go_exp_types_files)
2847 exp/types.lo: $(go_exp_types_files)
2849 exp/types/check: $(CHECK_DEPS)
2850 @$(MKDIR_P) exp/types
2852 .PHONY: exp/types/check
2854 @go_include@ exp/inotify.lo.dep
2855 exp/inotify.lo.dep: $(go_exp_inotify_files)
2857 exp/inotify.lo: $(go_exp_inotify_files)
2859 exp/inotify/check: $(CHECK_DEPS)
2860 @$(MKDIR_P) exp/inotify
2862 .PHONY: exp/inotify/check
2864 @go_include@ exp/sql/driver.lo.dep
2865 exp/sql/driver.lo.dep: $(go_exp_sql_driver_files)
2867 exp/sql/driver.lo: $(go_exp_sql_driver_files)
2869 exp/sql/driver/check: $(CHECK_DEPS)
2870 @$(MKDIR_P) exp/sql/driver
2872 .PHONY: exp/sql/driver/check
2874 @go_include@ html/template.lo.dep
2875 html/template.lo.dep: $(go_html_template_files)
2877 html/template.lo: $(go_html_template_files)
2879 html/template/check: $(CHECK_DEPS)
2880 @$(MKDIR_P) html/template
2882 .PHONY: html/template/check
2884 @go_include@ go/ast.lo.dep
2885 go/ast.lo.dep: $(go_go_ast_files)
2887 go/ast.lo: $(go_go_ast_files)
2889 go/ast/check: $(CHECK_DEPS)
2892 .PHONY: go/ast/check
2894 @go_include@ go/build.lo.dep
2895 go/build.lo.dep: $(go_go_build_files)
2897 go/build.lo: $(go_go_build_files)
2899 go/build/check: $(CHECK_DEPS)
2900 @$(MKDIR_P) go/build
2902 .PHONY: go/build/check
2904 syslist.go: s-syslist; @true
2906 echo '// Generated automatically by make.' >syslist.go.tmp
2907 echo 'package build' >>syslist.go.tmp
2908 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2909 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2910 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2913 @go_include@ go/doc.lo.dep
2914 go/doc.lo.dep: $(go_go_doc_files)
2916 go/doc.lo: $(go_go_doc_files)
2918 go/doc/check: $(CHECK_DEPS)
2921 .PHONY: go/doc/check
2923 @go_include@ go/parser.lo.dep
2924 go/parser.lo.dep: $(go_go_parser_files)
2926 go/parser.lo: $(go_go_parser_files)
2928 go/parser/check: $(CHECK_DEPS)
2929 @$(MKDIR_P) go/parser
2931 .PHONY: go/parser/check
2933 @go_include@ go/printer.lo.dep
2934 go/printer.lo.dep: $(go_go_printer_files)
2936 go/printer.lo: $(go_go_printer_files)
2938 go/printer/check: $(CHECK_DEPS)
2939 @$(MKDIR_P) go/printer
2941 .PHONY: go/printer/check
2943 @go_include@ go/scanner.lo.dep
2944 go/scanner.lo.dep: $(go_go_scanner_files)
2946 go/scanner.lo: $(go_go_scanner_files)
2948 go/scanner/check: $(CHECK_DEPS)
2949 @$(MKDIR_P) go/scanner
2951 .PHONY: go/scanner/check
2953 @go_include@ go/token.lo.dep
2954 go/token.lo.dep: $(go_go_token_files)
2956 go/token.lo: $(go_go_token_files)
2958 go/token/check: $(CHECK_DEPS)
2959 @$(MKDIR_P) go/token
2961 .PHONY: go/token/check
2963 @go_include@ hash/adler32.lo.dep
2964 hash/adler32.lo.dep: $(go_hash_adler32_files)
2966 hash/adler32.lo: $(go_hash_adler32_files)
2968 hash/adler32/check: $(CHECK_DEPS)
2969 @$(MKDIR_P) hash/adler32
2971 .PHONY: hash/adler32/check
2973 @go_include@ hash/crc32.lo.dep
2974 hash/crc32.lo.dep: $(go_hash_crc32_files)
2976 hash/crc32.lo: $(go_hash_crc32_files)
2978 hash/crc32/check: $(CHECK_DEPS)
2979 @$(MKDIR_P) hash/crc32
2981 .PHONY: hash/crc32/check
2983 @go_include@ hash/crc64.lo.dep
2984 hash/crc64.lo.dep: $(go_hash_crc64_files)
2986 hash/crc64.lo: $(go_hash_crc64_files)
2988 hash/crc64/check: $(CHECK_DEPS)
2989 @$(MKDIR_P) hash/crc64
2991 .PHONY: hash/crc64/check
2993 @go_include@ hash/fnv.lo.dep
2994 hash/fnv.lo.dep: $(go_hash_fnv_files)
2996 hash/fnv.lo: $(go_hash_fnv_files)
2998 hash/fnv/check: $(CHECK_DEPS)
2999 @$(MKDIR_P) hash/fnv
3001 .PHONY: hash/fnv/check
3003 @go_include@ image/bmp.lo.dep
3004 image/bmp.lo.dep: $(go_image_bmp_files)
3006 image/bmp.lo: $(go_image_bmp_files)
3008 image/bmp/check: $(CHECK_DEPS)
3009 @$(MKDIR_P) image/bmp
3011 .PHONY: image/bmp/check
3013 @go_include@ image/color.lo.dep
3014 image/color.lo.dep: $(go_image_color_files)
3016 image/color.lo: $(go_image_color_files)
3018 image/color/check: $(CHECK_DEPS)
3019 @$(MKDIR_P) image/color
3021 .PHONY: image/color/check
3023 @go_include@ image/draw.lo.dep
3024 image/draw.lo.dep: $(go_image_draw_files)
3026 image/draw.lo: $(go_image_draw_files)
3028 image/draw/check: $(CHECK_DEPS)
3029 @$(MKDIR_P) image/draw
3031 .PHONY: image/draw/check
3033 @go_include@ image/gif.lo.dep
3034 image/gif.lo.dep: $(go_image_gif_files)
3036 image/gif.lo: $(go_image_gif_files)
3038 image/gif/check: $(CHECK_DEPS)
3039 @$(MKDIR_P) image/gif
3041 .PHONY: image/gif/check
3043 @go_include@ image/jpeg.lo.dep
3044 image/jpeg.lo.dep: $(go_image_jpeg_files)
3046 image/jpeg.lo: $(go_image_jpeg_files)
3048 image/jpeg/check: $(CHECK_DEPS)
3049 @$(MKDIR_P) image/jpeg
3051 .PHONY: image/jpeg/check
3053 @go_include@ image/png.lo.dep
3054 image/png.lo.dep: $(go_image_png_files)
3056 image/png.lo: $(go_image_png_files)
3058 image/png/check: $(CHECK_DEPS)
3059 @$(MKDIR_P) image/png
3061 .PHONY: image/png/check
3063 @go_include@ image/tiff.lo.dep
3064 image/tiff.lo.dep: $(go_image_tiff_files)
3066 image/tiff.lo: $(go_image_tiff_files)
3068 image/tiff/check: $(CHECK_DEPS)
3069 @$(MKDIR_P) image/tiff
3071 .PHONY: image/tiff/check
3073 @go_include@ image/ycbcr.lo.dep
3074 image/ycbcr.lo.dep: $(go_image_ycbcr_files)
3076 image/ycbcr.lo: $(go_image_ycbcr_files)
3078 image/ycbcr/check: $(CHECK_DEPS)
3079 @$(MKDIR_P) image/ycbcr
3081 .PHONY: image/ycbcr/check
3083 @go_include@ index/suffixarray.lo.dep
3084 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
3086 index/suffixarray.lo: $(go_index_suffixarray_files)
3088 index/suffixarray/check: $(CHECK_DEPS)
3089 @$(MKDIR_P) index/suffixarray
3091 .PHONY: index/suffixarray/check
3093 @go_include@ io/ioutil.lo.dep
3094 io/ioutil.lo.dep: $(go_io_ioutil_files)
3096 io/ioutil.lo: $(go_io_ioutil_files)
3098 io/ioutil/check: $(CHECK_DEPS)
3099 @$(MKDIR_P) io/ioutil
3101 .PHONY: io/ioutil/check
3103 @go_include@ log/syslog.lo.dep
3104 log/syslog.lo.dep: $(go_log_syslog_files)
3106 log/syslog.lo: $(go_log_syslog_files)
3108 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
3109 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
3110 log/syslog/check: $(CHECK_DEPS)
3111 @$(MKDIR_P) log/syslog
3113 .PHONY: log/syslog/check
3115 @go_include@ math/big.lo.dep
3116 math/big.lo.dep: $(go_math_big_files)
3118 math/big.lo: $(go_math_big_files)
3120 math/big/check: $(CHECK_DEPS)
3121 @$(MKDIR_P) math/big
3123 .PHONY: math/big/check
3125 @go_include@ math/cmplx.lo.dep
3126 math/cmplx.lo.dep: $(go_math_cmplx_files)
3128 math/cmplx.lo: $(go_math_cmplx_files)
3130 math/cmplx/check: $(CHECK_DEPS)
3131 @$(MKDIR_P) math/cmplx
3133 .PHONY: math/cmplx/check
3135 @go_include@ math/rand.lo.dep
3136 math/rand.lo.dep: $(go_math_rand_files)
3138 math/rand.lo: $(go_math_rand_files)
3140 math/rand/check: $(CHECK_DEPS)
3141 @$(MKDIR_P) math/rand
3143 .PHONY: math/rand/check
3145 @go_include@ mime/multipart.lo.dep
3146 mime/multipart.lo.dep: $(go_mime_multipart_files)
3148 mime/multipart.lo: $(go_mime_multipart_files)
3150 mime/multipart/check: $(CHECK_DEPS)
3151 @$(MKDIR_P) mime/multipart
3153 .PHONY: mime/multipart/check
3155 @go_include@ net/dict.lo.dep
3156 net/dict.lo.dep: $(go_net_dict_files)
3158 net/dict.lo: $(go_net_dict_files)
3161 @go_include@ net/http.lo.dep
3162 net/http.lo.dep: $(go_net_http_files)
3164 net/http.lo: $(go_net_http_files)
3166 net/http/check: $(CHECK_DEPS)
3167 @$(MKDIR_P) net/http
3169 .PHONY: net/http/check
3171 @go_include@ net/mail.lo.dep
3172 net/mail.lo.dep: $(go_net_mail_files)
3174 net/mail.lo: $(go_net_mail_files)
3176 net/mail/check: $(CHECK_DEPS)
3177 @$(MKDIR_P) net/mail
3179 .PHONY: net/mail/check
3181 @go_include@ net/rpc.lo.dep
3182 net/rpc.lo.dep: $(go_net_rpc_files)
3184 net/rpc.lo: $(go_net_rpc_files)
3186 net/rpc/check: $(CHECK_DEPS)
3189 .PHONY: net/rpc/check
3191 @go_include@ net/smtp.lo.dep
3192 net/smtp.lo.dep: $(go_net_smtp_files)
3194 net/smtp.lo: $(go_net_smtp_files)
3196 net/smtp/check: $(CHECK_DEPS)
3197 @$(MKDIR_P) net/smtp
3199 .PHONY: net/smtp/check
3201 @go_include@ net/url.lo.dep
3202 net/url.lo.dep: $(go_net_url_files)
3204 net/url.lo: $(go_net_url_files)
3206 net/url/check: $(CHECK_DEPS)
3209 .PHONY: net/url/check
3211 @go_include@ net/textproto.lo.dep
3212 net/textproto.lo.dep: $(go_net_textproto_files)
3214 net/textproto.lo: $(go_net_textproto_files)
3216 net/textproto/check: $(CHECK_DEPS)
3217 @$(MKDIR_P) net/textproto
3219 .PHONY: net/textproto/check
3221 @go_include@ net/http/cgi.lo.dep
3222 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3224 net/http/cgi.lo: $(go_net_http_cgi_files)
3226 net/http/cgi/check: $(CHECK_DEPS)
3227 @$(MKDIR_P) net/http/cgi
3229 .PHONY: net/http/cgi/check
3231 @go_include@ net/http/fcgi.lo.dep
3232 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3234 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3236 net/http/fcgi/check: $(CHECK_DEPS)
3237 @$(MKDIR_P) net/http/fcgi
3239 .PHONY: net/http/fcgi/check
3241 @go_include@ net/http/httptest.lo.dep
3242 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3244 net/http/httptest.lo: $(go_net_http_httptest_files)
3246 net/http/httptest/check: $(check_deps)
3247 @$(MKDIR_P) net/http/httptest
3249 .PHONY: net/http/httptest/check
3251 @go_include@ net/http/httputil.lo.dep
3252 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3254 net/http/httputil.lo: $(go_net_http_httputil_files)
3256 net/http/httputil/check: $(check_deps)
3257 @$(MKDIR_P) net/http/httputil
3259 .PHONY: net/http/httputil/check
3261 @go_include@ net/http/pprof.lo.dep
3262 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3264 net/http/pprof.lo: $(go_net_http_pprof_files)
3266 net/http/pprof/check: $(CHECK_DEPS)
3267 @$(MKDIR_P) net/http/pprof
3269 .PHONY: net/http/pprof/check
3271 @go_include@ net/rpc/jsonrpc.lo.dep
3272 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3274 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3276 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3277 @$(MKDIR_P) net/rpc/jsonrpc
3279 .PHONY: net/rpc/jsonrpc/check
3281 @go_include@ old/netchan.lo.dep
3282 old/netchan.lo.dep: $(go_old_netchan_files)
3284 old/netchan.lo: $(go_old_netchan_files)
3286 old/netchan/check: $(CHECK_DEPS)
3287 @$(MKDIR_P) old/netchan
3289 .PHONY: old/netchan/check
3291 @go_include@ old/regexp.lo.dep
3292 old/regexp.lo.dep: $(go_old_regexp_files)
3294 old/regexp.lo: $(go_old_regexp_files)
3296 old/regexp/check: $(CHECK_DEPS)
3297 @$(MKDIR_P) old/regexp
3299 .PHONY: old/regexp/check
3301 @go_include@ old/template.lo.dep
3302 old/template.lo.dep: $(go_old_template_files)
3304 old/template.lo: $(go_old_template_files)
3306 old/template/check: $(CHECK_DEPS)
3307 @$(MKDIR_P) old/template
3309 .PHONY: old/template/check
3311 @go_include@ os/exec.lo.dep
3312 os/exec.lo.dep: $(go_os_exec_files)
3314 os/exec.lo: $(go_os_exec_files)
3316 os/exec/check: $(CHECK_DEPS)
3319 .PHONY: os/exec/check
3321 @go_include@ os/user.lo.dep
3322 os/user.lo.dep: $(go_os_user_files)
3324 os/user.lo: $(go_os_user_files)
3326 os/user/check: $(CHECK_DEPS)
3329 .PHONY: os/user/check
3331 @go_include@ os/signal.lo.dep
3332 os/signal.lo.dep: $(go_os_signal_files)
3334 os/signal.lo: $(go_os_signal_files)
3336 os/signal/check: $(CHECK_DEPS)
3337 @$(MKDIR_P) os/signal
3339 .PHONY: os/signal/check
3341 @go_include@ path/filepath.lo.dep
3342 path/filepath.lo.dep: $(go_path_filepath_files)
3344 path/filepath.lo: $(go_path_filepath_files)
3346 path/filepath/check: $(CHECK_DEPS)
3347 @$(MKDIR_P) path/filepath
3349 .PHONY: path/filepath/check
3351 @go_include@ regexp/syntax.lo.dep
3352 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3354 regexp/syntax.lo: $(go_regexp_syntax_files)
3356 regexp/syntax/check: $(CHECK_DEPS)
3357 @$(MKDIR_P) regexp/syntax
3359 .PHONY: regexp/syntax/check
3361 @go_include@ runtime/debug.lo.dep
3362 runtime/debug.lo.dep: $(go_runtime_debug_files)
3364 runtime/debug.lo: $(go_runtime_debug_files)
3366 runtime/debug/check: $(CHECK_DEPS)
3367 @$(MKDIR_P) runtime/debug
3369 .PHONY: runtime/debug/check
3371 @go_include@ runtime/pprof.lo.dep
3372 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3374 runtime/pprof.lo: $(go_runtime_pprof_files)
3376 runtime/pprof/check: $(CHECK_DEPS)
3377 @$(MKDIR_P) runtime/pprof
3379 .PHONY: runtime/pprof/check
3381 @go_include@ sync/atomic.lo.dep
3382 sync/atomic.lo.dep: $(go_sync_atomic_files)
3384 sync/atomic.lo: $(go_sync_atomic_files)
3386 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3387 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3388 sync/atomic/check: $(CHECK_DEPS)
3389 @$(MKDIR_P) sync/atomic
3391 .PHONY: sync/atomic/check
3393 @go_include@ text/tabwriter.lo.dep
3394 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3396 text/tabwriter.lo: $(go_text_tabwriter_files)
3398 text/tabwriter/check: $(CHECK_DEPS)
3399 @$(MKDIR_P) text/tabwriter
3401 .PHONY: text/tabwriter/check
3403 @go_include@ text/template.lo.dep
3404 text/template.lo.dep: $(go_text_template_files)
3406 text/template.lo: $(go_text_template_files)
3408 text/template/check: $(CHECK_DEPS)
3410 .PHONY: text/template/check
3412 @go_include@ text/template/parse.lo.dep
3413 text/template/parse.lo.dep: $(go_text_template_parse_files)
3415 text/template/parse.lo: $(go_text_template_parse_files)
3417 text/template/parse/check: $(CHECK_DEPS)
3418 @$(MKDIR_P) text/template/parse
3420 .PHONY: text/template/parse/check
3422 @go_include@ testing/iotest.lo.dep
3423 testing/iotest.lo.dep: $(go_testing_iotest_files)
3425 testing/iotest.lo: $(go_testing_iotest_files)
3427 testing/iotest/check: $(CHECK_DEPS)
3428 @$(MKDIR_P) testing/iotest
3430 .PHONY: testing/iotest/check
3432 @go_include@ testing/quick.lo.dep
3433 testing/quick.lo.dep: $(go_testing_quick_files)
3435 testing/quick.lo: $(go_testing_quick_files)
3437 testing/quick/check: $(CHECK_DEPS)
3438 @$(MKDIR_P) testing/quick
3440 .PHONY: testing/quick/check
3442 @go_include@ testing/script.lo.dep
3443 testing/script.lo.dep: $(go_testing_script_files)
3445 testing/script.lo: $(go_testing_script_files)
3447 testing/script/check: $(CHECK_DEPS)
3448 @$(MKDIR_P) testing/script
3450 .PHONY: testing/script/check
3452 @go_include@ unicode/utf16.lo.dep
3453 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3455 unicode/utf16.lo: $(go_unicode_utf16_files)
3457 unicode/utf16/check: $(CHECK_DEPS)
3458 @$(MKDIR_P) unicode/utf16
3460 .PHONY: unicode/utf16/check
3462 @go_include@ unicode/utf8.lo.dep
3463 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3465 unicode/utf8.lo: $(go_unicode_utf8_files)
3467 unicode/utf8/check: $(CHECK_DEPS)
3468 @$(MKDIR_P) unicode/utf8
3470 .PHONY: unicode/utf8/check
3472 @go_include@ syscall/syscall.lo.dep
3473 syscall/syscall.lo.dep: $(go_syscall_files)
3475 syscall/syscall.lo: $(go_syscall_files)
3477 syscall/errno.lo: go/syscall/errno.c
3478 $(LTCOMPILE) -c -o $@ $<
3479 syscall/wait.lo: go/syscall/wait.c
3480 $(LTCOMPILE) -c -o $@ $<
3482 # How to build a .gox file from a .lo file.
3484 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3485 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3487 bufio.gox: bufio/bufio.lo
3489 bytes.gox: bytes/bytes.lo
3491 crypto.gox: crypto/crypto.lo
3493 errors.gox: errors/errors.lo
3495 expvar.gox: expvar/expvar.lo
3497 flag.gox: flag/flag.lo
3501 hash.gox: hash/hash.lo
3503 html.gox: html/html.lo
3505 image.gox: image/image.lo
3511 math.gox: math/math.lo
3513 mime.gox: mime/mime.lo
3519 patch.gox: patch/patch.lo
3521 path.gox: path/path.lo
3523 reflect.gox: reflect/reflect.lo
3525 regexp.gox: regexp/regexp.lo
3527 runtime.gox: runtime/runtime.lo
3529 sort.gox: sort/sort.lo
3531 strconv.gox: strconv/strconv.lo
3533 strings.gox: strings/strings.lo
3535 sync.gox: sync/sync.lo
3537 syscall.gox: syscall/syscall.lo
3539 testing.gox: testing/testing.lo
3541 time.gox: time/time.lo
3543 unicode.gox: unicode/unicode.lo
3545 websocket.gox: websocket/websocket.lo
3548 archive/tar.gox: archive/tar.lo
3550 archive/zip.gox: archive/zip.lo
3553 compress/bzip2.gox: compress/bzip2.lo
3555 compress/flate.gox: compress/flate.lo
3557 compress/gzip.gox: compress/gzip.lo
3559 compress/lzw.gox: compress/lzw.lo
3561 compress/zlib.gox: compress/zlib.lo
3564 container/heap.gox: container/heap.lo
3566 container/list.gox: container/list.lo
3568 container/ring.gox: container/ring.lo
3571 crypto/aes.gox: crypto/aes.lo
3573 crypto/bcrypt.gox: crypto/bcrypt.lo
3575 crypto/blowfish.gox: crypto/blowfish.lo
3577 crypto/cast5.gox: crypto/cast5.lo
3579 crypto/cipher.gox: crypto/cipher.lo
3581 crypto/des.gox: crypto/des.lo
3583 crypto/dsa.gox: crypto/dsa.lo
3585 crypto/ecdsa.gox: crypto/ecdsa.lo
3587 crypto/elliptic.gox: crypto/elliptic.lo
3589 crypto/hmac.gox: crypto/hmac.lo
3591 crypto/md4.gox: crypto/md4.lo
3593 crypto/md5.gox: crypto/md5.lo
3595 crypto/ocsp.gox: crypto/ocsp.lo
3597 crypto/openpgp.gox: crypto/openpgp.lo
3599 crypto/rand.gox: crypto/rand.lo
3601 crypto/rc4.gox: crypto/rc4.lo
3603 crypto/ripemd160.gox: crypto/ripemd160.lo
3605 crypto/rsa.gox: crypto/rsa.lo
3607 crypto/sha1.gox: crypto/sha1.lo
3609 crypto/sha256.gox: crypto/sha256.lo
3611 crypto/sha512.gox: crypto/sha512.lo
3613 crypto/subtle.gox: crypto/subtle.lo
3615 crypto/tls.gox: crypto/tls.lo
3617 crypto/twofish.gox: crypto/twofish.lo
3619 crypto/x509.gox: crypto/x509.lo
3621 crypto/xtea.gox: crypto/xtea.lo
3624 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
3626 crypto/openpgp/elgamal.gox: crypto/openpgp/elgamal.lo
3628 crypto/openpgp/error.gox: crypto/openpgp/error.lo
3630 crypto/openpgp/packet.gox: crypto/openpgp/packet.lo
3632 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
3635 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3638 debug/dwarf.gox: debug/dwarf.lo
3640 debug/elf.gox: debug/elf.lo
3642 debug/gosym.gox: debug/gosym.lo
3644 debug/macho.gox: debug/macho.lo
3646 debug/pe.gox: debug/pe.lo
3649 encoding/ascii85.gox: encoding/ascii85.lo
3651 encoding/asn1.gox: encoding/asn1.lo
3653 encoding/base32.gox: encoding/base32.lo
3655 encoding/base64.gox: encoding/base64.lo
3657 encoding/binary.gox: encoding/binary.lo
3659 encoding/csv.gox: encoding/csv.lo
3661 encoding/git85.gox: encoding/git85.lo
3663 encoding/gob.gox: encoding/gob.lo
3665 encoding/hex.gox: encoding/hex.lo
3667 encoding/json.gox: encoding/json.lo
3669 encoding/pem.gox: encoding/pem.lo
3671 encoding/xml.gox: encoding/xml.lo
3674 exp/ebnf.gox: exp/ebnf.lo
3676 exp/inotify.gox: exp/inotify.lo
3678 exp/norm.gox: exp/norm.lo
3680 exp/spdy.gox: exp/spdy.lo
3682 exp/sql.gox: exp/sql.lo
3684 exp/ssh.gox: exp/ssh.lo
3686 exp/terminal.gox: exp/terminal.lo
3688 exp/types.gox: exp/types.lo
3691 exp/sql/driver.gox: exp/sql/driver.lo
3694 html/template.gox: html/template.lo
3697 go/ast.gox: go/ast.lo
3699 go/build.gox: go/build.lo
3701 go/doc.gox: go/doc.lo
3703 go/parser.gox: go/parser.lo
3705 go/printer.gox: go/printer.lo
3707 go/scanner.gox: go/scanner.lo
3709 go/token.gox: go/token.lo
3712 hash/adler32.gox: hash/adler32.lo
3714 hash/crc32.gox: hash/crc32.lo
3716 hash/crc64.gox: hash/crc64.lo
3718 hash/fnv.gox: hash/fnv.lo
3721 image/bmp.gox: image/bmp.lo
3723 image/color.gox: image/color.lo
3725 image/draw.gox: image/draw.lo
3727 image/gif.gox: image/gif.lo
3729 image/jpeg.gox: image/jpeg.lo
3731 image/png.gox: image/png.lo
3733 image/tiff.gox: image/tiff.lo
3735 image/ycbcr.gox: image/ycbcr.lo
3738 index/suffixarray.gox: index/suffixarray.lo
3741 io/ioutil.gox: io/ioutil.lo
3744 log/syslog.gox: log/syslog.lo
3747 math/big.gox: math/big.lo
3749 math/cmplx.gox: math/cmplx.lo
3751 math/rand.gox: math/rand.lo
3754 mime/multipart.gox: mime/multipart.lo
3757 net/dict.gox: net/dict.lo
3759 net/http.gox: net/http.lo
3761 net/mail.gox: net/mail.lo
3763 net/rpc.gox: net/rpc.lo
3765 net/smtp.gox: net/smtp.lo
3767 net/textproto.gox: net/textproto.lo
3769 net/url.gox: net/url.lo
3772 net/http/cgi.gox: net/http/cgi.lo
3774 net/http/fcgi.gox: net/http/fcgi.lo
3776 net/http/httptest.gox: net/http/httptest.lo
3778 net/http/httputil.gox: net/http/httputil.lo
3780 net/http/pprof.gox: net/http/pprof.lo
3783 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3786 old/netchan.gox: old/netchan.lo
3788 old/regexp.gox: old/regexp.lo
3790 old/template.gox: old/template.lo
3793 os/exec.gox: os/exec.lo
3795 os/user.gox: os/user.lo
3797 os/signal.gox: os/signal.lo
3800 path/filepath.gox: path/filepath.lo
3803 regexp/syntax.gox: regexp/syntax.lo
3806 runtime/debug.gox: runtime/debug.lo
3808 runtime/pprof.gox: runtime/pprof.lo
3811 sync/atomic.gox: sync/atomic.lo
3814 text/scanner.gox: text/scanner.lo
3816 text/tabwriter.gox: text/tabwriter.lo
3818 text/template.gox: text/template.lo
3820 text/template/parse.gox: text/template/parse.lo
3823 testing/iotest.gox: testing/iotest.lo
3825 testing/quick.gox: testing/quick.lo
3827 testing/script.gox: testing/script.lo
3830 unicode/utf16.gox: unicode/utf16.lo
3832 unicode/utf8.gox: unicode/utf8.lo
3836 # exp_inotify_check = exp/inotify/check
3871 compress/bzip2/check \
3872 compress/flate/check \
3873 compress/gzip/check \
3874 compress/lzw/check \
3875 compress/zlib/check \
3876 container/heap/check \
3877 container/list/check \
3878 container/ring/check \
3880 crypto/bcrypt/check \
3881 crypto/blowfish/check \
3882 crypto/cast5/check \
3883 crypto/cipher/check \
3886 crypto/ecdsa/check \
3887 crypto/elliptic/check \
3892 crypto/openpgp/check \
3895 crypto/ripemd160/check \
3898 crypto/sha256/check \
3899 crypto/sha512/check \
3900 crypto/subtle/check \
3902 crypto/twofish/check \
3905 crypto/openpgp/armor/check \
3906 crypto/openpgp/elgamal/check \
3907 crypto/openpgp/packet/check \
3908 crypto/openpgp/s2k/check \
3913 encoding/ascii85/check \
3914 encoding/asn1/check \
3915 encoding/base32/check \
3916 encoding/base64/check \
3917 encoding/binary/check \
3918 encoding/csv/check \
3919 encoding/git85/check \
3920 encoding/gob/check \
3921 encoding/hex/check \
3922 encoding/json/check \
3923 encoding/pem/check \
3924 encoding/xml/check \
3926 $(exp_inotify_check) \
3931 exp/terminal/check \
3932 html/template/check \
3934 $(go_build_check_omitted_since_it_calls_6g) \
3940 $(go_types_check_omitted_since_it_calls_6g) \
3941 hash/adler32/check \
3950 index/suffixarray/check \
3956 mime/multipart/check \
3958 net/http/cgi/check \
3959 net/http/fcgi/check \
3960 net/http/httputil/check \
3964 net/textproto/check \
3966 net/rpc/jsonrpc/check \
3969 old/template/check \
3973 path/filepath/check \
3974 regexp/syntax/check \
3976 text/scanner/check \
3977 text/tabwriter/check \
3978 text/template/check \
3979 text/template/parse/check \
3980 testing/quick/check \
3981 testing/script/check \
3982 unicode/utf16/check \
3986 check-recursive: check-head
3989 @echo "Test Run By $${USER} on `date`" > libgo.head
3990 @echo "Native configuration is $(host_triplet)" >> libgo.head
3992 @echo " === libgo tests ===" >> libgo.head
3995 check-tail: check-recursive check-multi
3996 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3997 for dir in . $(MULTIDIRS); do \
3998 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3999 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
4001 mv libgo.head libgo.sum; \
4002 cp libgo.sum libgo.log; \
4003 echo "Schedule of variations:" >> libgo.sum; \
4004 for dir in . $(MULTIDIRS); do \
4005 multidir=../$${dir}/$${lib}; \
4006 multivar=`cat $${multidir}/libgo.var`; \
4007 echo " $${multivar}" >> libgo.sum; \
4009 echo >> libgo.sum; \
4010 pass=0; fail=0; untested=0; \
4011 for dir in . $(MULTIDIRS); do \
4012 multidir=../$${dir}/$${lib}; \
4013 multivar=`cat $${multidir}/libgo.var`; \
4014 echo "Running target $${multivar}" >> libgo.sum; \
4015 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
4016 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
4017 cat $${multidir}/libgo.log.sep >> libgo.log; \
4018 if test -n "${MULTIDIRS}"; then \
4019 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
4020 echo >> libgo.sum; \
4022 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
4023 pass=`expr $$pass + $$p`; \
4024 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4025 echo "# of expected passes $$p" >> libgo.sum; \
4027 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
4028 fail=`expr $$fail + $$p`; \
4029 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4030 echo "# of unexpected failures $$p" >> libgo.sum; \
4032 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
4033 untested=`expr $$untested + $$p`; \
4034 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4035 echo "# of untested testcases $$p" >> libgo.sum; \
4038 echo >> libgo.sum; \
4039 echo " === libgo Summary ===" >> libgo.sum; \
4040 echo >> libgo.sum; \
4041 if test "$$pass" -ne "0"; then \
4042 echo "# of expected passes $$pass" >> libgo.sum; \
4044 if test "$$fail" -ne "0"; then \
4045 echo "# of unexpected failures $$fail" >> libgo.sum; \
4047 if test "$$untested" -ne "0"; then \
4048 echo "# of untested testcases $$untested" >> libgo.sum; \
4050 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
4051 echo >> libgo.log; \
4052 echo "runtest completed at `date`" >> libgo.log; \
4053 if test "$$fail" -ne "0"; then \
4061 @rm -f libgo.sum libgo.log libgo.tail
4063 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
4064 echo "$${multivar}" > libgo.var
4065 @for f in $(TEST_PACKAGES); do \
4066 rm -f $$f-testsum $$f-testlog; \
4068 -@$(MAKE) -k $(TEST_PACKAGES)
4069 @for f in $(TEST_PACKAGES); do \
4070 if test -f $$f-testsum; then \
4071 cat $$f-testsum >> libgo.sum; \
4073 if test -f $$f-testlog; then \
4074 cat $$f-testlog >> libgo.log; \
4079 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
4081 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
4084 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
4085 find . -name '*.$(OBJEXT)' -print | xargs rm -f
4086 find . -name '*-testsum' -print | xargs rm -f
4087 find . -name '*-testlog' -print | xargs rm -f
4089 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
4092 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
4093 find . -name '*.a' -print | xargs rm -f