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/errors.gox \
192 crypto/openpgp/packet.gox \
193 crypto/openpgp/s2k.gox
195 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
197 toolexeclibgocryptox509_DATA = \
200 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
202 toolexeclibgodatabase_DATA = \
205 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
207 toolexeclibgodatabasesql_DATA = \
208 database/sql/driver.gox
210 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
212 toolexeclibgodebug_DATA = \
219 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
221 toolexeclibgoencoding_DATA = \
222 encoding/ascii85.gox \
224 encoding/base32.gox \
225 encoding/base64.gox \
226 encoding/binary.gox \
236 # exp_inotify_gox = exp/inotify.gox
242 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
244 toolexeclibgoexp_DATA = \
255 toolexeclibgogodir = $(toolexeclibgodir)/go
257 toolexeclibgogo_DATA = \
266 toolexeclibgohashdir = $(toolexeclibgodir)/hash
268 toolexeclibgohash_DATA = \
274 toolexeclibgohtmldir = $(toolexeclibgodir)/html
276 toolexeclibgohtml_DATA = \
279 toolexeclibgoimagedir = $(toolexeclibgodir)/image
281 toolexeclibgoimage_DATA = \
290 toolexeclibgoindexdir = $(toolexeclibgodir)/index
292 toolexeclibgoindex_DATA = \
293 index/suffixarray.gox
295 toolexeclibgoiodir = $(toolexeclibgodir)/io
297 toolexeclibgoio_DATA = \
300 toolexeclibgologdir = $(toolexeclibgodir)/log
302 toolexeclibgolog_DATA = \
305 toolexeclibgomathdir = $(toolexeclibgodir)/math
307 toolexeclibgomath_DATA = \
312 toolexeclibgomimedir = $(toolexeclibgodir)/mime
314 toolexeclibgomime_DATA = \
317 toolexeclibgonetdir = $(toolexeclibgodir)/net
319 toolexeclibgonet_DATA = \
328 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
330 toolexeclibgonethttp_DATA = \
333 net/http/httptest.gox \
334 net/http/httputil.gox \
337 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
339 toolexeclibgonetrpc_DATA = \
342 toolexeclibgoolddir = $(toolexeclibgodir)/old
344 toolexeclibgoold_DATA = \
349 toolexeclibgoosdir = $(toolexeclibgodir)/os
351 toolexeclibgoos_DATA = \
356 toolexeclibgopathdir = $(toolexeclibgodir)/path
358 toolexeclibgopath_DATA = \
361 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
363 toolexeclibgoregexp_DATA = \
366 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
368 toolexeclibgoruntime_DATA = \
372 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
374 toolexeclibgosync_DATA = \
377 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
379 toolexeclibgotesting_DATA = \
384 toolexeclibgotextdir = $(toolexeclibgodir)/text
386 toolexeclibgotext_DATA = \
391 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
393 toolexeclibgotexttemplate_DATA = \
394 text/template/parse.gox
396 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
398 toolexeclibgounicode_DATA = \
403 runtime_mem_file = runtime/mem.c
405 runtime_mem_file = runtime/mem_posix_memalign.c
409 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
411 rtems_task_variable_add_file =
415 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
417 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
421 runtime/go-append.c \
422 runtime/go-assert.c \
423 runtime/go-assert-interface.c \
424 runtime/go-byte-array-to-string.c \
425 runtime/go-breakpoint.c \
426 runtime/go-caller.c \
427 runtime/go-can-convert-interface.c \
429 runtime/go-check-interface.c \
430 runtime/go-construct-map.c \
431 runtime/go-convert-interface.c \
434 runtime/go-deferred-recover.c \
435 runtime/go-eface-compare.c \
436 runtime/go-eface-val-compare.c \
437 runtime/go-getgoroot.c \
438 runtime/go-int-array-to-string.c \
439 runtime/go-int-to-string.c \
440 runtime/go-interface-compare.c \
441 runtime/go-interface-eface-compare.c \
442 runtime/go-interface-val-compare.c \
443 runtime/go-make-slice.c \
444 runtime/go-map-delete.c \
445 runtime/go-map-index.c \
446 runtime/go-map-len.c \
447 runtime/go-map-range.c \
448 runtime/go-nanotime.c \
450 runtime/go-new-map.c \
455 runtime/go-recover.c \
456 runtime/go-reflect.c \
457 runtime/go-reflect-call.c \
458 runtime/go-reflect-map.c \
460 runtime/go-runtime-error.c \
461 runtime/go-setenv.c \
462 runtime/go-signal.c \
463 runtime/go-strcmp.c \
464 runtime/go-string-to-byte-array.c \
465 runtime/go-string-to-int-array.c \
466 runtime/go-strplus.c \
467 runtime/go-strslice.c \
468 runtime/go-trampoline.c \
469 runtime/go-type-complex.c \
470 runtime/go-type-eface.c \
471 runtime/go-type-error.c \
472 runtime/go-type-float.c \
473 runtime/go-type-identity.c \
474 runtime/go-type-interface.c \
475 runtime/go-type-string.c \
476 runtime/go-typedesc-equal.c \
477 runtime/go-typestring.c \
478 runtime/go-unreflect.c \
479 runtime/go-unsafe-new.c \
480 runtime/go-unsafe-newarray.c \
481 runtime/go-unsafe-pointer.c \
482 runtime/go-unwind.c \
485 $(runtime_lock_files) \
488 $(runtime_mem_file) \
490 runtime/mfixalloc.c \
498 $(rtems_task_variable_add_file) \
510 goc2c.$(OBJEXT): runtime/goc2c.c
511 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
513 goc2c: goc2c.$(OBJEXT)
514 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
516 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
517 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
520 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
521 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
524 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
525 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
528 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
529 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
532 sema.c: $(srcdir)/runtime/sema.goc goc2c
533 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
536 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
537 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
540 time.c: $(srcdir)/runtime/time.goc goc2c
541 ./goc2c --gcc --go-prefix libgo_time $< > $@.tmp
544 %.c: $(srcdir)/runtime/%.goc goc2c
545 ./goc2c --gcc $< > $@.tmp
554 go/bytes/bytes_decl.go
617 go/math/copysign.go \
637 go/math/nextafter.go \
640 go/math/remainder.go \
652 go/mime/mediatype.go \
657 go_net_fd_os_file = go/net/fd_select.go
658 go_net_newpollserver_file = go/net/newpollserver_rtems.go
659 else # !LIBGO_IS_RTEMS
661 go_net_fd_os_file = go/net/fd_linux.go
662 go_net_newpollserver_file = go/net/newpollserver.go
663 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
665 go_net_fd_os_file = go/net/fd_netbsd.go
666 go_net_newpollserver_file = go/net/newpollserver.go
667 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
668 # By default use select with pipes. Most systems should have
670 go_net_fd_os_file = go/net/fd_select.go
671 go_net_newpollserver_file = go/net/newpollserver.go
672 endif # !LIBGO_IS_NETBSD
673 endif # !LIBGO_IS_LINUX
674 endif # !LIBGO_IS_RTEMS
677 go_net_cgo_file = go/net/cgo_linux.go
678 go_net_sock_file = go/net/sock_linux.go
679 go_net_sockopt_file = go/net/sockopt_linux.go
680 go_net_sockoptip_file = go/net/sockoptip_linux.go
683 go_net_cgo_file = go/net/cgo_linux.go
684 go_net_sock_file = go/net/sock_linux.go
685 go_net_sockopt_file = go/net/sockopt_linux.go
686 go_net_sockoptip_file = go/net/sockoptip_linux.go
689 go_net_cgo_file = go/net/cgo_linux.go
690 go_net_sock_file = go/net/sock_linux.go
691 go_net_sockopt_file = go/net/sockopt_linux.go
692 go_net_sockoptip_file = go/net/sockoptip_linux.go
694 go_net_cgo_file = go/net/cgo_bsd.go
695 go_net_sock_file = go/net/sock_bsd.go
696 go_net_sockopt_file = go/net/sockopt_bsd.go
697 go_net_sockoptip_file = go/net/sockoptip_bsd.go
703 go_net_sendfile_file = go/net/sendfile_linux.go
705 go_net_sendfile_file = go/net/sendfile_stub.go
709 go_net_interface_file = go/net/interface_linux.go
712 go_net_interface_file = go/net/interface_netbsd.go
714 go_net_interface_file = go/net/interface_stub.go
722 go/net/dnsclient.go \
723 go/net/dnsclient_unix.go \
724 go/net/dnsconfig.go \
727 $(go_net_newpollserver_file) \
729 $(go_net_fd_os_file) \
732 go/net/interface.go \
733 $(go_net_interface_file) \
735 go/net/iprawsock.go \
736 go/net/iprawsock_posix.go \
738 go/net/ipsock_posix.go \
739 go/net/lookup_unix.go \
744 $(go_net_sendfile_file) \
746 $(go_net_sock_file) \
748 $(go_net_sockopt_file) \
749 go/net/sockoptip.go \
750 $(go_net_sockoptip_file) \
752 go/net/tcpsock_posix.go \
754 go/net/udpsock_posix.go \
756 go/net/unixsock_posix.go
760 go_os_dir_file = go/os/dir_largefile.go
763 go_os_dir_file = go/os/dir_largefile.go
765 go_os_dir_file = go/os/dir_regfile.go
770 go_os_dir_file = go/os/dir_largefile.go
772 go_os_dir_file = go/os/dir_regfile.go
777 go_os_sys_file = go/os/sys_linux.go
780 go_os_sys_file = go/os/sys_uname.go
783 go_os_sys_file = go/os/sys_uname.go
786 go_os_sys_file = go/os/sys_uname.go
788 go_os_sys_file = go/os/sys_bsd.go
795 go_os_stat_file = go/os/stat_solaris.go
797 go_os_stat_file = go/os/stat.go
806 go/os/error_posix.go \
808 go/os/exec_posix.go \
811 go/os/file_posix.go \
835 go/reflect/deepequal.go \
844 go/net/rpc/client.go \
845 go/net/rpc/debug.go \
849 go/runtime/debug.go \
850 go/runtime/error.go \
851 go/runtime/extern.go \
854 go/runtime/softfloat64.go \
858 version.go: s-version; @true
861 echo "package runtime" > version.go.tmp
862 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
863 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
864 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
865 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
866 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
877 go/strconv/decimal.go \
878 go/strconv/extfloat.go \
884 go/strings/reader.go \
885 go/strings/replace.go \
886 go/strings/strings.go
896 go_syslog_file = go/log/syslog/syslog_libc.go
899 go_syslog_file = go/log/syslog/syslog_libc.go
901 go_syslog_file = go/log/syslog/syslog_unix.go
905 go_log_syslog_files = \
906 go/log/syslog/syslog.go \
908 go_syslog_c_files = \
909 go/log/syslog/syslog_c.c
912 go/testing/benchmark.go \
913 go/testing/example.go \
914 go/testing/testing.go
919 go/time/sys_unix.go \
922 go/time/zoneinfo.go \
923 go/time/zoneinfo_unix.go
926 go/unicode/casetables.go \
927 go/unicode/digit.go \
928 go/unicode/graphic.go \
929 go/unicode/letter.go \
932 go_websocket_files = \
933 go/websocket/client.go \
934 go/websocket/hixie.go \
935 go/websocket/hybi.go \
936 go/websocket/server.go \
937 go/websocket/websocket.go
940 go_archive_tar_files = \
941 go/archive/tar/common.go \
942 go/archive/tar/reader.go \
943 go/archive/tar/writer.go
945 go_archive_zip_files = \
946 go/archive/zip/reader.go \
947 go/archive/zip/struct.go \
948 go/archive/zip/writer.go
950 go_compress_bzip2_files = \
951 go/compress/bzip2/bit_reader.go \
952 go/compress/bzip2/bzip2.go \
953 go/compress/bzip2/huffman.go \
954 go/compress/bzip2/move_to_front.go
956 go_compress_flate_files = \
957 go/compress/flate/deflate.go \
958 go/compress/flate/huffman_bit_writer.go \
959 go/compress/flate/huffman_code.go \
960 go/compress/flate/inflate.go \
961 go/compress/flate/reverse_bits.go \
962 go/compress/flate/token.go \
963 go/compress/flate/util.go
965 go_compress_gzip_files = \
966 go/compress/gzip/gzip.go \
967 go/compress/gzip/gunzip.go
969 go_compress_lzw_files = \
970 go/compress/lzw/reader.go \
971 go/compress/lzw/writer.go
973 go_compress_zlib_files = \
974 go/compress/zlib/reader.go \
975 go/compress/zlib/writer.go
977 go_container_heap_files = \
978 go/container/heap/heap.go
980 go_container_list_files = \
981 go/container/list/list.go
983 go_container_ring_files = \
984 go/container/ring/ring.go
986 go_crypto_aes_files = \
987 go/crypto/aes/block.go \
988 go/crypto/aes/cipher.go \
989 go/crypto/aes/const.go
990 go_crypto_bcrypt_files = \
991 go/crypto/bcrypt/base64.go \
992 go/crypto/bcrypt/bcrypt.go
993 go_crypto_blowfish_files = \
994 go/crypto/blowfish/block.go \
995 go/crypto/blowfish/const.go \
996 go/crypto/blowfish/cipher.go
997 go_crypto_cast5_files = \
998 go/crypto/cast5/cast5.go
999 go_crypto_cipher_files = \
1000 go/crypto/cipher/cbc.go \
1001 go/crypto/cipher/cfb.go \
1002 go/crypto/cipher/cipher.go \
1003 go/crypto/cipher/ctr.go \
1004 go/crypto/cipher/io.go \
1005 go/crypto/cipher/ocfb.go \
1006 go/crypto/cipher/ofb.go
1007 go_crypto_des_files = \
1008 go/crypto/des/block.go \
1009 go/crypto/des/cipher.go \
1010 go/crypto/des/const.go
1011 go_crypto_dsa_files = \
1012 go/crypto/dsa/dsa.go
1013 go_crypto_ecdsa_files = \
1014 go/crypto/ecdsa/ecdsa.go
1015 go_crypto_elliptic_files = \
1016 go/crypto/elliptic/elliptic.go \
1017 go/crypto/elliptic/p224.go
1018 go_crypto_hmac_files = \
1019 go/crypto/hmac/hmac.go
1020 go_crypto_md4_files = \
1021 go/crypto/md4/md4.go \
1022 go/crypto/md4/md4block.go
1023 go_crypto_md5_files = \
1024 go/crypto/md5/md5.go \
1025 go/crypto/md5/md5block.go
1026 go_crypto_ocsp_files = \
1027 go/crypto/ocsp/ocsp.go
1028 go_crypto_openpgp_files = \
1029 go/crypto/openpgp/canonical_text.go \
1030 go/crypto/openpgp/keys.go \
1031 go/crypto/openpgp/read.go \
1032 go/crypto/openpgp/write.go
1033 go_crypto_rand_files = \
1034 go/crypto/rand/rand.go \
1035 go/crypto/rand/rand_unix.go \
1036 go/crypto/rand/util.go
1037 go_crypto_rc4_files = \
1038 go/crypto/rc4/rc4.go
1039 go_crypto_ripemd160_files = \
1040 go/crypto/ripemd160/ripemd160.go \
1041 go/crypto/ripemd160/ripemd160block.go
1042 go_crypto_rsa_files = \
1043 go/crypto/rsa/pkcs1v15.go \
1044 go/crypto/rsa/rsa.go
1045 go_crypto_sha1_files = \
1046 go/crypto/sha1/sha1.go \
1047 go/crypto/sha1/sha1block.go
1048 go_crypto_sha256_files = \
1049 go/crypto/sha256/sha256.go \
1050 go/crypto/sha256/sha256block.go
1051 go_crypto_sha512_files = \
1052 go/crypto/sha512/sha512.go \
1053 go/crypto/sha512/sha512block.go
1054 go_crypto_subtle_files = \
1055 go/crypto/subtle/constant_time.go
1056 go_crypto_tls_files = \
1057 go/crypto/tls/alert.go \
1058 go/crypto/tls/cipher_suites.go \
1059 go/crypto/tls/common.go \
1060 go/crypto/tls/conn.go \
1061 go/crypto/tls/handshake_client.go \
1062 go/crypto/tls/handshake_messages.go \
1063 go/crypto/tls/handshake_server.go \
1064 go/crypto/tls/key_agreement.go \
1065 go/crypto/tls/prf.go \
1066 go/crypto/tls/root_unix.go \
1067 go/crypto/tls/tls.go
1068 go_crypto_twofish_files = \
1069 go/crypto/twofish/twofish.go
1070 go_crypto_x509_files = \
1071 go/crypto/x509/cert_pool.go \
1072 go/crypto/x509/pkcs1.go \
1073 go/crypto/x509/pkcs8.go \
1074 go/crypto/x509/verify.go \
1075 go/crypto/x509/x509.go
1076 go_crypto_xtea_files = \
1077 go/crypto/xtea/block.go \
1078 go/crypto/xtea/cipher.go
1080 go_crypto_openpgp_armor_files = \
1081 go/crypto/openpgp/armor/armor.go \
1082 go/crypto/openpgp/armor/encode.go
1083 go_crypto_openpgp_elgamal_files = \
1084 go/crypto/openpgp/elgamal/elgamal.go
1085 go_crypto_openpgp_errors_files = \
1086 go/crypto/openpgp/errors/errors.go
1087 go_crypto_openpgp_packet_files = \
1088 go/crypto/openpgp/packet/compressed.go \
1089 go/crypto/openpgp/packet/encrypted_key.go \
1090 go/crypto/openpgp/packet/literal.go \
1091 go/crypto/openpgp/packet/one_pass_signature.go \
1092 go/crypto/openpgp/packet/packet.go \
1093 go/crypto/openpgp/packet/private_key.go \
1094 go/crypto/openpgp/packet/public_key.go \
1095 go/crypto/openpgp/packet/reader.go \
1096 go/crypto/openpgp/packet/signature.go \
1097 go/crypto/openpgp/packet/symmetric_key_encrypted.go \
1098 go/crypto/openpgp/packet/symmetrically_encrypted.go \
1099 go/crypto/openpgp/packet/userid.go
1100 go_crypto_openpgp_s2k_files = \
1101 go/crypto/openpgp/s2k/s2k.go
1103 go_crypto_x509_pkix_files = \
1104 go/crypto/x509/pkix/pkix.go
1106 go_database_sql_files = \
1107 go/database/sql/convert.go \
1108 go/database/sql/sql.go
1110 go_database_sql_driver_files = \
1111 go/database/sql/driver/driver.go \
1112 go/database/sql/driver/types.go
1114 go_debug_dwarf_files = \
1115 go/debug/dwarf/buf.go \
1116 go/debug/dwarf/const.go \
1117 go/debug/dwarf/entry.go \
1118 go/debug/dwarf/open.go \
1119 go/debug/dwarf/type.go \
1120 go/debug/dwarf/unit.go
1121 go_debug_elf_files = \
1122 go/debug/elf/elf.go \
1123 go/debug/elf/file.go
1124 go_debug_gosym_files = \
1125 go/debug/gosym/pclntab.go \
1126 go/debug/gosym/symtab.go
1127 go_debug_macho_files = \
1128 go/debug/macho/file.go \
1129 go/debug/macho/macho.go
1130 go_debug_pe_files = \
1131 go/debug/pe/file.go \
1134 go_encoding_ascii85_files = \
1135 go/encoding/ascii85/ascii85.go
1136 go_encoding_asn1_files = \
1137 go/encoding/asn1/asn1.go \
1138 go/encoding/asn1/common.go \
1139 go/encoding/asn1/marshal.go
1140 go_encoding_base32_files = \
1141 go/encoding/base32/base32.go
1142 go_encoding_base64_files = \
1143 go/encoding/base64/base64.go
1144 go_encoding_binary_files = \
1145 go/encoding/binary/binary.go \
1146 go/encoding/binary/varint.go
1147 go_encoding_csv_files = \
1148 go/encoding/csv/reader.go \
1149 go/encoding/csv/writer.go
1150 go_encoding_git85_files = \
1151 go/encoding/git85/git.go
1152 go_encoding_gob_files = \
1153 go/encoding/gob/decode.go \
1154 go/encoding/gob/decoder.go \
1155 go/encoding/gob/doc.go \
1156 go/encoding/gob/encode.go \
1157 go/encoding/gob/encoder.go \
1158 go/encoding/gob/error.go \
1159 go/encoding/gob/type.go
1160 go_encoding_hex_files = \
1161 go/encoding/hex/hex.go
1162 go_encoding_json_files = \
1163 go/encoding/json/decode.go \
1164 go/encoding/json/encode.go \
1165 go/encoding/json/indent.go \
1166 go/encoding/json/scanner.go \
1167 go/encoding/json/stream.go \
1168 go/encoding/json/tags.go
1169 go_encoding_pem_files = \
1170 go/encoding/pem/pem.go
1171 go_encoding_xml_files = \
1172 go/encoding/xml/marshal.go \
1173 go/encoding/xml/read.go \
1174 go/encoding/xml/typeinfo.go \
1175 go/encoding/xml/xml.go
1177 go_exp_ebnf_files = \
1178 go/exp/ebnf/ebnf.go \
1179 go/exp/ebnf/parser.go
1180 go_exp_inotify_files = \
1181 go/exp/inotify/inotify_linux.go
1182 go_exp_norm_files = \
1183 go/exp/norm/composition.go \
1184 go/exp/norm/forminfo.go \
1185 go/exp/norm/input.go \
1186 go/exp/norm/normalize.go \
1187 go/exp/norm/readwriter.go \
1188 go/exp/norm/tables.go \
1190 go_exp_proxy_files = \
1191 go/exp/proxy/direct.go \
1192 go/exp/proxy/per_host.go \
1193 go/exp/proxy/proxy.go \
1194 go/exp/proxy/socks5.go
1195 go_exp_spdy_files = \
1196 go/exp/spdy/read.go \
1197 go/exp/spdy/types.go \
1198 go/exp/spdy/write.go
1199 go_exp_ssh_files = \
1200 go/exp/ssh/channel.go \
1201 go/exp/ssh/cipher.go \
1202 go/exp/ssh/client.go \
1203 go/exp/ssh/client_auth.go \
1204 go/exp/ssh/common.go \
1206 go/exp/ssh/messages.go \
1207 go/exp/ssh/server.go \
1208 go/exp/ssh/server_terminal.go \
1209 go/exp/ssh/session.go \
1210 go/exp/ssh/tcpip.go \
1211 go/exp/ssh/transport.go
1212 go_exp_terminal_files = \
1213 go/exp/terminal/terminal.go \
1214 go/exp/terminal/util.go
1215 go_exp_types_files = \
1216 go/exp/types/check.go \
1217 go/exp/types/const.go \
1218 go/exp/types/exportdata.go \
1219 go/exp/types/gcimporter.go \
1220 go/exp/types/types.go \
1221 go/exp/types/universe.go
1222 go_exp_utf8string_files = \
1223 go/exp/utf8string/string.go
1227 go/go/ast/filter.go \
1228 go/go/ast/import.go \
1229 go/go/ast/print.go \
1230 go/go/ast/resolve.go \
1231 go/go/ast/scope.go \
1233 go_go_build_files = \
1234 go/go/build/build.go \
1235 go/go/build/dir.go \
1236 go/go/build/path.go \
1239 go/go/doc/comment.go \
1241 go/go/doc/example.go \
1242 go/go/doc/exports.go \
1243 go/go/doc/filter.go \
1245 go_go_parser_files = \
1246 go/go/parser/interface.go \
1247 go/go/parser/parser.go
1248 go_go_printer_files = \
1249 go/go/printer/nodes.go \
1250 go/go/printer/printer.go
1251 go_go_scanner_files = \
1252 go/go/scanner/errors.go \
1253 go/go/scanner/scanner.go
1254 go_go_token_files = \
1255 go/go/token/position.go \
1256 go/go/token/serialize.go \
1257 go/go/token/token.go
1259 go_hash_adler32_files = \
1260 go/hash/adler32/adler32.go
1261 go_hash_crc32_files = \
1262 go/hash/crc32/crc32.go \
1263 go/hash/crc32/crc32_generic.go
1264 go_hash_crc64_files = \
1265 go/hash/crc64/crc64.go
1266 go_hash_fnv_files = \
1269 go_html_template_files = \
1270 go/html/template/attr.go \
1271 go/html/template/clone.go \
1272 go/html/template/content.go \
1273 go/html/template/context.go \
1274 go/html/template/css.go \
1275 go/html/template/doc.go \
1276 go/html/template/error.go \
1277 go/html/template/escape.go \
1278 go/html/template/html.go \
1279 go/html/template/js.go \
1280 go/html/template/template.go \
1281 go/html/template/transition.go \
1282 go/html/template/url.go
1284 go_image_bmp_files = \
1285 go/image/bmp/reader.go
1287 go_image_color_files = \
1288 go/image/color/color.go \
1289 go/image/color/ycbcr.go
1291 go_image_draw_files = \
1292 go/image/draw/draw.go
1294 go_image_gif_files = \
1295 go/image/gif/reader.go
1297 go_image_jpeg_files = \
1298 go/image/jpeg/fdct.go \
1299 go/image/jpeg/huffman.go \
1300 go/image/jpeg/idct.go \
1301 go/image/jpeg/reader.go \
1302 go/image/jpeg/writer.go
1304 go_image_png_files = \
1305 go/image/png/reader.go \
1306 go/image/png/writer.go
1308 go_image_tiff_files = \
1309 go/image/tiff/buffer.go \
1310 go/image/tiff/compress.go \
1311 go/image/tiff/consts.go \
1312 go/image/tiff/reader.go
1314 go_index_suffixarray_files = \
1315 go/index/suffixarray/qsufsort.go \
1316 go/index/suffixarray/suffixarray.go
1318 go_io_ioutil_files = \
1319 go/io/ioutil/ioutil.go \
1320 go/io/ioutil/tempfile.go
1322 go_math_big_files = \
1323 go/math/big/arith.go \
1324 go/math/big/int.go \
1325 go/math/big/nat.go \
1327 go_math_cmplx_files = \
1328 go/math/cmplx/abs.go \
1329 go/math/cmplx/asin.go \
1330 go/math/cmplx/conj.go \
1331 go/math/cmplx/exp.go \
1332 go/math/cmplx/isinf.go \
1333 go/math/cmplx/isnan.go \
1334 go/math/cmplx/log.go \
1335 go/math/cmplx/phase.go \
1336 go/math/cmplx/polar.go \
1337 go/math/cmplx/pow.go \
1338 go/math/cmplx/rect.go \
1339 go/math/cmplx/sin.go \
1340 go/math/cmplx/sqrt.go \
1341 go/math/cmplx/tan.go
1342 go_math_rand_files = \
1343 go/math/rand/exp.go \
1344 go/math/rand/normal.go \
1345 go/math/rand/rand.go \
1346 go/math/rand/rng.go \
1347 go/math/rand/zipf.go
1349 go_mime_multipart_files = \
1350 go/mime/multipart/formdata.go \
1351 go/mime/multipart/multipart.go \
1352 go/mime/multipart/writer.go
1354 go_net_dict_files = \
1356 go_net_http_files = \
1357 go/net/http/chunked.go \
1358 go/net/http/client.go \
1359 go/net/http/cookie.go \
1360 go/net/http/filetransport.go \
1362 go/net/http/header.go \
1363 go/net/http/jar.go \
1364 go/net/http/lex.go \
1365 go/net/http/request.go \
1366 go/net/http/response.go \
1367 go/net/http/server.go \
1368 go/net/http/sniff.go \
1369 go/net/http/status.go \
1370 go/net/http/transfer.go \
1371 go/net/http/transport.go
1372 go_net_mail_files = \
1373 go/net/mail/message.go
1374 go_net_smtp_files = \
1375 go/net/smtp/auth.go \
1377 go_net_textproto_files = \
1378 go/net/textproto/header.go \
1379 go/net/textproto/pipeline.go \
1380 go/net/textproto/reader.go \
1381 go/net/textproto/textproto.go \
1382 go/net/textproto/writer.go
1383 go_net_url_files = \
1386 go_net_http_cgi_files = \
1387 go/net/http/cgi/child.go \
1388 go/net/http/cgi/host.go
1389 go_net_http_fcgi_files = \
1390 go/net/http/fcgi/child.go \
1391 go/net/http/fcgi/fcgi.go
1392 go_net_http_httptest_files = \
1393 go/net/http/httptest/recorder.go \
1394 go/net/http/httptest/server.go
1395 go_net_http_pprof_files = \
1396 go/net/http/pprof/pprof.go
1397 go_net_http_httputil_files = \
1398 go/net/http/httputil/chunked.go \
1399 go/net/http/httputil/dump.go \
1400 go/net/http/httputil/persist.go \
1401 go/net/http/httputil/reverseproxy.go
1404 go_old_netchan_files = \
1405 go/old/netchan/common.go \
1406 go/old/netchan/export.go \
1407 go/old/netchan/import.go
1408 go_old_regexp_files = \
1409 go/old/regexp/regexp.go
1410 go_old_template_files = \
1411 go/old/template/doc.go \
1412 go/old/template/execute.go \
1413 go/old/template/format.go \
1414 go/old/template/parse.go
1416 go_os_exec_files = \
1417 go/os/exec/exec.go \
1418 go/os/exec/lp_unix.go
1420 go_os_user_files = \
1421 go/os/user/user.go \
1422 go/os/user/lookup_unix.go
1424 go_os_signal_files = \
1425 go/os/signal/signal.go
1427 go_path_filepath_files = \
1428 go/path/filepath/match.go \
1429 go/path/filepath/path.go \
1430 go/path/filepath/path_unix.go
1432 go_regexp_syntax_files = \
1433 go/regexp/syntax/compile.go \
1434 go/regexp/syntax/parse.go \
1435 go/regexp/syntax/perl_groups.go \
1436 go/regexp/syntax/prog.go \
1437 go/regexp/syntax/regexp.go \
1438 go/regexp/syntax/simplify.go
1440 go_net_rpc_jsonrpc_files = \
1441 go/net/rpc/jsonrpc/client.go \
1442 go/net/rpc/jsonrpc/server.go
1444 go_runtime_debug_files = \
1445 go/runtime/debug/stack.go
1446 go_runtime_pprof_files = \
1447 go/runtime/pprof/pprof.go
1449 go_text_tabwriter_files = \
1450 go/text/tabwriter/tabwriter.go
1451 go_text_template_files = \
1452 go/text/template/doc.go \
1453 go/text/template/exec.go \
1454 go/text/template/funcs.go \
1455 go/text/template/helper.go \
1456 go/text/template/template.go
1457 go_text_template_parse_files = \
1458 go/text/template/parse/lex.go \
1459 go/text/template/parse/node.go \
1460 go/text/template/parse/parse.go
1462 go_sync_atomic_files = \
1463 go/sync/atomic/doc.go
1464 go_sync_atomic_c_files = \
1465 go/sync/atomic/atomic.c
1467 go_testing_iotest_files = \
1468 go/testing/iotest/logger.go \
1469 go/testing/iotest/reader.go \
1470 go/testing/iotest/writer.go
1471 go_testing_quick_files = \
1472 go/testing/quick/quick.go
1473 go_testing_script_files = \
1474 go/testing/script/script.go
1476 go_text_scanner_files = \
1477 go/text/scanner/scanner.go
1479 go_unicode_utf16_files = \
1480 go/unicode/utf16/utf16.go
1481 go_unicode_utf8_files = \
1482 go/unicode/utf8/utf8.go
1484 # Define Syscall and Syscall6.
1486 syscall_syscall_file = go/syscall/syscall_stubs.go
1488 syscall_syscall_file = go/syscall/syscall_unix.go
1491 # Define ForkExec and Exec.
1493 syscall_exec_file = go/syscall/exec_stubs.go
1494 syscall_exec_os_file =
1497 syscall_exec_file = go/syscall/exec_unix.go
1498 syscall_exec_os_file = go/syscall/exec_linux.go
1500 syscall_exec_file = go/syscall/exec_unix.go
1501 syscall_exec_os_file = go/syscall/exec_bsd.go
1510 syscall_wait_file = go/syscall/libcall_wait4.go
1512 syscall_wait_file = go/syscall/libcall_waitpid.go
1516 # Support for pulling apart wait status.
1518 syscall_wait_c_file =
1520 syscall_wait_c_file = go/syscall/wait.c
1525 syscall_sleep_file = go/syscall/sleep_rtems.go
1527 syscall_sleep_file = go/syscall/sleep_select.go
1532 syscall_errstr_file = go/syscall/errstr_linux.go
1535 syscall_errstr_file = go/syscall/errstr_linux.go
1538 syscall_errstr_file = go/syscall/errstr.go
1540 syscall_errstr_file = go/syscall/errstr_nor.go
1545 # Declare libc functions that vary for largefile systems.
1547 # Always use lseek64 on GNU/Linux.
1548 syscall_size_file = go/syscall/libcall_posix_largefile.go
1549 else # !LIBGO_IS_LINUX
1552 # Use lseek64 on 32-bit Solaris/x86.
1553 syscall_size_file = go/syscall/libcall_posix_largefile.go
1554 else # !LIBGO_IS_386
1556 # Use lseek64 on 32-bit Solaris/SPARC.
1557 syscall_size_file = go/syscall/libcall_posix_largefile.go
1558 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1559 # Use lseek on 64-bit Solaris.
1560 syscall_size_file = go/syscall/libcall_posix_regfile.go
1561 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1562 endif # !LIBGO_IS_SOLARIS
1563 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1564 # Use lseek by default.
1565 syscall_size_file = go/syscall/libcall_posix_regfile.go
1566 endif # !LIBGO_IS_SOLARIS
1567 endif # !LIBGO_IS_LINUX
1569 # Define socket sizes and types.
1571 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1574 syscall_socket_file = go/syscall/socket_solaris.go
1577 syscall_socket_file = go/syscall/socket_irix.go
1579 syscall_socket_file = go/syscall/socket_bsd.go
1584 # Support for uname.
1587 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1588 syscall_uname_file =
1589 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1590 syscall_uname_file = go/syscall/libcall_uname.go
1592 else # !LIBGO_IS_SOLARIS
1593 syscall_uname_file = go/syscall/libcall_uname.go
1596 # GNU/Linux specific socket control messages.
1598 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1600 syscall_sockcmsg_file =
1603 # Support for netlink sockets and messages.
1605 syscall_netlink_file = go/syscall/netlink_linux.go
1607 syscall_netlink_file =
1610 go_base_syscall_files = \
1611 go/syscall/env_unix.go \
1612 go/syscall/syscall_errno.go \
1613 go/syscall/libcall_support.go \
1614 go/syscall/libcall_posix.go \
1615 go/syscall/socket.go \
1616 go/syscall/sockcmsg_unix.go \
1618 go/syscall/syscall.go \
1619 $(syscall_sockcmsg_file) \
1620 $(syscall_syscall_file) \
1621 $(syscall_exec_file) \
1622 $(syscall_exec_os_file) \
1623 $(syscall_wait_file) \
1624 $(syscall_sleep_file) \
1625 $(syscall_errstr_file) \
1626 $(syscall_size_file) \
1627 $(syscall_socket_file) \
1628 $(syscall_uname_file) \
1629 $(syscall_netlink_file) \
1630 $(GO_LIBCALL_OS_FILE) \
1631 $(GO_LIBCALL_OS_ARCH_FILE) \
1632 $(GO_SYSCALL_OS_FILE) \
1633 $(GO_SYSCALL_OS_ARCH_FILE)
1635 go_syscall_files = \
1636 $(go_base_syscall_files) \
1640 go_syscall_c_files = \
1641 go/syscall/errno.c \
1642 $(syscall_wait_c_file)
1644 libcalls.go: s-libcalls; @true
1645 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1646 rm -f libcalls.go.tmp
1647 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1648 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1649 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1652 syscall_arch.go: s-syscall_arch; @true
1653 s-syscall_arch: Makefile
1654 rm -f syscall_arch.go.tmp
1655 echo "package syscall" > syscall_arch.go.tmp
1656 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1657 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1658 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1661 sysinfo.go: s-sysinfo; @true
1662 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1663 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1664 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1667 # The epoll struct has an embedded union and is packed on x86_64,
1668 # which is too complicated for mksysinfo.sh. We find the offset of
1669 # the only field we care about in configure.ac, and generate the
1671 epoll.go: s-epoll; @true
1674 echo 'package syscall' > epoll.go.tmp
1675 echo 'type EpollEvent struct {' >> epoll.go.tmp
1676 echo ' Events uint32' >> epoll.go.tmp
1677 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1678 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1680 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1681 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1682 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1683 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1684 echo ' Fd int32' >> epoll.go.tmp; ;; \
1685 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1686 echo ' Fd int32' >> epoll.go.tmp; \
1687 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1688 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1691 echo '}' >> epoll.go.tmp
1692 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1696 # os_lib_inotify_lo = os/inotify.lo
1722 reflect/reflect.lo \
1724 runtime/runtime.lo \
1726 strconv/strconv.lo \
1727 strings/strings.lo \
1730 unicode/unicode.lo \
1731 websocket/websocket.lo \
1744 crypto/blowfish.lo \
1750 crypto/elliptic.lo \
1758 crypto/ripemd160.lo \
1768 crypto/openpgp/armor.lo \
1769 crypto/openpgp/elgamal.lo \
1770 crypto/openpgp/errors.lo \
1771 crypto/openpgp/packet.lo \
1772 crypto/openpgp/s2k.lo \
1773 crypto/x509/pkix.lo \
1775 database/sql/driver.lo \
1781 encoding/ascii85.lo \
1783 encoding/base32.lo \
1784 encoding/base64.lo \
1785 encoding/binary.lo \
1815 net/http/httptest.lo \
1816 net/http/httputil.lo \
1825 index/suffixarray.lo \
1828 log/syslog/syslog_c.lo \
1844 $(os_lib_inotify_lo) \
1849 net/rpc/jsonrpc.lo \
1854 syscall/syscall.lo \
1860 text/template/parse.lo \
1861 testing/testing.lo \
1868 libgo_la_SOURCES = $(runtime_files)
1870 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1873 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1875 libgobegin_a_SOURCES = \
1878 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1880 GOCFLAGS = $(CFLAGS)
1881 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1882 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1884 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1885 $(AM_GOCFLAGS) $(GOCFLAGS)
1887 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1888 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1890 # Build the dependencies for a Go package.
1893 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1896 # Build the .go files for a package, generating a .lo file.
1899 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1900 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1912 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1914 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1916 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1917 export RUNTESTFLAGS; \
1920 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1921 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1922 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1923 export LD_LIBRARY_PATH; \
1924 rm -f $@-testsum $@-testlog; \
1925 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1926 test "$${prefix}" != "." || prefix="$(@D)"; \
1927 if test "$(use_dejagnu)" = "yes"; then \
1928 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1930 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1931 echo "PASS: $(@D)" >> $@-testlog; \
1932 echo "PASS: $(@D)"; \
1933 echo "PASS: $(@D)" > $@-testsum; \
1935 echo "FAIL: $(@D)" >> $@-testlog; \
1937 echo "FAIL: $(@D)" > $@-testsum; \
1942 # Build all packages before checking any.
1943 CHECK_DEPS = libgo.la libgobegin.a \
1944 $(toolexeclibgo_DATA) \
1945 $(toolexeclibgoarchive_DATA) \
1946 $(toolexeclibgocompress_DATA) \
1947 $(toolexeclibgocontainer_DATA) \
1948 $(toolexeclibgocrypto_DATA) \
1949 $(toolexeclibgocryptoopenpgp_DATA) \
1950 $(toolexeclibgodebug_DATA) \
1951 $(toolexeclibgoencoding_DATA) \
1952 $(toolexeclibgoexp_DATA) \
1953 $(toolexeclibgogo_DATA) \
1954 $(toolexeclibgohash_DATA) \
1955 $(toolexeclibgoimage_DATA) \
1956 $(toolexeclibgoindex_DATA) \
1957 $(toolexeclibgoio_DATA) \
1958 $(toolexeclibgolog_DATA) \
1959 $(toolexeclibgomath_DATA) \
1960 $(toolexeclibgomime_DATA) \
1961 $(toolexeclibgonet_DATA) \
1962 $(toolexeclibgonethttp_DATA) \
1963 $(toolexeclibgoos_DATA) \
1964 $(toolexeclibgopath_DATA) \
1965 $(toolexeclibgorpc_DATA) \
1966 $(toolexeclibgoruntime_DATA) \
1967 $(toolexeclibgosync_DATA) \
1968 $(toolexeclibgotesting_DATA) \
1969 $(toolexeclibgotext_DATA) \
1970 $(toolexeclibgotexttemplate_DATA) \
1971 $(toolexeclibgounicode_DATA)
1973 @go_include@ bufio/bufio.lo.dep
1974 bufio/bufio.lo.dep: $(go_bufio_files)
1976 bufio/bufio.lo: $(go_bufio_files)
1978 bufio/check: $(CHECK_DEPS)
1982 @go_include@ bytes/bytes.lo.dep
1983 bytes/bytes.lo.dep: $(go_bytes_files)
1985 bytes/bytes.lo: $(go_bytes_files)
1987 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1988 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1989 bytes/check: $(CHECK_DEPS)
1993 @go_include@ crypto/crypto.lo.dep
1994 crypto/crypto.lo.dep: $(go_crypto_files)
1996 crypto/crypto.lo: $(go_crypto_files)
1998 crypto/check: $(CHECK_DEPS)
2000 .PHONY: crypto/check
2002 @go_include@ errors/errors.lo.dep
2003 errors/errors.lo.dep: $(go_errors_files)
2005 errors/errors.lo: $(go_errors_files)
2007 errors/check: $(CHECK_DEPS)
2009 .PHONY: errors/check
2011 @go_include@ expvar/expvar.lo.dep
2012 expvar/expvar.lo.dep: $(go_expvar_files)
2014 expvar/expvar.lo: $(go_expvar_files)
2016 expvar/check: $(CHECK_DEPS)
2018 .PHONY: expvar/check
2020 @go_include@ flag/flag.lo.dep
2021 flag/flag.lo.dep: $(go_flag_files)
2023 flag/flag.lo: $(go_flag_files)
2025 flag/check: $(CHECK_DEPS)
2029 @go_include@ fmt/fmt.lo.dep
2030 fmt/fmt.lo.dep: $(go_fmt_files)
2032 fmt/fmt.lo: $(go_fmt_files)
2034 fmt/check: $(CHECK_DEPS)
2038 @go_include@ hash/hash.lo.dep
2039 hash/hash.lo.dep: $(go_hash_files)
2041 hash/hash.lo: $(go_hash_files)
2043 hash/check: $(CHECK_DEPS)
2047 @go_include@ html/html.lo.dep
2048 html/html.lo.dep: $(go_html_files)
2050 html/html.lo: $(go_html_files)
2052 html/check: $(CHECK_DEPS)
2056 @go_include@ image/image.lo.dep
2057 image/image.lo.dep: $(go_image_files)
2059 image/image.lo: $(go_image_files)
2061 image/check: $(CHECK_DEPS)
2065 @go_include@ io/io.lo.dep
2066 io/io.lo.dep: $(go_io_files)
2068 io/io.lo: $(go_io_files)
2070 io/check: $(CHECK_DEPS)
2074 @go_include@ log/log.lo.dep
2075 log/log.lo.dep: $(go_log_files)
2077 log/log.lo: $(go_log_files)
2079 log/check: $(CHECK_DEPS)
2083 @go_include@ math/math.lo.dep
2084 math/math.lo.dep: $(go_math_files)
2086 math/math.lo: $(go_math_files)
2088 math/check: $(CHECK_DEPS)
2092 @go_include@ mime/mime.lo.dep
2093 mime/mime.lo.dep: $(go_mime_files)
2095 mime/mime.lo: $(go_mime_files)
2097 mime/check: $(CHECK_DEPS)
2101 @go_include@ net/net.lo.dep
2102 net/net.lo.dep: $(go_net_files)
2104 net/net.lo: $(go_net_files)
2106 net/check: $(CHECK_DEPS)
2110 @go_include@ os/os.lo.dep
2111 os/os.lo.dep: $(go_os_files)
2113 os/os.lo: $(go_os_files)
2115 os/check: $(CHECK_DEPS)
2119 signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
2120 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
2123 @go_include@ patch/patch.lo.dep
2124 patch/patch.lo.dep: $(go_patch_files)
2126 patch/patch.lo: $(go_patch_files)
2128 patch/check: $(CHECK_DEPS)
2132 @go_include@ path/path.lo.dep
2133 path/path.lo.dep: $(go_path_files)
2135 path/path.lo: $(go_path_files)
2137 path/check: $(CHECK_DEPS)
2141 @go_include@ reflect/reflect.lo.dep
2142 reflect/reflect.lo.dep: $(go_reflect_files)
2144 reflect/reflect.lo: $(go_reflect_files)
2146 reflect/check: $(CHECK_DEPS)
2148 .PHONY: reflect/check
2150 @go_include@ regexp/regexp.lo.dep
2151 regexp/regexp.lo.dep: $(go_regexp_files)
2153 regexp/regexp.lo: $(go_regexp_files)
2155 regexp/check: $(CHECK_DEPS)
2157 .PHONY: regexp/check
2159 @go_include@ runtime/runtime.lo.dep
2160 runtime/runtime.lo.dep: $(go_runtime_files)
2162 runtime/runtime.lo: $(go_runtime_files)
2164 runtime/check: $(CHECK_DEPS)
2166 .PHONY: runtime/check
2168 @go_include@ text/scanner.lo.dep
2169 text/scanner.lo.dep: $(go_text_scanner_files)
2171 text/scanner.lo: $(go_text_scanner_files)
2173 text/scanner/check: $(CHECK_DEPS)
2174 @$(MKDIR_P) text/scanner
2176 .PHONY: text/scanner/check
2178 @go_include@ sort/sort.lo.dep
2179 sort/sort.lo.dep: $(go_sort_files)
2181 sort/sort.lo: $(go_sort_files)
2183 sort/check: $(CHECK_DEPS)
2187 @go_include@ strconv/strconv.lo.dep
2188 strconv/strconv.lo.dep: $(go_strconv_files)
2190 strconv/strconv.lo: $(go_strconv_files)
2192 strconv/check: $(CHECK_DEPS)
2194 .PHONY: strconv/check
2196 @go_include@ strings/strings.lo.dep
2197 strings/strings.lo.dep: $(go_strings_files)
2199 strings/strings.lo: $(go_strings_files)
2201 strings/check: $(CHECK_DEPS)
2203 .PHONY: strings/check
2205 @go_include@ sync/sync.lo.dep
2206 sync/sync.lo.dep: $(go_sync_files)
2208 sync/sync.lo: $(go_sync_files)
2210 sync/check: $(CHECK_DEPS)
2214 @go_include@ testing/testing.lo.dep
2215 testing/testing.lo.dep: $(go_testing_files)
2217 testing/testing.lo: $(go_testing_files)
2219 testing/check: $(CHECK_DEPS)
2221 .PHONY: testing/check
2223 @go_include@ time/time.lo.dep
2224 time/time.lo.dep: $(go_time_files)
2226 time/time.lo: $(go_time_files)
2228 time/check: $(CHECK_DEPS)
2232 @go_include@ unicode/unicode.lo.dep
2233 unicode/unicode.lo.dep: $(go_unicode_files)
2235 unicode/unicode.lo: $(go_unicode_files)
2237 unicode/check: $(CHECK_DEPS)
2239 .PHONY: unicode/check
2241 @go_include@ websocket/websocket.lo.dep
2242 websocket/websocket.lo.dep: $(go_websocket_files)
2244 websocket/websocket.lo: $(go_websocket_files)
2246 websocket/check: $(CHECK_DEPS)
2248 .PHONY: websocket/check
2250 @go_include@ archive/tar.lo.dep
2251 archive/tar.lo.dep: $(go_archive_tar_files)
2253 archive/tar.lo: $(go_archive_tar_files)
2255 archive/tar/check: $(CHECK_DEPS)
2256 @$(MKDIR_P) archive/tar
2258 .PHONY: archive/tar/check
2260 @go_include@ archive/zip.lo.dep
2261 archive/zip.lo.dep: $(go_archive_zip_files)
2263 archive/zip.lo: $(go_archive_zip_files)
2265 archive/zip/check: $(CHECK_DEPS)
2266 @$(MKDIR_P) archive/zip
2268 .PHONY: archive/zip/check
2270 @go_include@ compress/bzip2.lo.dep
2271 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2273 compress/bzip2.lo: $(go_compress_bzip2_files)
2275 compress/bzip2/check: $(CHECK_DEPS)
2276 @$(MKDIR_P) compress/bzip2
2278 .PHONY: compress/bzip2/check
2280 @go_include@ compress/flate.lo.dep
2281 compress/flate.lo.dep: $(go_compress_flate_files)
2283 compress/flate.lo: $(go_compress_flate_files)
2285 compress/flate/check: $(CHECK_DEPS)
2286 @$(MKDIR_P) compress/flate
2288 .PHONY: compress/flate/check
2290 @go_include@ compress/gzip.lo.dep
2291 compress/gzip.lo.dep: $(go_compress_gzip_files)
2293 compress/gzip.lo: $(go_compress_gzip_files)
2295 compress/gzip/check: $(CHECK_DEPS)
2296 @$(MKDIR_P) compress/gzip
2298 .PHONY: compress/gzip/check
2300 @go_include@ compress/lzw.lo.dep
2301 compress/lzw.lo.dep: $(go_compress_lzw_files)
2303 compress/lzw.lo: $(go_compress_lzw_files)
2305 compress/lzw/check: $(CHECK_DEPS)
2306 @$(MKDIR_P) compress/lzw
2308 .PHONY: compress/lzw/check
2310 @go_include@ compress/zlib.lo.dep
2311 compress/zlib.lo.dep: $(go_compress_zlib_files)
2313 compress/zlib.lo: $(go_compress_zlib_files)
2315 compress/zlib/check: $(CHECK_DEPS)
2316 @$(MKDIR_P) compress/zlib
2318 .PHONY: compress/zlib/check
2320 @go_include@ container/heap.lo.dep
2321 container/heap.lo.dep: $(go_container_heap_files)
2323 container/heap.lo: $(go_container_heap_files)
2325 container/heap/check: $(CHECK_DEPS)
2326 @$(MKDIR_P) container/heap
2328 .PHONY: container/heap/check
2330 @go_include@ container/list.lo.dep
2331 container/list.lo.dep: $(go_container_list_files)
2333 container/list.lo: $(go_container_list_files)
2335 container/list/check: $(CHECK_DEPS)
2336 @$(MKDIR_P) container/list
2338 .PHONY: container/list/check
2340 @go_include@ container/ring.lo.dep
2341 container/ring.lo.dep: $(go_container_ring_files)
2343 container/ring.lo: $(go_container_ring_files)
2345 container/ring/check: $(CHECK_DEPS)
2346 @$(MKDIR_P) container/ring
2348 .PHONY: container/ring/check
2350 @go_include@ crypto/aes.lo.dep
2351 crypto/aes.lo.dep: $(go_crypto_aes_files)
2353 crypto/aes.lo: $(go_crypto_aes_files)
2355 crypto/aes/check: $(CHECK_DEPS)
2356 @$(MKDIR_P) crypto/aes
2358 .PHONY: crypto/aes/check
2360 @go_include@ crypto/bcrypt.lo.dep
2361 crypto/bcrypt.lo.dep: $(go_crypto_bcrypt_files)
2363 crypto/bcrypt.lo: $(go_crypto_bcrypt_files)
2365 crypto/bcrypt/check: $(CHECK_DEPS)
2366 @$(MKDIR_P) crypto/bcrypt
2368 .PHONY: crypto/bcrypt/check
2370 @go_include@ crypto/blowfish.lo.dep
2371 crypto/blowfish.lo.dep: $(go_crypto_blowfish_files)
2373 crypto/blowfish.lo: $(go_crypto_blowfish_files)
2375 crypto/blowfish/check: $(CHECK_DEPS)
2376 @$(MKDIR_P) crypto/blowfish
2378 .PHONY: crypto/blowfish/check
2380 @go_include@ crypto/cast5.lo.dep
2381 crypto/cast5.lo.dep: $(go_crypto_cast5_files)
2383 crypto/cast5.lo: $(go_crypto_cast5_files)
2385 crypto/cast5/check: $(CHECK_DEPS)
2386 @$(MKDIR_P) crypto/cast5
2388 .PHONY: crypto/cast5/check
2390 @go_include@ crypto/cipher.lo.dep
2391 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2393 crypto/cipher.lo: $(go_crypto_cipher_files)
2395 crypto/cipher/check: $(CHECK_DEPS)
2396 @$(MKDIR_P) crypto/cipher
2398 .PHONY: crypto/cipher/check
2400 @go_include@ crypto/des.lo.dep
2401 crypto/des.lo.dep: $(go_crypto_des_files)
2403 crypto/des.lo: $(go_crypto_des_files)
2405 crypto/des/check: $(CHECK_DEPS)
2406 @$(MKDIR_P) crypto/des
2408 .PHONY: crypto/des/check
2410 @go_include@ crypto/dsa.lo.dep
2411 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2413 crypto/dsa.lo: $(go_crypto_dsa_files)
2415 crypto/dsa/check: $(CHECK_DEPS)
2416 @$(MKDIR_P) crypto/dsa
2418 .PHONY: crypto/dsa/check
2420 @go_include@ crypto/ecdsa.lo.dep
2421 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2423 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2425 crypto/ecdsa/check: $(CHECK_DEPS)
2426 @$(MKDIR_P) crypto/ecdsa
2428 .PHONY: crypto/ecdsa/check
2430 @go_include@ crypto/elliptic.lo.dep
2431 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2433 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2435 crypto/elliptic/check: $(CHECK_DEPS)
2436 @$(MKDIR_P) crypto/elliptic
2438 .PHONY: crypto/elliptic/check
2440 @go_include@ crypto/hmac.lo.dep
2441 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2443 crypto/hmac.lo: $(go_crypto_hmac_files)
2445 crypto/hmac/check: $(CHECK_DEPS)
2446 @$(MKDIR_P) crypto/hmac
2448 .PHONY: crypto/hmac/check
2450 @go_include@ crypto/md4.lo.dep
2451 crypto/md4.lo.dep: $(go_crypto_md4_files)
2453 crypto/md4.lo: $(go_crypto_md4_files)
2455 crypto/md4/check: $(CHECK_DEPS)
2456 @$(MKDIR_P) crypto/md4
2458 .PHONY: crypto/md4/check
2460 @go_include@ crypto/md5.lo.dep
2461 crypto/md5.lo.dep: $(go_crypto_md5_files)
2463 crypto/md5.lo: $(go_crypto_md5_files)
2465 crypto/md5/check: $(CHECK_DEPS)
2466 @$(MKDIR_P) crypto/md5
2468 .PHONY: crypto/md5/check
2470 @go_include@ crypto/ocsp.lo.dep
2471 crypto/ocsp.lo.dep: $(go_crypto_ocsp_files)
2473 crypto/ocsp.lo: $(go_crypto_ocsp_files)
2475 crypto/ocsp/check: $(CHECK_DEPS)
2476 @$(MKDIR_P) crypto/ocsp
2478 .PHONY: crypto/ocsp/check
2480 @go_include@ crypto/openpgp.lo.dep
2481 crypto/openpgp.lo.dep: $(go_crypto_openpgp_files)
2483 crypto/openpgp.lo: $(go_crypto_openpgp_files)
2485 crypto/openpgp/check: $(CHECK_DEPS)
2486 @$(MKDIR_P) crypto/openpgp
2488 .PHONY: crypto/openpgp/check
2490 @go_include@ crypto/rand.lo.dep
2491 crypto/rand.lo.dep: $(go_crypto_rand_files)
2493 crypto/rand.lo: $(go_crypto_rand_files)
2495 crypto/rand/check: $(CHECK_DEPS)
2496 @$(MKDIR_P) crypto/rand
2498 .PHONY: crypto/rand/check
2500 @go_include@ crypto/rc4.lo.dep
2501 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2503 crypto/rc4.lo: $(go_crypto_rc4_files)
2505 crypto/rc4/check: $(CHECK_DEPS)
2506 @$(MKDIR_P) crypto/rc4
2508 .PHONY: crypto/rc4/check
2510 @go_include@ crypto/ripemd160.lo.dep
2511 crypto/ripemd160.lo.dep: $(go_crypto_ripemd160_files)
2513 crypto/ripemd160.lo: $(go_crypto_ripemd160_files)
2515 crypto/ripemd160/check: $(CHECK_DEPS)
2516 @$(MKDIR_P) crypto/ripemd160
2518 .PHONY: crypto/ripemd160/check
2520 @go_include@ crypto/rsa.lo.dep
2521 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2523 crypto/rsa.lo: $(go_crypto_rsa_files)
2525 crypto/rsa/check: $(CHECK_DEPS)
2526 @$(MKDIR_P) crypto/rsa
2528 .PHONY: crypto/rsa/check
2530 @go_include@ crypto/sha1.lo.dep
2531 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2533 crypto/sha1.lo: $(go_crypto_sha1_files)
2535 crypto/sha1/check: $(CHECK_DEPS)
2536 @$(MKDIR_P) crypto/sha1
2538 .PHONY: crypto/sha1/check
2540 @go_include@ crypto/sha256.lo.dep
2541 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2543 crypto/sha256.lo: $(go_crypto_sha256_files)
2545 crypto/sha256/check: $(CHECK_DEPS)
2546 @$(MKDIR_P) crypto/sha256
2548 .PHONY: crypto/sha256/check
2550 @go_include@ crypto/sha512.lo.dep
2551 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2553 crypto/sha512.lo: $(go_crypto_sha512_files)
2555 crypto/sha512/check: $(CHECK_DEPS)
2556 @$(MKDIR_P) crypto/sha512
2558 .PHONY: crypto/sha512/check
2560 @go_include@ crypto/subtle.lo.dep
2561 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2563 crypto/subtle.lo: $(go_crypto_subtle_files)
2565 crypto/subtle/check: $(CHECK_DEPS)
2566 @$(MKDIR_P) crypto/subtle
2568 .PHONY: crypto/subtle/check
2570 @go_include@ crypto/tls.lo.dep
2571 crypto/tls.lo.dep: $(go_crypto_tls_files)
2573 crypto/tls.lo: $(go_crypto_tls_files)
2575 crypto/tls/check: $(CHECK_DEPS)
2576 @$(MKDIR_P) crypto/tls
2578 .PHONY: crypto/tls/check
2580 @go_include@ crypto/twofish.lo.dep
2581 crypto/twofish.lo.dep: $(go_crypto_twofish_files)
2583 crypto/twofish.lo: $(go_crypto_twofish_files)
2585 crypto/twofish/check: $(CHECK_DEPS)
2586 @$(MKDIR_P) crypto/twofish
2588 .PHONY: crypto/twofish/check
2590 @go_include@ crypto/x509.lo.dep
2591 crypto/x509.lo.dep: $(go_crypto_x509_files)
2593 crypto/x509.lo: $(go_crypto_x509_files)
2595 crypto/x509/check: $(CHECK_DEPS)
2596 @$(MKDIR_P) crypto/x509
2598 .PHONY: crypto/x509/check
2600 @go_include@ crypto/xtea.lo.dep
2601 crypto/xtea.lo.dep: $(go_crypto_xtea_files)
2603 crypto/xtea.lo: $(go_crypto_xtea_files)
2605 crypto/xtea/check: $(CHECK_DEPS)
2606 @$(MKDIR_P) crypto/xtea
2608 .PHONY: crypto/xtea/check
2610 @go_include@ crypto/openpgp/armor.lo.dep
2611 crypto/openpgp/armor.lo.dep: $(go_crypto_openpgp_armor_files)
2613 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files)
2615 crypto/openpgp/armor/check: $(CHECK_DEPS)
2616 @$(MKDIR_P) crypto/openpgp/armor
2618 .PHONY: crypto/openpgp/armor/check
2620 @go_include@ crypto/openpgp/elgamal.lo.dep
2621 crypto/openpgp/elgamal.lo.dep: $(go_crypto_openpgp_elgamal_files)
2623 crypto/openpgp/elgamal.lo: $(go_crypto_openpgp_elgamal_files)
2625 crypto/openpgp/elgamal/check: $(CHECK_DEPS)
2626 @$(MKDIR_P) crypto/openpgp/elgamal
2628 .PHONY: crypto/openpgp/elgamal/check
2630 @go_include@ crypto/openpgp/errors.lo.dep
2631 crypto/openpgp/errors.lo.dep: $(go_crypto_openpgp_errors_files)
2633 crypto/openpgp/errors.lo: $(go_crypto_openpgp_errors_files)
2635 crypto/openpgp/errors/check: $(CHECK_DEPS)
2636 @$(MKDIR_P) crypto/openpgp/errors
2638 .PHONY: crypto/openpgp/errors/check
2640 @go_include@ crypto/openpgp/packet.lo.dep
2641 crypto/openpgp/packet.lo.dep: $(go_crypto_openpgp_packet_files)
2643 crypto/openpgp/packet.lo: $(go_crypto_openpgp_packet_files)
2645 crypto/openpgp/packet/check: $(CHECK_DEPS)
2646 @$(MKDIR_P) crypto/openpgp/packet
2648 .PHONY: crypto/openpgp/packet/check
2650 @go_include@ crypto/openpgp/s2k.lo.dep
2651 crypto/openpgp/s2k.lo.dep: $(go_crypto_openpgp_s2k_files)
2653 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files)
2655 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2656 @$(MKDIR_P) crypto/openpgp/s2k
2658 .PHONY: crypto/openpgp/s2k/check
2660 @go_include@ crypto/x509/pkix.lo.dep
2661 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2663 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2665 crypto/x509/pkix/check: $(CHECK_DEPS)
2666 @$(MKDIR_P) crypto/x509/pkix
2668 .PHONY: crypto/x509/pkix/check
2670 @go_include@ database/sql.lo.dep
2671 database/sql.lo.dep: $(go_database_sql_files)
2673 database/sql.lo: $(go_database_sql_files)
2675 database/sql/check: $(CHECK_DEPS)
2676 @$(MKDIR_P) database/sql
2678 .PHONY: database/sql/check
2680 @go_include@ database/sql/driver.lo.dep
2681 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2683 database/sql/driver.lo: $(go_database_sql_driver_files)
2685 database/sql/driver/check: $(CHECK_DEPS)
2686 @$(MKDIR_P) database/sql/driver
2688 .PHONY: database/sql/driver/check
2690 @go_include@ debug/dwarf.lo.dep
2691 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2693 debug/dwarf.lo: $(go_debug_dwarf_files)
2695 debug/dwarf/check: $(CHECK_DEPS)
2696 @$(MKDIR_P) debug/dwarf
2698 .PHONY: debug/dwarf/check
2700 @go_include@ debug/elf.lo.dep
2701 debug/elf.lo.dep: $(go_debug_elf_files)
2703 debug/elf.lo: $(go_debug_elf_files)
2705 debug/elf/check: $(CHECK_DEPS)
2706 @$(MKDIR_P) debug/elf
2708 .PHONY: debug/elf/check
2710 @go_include@ debug/gosym.lo.dep
2711 debug/gosym.lo.dep: $(go_debug_gosym_files)
2713 debug/gosym.lo: $(go_debug_gosym_files)
2715 debug/gosym/check: $(CHECK_DEPS)
2716 @$(MKDIR_P) debug/gosym
2718 .PHONY: debug/gosym/check
2720 @go_include@ debug/macho.lo.dep
2721 debug/macho.lo.dep: $(go_debug_macho_files)
2723 debug/macho.lo: $(go_debug_macho_files)
2725 debug/macho/check: $(CHECK_DEPS)
2726 @$(MKDIR_P) debug/macho
2728 .PHONY: debug/macho/check
2730 @go_include@ debug/pe.lo.dep
2731 debug/pe.lo.dep: $(go_debug_pe_files)
2733 debug/pe.lo: $(go_debug_pe_files)
2735 debug/pe/check: $(CHECK_DEPS)
2736 @$(MKDIR_P) debug/pe
2738 .PHONY: debug/pe/check
2740 @go_include@ encoding/asn1.lo.dep
2741 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2743 encoding/asn1.lo: $(go_encoding_asn1_files)
2745 encoding/asn1/check: $(CHECK_DEPS)
2746 @$(MKDIR_P) encoding/asn1
2748 .PHONY: encoding/asn1/check
2750 @go_include@ encoding/ascii85.lo.dep
2751 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2753 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2755 encoding/ascii85/check: $(CHECK_DEPS)
2756 @$(MKDIR_P) encoding/ascii85
2758 .PHONY: encoding/ascii85/check
2760 @go_include@ encoding/base32.lo.dep
2761 encoding/base32.lo.dep: $(go_encoding_base32_files)
2763 encoding/base32.lo: $(go_encoding_base32_files)
2765 encoding/base32/check: $(CHECK_DEPS)
2766 @$(MKDIR_P) encoding/base32
2768 .PHONY: encoding/base32/check
2770 @go_include@ encoding/base64.lo.dep
2771 encoding/base64.lo.dep: $(go_encoding_base64_files)
2773 encoding/base64.lo: $(go_encoding_base64_files)
2775 encoding/base64/check: $(CHECK_DEPS)
2776 @$(MKDIR_P) encoding/base64
2778 .PHONY: encoding/base64/check
2780 @go_include@ encoding/binary.lo.dep
2781 encoding/binary.lo.dep: $(go_encoding_binary_files)
2783 encoding/binary.lo: $(go_encoding_binary_files)
2785 encoding/binary/check: $(CHECK_DEPS)
2786 @$(MKDIR_P) encoding/binary
2788 .PHONY: encoding/binary/check
2790 @go_include@ encoding/csv.lo.dep
2791 encoding/csv.lo.dep: $(go_encoding_csv_files)
2793 encoding/csv.lo: $(go_encoding_csv_files)
2795 encoding/csv/check: $(CHECK_DEPS)
2796 @$(MKDIR_P) encoding/csv
2798 .PHONY: encoding/csv/check
2800 @go_include@ encoding/git85.lo.dep
2801 encoding/git85.lo.dep: $(go_encoding_git85_files)
2803 encoding/git85.lo: $(go_encoding_git85_files)
2805 encoding/git85/check: $(CHECK_DEPS)
2806 @$(MKDIR_P) encoding/git85
2808 .PHONY: encoding/git85/check
2810 @go_include@ encoding/gob.lo.dep
2811 encoding/gob.lo.dep: $(go_encoding_gob_files)
2813 encoding/gob.lo: $(go_encoding_gob_files)
2815 encoding/gob/check: $(CHECK_DEPS)
2816 @$(MKDIR_P) encoding/gob
2818 .PHONY: encoding/gob/check
2820 @go_include@ encoding/hex.lo.dep
2821 encoding/hex.lo.dep: $(go_encoding_hex_files)
2823 encoding/hex.lo: $(go_encoding_hex_files)
2825 encoding/hex/check: $(CHECK_DEPS)
2826 @$(MKDIR_P) encoding/hex
2828 .PHONY: encoding/hex/check
2830 @go_include@ encoding/json.lo.dep
2831 encoding/json.lo.dep: $(go_encoding_json_files)
2833 encoding/json.lo: $(go_encoding_json_files)
2835 encoding/json/check: $(CHECK_DEPS)
2836 @$(MKDIR_P) encoding/json
2838 .PHONY: encoding/json/check
2840 @go_include@ encoding/pem.lo.dep
2841 encoding/pem.lo.dep: $(go_encoding_pem_files)
2843 encoding/pem.lo: $(go_encoding_pem_files)
2845 encoding/pem/check: $(CHECK_DEPS)
2846 @$(MKDIR_P) encoding/pem
2848 .PHONY: encoding/pem/check
2850 @go_include@ encoding/xml.lo.dep
2851 encoding/xml.lo.dep: $(go_encoding_xml_files)
2853 encoding/xml.lo: $(go_encoding_xml_files)
2855 encoding/xml/check: $(CHECK_DEPS)
2856 @$(MKDIR_P) encoding/xml
2858 .PHONY: encoding/xml/check
2860 @go_include@ exp/ebnf.lo.dep
2861 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2863 exp/ebnf.lo: $(go_exp_ebnf_files)
2865 exp/ebnf/check: $(CHECK_DEPS)
2866 @$(MKDIR_P) exp/ebnf
2868 .PHONY: exp/ebnf/check
2870 @go_include@ exp/norm.lo.dep
2871 exp/norm.lo.dep: $(go_exp_norm_files)
2873 exp/norm.lo: $(go_exp_norm_files)
2875 exp/norm/check: $(CHECK_DEPS)
2876 @$(MKDIR_P) exp/norm
2878 .PHONY: exp/norm/check
2880 @go_include@ exp/proxy.lo.dep
2881 exp/proxy.lo.dep: $(go_exp_proxy_files)
2883 exp/proxy.lo: $(go_exp_proxy_files)
2885 exp/proxy/check: $(CHECK_DEPS)
2886 @$(MKDIR_P) exp/proxy
2888 .PHONY: exp/proxy/check
2890 @go_include@ exp/spdy.lo.dep
2891 exp/spdy.lo.dep: $(go_exp_spdy_files)
2893 exp/spdy.lo: $(go_exp_spdy_files)
2895 exp/spdy/check: $(CHECK_DEPS)
2896 @$(MKDIR_P) exp/spdy
2898 .PHONY: exp/spdy/check
2900 @go_include@ exp/ssh.lo.dep
2901 exp/ssh.lo.dep: $(go_exp_ssh_files)
2903 exp/ssh.lo: $(go_exp_ssh_files)
2905 exp/ssh/check: $(CHECK_DEPS)
2908 .PHONY: exp/ssh/check
2910 @go_include@ exp/terminal.lo.dep
2911 exp/terminal.lo.dep: $(go_exp_terminal_files)
2913 exp/terminal.lo: $(go_exp_terminal_files)
2915 exp/terminal/check: $(CHECK_DEPS)
2916 @$(MKDIR_P) exp/terminal
2918 .PHONY: exp/terminal/check
2920 @go_include@ exp/types.lo.dep
2921 exp/types.lo.dep: $(go_exp_types_files)
2923 exp/types.lo: $(go_exp_types_files)
2925 exp/types/check: $(CHECK_DEPS)
2926 @$(MKDIR_P) exp/types
2928 .PHONY: exp/types/check
2930 @go_include@ exp/utf8string.lo.dep
2931 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2933 exp/utf8string.lo: $(go_exp_utf8string_files)
2935 exp/utf8string/check: $(CHECK_DEPS)
2936 @$(MKDIR_P) exp/utf8string
2938 .PHONY: exp/utf8string/check
2940 @go_include@ exp/inotify.lo.dep
2941 exp/inotify.lo.dep: $(go_exp_inotify_files)
2943 exp/inotify.lo: $(go_exp_inotify_files)
2945 exp/inotify/check: $(CHECK_DEPS)
2946 @$(MKDIR_P) exp/inotify
2948 .PHONY: exp/inotify/check
2950 @go_include@ html/template.lo.dep
2951 html/template.lo.dep: $(go_html_template_files)
2953 html/template.lo: $(go_html_template_files)
2955 html/template/check: $(CHECK_DEPS)
2956 @$(MKDIR_P) html/template
2958 .PHONY: html/template/check
2960 @go_include@ go/ast.lo.dep
2961 go/ast.lo.dep: $(go_go_ast_files)
2963 go/ast.lo: $(go_go_ast_files)
2965 go/ast/check: $(CHECK_DEPS)
2968 .PHONY: go/ast/check
2970 @go_include@ go/build.lo.dep
2971 go/build.lo.dep: $(go_go_build_files)
2973 go/build.lo: $(go_go_build_files)
2975 go/build/check: $(CHECK_DEPS)
2976 @$(MKDIR_P) go/build
2978 .PHONY: go/build/check
2980 syslist.go: s-syslist; @true
2982 echo '// Generated automatically by make.' >syslist.go.tmp
2983 echo 'package build' >>syslist.go.tmp
2984 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2985 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2986 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2989 @go_include@ go/doc.lo.dep
2990 go/doc.lo.dep: $(go_go_doc_files)
2992 go/doc.lo: $(go_go_doc_files)
2994 go/doc/check: $(CHECK_DEPS)
2997 .PHONY: go/doc/check
2999 @go_include@ go/parser.lo.dep
3000 go/parser.lo.dep: $(go_go_parser_files)
3002 go/parser.lo: $(go_go_parser_files)
3004 go/parser/check: $(CHECK_DEPS)
3005 @$(MKDIR_P) go/parser
3007 .PHONY: go/parser/check
3009 @go_include@ go/printer.lo.dep
3010 go/printer.lo.dep: $(go_go_printer_files)
3012 go/printer.lo: $(go_go_printer_files)
3014 go/printer/check: $(CHECK_DEPS)
3015 @$(MKDIR_P) go/printer
3017 .PHONY: go/printer/check
3019 @go_include@ go/scanner.lo.dep
3020 go/scanner.lo.dep: $(go_go_scanner_files)
3022 go/scanner.lo: $(go_go_scanner_files)
3024 go/scanner/check: $(CHECK_DEPS)
3025 @$(MKDIR_P) go/scanner
3027 .PHONY: go/scanner/check
3029 @go_include@ go/token.lo.dep
3030 go/token.lo.dep: $(go_go_token_files)
3032 go/token.lo: $(go_go_token_files)
3034 go/token/check: $(CHECK_DEPS)
3035 @$(MKDIR_P) go/token
3037 .PHONY: go/token/check
3039 @go_include@ hash/adler32.lo.dep
3040 hash/adler32.lo.dep: $(go_hash_adler32_files)
3042 hash/adler32.lo: $(go_hash_adler32_files)
3044 hash/adler32/check: $(CHECK_DEPS)
3045 @$(MKDIR_P) hash/adler32
3047 .PHONY: hash/adler32/check
3049 @go_include@ hash/crc32.lo.dep
3050 hash/crc32.lo.dep: $(go_hash_crc32_files)
3052 hash/crc32.lo: $(go_hash_crc32_files)
3054 hash/crc32/check: $(CHECK_DEPS)
3055 @$(MKDIR_P) hash/crc32
3057 .PHONY: hash/crc32/check
3059 @go_include@ hash/crc64.lo.dep
3060 hash/crc64.lo.dep: $(go_hash_crc64_files)
3062 hash/crc64.lo: $(go_hash_crc64_files)
3064 hash/crc64/check: $(CHECK_DEPS)
3065 @$(MKDIR_P) hash/crc64
3067 .PHONY: hash/crc64/check
3069 @go_include@ hash/fnv.lo.dep
3070 hash/fnv.lo.dep: $(go_hash_fnv_files)
3072 hash/fnv.lo: $(go_hash_fnv_files)
3074 hash/fnv/check: $(CHECK_DEPS)
3075 @$(MKDIR_P) hash/fnv
3077 .PHONY: hash/fnv/check
3079 @go_include@ image/bmp.lo.dep
3080 image/bmp.lo.dep: $(go_image_bmp_files)
3082 image/bmp.lo: $(go_image_bmp_files)
3084 image/bmp/check: $(CHECK_DEPS)
3085 @$(MKDIR_P) image/bmp
3087 .PHONY: image/bmp/check
3089 @go_include@ image/color.lo.dep
3090 image/color.lo.dep: $(go_image_color_files)
3092 image/color.lo: $(go_image_color_files)
3094 image/color/check: $(CHECK_DEPS)
3095 @$(MKDIR_P) image/color
3097 .PHONY: image/color/check
3099 @go_include@ image/draw.lo.dep
3100 image/draw.lo.dep: $(go_image_draw_files)
3102 image/draw.lo: $(go_image_draw_files)
3104 image/draw/check: $(CHECK_DEPS)
3105 @$(MKDIR_P) image/draw
3107 .PHONY: image/draw/check
3109 @go_include@ image/gif.lo.dep
3110 image/gif.lo.dep: $(go_image_gif_files)
3112 image/gif.lo: $(go_image_gif_files)
3114 image/gif/check: $(CHECK_DEPS)
3115 @$(MKDIR_P) image/gif
3117 .PHONY: image/gif/check
3119 @go_include@ image/jpeg.lo.dep
3120 image/jpeg.lo.dep: $(go_image_jpeg_files)
3122 image/jpeg.lo: $(go_image_jpeg_files)
3124 image/jpeg/check: $(CHECK_DEPS)
3125 @$(MKDIR_P) image/jpeg
3127 .PHONY: image/jpeg/check
3129 @go_include@ image/png.lo.dep
3130 image/png.lo.dep: $(go_image_png_files)
3132 image/png.lo: $(go_image_png_files)
3134 image/png/check: $(CHECK_DEPS)
3135 @$(MKDIR_P) image/png
3137 .PHONY: image/png/check
3139 @go_include@ image/tiff.lo.dep
3140 image/tiff.lo.dep: $(go_image_tiff_files)
3142 image/tiff.lo: $(go_image_tiff_files)
3144 image/tiff/check: $(CHECK_DEPS)
3145 @$(MKDIR_P) image/tiff
3147 .PHONY: image/tiff/check
3149 @go_include@ index/suffixarray.lo.dep
3150 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
3152 index/suffixarray.lo: $(go_index_suffixarray_files)
3154 index/suffixarray/check: $(CHECK_DEPS)
3155 @$(MKDIR_P) index/suffixarray
3157 .PHONY: index/suffixarray/check
3159 @go_include@ io/ioutil.lo.dep
3160 io/ioutil.lo.dep: $(go_io_ioutil_files)
3162 io/ioutil.lo: $(go_io_ioutil_files)
3164 io/ioutil/check: $(CHECK_DEPS)
3165 @$(MKDIR_P) io/ioutil
3167 .PHONY: io/ioutil/check
3169 @go_include@ log/syslog.lo.dep
3170 log/syslog.lo.dep: $(go_log_syslog_files)
3172 log/syslog.lo: $(go_log_syslog_files)
3174 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
3175 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
3176 log/syslog/check: $(CHECK_DEPS)
3177 @$(MKDIR_P) log/syslog
3179 .PHONY: log/syslog/check
3181 @go_include@ math/big.lo.dep
3182 math/big.lo.dep: $(go_math_big_files)
3184 math/big.lo: $(go_math_big_files)
3186 math/big/check: $(CHECK_DEPS)
3187 @$(MKDIR_P) math/big
3189 .PHONY: math/big/check
3191 @go_include@ math/cmplx.lo.dep
3192 math/cmplx.lo.dep: $(go_math_cmplx_files)
3194 math/cmplx.lo: $(go_math_cmplx_files)
3196 math/cmplx/check: $(CHECK_DEPS)
3197 @$(MKDIR_P) math/cmplx
3199 .PHONY: math/cmplx/check
3201 @go_include@ math/rand.lo.dep
3202 math/rand.lo.dep: $(go_math_rand_files)
3204 math/rand.lo: $(go_math_rand_files)
3206 math/rand/check: $(CHECK_DEPS)
3207 @$(MKDIR_P) math/rand
3209 .PHONY: math/rand/check
3211 @go_include@ mime/multipart.lo.dep
3212 mime/multipart.lo.dep: $(go_mime_multipart_files)
3214 mime/multipart.lo: $(go_mime_multipart_files)
3216 mime/multipart/check: $(CHECK_DEPS)
3217 @$(MKDIR_P) mime/multipart
3219 .PHONY: mime/multipart/check
3221 @go_include@ net/dict.lo.dep
3222 net/dict.lo.dep: $(go_net_dict_files)
3224 net/dict.lo: $(go_net_dict_files)
3227 @go_include@ net/http.lo.dep
3228 net/http.lo.dep: $(go_net_http_files)
3230 net/http.lo: $(go_net_http_files)
3232 net/http/check: $(CHECK_DEPS)
3233 @$(MKDIR_P) net/http
3235 .PHONY: net/http/check
3237 @go_include@ net/mail.lo.dep
3238 net/mail.lo.dep: $(go_net_mail_files)
3240 net/mail.lo: $(go_net_mail_files)
3242 net/mail/check: $(CHECK_DEPS)
3243 @$(MKDIR_P) net/mail
3245 .PHONY: net/mail/check
3247 @go_include@ net/rpc.lo.dep
3248 net/rpc.lo.dep: $(go_net_rpc_files)
3250 net/rpc.lo: $(go_net_rpc_files)
3252 net/rpc/check: $(CHECK_DEPS)
3255 .PHONY: net/rpc/check
3257 @go_include@ net/smtp.lo.dep
3258 net/smtp.lo.dep: $(go_net_smtp_files)
3260 net/smtp.lo: $(go_net_smtp_files)
3262 net/smtp/check: $(CHECK_DEPS)
3263 @$(MKDIR_P) net/smtp
3265 .PHONY: net/smtp/check
3267 @go_include@ net/url.lo.dep
3268 net/url.lo.dep: $(go_net_url_files)
3270 net/url.lo: $(go_net_url_files)
3272 net/url/check: $(CHECK_DEPS)
3275 .PHONY: net/url/check
3277 @go_include@ net/textproto.lo.dep
3278 net/textproto.lo.dep: $(go_net_textproto_files)
3280 net/textproto.lo: $(go_net_textproto_files)
3282 net/textproto/check: $(CHECK_DEPS)
3283 @$(MKDIR_P) net/textproto
3285 .PHONY: net/textproto/check
3287 @go_include@ net/http/cgi.lo.dep
3288 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3290 net/http/cgi.lo: $(go_net_http_cgi_files)
3292 net/http/cgi/check: $(CHECK_DEPS)
3293 @$(MKDIR_P) net/http/cgi
3295 .PHONY: net/http/cgi/check
3297 @go_include@ net/http/fcgi.lo.dep
3298 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3300 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3302 net/http/fcgi/check: $(CHECK_DEPS)
3303 @$(MKDIR_P) net/http/fcgi
3305 .PHONY: net/http/fcgi/check
3307 @go_include@ net/http/httptest.lo.dep
3308 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3310 net/http/httptest.lo: $(go_net_http_httptest_files)
3312 net/http/httptest/check: $(check_deps)
3313 @$(MKDIR_P) net/http/httptest
3315 .PHONY: net/http/httptest/check
3317 @go_include@ net/http/httputil.lo.dep
3318 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3320 net/http/httputil.lo: $(go_net_http_httputil_files)
3322 net/http/httputil/check: $(check_deps)
3323 @$(MKDIR_P) net/http/httputil
3325 .PHONY: net/http/httputil/check
3327 @go_include@ net/http/pprof.lo.dep
3328 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3330 net/http/pprof.lo: $(go_net_http_pprof_files)
3332 net/http/pprof/check: $(CHECK_DEPS)
3333 @$(MKDIR_P) net/http/pprof
3335 .PHONY: net/http/pprof/check
3337 @go_include@ net/rpc/jsonrpc.lo.dep
3338 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3340 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3342 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3343 @$(MKDIR_P) net/rpc/jsonrpc
3345 .PHONY: net/rpc/jsonrpc/check
3347 @go_include@ old/netchan.lo.dep
3348 old/netchan.lo.dep: $(go_old_netchan_files)
3350 old/netchan.lo: $(go_old_netchan_files)
3352 old/netchan/check: $(CHECK_DEPS)
3353 @$(MKDIR_P) old/netchan
3355 .PHONY: old/netchan/check
3357 @go_include@ old/regexp.lo.dep
3358 old/regexp.lo.dep: $(go_old_regexp_files)
3360 old/regexp.lo: $(go_old_regexp_files)
3362 old/regexp/check: $(CHECK_DEPS)
3363 @$(MKDIR_P) old/regexp
3365 .PHONY: old/regexp/check
3367 @go_include@ old/template.lo.dep
3368 old/template.lo.dep: $(go_old_template_files)
3370 old/template.lo: $(go_old_template_files)
3372 old/template/check: $(CHECK_DEPS)
3373 @$(MKDIR_P) old/template
3375 .PHONY: old/template/check
3377 @go_include@ os/exec.lo.dep
3378 os/exec.lo.dep: $(go_os_exec_files)
3380 os/exec.lo: $(go_os_exec_files)
3382 os/exec/check: $(CHECK_DEPS)
3385 .PHONY: os/exec/check
3387 @go_include@ os/user.lo.dep
3388 os/user.lo.dep: $(go_os_user_files)
3390 os/user.lo: $(go_os_user_files)
3392 os/user/check: $(CHECK_DEPS)
3395 .PHONY: os/user/check
3397 @go_include@ os/signal.lo.dep
3398 os/signal.lo.dep: $(go_os_signal_files)
3400 os/signal.lo: $(go_os_signal_files)
3402 os/signal/check: $(CHECK_DEPS)
3403 @$(MKDIR_P) os/signal
3405 .PHONY: os/signal/check
3407 @go_include@ path/filepath.lo.dep
3408 path/filepath.lo.dep: $(go_path_filepath_files)
3410 path/filepath.lo: $(go_path_filepath_files)
3412 path/filepath/check: $(CHECK_DEPS)
3413 @$(MKDIR_P) path/filepath
3415 .PHONY: path/filepath/check
3417 @go_include@ regexp/syntax.lo.dep
3418 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3420 regexp/syntax.lo: $(go_regexp_syntax_files)
3422 regexp/syntax/check: $(CHECK_DEPS)
3423 @$(MKDIR_P) regexp/syntax
3425 .PHONY: regexp/syntax/check
3427 @go_include@ runtime/debug.lo.dep
3428 runtime/debug.lo.dep: $(go_runtime_debug_files)
3430 runtime/debug.lo: $(go_runtime_debug_files)
3432 runtime/debug/check: $(CHECK_DEPS)
3433 @$(MKDIR_P) runtime/debug
3435 .PHONY: runtime/debug/check
3437 @go_include@ runtime/pprof.lo.dep
3438 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3440 runtime/pprof.lo: $(go_runtime_pprof_files)
3442 runtime/pprof/check: $(CHECK_DEPS)
3443 @$(MKDIR_P) runtime/pprof
3445 .PHONY: runtime/pprof/check
3447 @go_include@ sync/atomic.lo.dep
3448 sync/atomic.lo.dep: $(go_sync_atomic_files)
3450 sync/atomic.lo: $(go_sync_atomic_files)
3452 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3453 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3454 sync/atomic/check: $(CHECK_DEPS)
3455 @$(MKDIR_P) sync/atomic
3457 .PHONY: sync/atomic/check
3459 @go_include@ text/tabwriter.lo.dep
3460 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3462 text/tabwriter.lo: $(go_text_tabwriter_files)
3464 text/tabwriter/check: $(CHECK_DEPS)
3465 @$(MKDIR_P) text/tabwriter
3467 .PHONY: text/tabwriter/check
3469 @go_include@ text/template.lo.dep
3470 text/template.lo.dep: $(go_text_template_files)
3472 text/template.lo: $(go_text_template_files)
3474 text/template/check: $(CHECK_DEPS)
3476 .PHONY: text/template/check
3478 @go_include@ text/template/parse.lo.dep
3479 text/template/parse.lo.dep: $(go_text_template_parse_files)
3481 text/template/parse.lo: $(go_text_template_parse_files)
3483 text/template/parse/check: $(CHECK_DEPS)
3484 @$(MKDIR_P) text/template/parse
3486 .PHONY: text/template/parse/check
3488 @go_include@ testing/iotest.lo.dep
3489 testing/iotest.lo.dep: $(go_testing_iotest_files)
3491 testing/iotest.lo: $(go_testing_iotest_files)
3493 testing/iotest/check: $(CHECK_DEPS)
3494 @$(MKDIR_P) testing/iotest
3496 .PHONY: testing/iotest/check
3498 @go_include@ testing/quick.lo.dep
3499 testing/quick.lo.dep: $(go_testing_quick_files)
3501 testing/quick.lo: $(go_testing_quick_files)
3503 testing/quick/check: $(CHECK_DEPS)
3504 @$(MKDIR_P) testing/quick
3506 .PHONY: testing/quick/check
3508 @go_include@ testing/script.lo.dep
3509 testing/script.lo.dep: $(go_testing_script_files)
3511 testing/script.lo: $(go_testing_script_files)
3513 testing/script/check: $(CHECK_DEPS)
3514 @$(MKDIR_P) testing/script
3516 .PHONY: testing/script/check
3518 @go_include@ unicode/utf16.lo.dep
3519 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3521 unicode/utf16.lo: $(go_unicode_utf16_files)
3523 unicode/utf16/check: $(CHECK_DEPS)
3524 @$(MKDIR_P) unicode/utf16
3526 .PHONY: unicode/utf16/check
3528 @go_include@ unicode/utf8.lo.dep
3529 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3531 unicode/utf8.lo: $(go_unicode_utf8_files)
3533 unicode/utf8/check: $(CHECK_DEPS)
3534 @$(MKDIR_P) unicode/utf8
3536 .PHONY: unicode/utf8/check
3538 @go_include@ syscall/syscall.lo.dep
3539 syscall/syscall.lo.dep: $(go_syscall_files)
3541 syscall/syscall.lo: $(go_syscall_files)
3543 syscall/errno.lo: go/syscall/errno.c
3544 $(LTCOMPILE) -c -o $@ $<
3545 syscall/wait.lo: go/syscall/wait.c
3546 $(LTCOMPILE) -c -o $@ $<
3548 # How to build a .gox file from a .lo file.
3550 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3551 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3553 bufio.gox: bufio/bufio.lo
3555 bytes.gox: bytes/bytes.lo
3557 crypto.gox: crypto/crypto.lo
3559 errors.gox: errors/errors.lo
3561 expvar.gox: expvar/expvar.lo
3563 flag.gox: flag/flag.lo
3567 hash.gox: hash/hash.lo
3569 html.gox: html/html.lo
3571 image.gox: image/image.lo
3577 math.gox: math/math.lo
3579 mime.gox: mime/mime.lo
3585 patch.gox: patch/patch.lo
3587 path.gox: path/path.lo
3589 reflect.gox: reflect/reflect.lo
3591 regexp.gox: regexp/regexp.lo
3593 runtime.gox: runtime/runtime.lo
3595 sort.gox: sort/sort.lo
3597 strconv.gox: strconv/strconv.lo
3599 strings.gox: strings/strings.lo
3601 sync.gox: sync/sync.lo
3603 syscall.gox: syscall/syscall.lo
3605 testing.gox: testing/testing.lo
3607 time.gox: time/time.lo
3609 unicode.gox: unicode/unicode.lo
3611 websocket.gox: websocket/websocket.lo
3614 archive/tar.gox: archive/tar.lo
3616 archive/zip.gox: archive/zip.lo
3619 compress/bzip2.gox: compress/bzip2.lo
3621 compress/flate.gox: compress/flate.lo
3623 compress/gzip.gox: compress/gzip.lo
3625 compress/lzw.gox: compress/lzw.lo
3627 compress/zlib.gox: compress/zlib.lo
3630 container/heap.gox: container/heap.lo
3632 container/list.gox: container/list.lo
3634 container/ring.gox: container/ring.lo
3637 crypto/aes.gox: crypto/aes.lo
3639 crypto/bcrypt.gox: crypto/bcrypt.lo
3641 crypto/blowfish.gox: crypto/blowfish.lo
3643 crypto/cast5.gox: crypto/cast5.lo
3645 crypto/cipher.gox: crypto/cipher.lo
3647 crypto/des.gox: crypto/des.lo
3649 crypto/dsa.gox: crypto/dsa.lo
3651 crypto/ecdsa.gox: crypto/ecdsa.lo
3653 crypto/elliptic.gox: crypto/elliptic.lo
3655 crypto/hmac.gox: crypto/hmac.lo
3657 crypto/md4.gox: crypto/md4.lo
3659 crypto/md5.gox: crypto/md5.lo
3661 crypto/ocsp.gox: crypto/ocsp.lo
3663 crypto/openpgp.gox: crypto/openpgp.lo
3665 crypto/rand.gox: crypto/rand.lo
3667 crypto/rc4.gox: crypto/rc4.lo
3669 crypto/ripemd160.gox: crypto/ripemd160.lo
3671 crypto/rsa.gox: crypto/rsa.lo
3673 crypto/sha1.gox: crypto/sha1.lo
3675 crypto/sha256.gox: crypto/sha256.lo
3677 crypto/sha512.gox: crypto/sha512.lo
3679 crypto/subtle.gox: crypto/subtle.lo
3681 crypto/tls.gox: crypto/tls.lo
3683 crypto/twofish.gox: crypto/twofish.lo
3685 crypto/x509.gox: crypto/x509.lo
3687 crypto/xtea.gox: crypto/xtea.lo
3690 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
3692 crypto/openpgp/elgamal.gox: crypto/openpgp/elgamal.lo
3694 crypto/openpgp/errors.gox: crypto/openpgp/errors.lo
3696 crypto/openpgp/packet.gox: crypto/openpgp/packet.lo
3698 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
3701 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3704 database/sql.gox: database/sql.lo
3707 database/sql/driver.gox: database/sql/driver.lo
3710 debug/dwarf.gox: debug/dwarf.lo
3712 debug/elf.gox: debug/elf.lo
3714 debug/gosym.gox: debug/gosym.lo
3716 debug/macho.gox: debug/macho.lo
3718 debug/pe.gox: debug/pe.lo
3721 encoding/ascii85.gox: encoding/ascii85.lo
3723 encoding/asn1.gox: encoding/asn1.lo
3725 encoding/base32.gox: encoding/base32.lo
3727 encoding/base64.gox: encoding/base64.lo
3729 encoding/binary.gox: encoding/binary.lo
3731 encoding/csv.gox: encoding/csv.lo
3733 encoding/git85.gox: encoding/git85.lo
3735 encoding/gob.gox: encoding/gob.lo
3737 encoding/hex.gox: encoding/hex.lo
3739 encoding/json.gox: encoding/json.lo
3741 encoding/pem.gox: encoding/pem.lo
3743 encoding/xml.gox: encoding/xml.lo
3746 exp/ebnf.gox: exp/ebnf.lo
3748 exp/inotify.gox: exp/inotify.lo
3750 exp/norm.gox: exp/norm.lo
3752 exp/proxy.gox: exp/proxy.lo
3754 exp/spdy.gox: exp/spdy.lo
3756 exp/ssh.gox: exp/ssh.lo
3758 exp/terminal.gox: exp/terminal.lo
3760 exp/types.gox: exp/types.lo
3762 exp/utf8string.gox: exp/utf8string.lo
3765 html/template.gox: html/template.lo
3768 go/ast.gox: go/ast.lo
3770 go/build.gox: go/build.lo
3772 go/doc.gox: go/doc.lo
3774 go/parser.gox: go/parser.lo
3776 go/printer.gox: go/printer.lo
3778 go/scanner.gox: go/scanner.lo
3780 go/token.gox: go/token.lo
3783 hash/adler32.gox: hash/adler32.lo
3785 hash/crc32.gox: hash/crc32.lo
3787 hash/crc64.gox: hash/crc64.lo
3789 hash/fnv.gox: hash/fnv.lo
3792 image/bmp.gox: image/bmp.lo
3794 image/color.gox: image/color.lo
3796 image/draw.gox: image/draw.lo
3798 image/gif.gox: image/gif.lo
3800 image/jpeg.gox: image/jpeg.lo
3802 image/png.gox: image/png.lo
3804 image/tiff.gox: image/tiff.lo
3807 index/suffixarray.gox: index/suffixarray.lo
3810 io/ioutil.gox: io/ioutil.lo
3813 log/syslog.gox: log/syslog.lo
3816 math/big.gox: math/big.lo
3818 math/cmplx.gox: math/cmplx.lo
3820 math/rand.gox: math/rand.lo
3823 mime/multipart.gox: mime/multipart.lo
3826 net/dict.gox: net/dict.lo
3828 net/http.gox: net/http.lo
3830 net/mail.gox: net/mail.lo
3832 net/rpc.gox: net/rpc.lo
3834 net/smtp.gox: net/smtp.lo
3836 net/textproto.gox: net/textproto.lo
3838 net/url.gox: net/url.lo
3841 net/http/cgi.gox: net/http/cgi.lo
3843 net/http/fcgi.gox: net/http/fcgi.lo
3845 net/http/httptest.gox: net/http/httptest.lo
3847 net/http/httputil.gox: net/http/httputil.lo
3849 net/http/pprof.gox: net/http/pprof.lo
3852 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3855 old/netchan.gox: old/netchan.lo
3857 old/regexp.gox: old/regexp.lo
3859 old/template.gox: old/template.lo
3862 os/exec.gox: os/exec.lo
3864 os/user.gox: os/user.lo
3866 os/signal.gox: os/signal.lo
3869 path/filepath.gox: path/filepath.lo
3872 regexp/syntax.gox: regexp/syntax.lo
3875 runtime/debug.gox: runtime/debug.lo
3877 runtime/pprof.gox: runtime/pprof.lo
3880 sync/atomic.gox: sync/atomic.lo
3883 text/scanner.gox: text/scanner.lo
3885 text/tabwriter.gox: text/tabwriter.lo
3887 text/template.gox: text/template.lo
3889 text/template/parse.gox: text/template/parse.lo
3892 testing/iotest.gox: testing/iotest.lo
3894 testing/quick.gox: testing/quick.lo
3896 testing/script.gox: testing/script.lo
3899 unicode/utf16.gox: unicode/utf16.lo
3901 unicode/utf8.gox: unicode/utf8.lo
3905 # exp_inotify_check = exp/inotify/check
3940 compress/bzip2/check \
3941 compress/flate/check \
3942 compress/gzip/check \
3943 compress/lzw/check \
3944 compress/zlib/check \
3945 container/heap/check \
3946 container/list/check \
3947 container/ring/check \
3949 crypto/bcrypt/check \
3950 crypto/blowfish/check \
3951 crypto/cast5/check \
3952 crypto/cipher/check \
3955 crypto/ecdsa/check \
3956 crypto/elliptic/check \
3961 crypto/openpgp/check \
3964 crypto/ripemd160/check \
3967 crypto/sha256/check \
3968 crypto/sha512/check \
3969 crypto/subtle/check \
3971 crypto/twofish/check \
3974 crypto/openpgp/armor/check \
3975 crypto/openpgp/elgamal/check \
3976 crypto/openpgp/packet/check \
3977 crypto/openpgp/s2k/check \
3978 database/sql/check \
3979 database/sql/driver/check \
3984 encoding/ascii85/check \
3985 encoding/asn1/check \
3986 encoding/base32/check \
3987 encoding/base64/check \
3988 encoding/binary/check \
3989 encoding/csv/check \
3990 encoding/git85/check \
3991 encoding/gob/check \
3992 encoding/hex/check \
3993 encoding/json/check \
3994 encoding/pem/check \
3995 encoding/xml/check \
3997 $(exp_inotify_check) \
4002 exp/terminal/check \
4003 exp/utf8string/check \
4004 html/template/check \
4006 $(go_build_check_omitted_since_it_calls_6g) \
4012 $(go_types_check_omitted_since_it_calls_6g) \
4013 hash/adler32/check \
4022 index/suffixarray/check \
4028 mime/multipart/check \
4030 net/http/cgi/check \
4031 net/http/fcgi/check \
4032 net/http/httputil/check \
4036 net/textproto/check \
4038 net/rpc/jsonrpc/check \
4041 old/template/check \
4045 path/filepath/check \
4046 regexp/syntax/check \
4048 text/scanner/check \
4049 text/tabwriter/check \
4050 text/template/check \
4051 text/template/parse/check \
4052 testing/quick/check \
4053 testing/script/check \
4054 unicode/utf16/check \
4058 check-recursive: check-head
4061 @echo "Test Run By $${USER} on `date`" > libgo.head
4062 @echo "Native configuration is $(host_triplet)" >> libgo.head
4064 @echo " === libgo tests ===" >> libgo.head
4067 check-tail: check-recursive check-multi
4068 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
4069 for dir in . $(MULTIDIRS); do \
4070 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
4071 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
4073 mv libgo.head libgo.sum; \
4074 cp libgo.sum libgo.log; \
4075 echo "Schedule of variations:" >> libgo.sum; \
4076 for dir in . $(MULTIDIRS); do \
4077 multidir=../$${dir}/$${lib}; \
4078 multivar=`cat $${multidir}/libgo.var`; \
4079 echo " $${multivar}" >> libgo.sum; \
4081 echo >> libgo.sum; \
4082 pass=0; fail=0; untested=0; \
4083 for dir in . $(MULTIDIRS); do \
4084 multidir=../$${dir}/$${lib}; \
4085 multivar=`cat $${multidir}/libgo.var`; \
4086 echo "Running target $${multivar}" >> libgo.sum; \
4087 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
4088 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
4089 cat $${multidir}/libgo.log.sep >> libgo.log; \
4090 if test -n "${MULTIDIRS}"; then \
4091 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
4092 echo >> libgo.sum; \
4094 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
4095 pass=`expr $$pass + $$p`; \
4096 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4097 echo "# of expected passes $$p" >> libgo.sum; \
4099 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
4100 fail=`expr $$fail + $$p`; \
4101 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4102 echo "# of unexpected failures $$p" >> libgo.sum; \
4104 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
4105 untested=`expr $$untested + $$p`; \
4106 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
4107 echo "# of untested testcases $$p" >> libgo.sum; \
4110 echo >> libgo.sum; \
4111 echo " === libgo Summary ===" >> libgo.sum; \
4112 echo >> libgo.sum; \
4113 if test "$$pass" -ne "0"; then \
4114 echo "# of expected passes $$pass" >> libgo.sum; \
4116 if test "$$fail" -ne "0"; then \
4117 echo "# of unexpected failures $$fail" >> libgo.sum; \
4119 if test "$$untested" -ne "0"; then \
4120 echo "# of untested testcases $$untested" >> libgo.sum; \
4122 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
4123 echo >> libgo.log; \
4124 echo "runtest completed at `date`" >> libgo.log; \
4125 if test "$$fail" -ne "0"; then \
4133 @rm -f libgo.sum libgo.log libgo.tail
4135 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
4136 echo "$${multivar}" > libgo.var
4137 @for f in $(TEST_PACKAGES); do \
4138 rm -f $$f-testsum $$f-testlog; \
4140 -@$(MAKE) -k $(TEST_PACKAGES)
4141 @for f in $(TEST_PACKAGES); do \
4142 if test -f $$f-testsum; then \
4143 cat $$f-testsum >> libgo.sum; \
4145 if test -f $$f-testlog; then \
4146 cat $$f-testlog >> libgo.log; \
4151 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
4153 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
4156 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
4157 find . -name '*.$(OBJEXT)' -print | xargs rm -f
4158 find . -name '*-testsum' -print | xargs rm -f
4159 find . -name '*-testlog' -print | xargs rm -f
4161 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
4164 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
4165 find . -name '*.a' -print | xargs rm -f