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)
28 toolexeclibgodir = $(nover_glibgo_toolexeclibdir)/go/$(gcc_version)/$(target_alias)
31 LIBFFIINCS = @LIBFFIINCS@
33 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
35 # -I/-D flags to pass when compiling.
36 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
38 ACLOCAL_AMFLAGS = -I ./config -I ../config
40 AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
41 $(STRINGOPS_FLAG) $(OSCFLAGS) \
42 -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
43 -I $(MULTIBUILDTOP)../../gcc/include
46 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
52 # Work around what appears to be a GNU make handling MAKEFLAGS
53 # values defined in terms of make variables, as is the case for CC and
54 # friends when we are called from the top level Makefile.
56 "AR_FLAGS=$(AR_FLAGS)" \
57 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
58 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
60 "CXXFLAGS=$(CXXFLAGS)" \
61 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
62 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
63 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
65 "GOCFLAGS=$(GOCFLAGS)" \
66 "INSTALL=$(INSTALL)" \
67 "INSTALL_DATA=$(INSTALL_DATA)" \
68 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
69 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
70 "LDFLAGS=$(LDFLAGS)" \
71 "LIBCFLAGS=$(LIBCFLAGS)" \
72 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
74 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
75 "PICFLAG=$(PICFLAG)" \
76 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
78 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
79 "exec_prefix=$(exec_prefix)" \
80 "infodir=$(infodir)" \
82 "includedir=$(includedir)" \
84 "tooldir=$(tooldir)" \
85 "gxx_include_dir=$(gxx_include_dir)" \
91 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
92 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
93 "DESTDIR=$(DESTDIR)" \
96 # Subdir rules rely on $(FLAGS_TO_PASS)
97 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
99 toolexeclib_LTLIBRARIES = libgo.la
100 toolexeclib_LIBRARIES = libgobegin.a
102 toolexeclibgo_DATA = \
132 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
134 toolexeclibgoarchive_DATA = \
138 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
140 toolexeclibgocompress_DATA = \
147 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
149 toolexeclibgocontainer_DATA = \
154 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
156 toolexeclibgocrypto_DATA = \
162 crypto/elliptic.gox \
175 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
177 toolexeclibgocryptox509_DATA = \
180 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
182 toolexeclibgodatabase_DATA = \
185 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
187 toolexeclibgodatabasesql_DATA = \
188 database/sql/driver.gox
190 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
192 toolexeclibgodebug_DATA = \
199 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
201 toolexeclibgoencoding_DATA = \
202 encoding/ascii85.gox \
204 encoding/base32.gox \
205 encoding/base64.gox \
206 encoding/binary.gox \
215 # exp_inotify_gox = exp/inotify.gox
221 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
223 toolexeclibgoexp_DATA = \
233 toolexeclibgoexphtmldir = $(toolexeclibgoexpdir)/html
235 toolexeclibgoexphtml_DATA = \
238 toolexeclibgoexplocaledir = $(toolexeclibgoexpdir)/locale
240 toolexeclibgoexplocale_DATA = \
241 exp/locale/collate.gox
243 toolexeclibgoexplocalecollatedir = $(toolexeclibgoexplocaledir)/collate
245 toolexeclibgoexplocalecollate_DATA = \
246 exp/locale/collate/build.gox
248 toolexeclibgogodir = $(toolexeclibgodir)/go
250 toolexeclibgogo_DATA = \
259 toolexeclibgohashdir = $(toolexeclibgodir)/hash
261 toolexeclibgohash_DATA = \
267 toolexeclibgohtmldir = $(toolexeclibgodir)/html
269 toolexeclibgohtml_DATA = \
272 toolexeclibgoimagedir = $(toolexeclibgodir)/image
274 toolexeclibgoimage_DATA = \
281 toolexeclibgoindexdir = $(toolexeclibgodir)/index
283 toolexeclibgoindex_DATA = \
284 index/suffixarray.gox
286 toolexeclibgoiodir = $(toolexeclibgodir)/io
288 toolexeclibgoio_DATA = \
291 toolexeclibgologdir = $(toolexeclibgodir)/log
293 toolexeclibgolog_DATA = \
296 toolexeclibgomathdir = $(toolexeclibgodir)/math
298 toolexeclibgomath_DATA = \
303 toolexeclibgomimedir = $(toolexeclibgodir)/mime
305 toolexeclibgomime_DATA = \
308 toolexeclibgonetdir = $(toolexeclibgodir)/net
310 toolexeclibgonet_DATA = \
318 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
320 toolexeclibgonethttp_DATA = \
323 net/http/httptest.gox \
324 net/http/httputil.gox \
327 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
329 toolexeclibgonetrpc_DATA = \
332 toolexeclibgoolddir = $(toolexeclibgodir)/old
334 toolexeclibgoold_DATA = \
339 toolexeclibgoosdir = $(toolexeclibgodir)/os
341 toolexeclibgoos_DATA = \
346 toolexeclibgopathdir = $(toolexeclibgodir)/path
348 toolexeclibgopath_DATA = \
351 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
353 toolexeclibgoregexp_DATA = \
356 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
358 toolexeclibgoruntime_DATA = \
362 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
364 toolexeclibgosync_DATA = \
367 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
369 toolexeclibgotesting_DATA = \
373 toolexeclibgotextdir = $(toolexeclibgodir)/text
375 toolexeclibgotext_DATA = \
380 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
382 toolexeclibgotexttemplate_DATA = \
383 text/template/parse.gox
385 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
387 toolexeclibgounicode_DATA = \
392 runtime_mem_file = runtime/mem.c
394 runtime_mem_file = runtime/mem_posix_memalign.c
398 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
400 rtems_task_variable_add_file =
404 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
406 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
410 runtime_getncpu_file = runtime/getncpu-linux.c
413 runtime_getncpu_file = runtime/getncpu-bsd.c
416 runtime_getncpu_file = runtime/getncpu-irix.c
419 runtime_getncpu_file = runtime/getncpu-solaris.c
422 runtime_getncpu_file = runtime/getncpu-bsd.c
425 runtime_getncpu_file = runtime/getncpu-bsd.c
427 runtime_getncpu_file = runtime/getncpu-none.c
436 runtime/go-append.c \
437 runtime/go-assert.c \
438 runtime/go-assert-interface.c \
439 runtime/go-byte-array-to-string.c \
440 runtime/go-breakpoint.c \
441 runtime/go-caller.c \
442 runtime/go-callers.c \
443 runtime/go-can-convert-interface.c \
445 runtime/go-check-interface.c \
446 runtime/go-construct-map.c \
447 runtime/go-convert-interface.c \
450 runtime/go-deferred-recover.c \
451 runtime/go-eface-compare.c \
452 runtime/go-eface-val-compare.c \
453 runtime/go-getgoroot.c \
454 runtime/go-int-array-to-string.c \
455 runtime/go-int-to-string.c \
456 runtime/go-interface-compare.c \
457 runtime/go-interface-eface-compare.c \
458 runtime/go-interface-val-compare.c \
459 runtime/go-make-slice.c \
460 runtime/go-map-delete.c \
461 runtime/go-map-index.c \
462 runtime/go-map-len.c \
463 runtime/go-map-range.c \
464 runtime/go-matherr.c \
465 runtime/go-nanotime.c \
467 runtime/go-new-map.c \
472 runtime/go-recover.c \
473 runtime/go-reflect-call.c \
474 runtime/go-reflect-map.c \
476 runtime/go-runtime-error.c \
477 runtime/go-setenv.c \
478 runtime/go-signal.c \
479 runtime/go-strcmp.c \
480 runtime/go-string-to-byte-array.c \
481 runtime/go-string-to-int-array.c \
482 runtime/go-strplus.c \
483 runtime/go-strslice.c \
484 runtime/go-traceback.c \
485 runtime/go-trampoline.c \
486 runtime/go-type-complex.c \
487 runtime/go-type-eface.c \
488 runtime/go-type-error.c \
489 runtime/go-type-float.c \
490 runtime/go-type-identity.c \
491 runtime/go-type-interface.c \
492 runtime/go-type-string.c \
493 runtime/go-typedesc-equal.c \
494 runtime/go-typestring.c \
495 runtime/go-unsafe-new.c \
496 runtime/go-unsafe-newarray.c \
497 runtime/go-unsafe-pointer.c \
498 runtime/go-unwind.c \
502 $(runtime_lock_files) \
505 $(runtime_mem_file) \
507 runtime/mfixalloc.c \
516 runtime/signal_unix.c \
519 $(rtems_task_variable_add_file) \
530 $(runtime_getncpu_file)
532 goc2c.$(OBJEXT): runtime/goc2c.c
533 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
535 goc2c: goc2c.$(OBJEXT)
536 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
538 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
539 ./goc2c --gcc $< > $@.tmp
542 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
543 ./goc2c --gcc $< > $@.tmp
546 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
547 ./goc2c --gcc $< > $@.tmp
550 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
551 ./goc2c --gcc $< > $@.tmp
554 sema.c: $(srcdir)/runtime/sema.goc goc2c
555 ./goc2c --gcc $< > $@.tmp
558 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
559 ./goc2c --gcc --go-pkgpath os_signal $< > $@.tmp
562 time.c: $(srcdir)/runtime/time.goc goc2c
563 ./goc2c --gcc $< > $@.tmp
566 %.c: $(srcdir)/runtime/%.goc goc2c
567 ./goc2c --gcc $< > $@.tmp
576 go/bytes/bytes_decl.go \
632 go/math/copysign.go \
652 go/math/nextafter.go \
655 go/math/remainder.go \
667 go/mime/mediatype.go \
672 go_net_fd_os_file = go/net/fd_select.go
673 go_net_newpollserver_file = go/net/newpollserver_rtems.go
674 else # !LIBGO_IS_RTEMS
676 go_net_fd_os_file = go/net/fd_linux.go
677 go_net_newpollserver_file = go/net/newpollserver_unix.go
678 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
680 go_net_fd_os_file = go/net/fd_netbsd.go
681 go_net_newpollserver_file = go/net/newpollserver_unix.go
682 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
683 # By default use select with pipes. Most systems should have
685 go_net_fd_os_file = go/net/fd_select.go
686 go_net_newpollserver_file = go/net/newpollserver_unix.go
687 endif # !LIBGO_IS_NETBSD
688 endif # !LIBGO_IS_LINUX
689 endif # !LIBGO_IS_RTEMS
692 go_net_cgo_file = go/net/cgo_linux.go
693 go_net_sock_file = go/net/sock_linux.go
694 go_net_sockopt_file = go/net/sockopt_linux.go
695 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
698 go_net_cgo_file = go/net/cgo_linux.go
699 go_net_sock_file = go/net/sock_linux.go
700 go_net_sockopt_file = go/net/sockopt_linux.go
701 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
704 go_net_cgo_file = go/net/cgo_linux.go
705 go_net_sock_file = go/net/sock_solaris.go
706 go_net_sockopt_file = go/net/sockopt_bsd.go
707 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_solaris.go
710 go_net_cgo_file = go/net/cgo_bsd.go
711 go_net_sock_file = go/net/sock_bsd.go
712 go_net_sockopt_file = go/net/sockopt_bsd.go
713 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
716 go_net_cgo_file = go/net/cgo_netbsd.go
717 go_net_sock_file = go/net/sock_bsd.go
718 go_net_sockopt_file = go/net/sockopt_bsd.go
719 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
721 go_net_cgo_file = go/net/cgo_bsd.go
722 go_net_sock_file = go/net/sock_bsd.go
723 go_net_sockopt_file = go/net/sockopt_bsd.go
724 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
732 go_net_sendfile_file = go/net/sendfile_linux.go
735 go_net_sendfile_file = go/net/sendfile_freebsd.go
737 go_net_sendfile_file = go/net/sendfile_stub.go
742 go_net_interface_file = go/net/interface_linux.go
745 go_net_interface_file = go/net/interface_netbsd.go
747 go_net_interface_file = go/net/interface_stub.go
755 go/net/dnsclient.go \
756 go/net/dnsclient_unix.go \
757 go/net/dnsconfig_unix.go \
759 $(go_net_newpollserver_file) \
761 $(go_net_fd_os_file) \
762 go/net/file_unix.go \
764 go/net/interface.go \
765 $(go_net_interface_file) \
767 go/net/iprawsock.go \
768 go/net/iprawsock_posix.go \
770 go/net/ipsock_posix.go \
772 go/net/lookup_unix.go \
775 go/net/net_posix.go \
779 go/net/port_unix.go \
780 $(go_net_sendfile_file) \
781 go/net/sock_posix.go \
782 $(go_net_sock_file) \
783 go/net/sockopt_posix.go \
784 $(go_net_sockopt_file) \
785 $(go_net_sockoptip_file) \
787 go/net/tcpsock_posix.go \
789 go/net/udpsock_posix.go \
791 go/net/unixsock_posix.go
795 go_os_dir_file = go/os/dir_largefile.go
798 go_os_dir_file = go/os/dir_largefile.go
800 go_os_dir_file = go/os/dir_regfile.go
805 go_os_dir_file = go/os/dir_largefile.go
807 go_os_dir_file = go/os/dir_regfile.go
812 go_os_sys_file = go/os/sys_linux.go
815 go_os_sys_file = go/os/sys_uname.go
818 go_os_sys_file = go/os/sys_uname.go
821 go_os_sys_file = go/os/sys_uname.go
823 go_os_sys_file = go/os/sys_bsd.go
830 go_os_stat_file = go/os/stat_solaris.go
832 go_os_stat_file = go/os/stat.go
841 go/os/error_posix.go \
843 go/os/exec_posix.go \
846 go/os/file_posix.go \
862 go/reflect/deepequal.go \
863 go/reflect/makefunc.go \
872 go/net/rpc/client.go \
873 go/net/rpc/debug.go \
877 go/runtime/compiler.go \
878 go/runtime/debug.go \
879 go/runtime/error.go \
880 go/runtime/extern.go \
882 go/runtime/softfloat64.go \
886 version.go: s-version; @true
889 echo "package runtime" > version.go.tmp
890 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
891 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
892 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
893 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
894 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
905 go/strconv/decimal.go \
906 go/strconv/extfloat.go \
908 go/strconv/isprint.go \
913 go/strings/reader.go \
914 go/strings/replace.go \
915 go/strings/search.go \
916 go/strings/strings.go
928 go_syslog_file = go/log/syslog/syslog_libc.go
931 go_syslog_file = go/log/syslog/syslog_libc.go
933 go_syslog_file = go/log/syslog/syslog_unix.go
937 go_log_syslog_files = \
938 go/log/syslog/syslog.go \
940 go_syslog_c_files = \
941 go/log/syslog/syslog_c.c
944 go/testing/benchmark.go \
945 go/testing/example.go \
946 go/testing/testing.go
951 go/time/sys_unix.go \
954 go/time/zoneinfo.go \
955 go/time/zoneinfo_read.go \
956 go/time/zoneinfo_unix.go
959 go/unicode/casetables.go \
960 go/unicode/digit.go \
961 go/unicode/graphic.go \
962 go/unicode/letter.go \
966 archive_tar_atim_file = go/archive/tar/stat_atim.go
969 archive_tar_atim_file = go/archive/tar/stat_atim.go
972 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
975 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
978 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
981 go_archive_tar_files = \
982 go/archive/tar/common.go \
983 go/archive/tar/reader.go \
984 go/archive/tar/stat_unix.go \
985 go/archive/tar/writer.go \
986 $(archive_tar_atim_file)
988 go_archive_zip_files = \
989 go/archive/zip/reader.go \
990 go/archive/zip/struct.go \
991 go/archive/zip/writer.go
993 go_compress_bzip2_files = \
994 go/compress/bzip2/bit_reader.go \
995 go/compress/bzip2/bzip2.go \
996 go/compress/bzip2/huffman.go \
997 go/compress/bzip2/move_to_front.go
999 go_compress_flate_files = \
1000 go/compress/flate/copy.go \
1001 go/compress/flate/deflate.go \
1002 go/compress/flate/huffman_bit_writer.go \
1003 go/compress/flate/huffman_code.go \
1004 go/compress/flate/inflate.go \
1005 go/compress/flate/reverse_bits.go \
1006 go/compress/flate/token.go
1008 go_compress_gzip_files = \
1009 go/compress/gzip/gzip.go \
1010 go/compress/gzip/gunzip.go
1012 go_compress_lzw_files = \
1013 go/compress/lzw/reader.go \
1014 go/compress/lzw/writer.go
1016 go_compress_zlib_files = \
1017 go/compress/zlib/reader.go \
1018 go/compress/zlib/writer.go
1020 go_container_heap_files = \
1021 go/container/heap/heap.go
1023 go_container_list_files = \
1024 go/container/list/list.go
1026 go_container_ring_files = \
1027 go/container/ring/ring.go
1029 go_crypto_aes_files = \
1030 go/crypto/aes/block.go \
1031 go/crypto/aes/cipher.go \
1032 go/crypto/aes/cipher_generic.go \
1033 go/crypto/aes/const.go
1034 go_crypto_cipher_files = \
1035 go/crypto/cipher/cbc.go \
1036 go/crypto/cipher/cfb.go \
1037 go/crypto/cipher/cipher.go \
1038 go/crypto/cipher/ctr.go \
1039 go/crypto/cipher/io.go \
1040 go/crypto/cipher/ofb.go
1041 go_crypto_des_files = \
1042 go/crypto/des/block.go \
1043 go/crypto/des/cipher.go \
1044 go/crypto/des/const.go
1045 go_crypto_dsa_files = \
1046 go/crypto/dsa/dsa.go
1047 go_crypto_ecdsa_files = \
1048 go/crypto/ecdsa/ecdsa.go
1049 go_crypto_elliptic_files = \
1050 go/crypto/elliptic/elliptic.go \
1051 go/crypto/elliptic/p224.go
1052 go_crypto_hmac_files = \
1053 go/crypto/hmac/hmac.go
1054 go_crypto_md5_files = \
1055 go/crypto/md5/md5.go \
1056 go/crypto/md5/md5block.go
1057 go_crypto_rand_files = \
1058 go/crypto/rand/rand.go \
1059 go/crypto/rand/rand_unix.go \
1060 go/crypto/rand/util.go
1061 go_crypto_rc4_files = \
1062 go/crypto/rc4/rc4.go
1063 go_crypto_rsa_files = \
1064 go/crypto/rsa/pkcs1v15.go \
1065 go/crypto/rsa/rsa.go
1066 go_crypto_sha1_files = \
1067 go/crypto/sha1/sha1.go \
1068 go/crypto/sha1/sha1block.go
1069 go_crypto_sha256_files = \
1070 go/crypto/sha256/sha256.go \
1071 go/crypto/sha256/sha256block.go
1072 go_crypto_sha512_files = \
1073 go/crypto/sha512/sha512.go \
1074 go/crypto/sha512/sha512block.go
1075 go_crypto_subtle_files = \
1076 go/crypto/subtle/constant_time.go
1077 go_crypto_tls_files = \
1078 go/crypto/tls/alert.go \
1079 go/crypto/tls/cipher_suites.go \
1080 go/crypto/tls/common.go \
1081 go/crypto/tls/conn.go \
1082 go/crypto/tls/handshake_client.go \
1083 go/crypto/tls/handshake_messages.go \
1084 go/crypto/tls/handshake_server.go \
1085 go/crypto/tls/key_agreement.go \
1086 go/crypto/tls/prf.go \
1087 go/crypto/tls/ticket.go \
1088 go/crypto/tls/tls.go
1089 go_crypto_x509_files = \
1090 go/crypto/x509/cert_pool.go \
1091 go/crypto/x509/pem_decrypt.go \
1092 go/crypto/x509/pkcs1.go \
1093 go/crypto/x509/pkcs8.go \
1094 go/crypto/x509/root.go \
1095 go/crypto/x509/root_unix.go \
1096 go/crypto/x509/verify.go \
1097 go/crypto/x509/x509.go
1099 go_crypto_x509_pkix_files = \
1100 go/crypto/x509/pkix/pkix.go
1102 go_database_sql_files = \
1103 go/database/sql/convert.go \
1104 go/database/sql/sql.go
1106 go_database_sql_driver_files = \
1107 go/database/sql/driver/driver.go \
1108 go/database/sql/driver/types.go
1110 go_debug_dwarf_files = \
1111 go/debug/dwarf/buf.go \
1112 go/debug/dwarf/const.go \
1113 go/debug/dwarf/entry.go \
1114 go/debug/dwarf/line.go \
1115 go/debug/dwarf/open.go \
1116 go/debug/dwarf/type.go \
1117 go/debug/dwarf/unit.go
1118 go_debug_elf_files = \
1119 go/debug/elf/elf.go \
1120 go/debug/elf/file.go
1121 go_debug_gosym_files = \
1122 go/debug/gosym/pclntab.go \
1123 go/debug/gosym/symtab.go
1124 go_debug_macho_files = \
1125 go/debug/macho/file.go \
1126 go/debug/macho/macho.go
1127 go_debug_pe_files = \
1128 go/debug/pe/file.go \
1131 go_encoding_ascii85_files = \
1132 go/encoding/ascii85/ascii85.go
1133 go_encoding_asn1_files = \
1134 go/encoding/asn1/asn1.go \
1135 go/encoding/asn1/common.go \
1136 go/encoding/asn1/marshal.go
1137 go_encoding_base32_files = \
1138 go/encoding/base32/base32.go
1139 go_encoding_base64_files = \
1140 go/encoding/base64/base64.go
1141 go_encoding_binary_files = \
1142 go/encoding/binary/binary.go \
1143 go/encoding/binary/varint.go
1144 go_encoding_csv_files = \
1145 go/encoding/csv/reader.go \
1146 go/encoding/csv/writer.go
1147 go_encoding_gob_files = \
1148 go/encoding/gob/decode.go \
1149 go/encoding/gob/decoder.go \
1150 go/encoding/gob/doc.go \
1151 go/encoding/gob/encode.go \
1152 go/encoding/gob/encoder.go \
1153 go/encoding/gob/error.go \
1154 go/encoding/gob/type.go
1155 go_encoding_hex_files = \
1156 go/encoding/hex/hex.go
1157 go_encoding_json_files = \
1158 go/encoding/json/decode.go \
1159 go/encoding/json/encode.go \
1160 go/encoding/json/indent.go \
1161 go/encoding/json/scanner.go \
1162 go/encoding/json/stream.go \
1163 go/encoding/json/tags.go
1164 go_encoding_pem_files = \
1165 go/encoding/pem/pem.go
1166 go_encoding_xml_files = \
1167 go/encoding/xml/marshal.go \
1168 go/encoding/xml/read.go \
1169 go/encoding/xml/typeinfo.go \
1170 go/encoding/xml/xml.go
1172 go_exp_ebnf_files = \
1173 go/exp/ebnf/ebnf.go \
1174 go/exp/ebnf/parser.go
1175 go_exp_html_files = \
1176 go/exp/html/const.go \
1177 go/exp/html/doc.go \
1178 go/exp/html/doctype.go \
1179 go/exp/html/entity.go \
1180 go/exp/html/escape.go \
1181 go/exp/html/foreign.go \
1182 go/exp/html/node.go \
1183 go/exp/html/parse.go \
1184 go/exp/html/render.go \
1185 go/exp/html/token.go
1186 go_exp_html_atom_files = \
1187 go/exp/html/atom/atom.go \
1188 go/exp/html/atom/table.go
1189 go_exp_inotify_files = \
1190 go/exp/inotify/inotify_linux.go
1191 go_exp_locale_collate_files = \
1192 go/exp/locale/collate/colelem.go \
1193 go/exp/locale/collate/collate.go \
1194 go/exp/locale/collate/contract.go \
1195 go/exp/locale/collate/export.go \
1196 go/exp/locale/collate/table.go \
1197 go/exp/locale/collate/tables.go \
1198 go/exp/locale/collate/trie.go
1199 go_exp_locale_collate_build_files = \
1200 go/exp/locale/collate/build/builder.go \
1201 go/exp/locale/collate/build/colelem.go \
1202 go/exp/locale/collate/build/contract.go \
1203 go/exp/locale/collate/build/order.go \
1204 go/exp/locale/collate/build/table.go \
1205 go/exp/locale/collate/build/trie.go
1206 go_exp_norm_files = \
1207 go/exp/norm/composition.go \
1208 go/exp/norm/forminfo.go \
1209 go/exp/norm/input.go \
1210 go/exp/norm/iter.go \
1211 go/exp/norm/normalize.go \
1212 go/exp/norm/readwriter.go \
1213 go/exp/norm/tables.go \
1215 go_exp_proxy_files = \
1216 go/exp/proxy/direct.go \
1217 go/exp/proxy/per_host.go \
1218 go/exp/proxy/proxy.go \
1219 go/exp/proxy/socks5.go
1220 go_exp_terminal_files = \
1221 go/exp/terminal/terminal.go \
1222 go/exp/terminal/util.go
1223 go_exp_types_files = \
1224 go/exp/types/check.go \
1225 go/exp/types/const.go \
1226 go/exp/types/exportdata.go \
1227 go/exp/types/gcimporter.go \
1228 go/exp/types/types.go \
1229 go/exp/types/universe.go
1230 go_exp_utf8string_files = \
1231 go/exp/utf8string/string.go
1235 go/go/ast/commentmap.go \
1236 go/go/ast/filter.go \
1237 go/go/ast/import.go \
1238 go/go/ast/print.go \
1239 go/go/ast/resolve.go \
1240 go/go/ast/scope.go \
1242 go_go_build_files = \
1243 go/go/build/build.go \
1244 go/go/build/doc.go \
1245 go/go/build/read.go \
1248 go/go/doc/comment.go \
1250 go/go/doc/example.go \
1251 go/go/doc/exports.go \
1252 go/go/doc/filter.go \
1253 go/go/doc/reader.go \
1254 go/go/doc/synopsis.go
1255 go_go_parser_files = \
1256 go/go/parser/interface.go \
1257 go/go/parser/parser.go
1258 go_go_printer_files = \
1259 go/go/printer/nodes.go \
1260 go/go/printer/printer.go
1261 go_go_scanner_files = \
1262 go/go/scanner/errors.go \
1263 go/go/scanner/scanner.go
1264 go_go_token_files = \
1265 go/go/token/position.go \
1266 go/go/token/serialize.go \
1267 go/go/token/token.go
1269 go_hash_adler32_files = \
1270 go/hash/adler32/adler32.go
1271 go_hash_crc32_files = \
1272 go/hash/crc32/crc32.go \
1273 go/hash/crc32/crc32_generic.go
1274 go_hash_crc64_files = \
1275 go/hash/crc64/crc64.go
1276 go_hash_fnv_files = \
1279 go_html_template_files = \
1280 go/html/template/attr.go \
1281 go/html/template/content.go \
1282 go/html/template/context.go \
1283 go/html/template/css.go \
1284 go/html/template/doc.go \
1285 go/html/template/error.go \
1286 go/html/template/escape.go \
1287 go/html/template/html.go \
1288 go/html/template/js.go \
1289 go/html/template/template.go \
1290 go/html/template/transition.go \
1291 go/html/template/url.go
1293 go_image_color_files = \
1294 go/image/color/color.go \
1295 go/image/color/ycbcr.go
1297 go_image_draw_files = \
1298 go/image/draw/draw.go
1300 go_image_gif_files = \
1301 go/image/gif/reader.go
1303 go_image_jpeg_files = \
1304 go/image/jpeg/fdct.go \
1305 go/image/jpeg/huffman.go \
1306 go/image/jpeg/idct.go \
1307 go/image/jpeg/reader.go \
1308 go/image/jpeg/writer.go
1310 go_image_png_files = \
1311 go/image/png/paeth.go \
1312 go/image/png/reader.go \
1313 go/image/png/writer.go
1315 go_index_suffixarray_files = \
1316 go/index/suffixarray/qsufsort.go \
1317 go/index/suffixarray/suffixarray.go
1319 go_io_ioutil_files = \
1320 go/io/ioutil/blackhole.go \
1321 go/io/ioutil/ioutil.go \
1322 go/io/ioutil/tempfile.go
1324 go_math_big_files = \
1325 go/math/big/arith.go \
1326 go/math/big/int.go \
1327 go/math/big/nat.go \
1329 go_math_cmplx_files = \
1330 go/math/cmplx/abs.go \
1331 go/math/cmplx/asin.go \
1332 go/math/cmplx/conj.go \
1333 go/math/cmplx/exp.go \
1334 go/math/cmplx/isinf.go \
1335 go/math/cmplx/isnan.go \
1336 go/math/cmplx/log.go \
1337 go/math/cmplx/phase.go \
1338 go/math/cmplx/polar.go \
1339 go/math/cmplx/pow.go \
1340 go/math/cmplx/rect.go \
1341 go/math/cmplx/sin.go \
1342 go/math/cmplx/sqrt.go \
1343 go/math/cmplx/tan.go
1344 go_math_rand_files = \
1345 go/math/rand/exp.go \
1346 go/math/rand/normal.go \
1347 go/math/rand/rand.go \
1348 go/math/rand/rng.go \
1349 go/math/rand/zipf.go
1351 go_mime_multipart_files = \
1352 go/mime/multipart/formdata.go \
1353 go/mime/multipart/multipart.go \
1354 go/mime/multipart/writer.go
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_signal_files = \
1421 go/os/signal/signal.go \
1422 go/os/signal/signal_unix.go
1424 go_os_user_files = \
1425 go/os/user/user.go \
1426 go/os/user/lookup_unix.go
1428 go_path_filepath_files = \
1429 go/path/filepath/match.go \
1430 go/path/filepath/path.go \
1431 go/path/filepath/path_unix.go \
1432 go/path/filepath/symlink.go
1434 go_regexp_syntax_files = \
1435 go/regexp/syntax/compile.go \
1436 go/regexp/syntax/doc.go \
1437 go/regexp/syntax/parse.go \
1438 go/regexp/syntax/perl_groups.go \
1439 go/regexp/syntax/prog.go \
1440 go/regexp/syntax/regexp.go \
1441 go/regexp/syntax/simplify.go
1443 go_net_rpc_jsonrpc_files = \
1444 go/net/rpc/jsonrpc/client.go \
1445 go/net/rpc/jsonrpc/server.go
1447 go_runtime_debug_files = \
1448 go/runtime/debug/stack.go
1449 go_runtime_pprof_files = \
1450 go/runtime/pprof/pprof.go
1452 go_text_tabwriter_files = \
1453 go/text/tabwriter/tabwriter.go
1454 go_text_template_files = \
1455 go/text/template/doc.go \
1456 go/text/template/exec.go \
1457 go/text/template/funcs.go \
1458 go/text/template/helper.go \
1459 go/text/template/template.go
1460 go_text_template_parse_files = \
1461 go/text/template/parse/lex.go \
1462 go/text/template/parse/node.go \
1463 go/text/template/parse/parse.go
1465 go_sync_atomic_files = \
1466 go/sync/atomic/doc.go
1467 go_sync_atomic_c_files = \
1468 go/sync/atomic/atomic.c
1470 go_testing_iotest_files = \
1471 go/testing/iotest/logger.go \
1472 go/testing/iotest/reader.go \
1473 go/testing/iotest/writer.go
1474 go_testing_quick_files = \
1475 go/testing/quick/quick.go
1477 go_text_scanner_files = \
1478 go/text/scanner/scanner.go
1480 go_unicode_utf16_files = \
1481 go/unicode/utf16/utf16.go
1482 go_unicode_utf8_files = \
1483 go/unicode/utf8/utf8.go
1485 # Define Syscall and Syscall6.
1487 syscall_syscall_file = go/syscall/syscall_stubs.go
1489 syscall_syscall_file = go/syscall/syscall_unix.go
1492 # Define ForkExec and Exec.
1494 syscall_exec_file = go/syscall/exec_stubs.go
1495 syscall_exec_os_file =
1498 syscall_exec_file = go/syscall/exec_unix.go
1499 syscall_exec_os_file = go/syscall/exec_linux.go
1501 syscall_exec_file = go/syscall/exec_unix.go
1502 syscall_exec_os_file = go/syscall/exec_bsd.go
1511 syscall_wait_file = go/syscall/libcall_wait4.go
1513 syscall_wait_file = go/syscall/libcall_waitpid.go
1517 # Support for pulling apart wait status.
1519 syscall_wait_c_file =
1521 syscall_wait_c_file = go/syscall/wait.c
1526 syscall_sleep_file = go/syscall/sleep_rtems.go
1528 syscall_sleep_file = go/syscall/sleep_select.go
1533 syscall_errstr_file = go/syscall/errstr_linux.go
1536 syscall_errstr_file = go/syscall/errstr_linux.go
1539 syscall_errstr_file = go/syscall/errstr.go
1541 syscall_errstr_file = go/syscall/errstr_nor.go
1546 # Declare libc functions that vary for largefile systems.
1548 # Always use lseek64 on GNU/Linux.
1549 syscall_size_file = go/syscall/libcall_posix_largefile.go
1550 else # !LIBGO_IS_LINUX
1553 # Use lseek64 on 32-bit Solaris/x86.
1554 syscall_size_file = go/syscall/libcall_posix_largefile.go
1555 else # !LIBGO_IS_386
1557 # Use lseek64 on 32-bit Solaris/SPARC.
1558 syscall_size_file = go/syscall/libcall_posix_largefile.go
1559 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1560 # Use lseek on 64-bit Solaris.
1561 syscall_size_file = go/syscall/libcall_posix_regfile.go
1562 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1563 endif # !LIBGO_IS_SOLARIS
1564 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1565 # Use lseek by default.
1566 syscall_size_file = go/syscall/libcall_posix_regfile.go
1567 endif # !LIBGO_IS_SOLARIS
1568 endif # !LIBGO_IS_LINUX
1570 # Define socket sizes and types.
1572 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1575 syscall_socket_file = go/syscall/socket_solaris.go
1578 syscall_socket_file = go/syscall/socket_irix.go
1580 syscall_socket_file = go/syscall/socket_bsd.go
1585 # Support for uname.
1588 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1589 syscall_uname_file =
1590 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1591 syscall_uname_file = go/syscall/libcall_uname.go
1593 else # !LIBGO_IS_SOLARIS
1594 syscall_uname_file = go/syscall/libcall_uname.go
1597 # GNU/Linux specific socket control messages.
1599 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1601 syscall_sockcmsg_file =
1604 # Support for netlink sockets and messages.
1606 syscall_netlink_file = go/syscall/netlink_linux.go
1608 syscall_netlink_file =
1611 # GNU/Linux specific socket filters.
1613 syscall_lsf_file = go/syscall/lsf_linux.go
1618 go_base_syscall_files = \
1619 go/syscall/env_unix.go \
1620 go/syscall/syscall_errno.go \
1621 go/syscall/libcall_support.go \
1622 go/syscall/libcall_posix.go \
1623 go/syscall/race0.go \
1624 go/syscall/socket.go \
1625 go/syscall/sockcmsg_unix.go \
1627 go/syscall/syscall.go \
1628 $(syscall_sockcmsg_file) \
1629 $(syscall_syscall_file) \
1630 $(syscall_exec_file) \
1631 $(syscall_exec_os_file) \
1632 $(syscall_wait_file) \
1633 $(syscall_sleep_file) \
1634 $(syscall_errstr_file) \
1635 $(syscall_size_file) \
1636 $(syscall_socket_file) \
1637 $(syscall_uname_file) \
1638 $(syscall_netlink_file) \
1639 $(syscall_lsf_file) \
1640 $(GO_LIBCALL_OS_FILE) \
1641 $(GO_LIBCALL_OS_ARCH_FILE) \
1642 $(GO_SYSCALL_OS_FILE) \
1643 $(GO_SYSCALL_OS_ARCH_FILE)
1645 go_syscall_files = \
1646 $(go_base_syscall_files) \
1650 go_syscall_c_files = \
1651 go/syscall/errno.c \
1652 go/syscall/signame.c \
1653 $(syscall_wait_c_file)
1655 libcalls.go: s-libcalls; @true
1656 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1657 rm -f libcalls.go.tmp
1658 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1659 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1660 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1663 syscall_arch.go: s-syscall_arch; @true
1664 s-syscall_arch: Makefile
1665 rm -f syscall_arch.go.tmp
1666 echo "package syscall" > syscall_arch.go.tmp
1667 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1668 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1669 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1672 sysinfo.go: s-sysinfo; @true
1673 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1674 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1675 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1678 # The epoll struct has an embedded union and is packed on x86_64,
1679 # which is too complicated for mksysinfo.sh. We find the offset of
1680 # the only field we care about in configure.ac, and generate the
1682 epoll.go: s-epoll; @true
1685 echo 'package syscall' > epoll.go.tmp
1686 echo 'type EpollEvent struct {' >> epoll.go.tmp
1687 echo ' Events uint32' >> epoll.go.tmp
1688 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1689 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1691 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1692 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1693 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1694 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1695 echo ' Fd int32' >> epoll.go.tmp; ;; \
1696 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1697 echo ' Fd int32' >> epoll.go.tmp; \
1698 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1699 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1702 echo '}' >> epoll.go.tmp
1703 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1707 # os_lib_inotify_lo = os/inotify.lo
1741 syscall/signame.lo \
1761 crypto/elliptic.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 \
1795 exp/locale/collate.lo \
1796 exp/locale/collate/build.lo \
1816 net/http/httptest.lo \
1817 net/http/httputil.lo \
1824 index/suffixarray.lo \
1827 log/syslog/syslog_c.lo \
1842 $(os_lib_inotify_lo) \
1847 net/rpc/jsonrpc.lo \
1855 text/template/parse.lo \
1861 libgo_la_SOURCES = $(runtime_files)
1863 libgo_la_LDFLAGS = \
1864 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1867 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
1868 $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1870 libgobegin_a_SOURCES = \
1873 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1875 GOCFLAGS = $(CFLAGS)
1876 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1877 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1879 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1880 $(AM_GOCFLAGS) $(GOCFLAGS)
1882 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1883 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1885 # Build the dependencies for a Go package.
1888 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1891 # Build the .go files for a package, generating a .lo file.
1894 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1895 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
1907 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1909 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1911 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1912 export RUNTESTFLAGS; \
1915 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1916 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1917 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1918 export LD_LIBRARY_PATH; \
1920 rm -f $@-testsum $@-testlog; \
1921 if test "$(use_dejagnu)" = "yes"; then \
1922 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS); \
1924 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --goarch="$(GOARCH)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1925 echo "PASS: $(@D)" >> $@-testlog; \
1926 echo "PASS: $(@D)"; \
1927 echo "PASS: $(@D)" > $@-testsum; \
1929 echo "FAIL: $(@D)" >> $@-testlog; \
1931 echo "FAIL: $(@D)" > $@-testsum; \
1936 # Build all packages before checking any.
1937 CHECK_DEPS = libgo.la libgobegin.a \
1938 $(toolexeclibgo_DATA) \
1939 $(toolexeclibgoarchive_DATA) \
1940 $(toolexeclibgocompress_DATA) \
1941 $(toolexeclibgocontainer_DATA) \
1942 $(toolexeclibgocrypto_DATA) \
1943 $(toolexeclibgodebug_DATA) \
1944 $(toolexeclibgoencoding_DATA) \
1945 $(toolexeclibgoexp_DATA) \
1946 $(toolexeclibgogo_DATA) \
1947 $(toolexeclibgohash_DATA) \
1948 $(toolexeclibgoimage_DATA) \
1949 $(toolexeclibgoindex_DATA) \
1950 $(toolexeclibgoio_DATA) \
1951 $(toolexeclibgolog_DATA) \
1952 $(toolexeclibgomath_DATA) \
1953 $(toolexeclibgomime_DATA) \
1954 $(toolexeclibgonet_DATA) \
1955 $(toolexeclibgonethttp_DATA) \
1956 $(toolexeclibgoos_DATA) \
1957 $(toolexeclibgopath_DATA) \
1958 $(toolexeclibgorpc_DATA) \
1959 $(toolexeclibgoruntime_DATA) \
1960 $(toolexeclibgosync_DATA) \
1961 $(toolexeclibgotesting_DATA) \
1962 $(toolexeclibgotext_DATA) \
1963 $(toolexeclibgotexttemplate_DATA) \
1964 $(toolexeclibgounicode_DATA)
1966 @go_include@ bufio.lo.dep
1967 bufio.lo.dep: $(go_bufio_files)
1969 bufio.lo: $(go_bufio_files)
1971 bufio/check: $(CHECK_DEPS)
1975 @go_include@ bytes.lo.dep
1976 bytes.lo.dep: $(go_bytes_files)
1978 bytes.lo: $(go_bytes_files)
1980 bytes/index.lo: $(go_bytes_c_files)
1982 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1983 bytes/check: $(CHECK_DEPS)
1987 @go_include@ crypto.lo.dep
1988 crypto.lo.dep: $(go_crypto_files)
1990 crypto.lo: $(go_crypto_files)
1992 crypto/check: $(CHECK_DEPS)
1994 .PHONY: crypto/check
1996 @go_include@ errors.lo.dep
1997 errors.lo.dep: $(go_errors_files)
1999 errors.lo: $(go_errors_files)
2001 errors/check: $(CHECK_DEPS)
2003 .PHONY: errors/check
2005 @go_include@ expvar.lo.dep
2006 expvar.lo.dep: $(go_expvar_files)
2008 expvar.lo: $(go_expvar_files)
2010 expvar/check: $(CHECK_DEPS)
2012 .PHONY: expvar/check
2014 @go_include@ flag.lo.dep
2015 flag.lo.dep: $(go_flag_files)
2017 flag.lo: $(go_flag_files)
2019 flag/check: $(CHECK_DEPS)
2023 @go_include@ fmt.lo.dep
2024 fmt.lo.dep: $(go_fmt_files)
2026 fmt.lo: $(go_fmt_files)
2028 fmt/check: $(CHECK_DEPS)
2032 @go_include@ hash.lo.dep
2033 hash.lo.dep: $(go_hash_files)
2035 hash.lo: $(go_hash_files)
2037 hash/check: $(CHECK_DEPS)
2041 @go_include@ html.lo.dep
2042 html.lo.dep: $(go_html_files)
2044 html.lo: $(go_html_files)
2046 html/check: $(CHECK_DEPS)
2050 @go_include@ image.lo.dep
2051 image.lo.dep: $(go_image_files)
2053 image.lo: $(go_image_files)
2055 image/check: $(CHECK_DEPS)
2059 @go_include@ io.lo.dep
2060 io.lo.dep: $(go_io_files)
2062 io.lo: $(go_io_files)
2064 io/check: $(CHECK_DEPS)
2068 @go_include@ log.lo.dep
2069 log.lo.dep: $(go_log_files)
2071 log.lo: $(go_log_files)
2073 log/check: $(CHECK_DEPS)
2077 @go_include@ math.lo.dep
2078 math.lo.dep: $(go_math_files)
2080 math.lo: $(go_math_files)
2082 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2083 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
2084 math/check: $(CHECK_DEPS)
2088 @go_include@ mime.lo.dep
2089 mime.lo.dep: $(go_mime_files)
2091 mime.lo: $(go_mime_files)
2093 mime/check: $(CHECK_DEPS)
2097 @go_include@ net.lo.dep
2098 net.lo.dep: $(go_net_files)
2100 net.lo: $(go_net_files)
2102 net/check: $(CHECK_DEPS)
2106 @go_include@ os.lo.dep
2107 os.lo.dep: $(go_os_files)
2109 os.lo: $(go_os_files)
2111 os/check: $(CHECK_DEPS)
2115 @go_include@ path.lo.dep
2116 path.lo.dep: $(go_path_files)
2118 path.lo: $(go_path_files)
2120 path/check: $(CHECK_DEPS)
2124 @go_include@ reflect-go.lo.dep
2125 reflect-go.lo.dep: $(go_reflect_files)
2127 reflect-go.lo: $(go_reflect_files)
2129 reflect/check: $(CHECK_DEPS)
2131 .PHONY: reflect/check
2133 @go_include@ regexp.lo.dep
2134 regexp.lo.dep: $(go_regexp_files)
2136 regexp.lo: $(go_regexp_files)
2138 regexp/check: $(CHECK_DEPS)
2140 .PHONY: regexp/check
2142 @go_include@ runtime-go.lo.dep
2143 runtime-go.lo.dep: $(go_runtime_files)
2145 runtime-go.lo: $(go_runtime_files)
2147 runtime/check: $(CHECK_DEPS)
2149 .PHONY: runtime/check
2151 @go_include@ sort.lo.dep
2152 sort.lo.dep: $(go_sort_files)
2154 sort.lo: $(go_sort_files)
2156 sort/check: $(CHECK_DEPS)
2160 @go_include@ strconv.lo.dep
2161 strconv.lo.dep: $(go_strconv_files)
2163 strconv.lo: $(go_strconv_files)
2165 strconv/check: $(CHECK_DEPS)
2167 .PHONY: strconv/check
2169 @go_include@ strings.lo.dep
2170 strings.lo.dep: $(go_strings_files)
2172 strings.lo: $(go_strings_files)
2174 strings/check: $(CHECK_DEPS)
2176 .PHONY: strings/check
2178 @go_include@ sync.lo.dep
2179 sync.lo.dep: $(go_sync_files)
2181 sync.lo: $(go_sync_files)
2183 sync/check: $(CHECK_DEPS)
2187 @go_include@ testing.lo.dep
2188 testing.lo.dep: $(go_testing_files)
2190 testing.lo: $(go_testing_files)
2192 testing/check: $(CHECK_DEPS)
2194 .PHONY: testing/check
2196 @go_include@ time-go.lo.dep
2197 time-go.lo.dep: $(go_time_files)
2199 time-go.lo: $(go_time_files)
2201 time/check: $(CHECK_DEPS)
2205 @go_include@ unicode.lo.dep
2206 unicode.lo.dep: $(go_unicode_files)
2208 unicode.lo: $(go_unicode_files)
2210 unicode/check: $(CHECK_DEPS)
2212 .PHONY: unicode/check
2214 @go_include@ archive/tar.lo.dep
2215 archive/tar.lo.dep: $(go_archive_tar_files)
2217 archive/tar.lo: $(go_archive_tar_files)
2219 archive/tar/check: $(CHECK_DEPS)
2221 .PHONY: archive/tar/check
2223 @go_include@ archive/zip.lo.dep
2224 archive/zip.lo.dep: $(go_archive_zip_files)
2226 archive/zip.lo: $(go_archive_zip_files)
2228 archive/zip/check: $(CHECK_DEPS)
2230 .PHONY: archive/zip/check
2232 @go_include@ compress/bzip2.lo.dep
2233 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2235 compress/bzip2.lo: $(go_compress_bzip2_files)
2237 compress/bzip2/check: $(CHECK_DEPS)
2239 .PHONY: compress/bzip2/check
2241 @go_include@ compress/flate.lo.dep
2242 compress/flate.lo.dep: $(go_compress_flate_files)
2244 compress/flate.lo: $(go_compress_flate_files)
2246 compress/flate/check: $(CHECK_DEPS)
2248 .PHONY: compress/flate/check
2250 @go_include@ compress/gzip.lo.dep
2251 compress/gzip.lo.dep: $(go_compress_gzip_files)
2253 compress/gzip.lo: $(go_compress_gzip_files)
2255 compress/gzip/check: $(CHECK_DEPS)
2257 .PHONY: compress/gzip/check
2259 @go_include@ compress/lzw.lo.dep
2260 compress/lzw.lo.dep: $(go_compress_lzw_files)
2262 compress/lzw.lo: $(go_compress_lzw_files)
2264 compress/lzw/check: $(CHECK_DEPS)
2266 .PHONY: compress/lzw/check
2268 @go_include@ compress/zlib.lo.dep
2269 compress/zlib.lo.dep: $(go_compress_zlib_files)
2271 compress/zlib.lo: $(go_compress_zlib_files)
2273 compress/zlib/check: $(CHECK_DEPS)
2275 .PHONY: compress/zlib/check
2277 @go_include@ container/heap.lo.dep
2278 container/heap.lo.dep: $(go_container_heap_files)
2280 container/heap.lo: $(go_container_heap_files)
2282 container/heap/check: $(CHECK_DEPS)
2284 .PHONY: container/heap/check
2286 @go_include@ container/list.lo.dep
2287 container/list.lo.dep: $(go_container_list_files)
2289 container/list.lo: $(go_container_list_files)
2291 container/list/check: $(CHECK_DEPS)
2293 .PHONY: container/list/check
2295 @go_include@ container/ring.lo.dep
2296 container/ring.lo.dep: $(go_container_ring_files)
2298 container/ring.lo: $(go_container_ring_files)
2300 container/ring/check: $(CHECK_DEPS)
2302 .PHONY: container/ring/check
2304 @go_include@ crypto/aes.lo.dep
2305 crypto/aes.lo.dep: $(go_crypto_aes_files)
2307 crypto/aes.lo: $(go_crypto_aes_files)
2309 crypto/aes/check: $(CHECK_DEPS)
2311 .PHONY: crypto/aes/check
2313 @go_include@ crypto/cipher.lo.dep
2314 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2316 crypto/cipher.lo: $(go_crypto_cipher_files)
2318 crypto/cipher/check: $(CHECK_DEPS)
2320 .PHONY: crypto/cipher/check
2322 @go_include@ crypto/des.lo.dep
2323 crypto/des.lo.dep: $(go_crypto_des_files)
2325 crypto/des.lo: $(go_crypto_des_files)
2327 crypto/des/check: $(CHECK_DEPS)
2329 .PHONY: crypto/des/check
2331 @go_include@ crypto/dsa.lo.dep
2332 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2334 crypto/dsa.lo: $(go_crypto_dsa_files)
2336 crypto/dsa/check: $(CHECK_DEPS)
2338 .PHONY: crypto/dsa/check
2340 @go_include@ crypto/ecdsa.lo.dep
2341 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2343 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2345 crypto/ecdsa/check: $(CHECK_DEPS)
2347 .PHONY: crypto/ecdsa/check
2349 @go_include@ crypto/elliptic.lo.dep
2350 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2352 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2354 crypto/elliptic/check: $(CHECK_DEPS)
2356 .PHONY: crypto/elliptic/check
2358 @go_include@ crypto/hmac.lo.dep
2359 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2361 crypto/hmac.lo: $(go_crypto_hmac_files)
2363 crypto/hmac/check: $(CHECK_DEPS)
2365 .PHONY: crypto/hmac/check
2367 @go_include@ crypto/md5.lo.dep
2368 crypto/md5.lo.dep: $(go_crypto_md5_files)
2370 crypto/md5.lo: $(go_crypto_md5_files)
2372 crypto/md5/check: $(CHECK_DEPS)
2374 .PHONY: crypto/md5/check
2376 @go_include@ crypto/rand.lo.dep
2377 crypto/rand.lo.dep: $(go_crypto_rand_files)
2379 crypto/rand.lo: $(go_crypto_rand_files)
2381 crypto/rand/check: $(CHECK_DEPS)
2383 .PHONY: crypto/rand/check
2385 @go_include@ crypto/rc4.lo.dep
2386 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2388 crypto/rc4.lo: $(go_crypto_rc4_files)
2390 crypto/rc4/check: $(CHECK_DEPS)
2392 .PHONY: crypto/rc4/check
2394 @go_include@ crypto/rsa.lo.dep
2395 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2397 crypto/rsa.lo: $(go_crypto_rsa_files)
2399 crypto/rsa/check: $(CHECK_DEPS)
2401 .PHONY: crypto/rsa/check
2403 @go_include@ crypto/sha1.lo.dep
2404 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2406 crypto/sha1.lo: $(go_crypto_sha1_files)
2408 crypto/sha1/check: $(CHECK_DEPS)
2410 .PHONY: crypto/sha1/check
2412 @go_include@ crypto/sha256.lo.dep
2413 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2415 crypto/sha256.lo: $(go_crypto_sha256_files)
2417 crypto/sha256/check: $(CHECK_DEPS)
2419 .PHONY: crypto/sha256/check
2421 @go_include@ crypto/sha512.lo.dep
2422 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2424 crypto/sha512.lo: $(go_crypto_sha512_files)
2426 crypto/sha512/check: $(CHECK_DEPS)
2428 .PHONY: crypto/sha512/check
2430 @go_include@ crypto/subtle.lo.dep
2431 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2433 crypto/subtle.lo: $(go_crypto_subtle_files)
2435 crypto/subtle/check: $(CHECK_DEPS)
2437 .PHONY: crypto/subtle/check
2439 @go_include@ crypto/tls.lo.dep
2440 crypto/tls.lo.dep: $(go_crypto_tls_files)
2442 crypto/tls.lo: $(go_crypto_tls_files)
2444 crypto/tls/check: $(CHECK_DEPS)
2446 .PHONY: crypto/tls/check
2448 @go_include@ crypto/x509.lo.dep
2449 crypto/x509.lo.dep: $(go_crypto_x509_files)
2451 crypto/x509.lo: $(go_crypto_x509_files)
2453 crypto/x509/check: $(CHECK_DEPS)
2455 .PHONY: crypto/x509/check
2457 @go_include@ crypto/x509/pkix.lo.dep
2458 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2460 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2462 crypto/x509/pkix/check: $(CHECK_DEPS)
2464 .PHONY: crypto/x509/pkix/check
2466 @go_include@ database/sql.lo.dep
2467 database/sql.lo.dep: $(go_database_sql_files)
2469 database/sql.lo: $(go_database_sql_files)
2471 database/sql/check: $(CHECK_DEPS)
2473 .PHONY: database/sql/check
2475 @go_include@ database/sql/driver.lo.dep
2476 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2478 database/sql/driver.lo: $(go_database_sql_driver_files)
2480 database/sql/driver/check: $(CHECK_DEPS)
2482 .PHONY: database/sql/driver/check
2484 @go_include@ debug/dwarf.lo.dep
2485 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2487 debug/dwarf.lo: $(go_debug_dwarf_files)
2489 debug/dwarf/check: $(CHECK_DEPS)
2491 .PHONY: debug/dwarf/check
2493 @go_include@ debug/elf.lo.dep
2494 debug/elf.lo.dep: $(go_debug_elf_files)
2496 debug/elf.lo: $(go_debug_elf_files)
2498 debug/elf/check: $(CHECK_DEPS)
2500 .PHONY: debug/elf/check
2502 @go_include@ debug/gosym.lo.dep
2503 debug/gosym.lo.dep: $(go_debug_gosym_files)
2505 debug/gosym.lo: $(go_debug_gosym_files)
2507 debug/gosym/check: $(CHECK_DEPS)
2509 .PHONY: debug/gosym/check
2511 @go_include@ debug/macho.lo.dep
2512 debug/macho.lo.dep: $(go_debug_macho_files)
2514 debug/macho.lo: $(go_debug_macho_files)
2516 debug/macho/check: $(CHECK_DEPS)
2518 .PHONY: debug/macho/check
2520 @go_include@ debug/pe.lo.dep
2521 debug/pe.lo.dep: $(go_debug_pe_files)
2523 debug/pe.lo: $(go_debug_pe_files)
2525 debug/pe/check: $(CHECK_DEPS)
2527 .PHONY: debug/pe/check
2529 @go_include@ encoding/asn1.lo.dep
2530 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2532 encoding/asn1.lo: $(go_encoding_asn1_files)
2534 encoding/asn1/check: $(CHECK_DEPS)
2536 .PHONY: encoding/asn1/check
2538 @go_include@ encoding/ascii85.lo.dep
2539 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2541 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2543 encoding/ascii85/check: $(CHECK_DEPS)
2545 .PHONY: encoding/ascii85/check
2547 @go_include@ encoding/base32.lo.dep
2548 encoding/base32.lo.dep: $(go_encoding_base32_files)
2550 encoding/base32.lo: $(go_encoding_base32_files)
2552 encoding/base32/check: $(CHECK_DEPS)
2554 .PHONY: encoding/base32/check
2556 @go_include@ encoding/base64.lo.dep
2557 encoding/base64.lo.dep: $(go_encoding_base64_files)
2559 encoding/base64.lo: $(go_encoding_base64_files)
2561 encoding/base64/check: $(CHECK_DEPS)
2563 .PHONY: encoding/base64/check
2565 @go_include@ encoding/binary.lo.dep
2566 encoding/binary.lo.dep: $(go_encoding_binary_files)
2568 encoding/binary.lo: $(go_encoding_binary_files)
2570 encoding/binary/check: $(CHECK_DEPS)
2572 .PHONY: encoding/binary/check
2574 @go_include@ encoding/csv.lo.dep
2575 encoding/csv.lo.dep: $(go_encoding_csv_files)
2577 encoding/csv.lo: $(go_encoding_csv_files)
2579 encoding/csv/check: $(CHECK_DEPS)
2581 .PHONY: encoding/csv/check
2583 @go_include@ encoding/gob.lo.dep
2584 encoding/gob.lo.dep: $(go_encoding_gob_files)
2586 encoding/gob.lo: $(go_encoding_gob_files)
2588 encoding/gob/check: $(CHECK_DEPS)
2590 .PHONY: encoding/gob/check
2592 @go_include@ encoding/hex.lo.dep
2593 encoding/hex.lo.dep: $(go_encoding_hex_files)
2595 encoding/hex.lo: $(go_encoding_hex_files)
2597 encoding/hex/check: $(CHECK_DEPS)
2599 .PHONY: encoding/hex/check
2601 @go_include@ encoding/json.lo.dep
2602 encoding/json.lo.dep: $(go_encoding_json_files)
2604 encoding/json.lo: $(go_encoding_json_files)
2606 encoding/json/check: $(CHECK_DEPS)
2608 .PHONY: encoding/json/check
2610 @go_include@ encoding/pem.lo.dep
2611 encoding/pem.lo.dep: $(go_encoding_pem_files)
2613 encoding/pem.lo: $(go_encoding_pem_files)
2615 encoding/pem/check: $(CHECK_DEPS)
2617 .PHONY: encoding/pem/check
2619 @go_include@ encoding/xml.lo.dep
2620 encoding/xml.lo.dep: $(go_encoding_xml_files)
2622 encoding/xml.lo: $(go_encoding_xml_files)
2624 encoding/xml/check: $(CHECK_DEPS)
2626 .PHONY: encoding/xml/check
2628 @go_include@ exp/ebnf.lo.dep
2629 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2631 exp/ebnf.lo: $(go_exp_ebnf_files)
2633 exp/ebnf/check: $(CHECK_DEPS)
2635 .PHONY: exp/ebnf/check
2637 @go_include@ exp/html.lo.dep
2638 exp/html.lo.dep: $(go_exp_html_files)
2640 exp/html.lo: $(go_exp_html_files)
2642 exp/html/check: $(CHECK_DEPS)
2644 .PHONY: exp/html/check
2646 @go_include@ exp/html/atom.lo.dep
2647 exp/html/atom.lo.dep: $(go_exp_html_atom_files)
2649 exp/html/atom.lo: $(go_exp_html_atom_files)
2651 exp/html/atom/check: $(CHECK_DEPS)
2653 .PHONY: exp/html/atom/check
2655 @go_include@ exp/locale/collate.lo.dep
2656 exp/locale/collate.lo.dep: $(go_exp_locale_collate_files)
2658 exp/locale/collate.lo: $(go_exp_locale_collate_files)
2660 exp/locale/collate/check: $(CHECK_DEPS)
2662 .PHONY: exp/locale/collate/check
2664 @go_include@ exp/locale/collate/build.lo.dep
2665 exp/locale/collate/build.lo.dep: $(go_exp_locale_collate_build_files)
2667 exp/locale/collate/build.lo: $(go_exp_locale_collate_build_files)
2669 exp/locale/collate/build/check: $(CHECK_DEPS)
2671 .PHONY: exp/locale/collate/build/check
2673 @go_include@ exp/norm.lo.dep
2674 exp/norm.lo.dep: $(go_exp_norm_files)
2676 exp/norm.lo: $(go_exp_norm_files)
2678 exp/norm/check: $(CHECK_DEPS)
2680 .PHONY: exp/norm/check
2682 @go_include@ exp/proxy.lo.dep
2683 exp/proxy.lo.dep: $(go_exp_proxy_files)
2685 exp/proxy.lo: $(go_exp_proxy_files)
2687 exp/proxy/check: $(CHECK_DEPS)
2689 .PHONY: exp/proxy/check
2691 @go_include@ exp/terminal.lo.dep
2692 exp/terminal.lo.dep: $(go_exp_terminal_files)
2694 exp/terminal.lo: $(go_exp_terminal_files)
2696 exp/terminal/check: $(CHECK_DEPS)
2698 .PHONY: exp/terminal/check
2700 @go_include@ exp/types.lo.dep
2701 exp/types.lo.dep: $(go_exp_types_files)
2703 exp/types.lo: $(go_exp_types_files)
2705 exp/types/check: $(CHECK_DEPS)
2707 .PHONY: exp/types/check
2709 @go_include@ exp/utf8string.lo.dep
2710 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2712 exp/utf8string.lo: $(go_exp_utf8string_files)
2714 exp/utf8string/check: $(CHECK_DEPS)
2716 .PHONY: exp/utf8string/check
2718 @go_include@ exp/inotify.lo.dep
2719 exp/inotify.lo.dep: $(go_exp_inotify_files)
2721 exp/inotify.lo: $(go_exp_inotify_files)
2723 exp/inotify/check: $(CHECK_DEPS)
2725 .PHONY: exp/inotify/check
2727 @go_include@ html/template.lo.dep
2728 html/template.lo.dep: $(go_html_template_files)
2730 html/template.lo: $(go_html_template_files)
2732 html/template/check: $(CHECK_DEPS)
2734 .PHONY: html/template/check
2736 @go_include@ go/ast.lo.dep
2737 go/ast.lo.dep: $(go_go_ast_files)
2739 go/ast.lo: $(go_go_ast_files)
2741 go/ast/check: $(CHECK_DEPS)
2743 .PHONY: go/ast/check
2745 @go_include@ go/build.lo.dep
2746 go/build.lo.dep: $(go_go_build_files)
2748 go/build.lo: $(go_go_build_files)
2750 go/build/check: $(CHECK_DEPS)
2752 .PHONY: go/build/check
2754 syslist.go: s-syslist; @true
2756 echo '// Generated automatically by make.' >syslist.go.tmp
2757 echo 'package build' >>syslist.go.tmp
2758 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2759 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2760 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2763 @go_include@ go/doc.lo.dep
2764 go/doc.lo.dep: $(go_go_doc_files)
2766 go/doc.lo: $(go_go_doc_files)
2768 go/doc/check: $(CHECK_DEPS)
2770 .PHONY: go/doc/check
2772 @go_include@ go/parser.lo.dep
2773 go/parser.lo.dep: $(go_go_parser_files)
2775 go/parser.lo: $(go_go_parser_files)
2777 go/parser/check: $(CHECK_DEPS)
2779 .PHONY: go/parser/check
2781 @go_include@ go/printer.lo.dep
2782 go/printer.lo.dep: $(go_go_printer_files)
2784 go/printer.lo: $(go_go_printer_files)
2786 go/printer/check: $(CHECK_DEPS)
2788 .PHONY: go/printer/check
2790 @go_include@ go/scanner.lo.dep
2791 go/scanner.lo.dep: $(go_go_scanner_files)
2793 go/scanner.lo: $(go_go_scanner_files)
2795 go/scanner/check: $(CHECK_DEPS)
2797 .PHONY: go/scanner/check
2799 @go_include@ go/token.lo.dep
2800 go/token.lo.dep: $(go_go_token_files)
2802 go/token.lo: $(go_go_token_files)
2804 go/token/check: $(CHECK_DEPS)
2806 .PHONY: go/token/check
2808 @go_include@ hash/adler32.lo.dep
2809 hash/adler32.lo.dep: $(go_hash_adler32_files)
2811 hash/adler32.lo: $(go_hash_adler32_files)
2813 hash/adler32/check: $(CHECK_DEPS)
2815 .PHONY: hash/adler32/check
2817 @go_include@ hash/crc32.lo.dep
2818 hash/crc32.lo.dep: $(go_hash_crc32_files)
2820 hash/crc32.lo: $(go_hash_crc32_files)
2822 hash/crc32/check: $(CHECK_DEPS)
2824 .PHONY: hash/crc32/check
2826 @go_include@ hash/crc64.lo.dep
2827 hash/crc64.lo.dep: $(go_hash_crc64_files)
2829 hash/crc64.lo: $(go_hash_crc64_files)
2831 hash/crc64/check: $(CHECK_DEPS)
2833 .PHONY: hash/crc64/check
2835 @go_include@ hash/fnv.lo.dep
2836 hash/fnv.lo.dep: $(go_hash_fnv_files)
2838 hash/fnv.lo: $(go_hash_fnv_files)
2840 hash/fnv/check: $(CHECK_DEPS)
2842 .PHONY: hash/fnv/check
2844 @go_include@ image/color.lo.dep
2845 image/color.lo.dep: $(go_image_color_files)
2847 image/color.lo: $(go_image_color_files)
2849 image/color/check: $(CHECK_DEPS)
2851 .PHONY: image/color/check
2853 @go_include@ image/draw.lo.dep
2854 image/draw.lo.dep: $(go_image_draw_files)
2856 image/draw.lo: $(go_image_draw_files)
2858 image/draw/check: $(CHECK_DEPS)
2860 .PHONY: image/draw/check
2862 @go_include@ image/gif.lo.dep
2863 image/gif.lo.dep: $(go_image_gif_files)
2865 image/gif.lo: $(go_image_gif_files)
2867 image/gif/check: $(CHECK_DEPS)
2869 .PHONY: image/gif/check
2871 @go_include@ image/jpeg.lo.dep
2872 image/jpeg.lo.dep: $(go_image_jpeg_files)
2874 image/jpeg.lo: $(go_image_jpeg_files)
2876 image/jpeg/check: $(CHECK_DEPS)
2878 .PHONY: image/jpeg/check
2880 @go_include@ image/png.lo.dep
2881 image/png.lo.dep: $(go_image_png_files)
2883 image/png.lo: $(go_image_png_files)
2885 image/png/check: $(CHECK_DEPS)
2887 .PHONY: image/png/check
2889 @go_include@ index/suffixarray.lo.dep
2890 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2892 index/suffixarray.lo: $(go_index_suffixarray_files)
2894 index/suffixarray/check: $(CHECK_DEPS)
2896 .PHONY: index/suffixarray/check
2898 @go_include@ io/ioutil.lo.dep
2899 io/ioutil.lo.dep: $(go_io_ioutil_files)
2901 io/ioutil.lo: $(go_io_ioutil_files)
2903 io/ioutil/check: $(CHECK_DEPS)
2905 .PHONY: io/ioutil/check
2907 @go_include@ log/syslog.lo.dep
2908 log/syslog.lo.dep: $(go_log_syslog_files)
2910 log/syslog.lo: $(go_log_syslog_files)
2912 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2913 @$(MKDIR_P) log/syslog
2914 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2915 log/syslog/check: $(CHECK_DEPS)
2917 .PHONY: log/syslog/check
2919 @go_include@ math/big.lo.dep
2920 math/big.lo.dep: $(go_math_big_files)
2922 math/big.lo: $(go_math_big_files)
2924 math/big/check: $(CHECK_DEPS)
2926 .PHONY: math/big/check
2928 @go_include@ math/cmplx.lo.dep
2929 math/cmplx.lo.dep: $(go_math_cmplx_files)
2931 math/cmplx.lo: $(go_math_cmplx_files)
2933 math/cmplx/check: $(CHECK_DEPS)
2935 .PHONY: math/cmplx/check
2937 @go_include@ math/rand.lo.dep
2938 math/rand.lo.dep: $(go_math_rand_files)
2940 math/rand.lo: $(go_math_rand_files)
2942 math/rand/check: $(CHECK_DEPS)
2944 .PHONY: math/rand/check
2946 @go_include@ mime/multipart.lo.dep
2947 mime/multipart.lo.dep: $(go_mime_multipart_files)
2949 mime/multipart.lo: $(go_mime_multipart_files)
2951 mime/multipart/check: $(CHECK_DEPS)
2953 .PHONY: mime/multipart/check
2955 @go_include@ net/http.lo.dep
2956 net/http.lo.dep: $(go_net_http_files)
2958 net/http.lo: $(go_net_http_files)
2960 net/http/check: $(CHECK_DEPS)
2962 .PHONY: net/http/check
2964 @go_include@ net/mail.lo.dep
2965 net/mail.lo.dep: $(go_net_mail_files)
2967 net/mail.lo: $(go_net_mail_files)
2969 net/mail/check: $(CHECK_DEPS)
2971 .PHONY: net/mail/check
2973 @go_include@ net/rpc.lo.dep
2974 net/rpc.lo.dep: $(go_net_rpc_files)
2976 net/rpc.lo: $(go_net_rpc_files)
2978 net/rpc/check: $(CHECK_DEPS)
2980 .PHONY: net/rpc/check
2982 @go_include@ net/smtp.lo.dep
2983 net/smtp.lo.dep: $(go_net_smtp_files)
2985 net/smtp.lo: $(go_net_smtp_files)
2987 net/smtp/check: $(CHECK_DEPS)
2989 .PHONY: net/smtp/check
2991 @go_include@ net/url.lo.dep
2992 net/url.lo.dep: $(go_net_url_files)
2994 net/url.lo: $(go_net_url_files)
2996 net/url/check: $(CHECK_DEPS)
2998 .PHONY: net/url/check
3000 @go_include@ net/textproto.lo.dep
3001 net/textproto.lo.dep: $(go_net_textproto_files)
3003 net/textproto.lo: $(go_net_textproto_files)
3005 net/textproto/check: $(CHECK_DEPS)
3007 .PHONY: net/textproto/check
3009 @go_include@ net/http/cgi.lo.dep
3010 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3012 net/http/cgi.lo: $(go_net_http_cgi_files)
3014 net/http/cgi/check: $(CHECK_DEPS)
3016 .PHONY: net/http/cgi/check
3018 @go_include@ net/http/fcgi.lo.dep
3019 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3021 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3023 net/http/fcgi/check: $(CHECK_DEPS)
3025 .PHONY: net/http/fcgi/check
3027 @go_include@ net/http/httptest.lo.dep
3028 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3030 net/http/httptest.lo: $(go_net_http_httptest_files)
3032 net/http/httptest/check: $(check_deps)
3034 .PHONY: net/http/httptest/check
3036 @go_include@ net/http/httputil.lo.dep
3037 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3039 net/http/httputil.lo: $(go_net_http_httputil_files)
3041 net/http/httputil/check: $(check_deps)
3043 .PHONY: net/http/httputil/check
3045 @go_include@ net/http/pprof.lo.dep
3046 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3048 net/http/pprof.lo: $(go_net_http_pprof_files)
3050 net/http/pprof/check: $(CHECK_DEPS)
3052 .PHONY: net/http/pprof/check
3054 @go_include@ net/rpc/jsonrpc.lo.dep
3055 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3057 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3059 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3061 .PHONY: net/rpc/jsonrpc/check
3063 @go_include@ old/netchan.lo.dep
3064 old/netchan.lo.dep: $(go_old_netchan_files)
3066 old/netchan.lo: $(go_old_netchan_files)
3068 old/netchan/check: $(CHECK_DEPS)
3070 .PHONY: old/netchan/check
3072 @go_include@ old/regexp.lo.dep
3073 old/regexp.lo.dep: $(go_old_regexp_files)
3075 old/regexp.lo: $(go_old_regexp_files)
3077 old/regexp/check: $(CHECK_DEPS)
3079 .PHONY: old/regexp/check
3081 @go_include@ old/template.lo.dep
3082 old/template.lo.dep: $(go_old_template_files)
3084 old/template.lo: $(go_old_template_files)
3086 old/template/check: $(CHECK_DEPS)
3088 .PHONY: old/template/check
3090 @go_include@ os/exec.lo.dep
3091 os/exec.lo.dep: $(go_os_exec_files)
3093 os/exec.lo: $(go_os_exec_files)
3095 os/exec/check: $(CHECK_DEPS)
3097 .PHONY: os/exec/check
3099 @go_include@ os/signal.lo.dep
3100 os/signal.lo.dep: $(go_os_signal_files)
3102 os/signal.lo: $(go_os_signal_files)
3104 os/signal/check: $(CHECK_DEPS)
3106 .PHONY: os/signal/check
3108 @go_include@ os/user.lo.dep
3109 os/user.lo.dep: $(go_os_user_files)
3111 os/user.lo: $(go_os_user_files)
3113 os/user/check: $(CHECK_DEPS)
3115 .PHONY: os/user/check
3117 @go_include@ path/filepath.lo.dep
3118 path/filepath.lo.dep: $(go_path_filepath_files)
3120 path/filepath.lo: $(go_path_filepath_files)
3122 path/filepath/check: $(CHECK_DEPS)
3124 .PHONY: path/filepath/check
3126 @go_include@ regexp/syntax.lo.dep
3127 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3129 regexp/syntax.lo: $(go_regexp_syntax_files)
3131 regexp/syntax/check: $(CHECK_DEPS)
3133 .PHONY: regexp/syntax/check
3135 @go_include@ runtime/debug.lo.dep
3136 runtime/debug.lo.dep: $(go_runtime_debug_files)
3138 runtime/debug.lo: $(go_runtime_debug_files)
3140 runtime/debug/check: $(CHECK_DEPS)
3142 .PHONY: runtime/debug/check
3144 @go_include@ runtime/pprof.lo.dep
3145 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3147 runtime/pprof.lo: $(go_runtime_pprof_files)
3149 runtime/pprof/check: $(CHECK_DEPS)
3151 .PHONY: runtime/pprof/check
3152 # At least for now, we need -static-libgo for this test, because
3153 # otherwise we can't get the line numbers.
3154 runtime_pprof_check_GOCFLAGS = -static-libgo
3156 @go_include@ sync/atomic.lo.dep
3157 sync/atomic.lo.dep: $(go_sync_atomic_files)
3159 sync/atomic.lo: $(go_sync_atomic_files)
3161 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3162 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3163 sync/atomic/check: $(CHECK_DEPS)
3165 .PHONY: sync/atomic/check
3167 @go_include@ text/scanner.lo.dep
3168 text/scanner.lo.dep: $(go_text_scanner_files)
3170 text/scanner.lo: $(go_text_scanner_files)
3172 text/scanner/check: $(CHECK_DEPS)
3174 .PHONY: text/scanner/check
3176 @go_include@ text/tabwriter.lo.dep
3177 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3179 text/tabwriter.lo: $(go_text_tabwriter_files)
3181 text/tabwriter/check: $(CHECK_DEPS)
3183 .PHONY: text/tabwriter/check
3185 @go_include@ text/template.lo.dep
3186 text/template.lo.dep: $(go_text_template_files)
3188 text/template.lo: $(go_text_template_files)
3190 text/template/check: $(CHECK_DEPS)
3192 .PHONY: text/template/check
3194 @go_include@ text/template/parse.lo.dep
3195 text/template/parse.lo.dep: $(go_text_template_parse_files)
3197 text/template/parse.lo: $(go_text_template_parse_files)
3199 text/template/parse/check: $(CHECK_DEPS)
3201 .PHONY: text/template/parse/check
3203 @go_include@ testing/iotest.lo.dep
3204 testing/iotest.lo.dep: $(go_testing_iotest_files)
3206 testing/iotest.lo: $(go_testing_iotest_files)
3208 testing/iotest/check: $(CHECK_DEPS)
3210 .PHONY: testing/iotest/check
3212 @go_include@ testing/quick.lo.dep
3213 testing/quick.lo.dep: $(go_testing_quick_files)
3215 testing/quick.lo: $(go_testing_quick_files)
3217 testing/quick/check: $(CHECK_DEPS)
3219 .PHONY: testing/quick/check
3221 @go_include@ unicode/utf16.lo.dep
3222 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3224 unicode/utf16.lo: $(go_unicode_utf16_files)
3226 unicode/utf16/check: $(CHECK_DEPS)
3228 .PHONY: unicode/utf16/check
3230 @go_include@ unicode/utf8.lo.dep
3231 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3233 unicode/utf8.lo: $(go_unicode_utf8_files)
3235 unicode/utf8/check: $(CHECK_DEPS)
3237 .PHONY: unicode/utf8/check
3239 @go_include@ syscall.lo.dep
3240 syscall.lo.dep: $(go_syscall_files)
3242 syscall.lo: $(go_syscall_files)
3244 syscall/errno.lo: go/syscall/errno.c
3246 $(LTCOMPILE) -c -o $@ $<
3247 syscall/signame.lo: go/syscall/signame.c
3249 $(LTCOMPILE) -c -o $@ $<
3250 syscall/wait.lo: go/syscall/wait.c
3252 $(LTCOMPILE) -c -o $@ $<
3253 syscall/check: $(CHECK_DEPS)
3255 .PHONY: syscall/check
3257 # How to build a .gox file from a .lo file.
3259 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3260 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3266 crypto.gox: crypto.lo
3268 errors.gox: errors.lo
3270 expvar.gox: expvar.lo
3296 reflect.gox: reflect-go.lo
3298 regexp.gox: regexp.lo
3300 runtime.gox: runtime-go.lo
3304 strconv.gox: strconv.lo
3306 strings.gox: strings.lo
3310 syscall.gox: syscall.lo
3312 testing.gox: testing.lo
3314 time.gox: time-go.lo
3316 unicode.gox: unicode.lo
3319 archive/tar.gox: archive/tar.lo
3321 archive/zip.gox: archive/zip.lo
3324 compress/bzip2.gox: compress/bzip2.lo
3326 compress/flate.gox: compress/flate.lo
3328 compress/gzip.gox: compress/gzip.lo
3330 compress/lzw.gox: compress/lzw.lo
3332 compress/zlib.gox: compress/zlib.lo
3335 container/heap.gox: container/heap.lo
3337 container/list.gox: container/list.lo
3339 container/ring.gox: container/ring.lo
3342 crypto/aes.gox: crypto/aes.lo
3344 crypto/cipher.gox: crypto/cipher.lo
3346 crypto/des.gox: crypto/des.lo
3348 crypto/dsa.gox: crypto/dsa.lo
3350 crypto/ecdsa.gox: crypto/ecdsa.lo
3352 crypto/elliptic.gox: crypto/elliptic.lo
3354 crypto/hmac.gox: crypto/hmac.lo
3356 crypto/md5.gox: crypto/md5.lo
3358 crypto/rand.gox: crypto/rand.lo
3360 crypto/rc4.gox: crypto/rc4.lo
3362 crypto/rsa.gox: crypto/rsa.lo
3364 crypto/sha1.gox: crypto/sha1.lo
3366 crypto/sha256.gox: crypto/sha256.lo
3368 crypto/sha512.gox: crypto/sha512.lo
3370 crypto/subtle.gox: crypto/subtle.lo
3372 crypto/tls.gox: crypto/tls.lo
3374 crypto/x509.gox: crypto/x509.lo
3377 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3380 database/sql.gox: database/sql.lo
3383 database/sql/driver.gox: database/sql/driver.lo
3386 debug/dwarf.gox: debug/dwarf.lo
3388 debug/elf.gox: debug/elf.lo
3390 debug/gosym.gox: debug/gosym.lo
3392 debug/macho.gox: debug/macho.lo
3394 debug/pe.gox: debug/pe.lo
3397 encoding/ascii85.gox: encoding/ascii85.lo
3399 encoding/asn1.gox: encoding/asn1.lo
3401 encoding/base32.gox: encoding/base32.lo
3403 encoding/base64.gox: encoding/base64.lo
3405 encoding/binary.gox: encoding/binary.lo
3407 encoding/csv.gox: encoding/csv.lo
3409 encoding/gob.gox: encoding/gob.lo
3411 encoding/hex.gox: encoding/hex.lo
3413 encoding/json.gox: encoding/json.lo
3415 encoding/pem.gox: encoding/pem.lo
3417 encoding/xml.gox: encoding/xml.lo
3420 exp/ebnf.gox: exp/ebnf.lo
3422 exp/html.gox: exp/html.lo
3424 exp/html/atom.gox: exp/html/atom.lo
3426 exp/inotify.gox: exp/inotify.lo
3428 exp/locale/collate.gox: exp/locale/collate.lo
3430 exp/locale/collate/build.gox: exp/locale/collate/build.lo
3432 exp/norm.gox: exp/norm.lo
3434 exp/proxy.gox: exp/proxy.lo
3436 exp/terminal.gox: exp/terminal.lo
3438 exp/types.gox: exp/types.lo
3440 exp/utf8string.gox: exp/utf8string.lo
3443 html/template.gox: html/template.lo
3446 go/ast.gox: go/ast.lo
3448 go/build.gox: go/build.lo
3450 go/doc.gox: go/doc.lo
3452 go/parser.gox: go/parser.lo
3454 go/printer.gox: go/printer.lo
3456 go/scanner.gox: go/scanner.lo
3458 go/token.gox: go/token.lo
3461 hash/adler32.gox: hash/adler32.lo
3463 hash/crc32.gox: hash/crc32.lo
3465 hash/crc64.gox: hash/crc64.lo
3467 hash/fnv.gox: hash/fnv.lo
3470 image/color.gox: image/color.lo
3472 image/draw.gox: image/draw.lo
3474 image/gif.gox: image/gif.lo
3476 image/jpeg.gox: image/jpeg.lo
3478 image/png.gox: image/png.lo
3481 index/suffixarray.gox: index/suffixarray.lo
3484 io/ioutil.gox: io/ioutil.lo
3487 log/syslog.gox: log/syslog.lo
3490 math/big.gox: math/big.lo
3492 math/cmplx.gox: math/cmplx.lo
3494 math/rand.gox: math/rand.lo
3497 mime/multipart.gox: mime/multipart.lo
3500 net/http.gox: net/http.lo
3502 net/mail.gox: net/mail.lo
3504 net/rpc.gox: net/rpc.lo
3506 net/smtp.gox: net/smtp.lo
3508 net/textproto.gox: net/textproto.lo
3510 net/url.gox: net/url.lo
3513 net/http/cgi.gox: net/http/cgi.lo
3515 net/http/fcgi.gox: net/http/fcgi.lo
3517 net/http/httptest.gox: net/http/httptest.lo
3519 net/http/httputil.gox: net/http/httputil.lo
3521 net/http/pprof.gox: net/http/pprof.lo
3524 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3527 old/netchan.gox: old/netchan.lo
3529 old/regexp.gox: old/regexp.lo
3531 old/template.gox: old/template.lo
3534 os/exec.gox: os/exec.lo
3536 os/signal.gox: os/signal.lo
3538 os/user.gox: os/user.lo
3541 path/filepath.gox: path/filepath.lo
3544 regexp/syntax.gox: regexp/syntax.lo
3547 runtime/debug.gox: runtime/debug.lo
3549 runtime/pprof.gox: runtime/pprof.lo
3552 sync/atomic.gox: sync/atomic.lo
3555 text/scanner.gox: text/scanner.lo
3557 text/tabwriter.gox: text/tabwriter.lo
3559 text/template.gox: text/template.lo
3561 text/template/parse.gox: text/template/parse.lo
3564 testing/iotest.gox: testing/iotest.lo
3566 testing/quick.gox: testing/quick.lo
3569 unicode/utf16.gox: unicode/utf16.lo
3571 unicode/utf8.gox: unicode/utf8.lo
3575 # exp_inotify_check = exp/inotify/check
3609 compress/bzip2/check \
3610 compress/flate/check \
3611 compress/gzip/check \
3612 compress/lzw/check \
3613 compress/zlib/check \
3614 container/heap/check \
3615 container/list/check \
3616 container/ring/check \
3618 crypto/cipher/check \
3621 crypto/ecdsa/check \
3622 crypto/elliptic/check \
3629 crypto/sha256/check \
3630 crypto/sha512/check \
3631 crypto/subtle/check \
3634 database/sql/check \
3635 database/sql/driver/check \
3640 encoding/ascii85/check \
3641 encoding/asn1/check \
3642 encoding/base32/check \
3643 encoding/base64/check \
3644 encoding/binary/check \
3645 encoding/csv/check \
3646 encoding/gob/check \
3647 encoding/hex/check \
3648 encoding/json/check \
3649 encoding/pem/check \
3650 encoding/xml/check \
3653 exp/html/atom/check \
3654 $(exp_inotify_check) \
3655 exp/locale/collate/check \
3656 exp/locale/collate/build/check \
3659 exp/terminal/check \
3661 exp/utf8string/check \
3662 html/template/check \
3664 $(go_build_check_omitted_since_it_calls_6g) \
3670 $(go_types_check_omitted_since_it_calls_6g) \
3671 hash/adler32/check \
3679 index/suffixarray/check \
3685 mime/multipart/check \
3687 net/http/cgi/check \
3688 net/http/fcgi/check \
3689 net/http/httptest/check \
3690 net/http/httputil/check \
3694 net/textproto/check \
3696 net/rpc/jsonrpc/check \
3699 old/template/check \
3703 path/filepath/check \
3704 regexp/syntax/check \
3705 runtime/pprof/check \
3707 text/scanner/check \
3708 text/tabwriter/check \
3709 text/template/check \
3710 text/template/parse/check \
3711 testing/quick/check \
3712 unicode/utf16/check \
3716 check-recursive: check-head
3719 @echo "Test Run By $${USER} on `date`" > libgo.head
3720 @echo "Native configuration is $(host_triplet)" >> libgo.head
3722 @echo " === libgo tests ===" >> libgo.head
3725 check-tail: check-recursive check-multi
3726 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3727 for dir in . $(MULTIDIRS); do \
3728 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3729 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3731 mv libgo.head libgo.sum; \
3732 cp libgo.sum libgo.log; \
3733 echo "Schedule of variations:" >> libgo.sum; \
3734 for dir in . $(MULTIDIRS); do \
3735 multidir=../$${dir}/$${lib}; \
3736 multivar=`cat $${multidir}/libgo.var`; \
3737 echo " $${multivar}" >> libgo.sum; \
3739 echo >> libgo.sum; \
3740 pass=0; fail=0; untested=0; \
3741 for dir in . $(MULTIDIRS); do \
3742 multidir=../$${dir}/$${lib}; \
3743 multivar=`cat $${multidir}/libgo.var`; \
3744 echo "Running target $${multivar}" >> libgo.sum; \
3745 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3746 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3747 cat $${multidir}/libgo.log.sep >> libgo.log; \
3748 if test -n "${MULTIDIRS}"; then \
3749 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3750 echo >> libgo.sum; \
3752 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3753 pass=`expr $$pass + $$p`; \
3754 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3755 echo "# of expected passes $$p" >> libgo.sum; \
3757 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3758 fail=`expr $$fail + $$p`; \
3759 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3760 echo "# of unexpected failures $$p" >> libgo.sum; \
3762 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3763 untested=`expr $$untested + $$p`; \
3764 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3765 echo "# of untested testcases $$p" >> libgo.sum; \
3768 echo >> libgo.sum; \
3769 echo " === libgo Summary ===" >> libgo.sum; \
3770 echo >> libgo.sum; \
3771 if test "$$pass" -ne "0"; then \
3772 echo "# of expected passes $$pass" >> libgo.sum; \
3774 if test "$$fail" -ne "0"; then \
3775 echo "# of unexpected failures $$fail" >> libgo.sum; \
3777 if test "$$untested" -ne "0"; then \
3778 echo "# of untested testcases $$untested" >> libgo.sum; \
3780 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3781 echo >> libgo.log; \
3782 echo "runtest completed at `date`" >> libgo.log; \
3783 if test "$$fail" -ne "0"; then \
3791 @rm -f libgo.sum libgo.log libgo.tail
3793 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3794 echo "$${multivar}" > libgo.var
3795 @for f in $(TEST_PACKAGES); do \
3796 rm -f $$f-testsum $$f-testlog; \
3798 -@$(MAKE) -k $(TEST_PACKAGES)
3799 @for f in $(TEST_PACKAGES); do \
3800 if test -f $$f-testsum; then \
3801 cat $$f-testsum >> libgo.sum; \
3803 if test -f $$f-testlog; then \
3804 cat $$f-testlog >> libgo.log; \
3809 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3811 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3814 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3815 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3816 find . -name '*-testsum' -print | xargs rm -f
3817 find . -name '*-testlog' -print | xargs rm -f
3819 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3822 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3823 find . -name '*.a' -print | xargs rm -f