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-fieldtrack.c \
454 runtime/go-getgoroot.c \
455 runtime/go-int-array-to-string.c \
456 runtime/go-int-to-string.c \
457 runtime/go-interface-compare.c \
458 runtime/go-interface-eface-compare.c \
459 runtime/go-interface-val-compare.c \
460 runtime/go-make-slice.c \
461 runtime/go-map-delete.c \
462 runtime/go-map-index.c \
463 runtime/go-map-len.c \
464 runtime/go-map-range.c \
465 runtime/go-matherr.c \
466 runtime/go-memcmp.c \
467 runtime/go-nanotime.c \
469 runtime/go-new-map.c \
474 runtime/go-recover.c \
475 runtime/go-reflect-call.c \
476 runtime/go-reflect-map.c \
478 runtime/go-runtime-error.c \
479 runtime/go-setenv.c \
480 runtime/go-signal.c \
481 runtime/go-strcmp.c \
482 runtime/go-string-to-byte-array.c \
483 runtime/go-string-to-int-array.c \
484 runtime/go-strplus.c \
485 runtime/go-strslice.c \
486 runtime/go-traceback.c \
487 runtime/go-trampoline.c \
488 runtime/go-type-complex.c \
489 runtime/go-type-eface.c \
490 runtime/go-type-error.c \
491 runtime/go-type-float.c \
492 runtime/go-type-identity.c \
493 runtime/go-type-interface.c \
494 runtime/go-type-string.c \
495 runtime/go-typedesc-equal.c \
496 runtime/go-typestring.c \
497 runtime/go-unsafe-new.c \
498 runtime/go-unsafe-newarray.c \
499 runtime/go-unsafe-pointer.c \
500 runtime/go-unwind.c \
504 $(runtime_lock_files) \
507 $(runtime_mem_file) \
509 runtime/mfixalloc.c \
518 runtime/signal_unix.c \
521 $(rtems_task_variable_add_file) \
532 $(runtime_getncpu_file)
534 goc2c.$(OBJEXT): runtime/goc2c.c
535 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
537 goc2c: goc2c.$(OBJEXT)
538 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
540 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
544 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
548 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
552 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
556 sema.c: $(srcdir)/runtime/sema.goc goc2c
560 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
561 ./goc2c --go-pkgpath os_signal $< > $@.tmp
564 time.c: $(srcdir)/runtime/time.goc goc2c
568 %.c: $(srcdir)/runtime/%.goc goc2c
578 go/bytes/bytes_decl.go \
634 go/math/copysign.go \
654 go/math/nextafter.go \
657 go/math/remainder.go \
669 go/mime/mediatype.go \
674 go_net_fd_os_file = go/net/fd_select.go
675 go_net_newpollserver_file = go/net/newpollserver_rtems.go
676 else # !LIBGO_IS_RTEMS
678 go_net_fd_os_file = go/net/fd_linux.go
679 go_net_newpollserver_file = go/net/newpollserver_unix.go
680 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
682 go_net_fd_os_file = go/net/fd_netbsd.go
683 go_net_newpollserver_file = go/net/newpollserver_unix.go
684 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
685 # By default use select with pipes. Most systems should have
687 go_net_fd_os_file = go/net/fd_select.go
688 go_net_newpollserver_file = go/net/newpollserver_unix.go
689 endif # !LIBGO_IS_NETBSD
690 endif # !LIBGO_IS_LINUX
691 endif # !LIBGO_IS_RTEMS
694 go_net_cgo_file = go/net/cgo_linux.go
695 go_net_sock_file = go/net/sock_linux.go
696 go_net_sockopt_file = go/net/sockopt_linux.go
697 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
700 go_net_cgo_file = go/net/cgo_linux.go
701 go_net_sock_file = go/net/sock_linux.go
702 go_net_sockopt_file = go/net/sockopt_linux.go
703 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
706 go_net_cgo_file = go/net/cgo_linux.go
707 go_net_sock_file = go/net/sock_solaris.go
708 go_net_sockopt_file = go/net/sockopt_bsd.go
709 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
712 go_net_cgo_file = go/net/cgo_bsd.go
713 go_net_sock_file = go/net/sock_bsd.go
714 go_net_sockopt_file = go/net/sockopt_bsd.go
715 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
718 go_net_cgo_file = go/net/cgo_netbsd.go
719 go_net_sock_file = go/net/sock_bsd.go
720 go_net_sockopt_file = go/net/sockopt_bsd.go
721 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
723 go_net_cgo_file = go/net/cgo_bsd.go
724 go_net_sock_file = go/net/sock_bsd.go
725 go_net_sockopt_file = go/net/sockopt_bsd.go
726 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
734 go_net_sendfile_file = go/net/sendfile_linux.go
737 go_net_sendfile_file = go/net/sendfile_freebsd.go
739 go_net_sendfile_file = go/net/sendfile_stub.go
744 go_net_interface_file = go/net/interface_linux.go
747 go_net_interface_file = go/net/interface_netbsd.go
749 go_net_interface_file = go/net/interface_stub.go
757 go/net/dnsclient.go \
758 go/net/dnsclient_unix.go \
759 go/net/dnsconfig_unix.go \
761 $(go_net_newpollserver_file) \
763 $(go_net_fd_os_file) \
764 go/net/file_unix.go \
766 go/net/interface.go \
767 $(go_net_interface_file) \
769 go/net/iprawsock.go \
770 go/net/iprawsock_posix.go \
772 go/net/ipsock_posix.go \
774 go/net/lookup_unix.go \
780 go/net/port_unix.go \
781 $(go_net_sendfile_file) \
782 go/net/sock_posix.go \
783 $(go_net_sock_file) \
784 go/net/sockopt_posix.go \
785 $(go_net_sockopt_file) \
786 $(go_net_sockoptip_file) \
788 go/net/tcpsock_posix.go \
790 go/net/udpsock_posix.go \
792 go/net/unixsock_posix.go
796 go_os_dir_file = go/os/dir_largefile.go
799 go_os_dir_file = go/os/dir_largefile.go
801 go_os_dir_file = go/os/dir_regfile.go
806 go_os_dir_file = go/os/dir_largefile.go
808 go_os_dir_file = go/os/dir_regfile.go
813 go_os_sys_file = go/os/sys_linux.go
816 go_os_sys_file = go/os/sys_uname.go
819 go_os_sys_file = go/os/sys_uname.go
822 go_os_sys_file = go/os/sys_uname.go
824 go_os_sys_file = go/os/sys_bsd.go
831 go_os_stat_file = go/os/stat_solaris.go
834 go_os_stat_file = go/os/stat_atim.go
837 go_os_stat_file = go/os/stat_atim.go
840 go_os_stat_file = go/os/stat_atimspec.go
843 go_os_stat_file = go/os/stat_atimspec.go
846 go_os_stat_file = go/os/stat_atimspec.go
848 go_os_stat_file = go/os/stat.go
862 go/os/error_posix.go \
864 go/os/exec_posix.go \
867 go/os/file_posix.go \
883 go/reflect/deepequal.go \
884 go/reflect/makefunc.go \
893 go/net/rpc/client.go \
894 go/net/rpc/debug.go \
898 go/runtime/compiler.go \
899 go/runtime/debug.go \
900 go/runtime/error.go \
901 go/runtime/extern.go \
903 go/runtime/softfloat64.go \
907 version.go: s-version; @true
910 echo "package runtime" > version.go.tmp
911 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
912 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
913 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
914 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
915 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
926 go/strconv/decimal.go \
927 go/strconv/extfloat.go \
929 go/strconv/isprint.go \
934 go/strings/reader.go \
935 go/strings/replace.go \
936 go/strings/search.go \
937 go/strings/strings.go
949 go_syslog_file = go/log/syslog/syslog_libc.go
952 go_syslog_file = go/log/syslog/syslog_libc.go
954 go_syslog_file = go/log/syslog/syslog_unix.go
958 go_log_syslog_files = \
959 go/log/syslog/syslog.go \
961 go_syslog_c_files = \
962 go/log/syslog/syslog_c.c
965 go/testing/benchmark.go \
966 go/testing/example.go \
967 go/testing/testing.go
972 go/time/sys_unix.go \
975 go/time/zoneinfo.go \
976 go/time/zoneinfo_read.go \
977 go/time/zoneinfo_unix.go
980 go/unicode/casetables.go \
981 go/unicode/digit.go \
982 go/unicode/graphic.go \
983 go/unicode/letter.go \
987 archive_tar_atim_file = go/archive/tar/stat_atim.go
990 archive_tar_atim_file = go/archive/tar/stat_atim.go
993 archive_tar_atim_file = go/archive/tar/stat_atim.go
996 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
999 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1002 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1005 go_archive_tar_files = \
1006 go/archive/tar/common.go \
1007 go/archive/tar/reader.go \
1008 go/archive/tar/stat_unix.go \
1009 go/archive/tar/writer.go \
1010 $(archive_tar_atim_file)
1012 go_archive_zip_files = \
1013 go/archive/zip/reader.go \
1014 go/archive/zip/struct.go \
1015 go/archive/zip/writer.go
1017 go_compress_bzip2_files = \
1018 go/compress/bzip2/bit_reader.go \
1019 go/compress/bzip2/bzip2.go \
1020 go/compress/bzip2/huffman.go \
1021 go/compress/bzip2/move_to_front.go
1023 go_compress_flate_files = \
1024 go/compress/flate/copy.go \
1025 go/compress/flate/deflate.go \
1026 go/compress/flate/huffman_bit_writer.go \
1027 go/compress/flate/huffman_code.go \
1028 go/compress/flate/inflate.go \
1029 go/compress/flate/reverse_bits.go \
1030 go/compress/flate/token.go
1032 go_compress_gzip_files = \
1033 go/compress/gzip/gzip.go \
1034 go/compress/gzip/gunzip.go
1036 go_compress_lzw_files = \
1037 go/compress/lzw/reader.go \
1038 go/compress/lzw/writer.go
1040 go_compress_zlib_files = \
1041 go/compress/zlib/reader.go \
1042 go/compress/zlib/writer.go
1044 go_container_heap_files = \
1045 go/container/heap/heap.go
1047 go_container_list_files = \
1048 go/container/list/list.go
1050 go_container_ring_files = \
1051 go/container/ring/ring.go
1053 go_crypto_aes_files = \
1054 go/crypto/aes/block.go \
1055 go/crypto/aes/cipher.go \
1056 go/crypto/aes/cipher_generic.go \
1057 go/crypto/aes/const.go
1058 go_crypto_cipher_files = \
1059 go/crypto/cipher/cbc.go \
1060 go/crypto/cipher/cfb.go \
1061 go/crypto/cipher/cipher.go \
1062 go/crypto/cipher/ctr.go \
1063 go/crypto/cipher/io.go \
1064 go/crypto/cipher/ofb.go
1065 go_crypto_des_files = \
1066 go/crypto/des/block.go \
1067 go/crypto/des/cipher.go \
1068 go/crypto/des/const.go
1069 go_crypto_dsa_files = \
1070 go/crypto/dsa/dsa.go
1071 go_crypto_ecdsa_files = \
1072 go/crypto/ecdsa/ecdsa.go
1073 go_crypto_elliptic_files = \
1074 go/crypto/elliptic/elliptic.go \
1075 go/crypto/elliptic/p224.go
1076 go_crypto_hmac_files = \
1077 go/crypto/hmac/hmac.go
1078 go_crypto_md5_files = \
1079 go/crypto/md5/md5.go \
1080 go/crypto/md5/md5block.go
1081 go_crypto_rand_files = \
1082 go/crypto/rand/rand.go \
1083 go/crypto/rand/rand_unix.go \
1084 go/crypto/rand/util.go
1085 go_crypto_rc4_files = \
1086 go/crypto/rc4/rc4.go
1087 go_crypto_rsa_files = \
1088 go/crypto/rsa/pkcs1v15.go \
1089 go/crypto/rsa/rsa.go
1090 go_crypto_sha1_files = \
1091 go/crypto/sha1/sha1.go \
1092 go/crypto/sha1/sha1block.go
1093 go_crypto_sha256_files = \
1094 go/crypto/sha256/sha256.go \
1095 go/crypto/sha256/sha256block.go
1096 go_crypto_sha512_files = \
1097 go/crypto/sha512/sha512.go \
1098 go/crypto/sha512/sha512block.go
1099 go_crypto_subtle_files = \
1100 go/crypto/subtle/constant_time.go
1101 go_crypto_tls_files = \
1102 go/crypto/tls/alert.go \
1103 go/crypto/tls/cipher_suites.go \
1104 go/crypto/tls/common.go \
1105 go/crypto/tls/conn.go \
1106 go/crypto/tls/handshake_client.go \
1107 go/crypto/tls/handshake_messages.go \
1108 go/crypto/tls/handshake_server.go \
1109 go/crypto/tls/key_agreement.go \
1110 go/crypto/tls/prf.go \
1111 go/crypto/tls/ticket.go \
1112 go/crypto/tls/tls.go
1113 go_crypto_x509_files = \
1114 go/crypto/x509/cert_pool.go \
1115 go/crypto/x509/pem_decrypt.go \
1116 go/crypto/x509/pkcs1.go \
1117 go/crypto/x509/pkcs8.go \
1118 go/crypto/x509/root.go \
1119 go/crypto/x509/root_unix.go \
1120 go/crypto/x509/sec1.go \
1121 go/crypto/x509/verify.go \
1122 go/crypto/x509/x509.go
1124 go_crypto_x509_pkix_files = \
1125 go/crypto/x509/pkix/pkix.go
1127 go_database_sql_files = \
1128 go/database/sql/convert.go \
1129 go/database/sql/sql.go
1131 go_database_sql_driver_files = \
1132 go/database/sql/driver/driver.go \
1133 go/database/sql/driver/types.go
1135 go_debug_dwarf_files = \
1136 go/debug/dwarf/buf.go \
1137 go/debug/dwarf/const.go \
1138 go/debug/dwarf/entry.go \
1139 go/debug/dwarf/line.go \
1140 go/debug/dwarf/open.go \
1141 go/debug/dwarf/type.go \
1142 go/debug/dwarf/unit.go
1143 go_debug_elf_files = \
1144 go/debug/elf/elf.go \
1145 go/debug/elf/file.go
1146 go_debug_gosym_files = \
1147 go/debug/gosym/pclntab.go \
1148 go/debug/gosym/symtab.go
1149 go_debug_macho_files = \
1150 go/debug/macho/file.go \
1151 go/debug/macho/macho.go
1152 go_debug_pe_files = \
1153 go/debug/pe/file.go \
1156 go_encoding_ascii85_files = \
1157 go/encoding/ascii85/ascii85.go
1158 go_encoding_asn1_files = \
1159 go/encoding/asn1/asn1.go \
1160 go/encoding/asn1/common.go \
1161 go/encoding/asn1/marshal.go
1162 go_encoding_base32_files = \
1163 go/encoding/base32/base32.go
1164 go_encoding_base64_files = \
1165 go/encoding/base64/base64.go
1166 go_encoding_binary_files = \
1167 go/encoding/binary/binary.go \
1168 go/encoding/binary/varint.go
1169 go_encoding_csv_files = \
1170 go/encoding/csv/reader.go \
1171 go/encoding/csv/writer.go
1172 go_encoding_gob_files = \
1173 go/encoding/gob/decode.go \
1174 go/encoding/gob/decoder.go \
1175 go/encoding/gob/doc.go \
1176 go/encoding/gob/encode.go \
1177 go/encoding/gob/encoder.go \
1178 go/encoding/gob/error.go \
1179 go/encoding/gob/type.go
1180 go_encoding_hex_files = \
1181 go/encoding/hex/hex.go
1182 go_encoding_json_files = \
1183 go/encoding/json/decode.go \
1184 go/encoding/json/encode.go \
1185 go/encoding/json/indent.go \
1186 go/encoding/json/scanner.go \
1187 go/encoding/json/stream.go \
1188 go/encoding/json/tags.go
1189 go_encoding_pem_files = \
1190 go/encoding/pem/pem.go
1191 go_encoding_xml_files = \
1192 go/encoding/xml/marshal.go \
1193 go/encoding/xml/read.go \
1194 go/encoding/xml/typeinfo.go \
1195 go/encoding/xml/xml.go
1197 go_exp_ebnf_files = \
1198 go/exp/ebnf/ebnf.go \
1199 go/exp/ebnf/parser.go
1200 go_exp_html_files = \
1201 go/exp/html/const.go \
1202 go/exp/html/doc.go \
1203 go/exp/html/doctype.go \
1204 go/exp/html/entity.go \
1205 go/exp/html/escape.go \
1206 go/exp/html/foreign.go \
1207 go/exp/html/node.go \
1208 go/exp/html/parse.go \
1209 go/exp/html/render.go \
1210 go/exp/html/token.go
1211 go_exp_html_atom_files = \
1212 go/exp/html/atom/atom.go \
1213 go/exp/html/atom/table.go
1214 go_exp_inotify_files = \
1215 go/exp/inotify/inotify_linux.go
1216 go_exp_locale_collate_files = \
1217 go/exp/locale/collate/colelem.go \
1218 go/exp/locale/collate/collate.go \
1219 go/exp/locale/collate/contract.go \
1220 go/exp/locale/collate/export.go \
1221 go/exp/locale/collate/table.go \
1222 go/exp/locale/collate/tables.go \
1223 go/exp/locale/collate/trie.go
1224 go_exp_locale_collate_build_files = \
1225 go/exp/locale/collate/build/builder.go \
1226 go/exp/locale/collate/build/colelem.go \
1227 go/exp/locale/collate/build/contract.go \
1228 go/exp/locale/collate/build/order.go \
1229 go/exp/locale/collate/build/table.go \
1230 go/exp/locale/collate/build/trie.go
1231 go_exp_norm_files = \
1232 go/exp/norm/composition.go \
1233 go/exp/norm/forminfo.go \
1234 go/exp/norm/input.go \
1235 go/exp/norm/iter.go \
1236 go/exp/norm/normalize.go \
1237 go/exp/norm/readwriter.go \
1238 go/exp/norm/tables.go \
1240 go_exp_proxy_files = \
1241 go/exp/proxy/direct.go \
1242 go/exp/proxy/per_host.go \
1243 go/exp/proxy/proxy.go \
1244 go/exp/proxy/socks5.go
1245 go_exp_terminal_files = \
1246 go/exp/terminal/terminal.go \
1247 go/exp/terminal/util.go
1248 go_exp_types_files = \
1249 go/exp/types/builtins.go \
1250 go/exp/types/check.go \
1251 go/exp/types/const.go \
1252 go/exp/types/conversions.go \
1253 go/exp/types/errors.go \
1254 go/exp/types/exportdata.go \
1255 go/exp/types/expr.go \
1256 go/exp/types/gcimporter.go \
1257 go/exp/types/operand.go \
1258 go/exp/types/predicates.go \
1259 go/exp/types/stmt.go \
1260 go/exp/types/types.go \
1261 go/exp/types/universe.go
1262 go_exp_utf8string_files = \
1263 go/exp/utf8string/string.go
1267 go/go/ast/commentmap.go \
1268 go/go/ast/filter.go \
1269 go/go/ast/import.go \
1270 go/go/ast/print.go \
1271 go/go/ast/resolve.go \
1272 go/go/ast/scope.go \
1274 go_go_build_files = \
1275 go/go/build/build.go \
1276 go/go/build/doc.go \
1277 go/go/build/read.go \
1280 go/go/doc/comment.go \
1282 go/go/doc/example.go \
1283 go/go/doc/exports.go \
1284 go/go/doc/filter.go \
1285 go/go/doc/reader.go \
1286 go/go/doc/synopsis.go
1287 go_go_parser_files = \
1288 go/go/parser/interface.go \
1289 go/go/parser/parser.go
1290 go_go_printer_files = \
1291 go/go/printer/nodes.go \
1292 go/go/printer/printer.go
1293 go_go_scanner_files = \
1294 go/go/scanner/errors.go \
1295 go/go/scanner/scanner.go
1296 go_go_token_files = \
1297 go/go/token/position.go \
1298 go/go/token/serialize.go \
1299 go/go/token/token.go
1301 go_hash_adler32_files = \
1302 go/hash/adler32/adler32.go
1303 go_hash_crc32_files = \
1304 go/hash/crc32/crc32.go \
1305 go/hash/crc32/crc32_generic.go
1306 go_hash_crc64_files = \
1307 go/hash/crc64/crc64.go
1308 go_hash_fnv_files = \
1311 go_html_template_files = \
1312 go/html/template/attr.go \
1313 go/html/template/content.go \
1314 go/html/template/context.go \
1315 go/html/template/css.go \
1316 go/html/template/doc.go \
1317 go/html/template/error.go \
1318 go/html/template/escape.go \
1319 go/html/template/html.go \
1320 go/html/template/js.go \
1321 go/html/template/template.go \
1322 go/html/template/transition.go \
1323 go/html/template/url.go
1325 go_image_color_files = \
1326 go/image/color/color.go \
1327 go/image/color/ycbcr.go
1329 go_image_draw_files = \
1330 go/image/draw/draw.go
1332 go_image_gif_files = \
1333 go/image/gif/reader.go
1335 go_image_jpeg_files = \
1336 go/image/jpeg/fdct.go \
1337 go/image/jpeg/huffman.go \
1338 go/image/jpeg/idct.go \
1339 go/image/jpeg/reader.go \
1340 go/image/jpeg/scan.go \
1341 go/image/jpeg/writer.go
1343 go_image_png_files = \
1344 go/image/png/paeth.go \
1345 go/image/png/reader.go \
1346 go/image/png/writer.go
1348 go_index_suffixarray_files = \
1349 go/index/suffixarray/qsufsort.go \
1350 go/index/suffixarray/suffixarray.go
1352 go_io_ioutil_files = \
1353 go/io/ioutil/blackhole.go \
1354 go/io/ioutil/ioutil.go \
1355 go/io/ioutil/tempfile.go
1357 go_math_big_files = \
1358 go/math/big/arith.go \
1359 go/math/big/int.go \
1360 go/math/big/nat.go \
1362 go_math_cmplx_files = \
1363 go/math/cmplx/abs.go \
1364 go/math/cmplx/asin.go \
1365 go/math/cmplx/conj.go \
1366 go/math/cmplx/exp.go \
1367 go/math/cmplx/isinf.go \
1368 go/math/cmplx/isnan.go \
1369 go/math/cmplx/log.go \
1370 go/math/cmplx/phase.go \
1371 go/math/cmplx/polar.go \
1372 go/math/cmplx/pow.go \
1373 go/math/cmplx/rect.go \
1374 go/math/cmplx/sin.go \
1375 go/math/cmplx/sqrt.go \
1376 go/math/cmplx/tan.go
1377 go_math_rand_files = \
1378 go/math/rand/exp.go \
1379 go/math/rand/normal.go \
1380 go/math/rand/rand.go \
1381 go/math/rand/rng.go \
1382 go/math/rand/zipf.go
1384 go_mime_multipart_files = \
1385 go/mime/multipart/formdata.go \
1386 go/mime/multipart/multipart.go \
1387 go/mime/multipart/writer.go
1389 go_net_http_files = \
1390 go/net/http/chunked.go \
1391 go/net/http/client.go \
1392 go/net/http/cookie.go \
1393 go/net/http/filetransport.go \
1395 go/net/http/header.go \
1396 go/net/http/jar.go \
1397 go/net/http/lex.go \
1398 go/net/http/request.go \
1399 go/net/http/response.go \
1400 go/net/http/server.go \
1401 go/net/http/sniff.go \
1402 go/net/http/status.go \
1403 go/net/http/transfer.go \
1404 go/net/http/transport.go
1405 go_net_mail_files = \
1406 go/net/mail/message.go
1407 go_net_smtp_files = \
1408 go/net/smtp/auth.go \
1410 go_net_textproto_files = \
1411 go/net/textproto/header.go \
1412 go/net/textproto/pipeline.go \
1413 go/net/textproto/reader.go \
1414 go/net/textproto/textproto.go \
1415 go/net/textproto/writer.go
1416 go_net_url_files = \
1419 go_net_http_cgi_files = \
1420 go/net/http/cgi/child.go \
1421 go/net/http/cgi/host.go
1422 go_net_http_fcgi_files = \
1423 go/net/http/fcgi/child.go \
1424 go/net/http/fcgi/fcgi.go
1425 go_net_http_httptest_files = \
1426 go/net/http/httptest/recorder.go \
1427 go/net/http/httptest/server.go
1428 go_net_http_pprof_files = \
1429 go/net/http/pprof/pprof.go
1430 go_net_http_httputil_files = \
1431 go/net/http/httputil/chunked.go \
1432 go/net/http/httputil/dump.go \
1433 go/net/http/httputil/persist.go \
1434 go/net/http/httputil/reverseproxy.go
1437 go_old_netchan_files = \
1438 go/old/netchan/common.go \
1439 go/old/netchan/export.go \
1440 go/old/netchan/import.go
1441 go_old_regexp_files = \
1442 go/old/regexp/regexp.go
1443 go_old_template_files = \
1444 go/old/template/doc.go \
1445 go/old/template/execute.go \
1446 go/old/template/format.go \
1447 go/old/template/parse.go
1449 go_os_exec_files = \
1450 go/os/exec/exec.go \
1451 go/os/exec/lp_unix.go
1453 go_os_signal_files = \
1454 go/os/signal/signal.go \
1455 go/os/signal/signal_unix.go
1457 go_os_user_files = \
1458 go/os/user/user.go \
1459 go/os/user/lookup_unix.go
1461 go_path_filepath_files = \
1462 go/path/filepath/match.go \
1463 go/path/filepath/path.go \
1464 go/path/filepath/path_unix.go \
1465 go/path/filepath/symlink.go
1467 go_regexp_syntax_files = \
1468 go/regexp/syntax/compile.go \
1469 go/regexp/syntax/doc.go \
1470 go/regexp/syntax/parse.go \
1471 go/regexp/syntax/perl_groups.go \
1472 go/regexp/syntax/prog.go \
1473 go/regexp/syntax/regexp.go \
1474 go/regexp/syntax/simplify.go
1476 go_net_rpc_jsonrpc_files = \
1477 go/net/rpc/jsonrpc/client.go \
1478 go/net/rpc/jsonrpc/server.go
1480 go_runtime_debug_files = \
1481 go/runtime/debug/stack.go
1482 go_runtime_pprof_files = \
1483 go/runtime/pprof/pprof.go
1485 go_text_tabwriter_files = \
1486 go/text/tabwriter/tabwriter.go
1487 go_text_template_files = \
1488 go/text/template/doc.go \
1489 go/text/template/exec.go \
1490 go/text/template/funcs.go \
1491 go/text/template/helper.go \
1492 go/text/template/template.go
1493 go_text_template_parse_files = \
1494 go/text/template/parse/lex.go \
1495 go/text/template/parse/node.go \
1496 go/text/template/parse/parse.go
1498 go_sync_atomic_files = \
1499 go/sync/atomic/doc.go
1500 go_sync_atomic_c_files = \
1501 go/sync/atomic/atomic.c
1503 go_testing_iotest_files = \
1504 go/testing/iotest/logger.go \
1505 go/testing/iotest/reader.go \
1506 go/testing/iotest/writer.go
1507 go_testing_quick_files = \
1508 go/testing/quick/quick.go
1510 go_text_scanner_files = \
1511 go/text/scanner/scanner.go
1513 go_unicode_utf16_files = \
1514 go/unicode/utf16/utf16.go
1515 go_unicode_utf8_files = \
1516 go/unicode/utf8/utf8.go
1518 # Define Syscall and Syscall6.
1520 syscall_syscall_file = go/syscall/syscall_stubs.go
1522 syscall_syscall_file = go/syscall/syscall_unix.go
1525 # Define ForkExec and Exec.
1527 syscall_exec_file = go/syscall/exec_stubs.go
1528 syscall_exec_os_file =
1531 syscall_exec_file = go/syscall/exec_unix.go
1532 syscall_exec_os_file = go/syscall/exec_linux.go
1534 syscall_exec_file = go/syscall/exec_unix.go
1535 syscall_exec_os_file = go/syscall/exec_bsd.go
1544 syscall_wait_file = go/syscall/libcall_wait4.go
1546 syscall_wait_file = go/syscall/libcall_waitpid.go
1550 # Support for pulling apart wait status.
1552 syscall_wait_c_file =
1554 syscall_wait_c_file = go/syscall/wait.c
1559 syscall_sleep_file = go/syscall/sleep_rtems.go
1561 syscall_sleep_file = go/syscall/sleep_select.go
1566 syscall_errstr_file = go/syscall/errstr_linux.go
1569 syscall_errstr_file = go/syscall/errstr_linux.go
1572 syscall_errstr_file = go/syscall/errstr.go
1574 syscall_errstr_file = go/syscall/errstr_nor.go
1579 # Declare libc functions that vary for largefile systems.
1581 # Always use lseek64 on GNU/Linux.
1582 syscall_size_file = go/syscall/libcall_posix_largefile.go
1583 else # !LIBGO_IS_LINUX
1586 # Use lseek64 on 32-bit Solaris/x86.
1587 syscall_size_file = go/syscall/libcall_posix_largefile.go
1588 else # !LIBGO_IS_386
1590 # Use lseek64 on 32-bit Solaris/SPARC.
1591 syscall_size_file = go/syscall/libcall_posix_largefile.go
1592 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1593 # Use lseek on 64-bit Solaris.
1594 syscall_size_file = go/syscall/libcall_posix_regfile.go
1595 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1596 endif # !LIBGO_IS_SOLARIS
1597 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1598 # Use lseek by default.
1599 syscall_size_file = go/syscall/libcall_posix_regfile.go
1600 endif # !LIBGO_IS_SOLARIS
1601 endif # !LIBGO_IS_LINUX
1603 # Define socket sizes and types.
1605 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1608 syscall_socket_file = go/syscall/socket_solaris.go
1611 syscall_socket_file = go/syscall/socket_irix.go
1613 syscall_socket_file = go/syscall/socket_bsd.go
1618 # Support for uname.
1621 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1622 syscall_uname_file =
1623 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1624 syscall_uname_file = go/syscall/libcall_uname.go
1626 else # !LIBGO_IS_SOLARIS
1627 syscall_uname_file = go/syscall/libcall_uname.go
1630 # GNU/Linux specific socket control messages.
1632 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1634 syscall_sockcmsg_file =
1637 # Support for netlink sockets and messages.
1639 syscall_netlink_file = go/syscall/netlink_linux.go
1641 syscall_netlink_file =
1644 # GNU/Linux specific socket filters.
1646 syscall_lsf_file = go/syscall/lsf_linux.go
1651 go_base_syscall_files = \
1652 go/syscall/env_unix.go \
1653 go/syscall/syscall_errno.go \
1654 go/syscall/libcall_support.go \
1655 go/syscall/libcall_posix.go \
1656 go/syscall/race0.go \
1657 go/syscall/socket.go \
1658 go/syscall/sockcmsg_unix.go \
1660 go/syscall/syscall.go \
1661 $(syscall_sockcmsg_file) \
1662 $(syscall_syscall_file) \
1663 $(syscall_exec_file) \
1664 $(syscall_exec_os_file) \
1665 $(syscall_wait_file) \
1666 $(syscall_sleep_file) \
1667 $(syscall_errstr_file) \
1668 $(syscall_size_file) \
1669 $(syscall_socket_file) \
1670 $(syscall_uname_file) \
1671 $(syscall_netlink_file) \
1672 $(syscall_lsf_file) \
1673 $(GO_LIBCALL_OS_FILE) \
1674 $(GO_LIBCALL_OS_ARCH_FILE) \
1675 $(GO_SYSCALL_OS_FILE) \
1676 $(GO_SYSCALL_OS_ARCH_FILE)
1678 go_syscall_files = \
1679 $(go_base_syscall_files) \
1683 go_syscall_c_files = \
1684 go/syscall/errno.c \
1685 go/syscall/signame.c \
1686 $(syscall_wait_c_file)
1688 libcalls.go: s-libcalls; @true
1689 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1690 rm -f libcalls.go.tmp
1691 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1692 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1693 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1696 syscall_arch.go: s-syscall_arch; @true
1697 s-syscall_arch: Makefile
1698 rm -f syscall_arch.go.tmp
1699 echo "package syscall" > syscall_arch.go.tmp
1700 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1701 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1702 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1705 sysinfo.go: s-sysinfo; @true
1706 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1707 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1708 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1711 # The epoll struct has an embedded union and is packed on x86_64,
1712 # which is too complicated for mksysinfo.sh. We find the offset of
1713 # the only field we care about in configure.ac, and generate the
1715 epoll.go: s-epoll; @true
1718 echo 'package syscall' > epoll.go.tmp
1719 echo 'type EpollEvent struct {' >> epoll.go.tmp
1720 echo ' Events uint32' >> epoll.go.tmp
1721 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1722 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1724 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1725 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1726 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1727 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1728 echo ' Fd int32' >> epoll.go.tmp; ;; \
1729 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1730 echo ' Fd int32' >> epoll.go.tmp; \
1731 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1732 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1735 echo '}' >> epoll.go.tmp
1736 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1740 # os_lib_inotify_lo = os/inotify.lo
1774 syscall/signame.lo \
1794 crypto/elliptic.lo \
1806 crypto/x509/pkix.lo \
1808 database/sql/driver.lo \
1814 encoding/ascii85.lo \
1816 encoding/base32.lo \
1817 encoding/base64.lo \
1818 encoding/binary.lo \
1828 exp/locale/collate.lo \
1829 exp/locale/collate/build.lo \
1849 net/http/httptest.lo \
1850 net/http/httputil.lo \
1857 index/suffixarray.lo \
1860 log/syslog/syslog_c.lo \
1875 $(os_lib_inotify_lo) \
1880 net/rpc/jsonrpc.lo \
1888 text/template/parse.lo \
1894 libgo_la_SOURCES = $(runtime_files)
1896 libgo_la_LDFLAGS = \
1897 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1900 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
1901 $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1903 libgobegin_a_SOURCES = \
1906 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1908 GOCFLAGS = $(CFLAGS)
1909 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1910 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1912 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1913 $(AM_GOCFLAGS) $(GOCFLAGS)
1915 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1916 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1918 # Build the dependencies for a Go package.
1921 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1924 # Build the .go files for a package, generating a .lo file.
1927 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1928 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
1940 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1942 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1944 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1945 export RUNTESTFLAGS; \
1948 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1949 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1950 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1951 export LD_LIBRARY_PATH; \
1953 rm -f $@-testsum $@-testlog; \
1954 if test "$(use_dejagnu)" = "yes"; then \
1955 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS); \
1957 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 \
1958 echo "PASS: $(@D)" >> $@-testlog; \
1959 echo "PASS: $(@D)"; \
1960 echo "PASS: $(@D)" > $@-testsum; \
1962 echo "FAIL: $(@D)" >> $@-testlog; \
1964 echo "FAIL: $(@D)" > $@-testsum; \
1969 # Build all packages before checking any.
1970 CHECK_DEPS = libgo.la libgobegin.a \
1971 $(toolexeclibgo_DATA) \
1972 $(toolexeclibgoarchive_DATA) \
1973 $(toolexeclibgocompress_DATA) \
1974 $(toolexeclibgocontainer_DATA) \
1975 $(toolexeclibgocrypto_DATA) \
1976 $(toolexeclibgodebug_DATA) \
1977 $(toolexeclibgoencoding_DATA) \
1978 $(toolexeclibgoexp_DATA) \
1979 $(toolexeclibgogo_DATA) \
1980 $(toolexeclibgohash_DATA) \
1981 $(toolexeclibgoimage_DATA) \
1982 $(toolexeclibgoindex_DATA) \
1983 $(toolexeclibgoio_DATA) \
1984 $(toolexeclibgolog_DATA) \
1985 $(toolexeclibgomath_DATA) \
1986 $(toolexeclibgomime_DATA) \
1987 $(toolexeclibgonet_DATA) \
1988 $(toolexeclibgonethttp_DATA) \
1989 $(toolexeclibgoos_DATA) \
1990 $(toolexeclibgopath_DATA) \
1991 $(toolexeclibgorpc_DATA) \
1992 $(toolexeclibgoruntime_DATA) \
1993 $(toolexeclibgosync_DATA) \
1994 $(toolexeclibgotesting_DATA) \
1995 $(toolexeclibgotext_DATA) \
1996 $(toolexeclibgotexttemplate_DATA) \
1997 $(toolexeclibgounicode_DATA)
1999 @go_include@ bufio.lo.dep
2000 bufio.lo.dep: $(go_bufio_files)
2002 bufio.lo: $(go_bufio_files)
2004 bufio/check: $(CHECK_DEPS)
2008 @go_include@ bytes.lo.dep
2009 bytes.lo.dep: $(go_bytes_files)
2011 bytes.lo: $(go_bytes_files)
2013 bytes/index.lo: $(go_bytes_c_files)
2015 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
2016 bytes/check: $(CHECK_DEPS)
2020 @go_include@ crypto.lo.dep
2021 crypto.lo.dep: $(go_crypto_files)
2023 crypto.lo: $(go_crypto_files)
2025 crypto/check: $(CHECK_DEPS)
2027 .PHONY: crypto/check
2029 @go_include@ errors.lo.dep
2030 errors.lo.dep: $(go_errors_files)
2032 errors.lo: $(go_errors_files)
2034 errors/check: $(CHECK_DEPS)
2036 .PHONY: errors/check
2038 @go_include@ expvar.lo.dep
2039 expvar.lo.dep: $(go_expvar_files)
2041 expvar.lo: $(go_expvar_files)
2043 expvar/check: $(CHECK_DEPS)
2045 .PHONY: expvar/check
2047 @go_include@ flag.lo.dep
2048 flag.lo.dep: $(go_flag_files)
2050 flag.lo: $(go_flag_files)
2052 flag/check: $(CHECK_DEPS)
2056 @go_include@ fmt.lo.dep
2057 fmt.lo.dep: $(go_fmt_files)
2059 fmt.lo: $(go_fmt_files)
2061 fmt/check: $(CHECK_DEPS)
2065 @go_include@ hash.lo.dep
2066 hash.lo.dep: $(go_hash_files)
2068 hash.lo: $(go_hash_files)
2070 hash/check: $(CHECK_DEPS)
2074 @go_include@ html.lo.dep
2075 html.lo.dep: $(go_html_files)
2077 html.lo: $(go_html_files)
2079 html/check: $(CHECK_DEPS)
2083 @go_include@ image.lo.dep
2084 image.lo.dep: $(go_image_files)
2086 image.lo: $(go_image_files)
2088 image/check: $(CHECK_DEPS)
2092 @go_include@ io.lo.dep
2093 io.lo.dep: $(go_io_files)
2095 io.lo: $(go_io_files)
2097 io/check: $(CHECK_DEPS)
2101 @go_include@ log.lo.dep
2102 log.lo.dep: $(go_log_files)
2104 log.lo: $(go_log_files)
2106 log/check: $(CHECK_DEPS)
2110 @go_include@ math.lo.dep
2111 math.lo.dep: $(go_math_files)
2113 math.lo: $(go_math_files)
2115 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2116 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
2117 math/check: $(CHECK_DEPS)
2121 @go_include@ mime.lo.dep
2122 mime.lo.dep: $(go_mime_files)
2124 mime.lo: $(go_mime_files)
2126 mime/check: $(CHECK_DEPS)
2130 @go_include@ net.lo.dep
2131 net.lo.dep: $(go_net_files)
2133 net.lo: $(go_net_files)
2135 net/check: $(CHECK_DEPS)
2139 @go_include@ os.lo.dep
2140 os.lo.dep: $(go_os_files)
2142 os.lo: $(go_os_files)
2144 os/check: $(CHECK_DEPS)
2148 @go_include@ path.lo.dep
2149 path.lo.dep: $(go_path_files)
2151 path.lo: $(go_path_files)
2153 path/check: $(CHECK_DEPS)
2157 @go_include@ reflect-go.lo.dep
2158 reflect-go.lo.dep: $(go_reflect_files)
2160 reflect-go.lo: $(go_reflect_files)
2162 reflect/check: $(CHECK_DEPS)
2164 .PHONY: reflect/check
2166 @go_include@ regexp.lo.dep
2167 regexp.lo.dep: $(go_regexp_files)
2169 regexp.lo: $(go_regexp_files)
2171 regexp/check: $(CHECK_DEPS)
2173 .PHONY: regexp/check
2175 @go_include@ runtime-go.lo.dep
2176 runtime-go.lo.dep: $(go_runtime_files)
2178 runtime-go.lo: $(go_runtime_files)
2180 runtime/check: $(CHECK_DEPS)
2182 .PHONY: runtime/check
2184 @go_include@ sort.lo.dep
2185 sort.lo.dep: $(go_sort_files)
2187 sort.lo: $(go_sort_files)
2189 sort/check: $(CHECK_DEPS)
2193 @go_include@ strconv.lo.dep
2194 strconv.lo.dep: $(go_strconv_files)
2196 strconv.lo: $(go_strconv_files)
2198 strconv/check: $(CHECK_DEPS)
2200 .PHONY: strconv/check
2202 @go_include@ strings.lo.dep
2203 strings.lo.dep: $(go_strings_files)
2205 strings.lo: $(go_strings_files)
2207 strings/check: $(CHECK_DEPS)
2209 .PHONY: strings/check
2211 @go_include@ sync.lo.dep
2212 sync.lo.dep: $(go_sync_files)
2214 sync.lo: $(go_sync_files)
2216 sync/check: $(CHECK_DEPS)
2220 @go_include@ testing.lo.dep
2221 testing.lo.dep: $(go_testing_files)
2223 testing.lo: $(go_testing_files)
2225 testing/check: $(CHECK_DEPS)
2227 .PHONY: testing/check
2229 @go_include@ time-go.lo.dep
2230 time-go.lo.dep: $(go_time_files)
2232 time-go.lo: $(go_time_files)
2234 time/check: $(CHECK_DEPS)
2238 @go_include@ unicode.lo.dep
2239 unicode.lo.dep: $(go_unicode_files)
2241 unicode.lo: $(go_unicode_files)
2243 unicode/check: $(CHECK_DEPS)
2245 .PHONY: unicode/check
2247 @go_include@ archive/tar.lo.dep
2248 archive/tar.lo.dep: $(go_archive_tar_files)
2250 archive/tar.lo: $(go_archive_tar_files)
2252 archive/tar/check: $(CHECK_DEPS)
2254 .PHONY: archive/tar/check
2256 @go_include@ archive/zip.lo.dep
2257 archive/zip.lo.dep: $(go_archive_zip_files)
2259 archive/zip.lo: $(go_archive_zip_files)
2261 archive/zip/check: $(CHECK_DEPS)
2263 .PHONY: archive/zip/check
2265 @go_include@ compress/bzip2.lo.dep
2266 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2268 compress/bzip2.lo: $(go_compress_bzip2_files)
2270 compress/bzip2/check: $(CHECK_DEPS)
2272 .PHONY: compress/bzip2/check
2274 @go_include@ compress/flate.lo.dep
2275 compress/flate.lo.dep: $(go_compress_flate_files)
2277 compress/flate.lo: $(go_compress_flate_files)
2279 compress/flate/check: $(CHECK_DEPS)
2281 .PHONY: compress/flate/check
2283 @go_include@ compress/gzip.lo.dep
2284 compress/gzip.lo.dep: $(go_compress_gzip_files)
2286 compress/gzip.lo: $(go_compress_gzip_files)
2288 compress/gzip/check: $(CHECK_DEPS)
2290 .PHONY: compress/gzip/check
2292 @go_include@ compress/lzw.lo.dep
2293 compress/lzw.lo.dep: $(go_compress_lzw_files)
2295 compress/lzw.lo: $(go_compress_lzw_files)
2297 compress/lzw/check: $(CHECK_DEPS)
2299 .PHONY: compress/lzw/check
2301 @go_include@ compress/zlib.lo.dep
2302 compress/zlib.lo.dep: $(go_compress_zlib_files)
2304 compress/zlib.lo: $(go_compress_zlib_files)
2306 compress/zlib/check: $(CHECK_DEPS)
2308 .PHONY: compress/zlib/check
2310 @go_include@ container/heap.lo.dep
2311 container/heap.lo.dep: $(go_container_heap_files)
2313 container/heap.lo: $(go_container_heap_files)
2315 container/heap/check: $(CHECK_DEPS)
2317 .PHONY: container/heap/check
2319 @go_include@ container/list.lo.dep
2320 container/list.lo.dep: $(go_container_list_files)
2322 container/list.lo: $(go_container_list_files)
2324 container/list/check: $(CHECK_DEPS)
2326 .PHONY: container/list/check
2328 @go_include@ container/ring.lo.dep
2329 container/ring.lo.dep: $(go_container_ring_files)
2331 container/ring.lo: $(go_container_ring_files)
2333 container/ring/check: $(CHECK_DEPS)
2335 .PHONY: container/ring/check
2337 @go_include@ crypto/aes.lo.dep
2338 crypto/aes.lo.dep: $(go_crypto_aes_files)
2340 crypto/aes.lo: $(go_crypto_aes_files)
2342 crypto/aes/check: $(CHECK_DEPS)
2344 .PHONY: crypto/aes/check
2346 @go_include@ crypto/cipher.lo.dep
2347 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2349 crypto/cipher.lo: $(go_crypto_cipher_files)
2351 crypto/cipher/check: $(CHECK_DEPS)
2353 .PHONY: crypto/cipher/check
2355 @go_include@ crypto/des.lo.dep
2356 crypto/des.lo.dep: $(go_crypto_des_files)
2358 crypto/des.lo: $(go_crypto_des_files)
2360 crypto/des/check: $(CHECK_DEPS)
2362 .PHONY: crypto/des/check
2364 @go_include@ crypto/dsa.lo.dep
2365 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2367 crypto/dsa.lo: $(go_crypto_dsa_files)
2369 crypto/dsa/check: $(CHECK_DEPS)
2371 .PHONY: crypto/dsa/check
2373 @go_include@ crypto/ecdsa.lo.dep
2374 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2376 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2378 crypto/ecdsa/check: $(CHECK_DEPS)
2380 .PHONY: crypto/ecdsa/check
2382 @go_include@ crypto/elliptic.lo.dep
2383 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2385 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2387 crypto/elliptic/check: $(CHECK_DEPS)
2389 .PHONY: crypto/elliptic/check
2391 @go_include@ crypto/hmac.lo.dep
2392 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2394 crypto/hmac.lo: $(go_crypto_hmac_files)
2396 crypto/hmac/check: $(CHECK_DEPS)
2398 .PHONY: crypto/hmac/check
2400 @go_include@ crypto/md5.lo.dep
2401 crypto/md5.lo.dep: $(go_crypto_md5_files)
2403 crypto/md5.lo: $(go_crypto_md5_files)
2405 crypto/md5/check: $(CHECK_DEPS)
2407 .PHONY: crypto/md5/check
2409 @go_include@ crypto/rand.lo.dep
2410 crypto/rand.lo.dep: $(go_crypto_rand_files)
2412 crypto/rand.lo: $(go_crypto_rand_files)
2414 crypto/rand/check: $(CHECK_DEPS)
2416 .PHONY: crypto/rand/check
2418 @go_include@ crypto/rc4.lo.dep
2419 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2421 crypto/rc4.lo: $(go_crypto_rc4_files)
2423 crypto/rc4/check: $(CHECK_DEPS)
2425 .PHONY: crypto/rc4/check
2427 @go_include@ crypto/rsa.lo.dep
2428 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2430 crypto/rsa.lo: $(go_crypto_rsa_files)
2432 crypto/rsa/check: $(CHECK_DEPS)
2434 .PHONY: crypto/rsa/check
2436 @go_include@ crypto/sha1.lo.dep
2437 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2439 crypto/sha1.lo: $(go_crypto_sha1_files)
2441 crypto/sha1/check: $(CHECK_DEPS)
2443 .PHONY: crypto/sha1/check
2445 @go_include@ crypto/sha256.lo.dep
2446 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2448 crypto/sha256.lo: $(go_crypto_sha256_files)
2450 crypto/sha256/check: $(CHECK_DEPS)
2452 .PHONY: crypto/sha256/check
2454 @go_include@ crypto/sha512.lo.dep
2455 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2457 crypto/sha512.lo: $(go_crypto_sha512_files)
2459 crypto/sha512/check: $(CHECK_DEPS)
2461 .PHONY: crypto/sha512/check
2463 @go_include@ crypto/subtle.lo.dep
2464 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2466 crypto/subtle.lo: $(go_crypto_subtle_files)
2468 crypto/subtle/check: $(CHECK_DEPS)
2470 .PHONY: crypto/subtle/check
2472 @go_include@ crypto/tls.lo.dep
2473 crypto/tls.lo.dep: $(go_crypto_tls_files)
2475 crypto/tls.lo: $(go_crypto_tls_files)
2477 crypto/tls/check: $(CHECK_DEPS)
2479 .PHONY: crypto/tls/check
2481 @go_include@ crypto/x509.lo.dep
2482 crypto/x509.lo.dep: $(go_crypto_x509_files)
2484 crypto/x509.lo: $(go_crypto_x509_files)
2486 crypto/x509/check: $(CHECK_DEPS)
2488 .PHONY: crypto/x509/check
2490 @go_include@ crypto/x509/pkix.lo.dep
2491 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2493 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2495 crypto/x509/pkix/check: $(CHECK_DEPS)
2497 .PHONY: crypto/x509/pkix/check
2499 @go_include@ database/sql.lo.dep
2500 database/sql.lo.dep: $(go_database_sql_files)
2502 database/sql.lo: $(go_database_sql_files)
2504 database/sql/check: $(CHECK_DEPS)
2506 .PHONY: database/sql/check
2508 @go_include@ database/sql/driver.lo.dep
2509 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2511 database/sql/driver.lo: $(go_database_sql_driver_files)
2513 database/sql/driver/check: $(CHECK_DEPS)
2515 .PHONY: database/sql/driver/check
2517 @go_include@ debug/dwarf.lo.dep
2518 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2520 debug/dwarf.lo: $(go_debug_dwarf_files)
2522 debug/dwarf/check: $(CHECK_DEPS)
2524 .PHONY: debug/dwarf/check
2526 @go_include@ debug/elf.lo.dep
2527 debug/elf.lo.dep: $(go_debug_elf_files)
2529 debug/elf.lo: $(go_debug_elf_files)
2531 debug/elf/check: $(CHECK_DEPS)
2533 .PHONY: debug/elf/check
2535 @go_include@ debug/gosym.lo.dep
2536 debug/gosym.lo.dep: $(go_debug_gosym_files)
2538 debug/gosym.lo: $(go_debug_gosym_files)
2540 debug/gosym/check: $(CHECK_DEPS)
2542 .PHONY: debug/gosym/check
2544 @go_include@ debug/macho.lo.dep
2545 debug/macho.lo.dep: $(go_debug_macho_files)
2547 debug/macho.lo: $(go_debug_macho_files)
2549 debug/macho/check: $(CHECK_DEPS)
2551 .PHONY: debug/macho/check
2553 @go_include@ debug/pe.lo.dep
2554 debug/pe.lo.dep: $(go_debug_pe_files)
2556 debug/pe.lo: $(go_debug_pe_files)
2558 debug/pe/check: $(CHECK_DEPS)
2560 .PHONY: debug/pe/check
2562 @go_include@ encoding/asn1.lo.dep
2563 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2565 encoding/asn1.lo: $(go_encoding_asn1_files)
2567 encoding/asn1/check: $(CHECK_DEPS)
2569 .PHONY: encoding/asn1/check
2571 @go_include@ encoding/ascii85.lo.dep
2572 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2574 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2576 encoding/ascii85/check: $(CHECK_DEPS)
2578 .PHONY: encoding/ascii85/check
2580 @go_include@ encoding/base32.lo.dep
2581 encoding/base32.lo.dep: $(go_encoding_base32_files)
2583 encoding/base32.lo: $(go_encoding_base32_files)
2585 encoding/base32/check: $(CHECK_DEPS)
2587 .PHONY: encoding/base32/check
2589 @go_include@ encoding/base64.lo.dep
2590 encoding/base64.lo.dep: $(go_encoding_base64_files)
2592 encoding/base64.lo: $(go_encoding_base64_files)
2594 encoding/base64/check: $(CHECK_DEPS)
2596 .PHONY: encoding/base64/check
2598 @go_include@ encoding/binary.lo.dep
2599 encoding/binary.lo.dep: $(go_encoding_binary_files)
2601 encoding/binary.lo: $(go_encoding_binary_files)
2603 encoding/binary/check: $(CHECK_DEPS)
2605 .PHONY: encoding/binary/check
2607 @go_include@ encoding/csv.lo.dep
2608 encoding/csv.lo.dep: $(go_encoding_csv_files)
2610 encoding/csv.lo: $(go_encoding_csv_files)
2612 encoding/csv/check: $(CHECK_DEPS)
2614 .PHONY: encoding/csv/check
2616 @go_include@ encoding/gob.lo.dep
2617 encoding/gob.lo.dep: $(go_encoding_gob_files)
2619 encoding/gob.lo: $(go_encoding_gob_files)
2621 encoding/gob/check: $(CHECK_DEPS)
2623 .PHONY: encoding/gob/check
2625 @go_include@ encoding/hex.lo.dep
2626 encoding/hex.lo.dep: $(go_encoding_hex_files)
2628 encoding/hex.lo: $(go_encoding_hex_files)
2630 encoding/hex/check: $(CHECK_DEPS)
2632 .PHONY: encoding/hex/check
2634 @go_include@ encoding/json.lo.dep
2635 encoding/json.lo.dep: $(go_encoding_json_files)
2637 encoding/json.lo: $(go_encoding_json_files)
2639 encoding/json/check: $(CHECK_DEPS)
2641 .PHONY: encoding/json/check
2643 @go_include@ encoding/pem.lo.dep
2644 encoding/pem.lo.dep: $(go_encoding_pem_files)
2646 encoding/pem.lo: $(go_encoding_pem_files)
2648 encoding/pem/check: $(CHECK_DEPS)
2650 .PHONY: encoding/pem/check
2652 @go_include@ encoding/xml.lo.dep
2653 encoding/xml.lo.dep: $(go_encoding_xml_files)
2655 encoding/xml.lo: $(go_encoding_xml_files)
2657 encoding/xml/check: $(CHECK_DEPS)
2659 .PHONY: encoding/xml/check
2661 @go_include@ exp/ebnf.lo.dep
2662 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2664 exp/ebnf.lo: $(go_exp_ebnf_files)
2666 exp/ebnf/check: $(CHECK_DEPS)
2668 .PHONY: exp/ebnf/check
2670 @go_include@ exp/html.lo.dep
2671 exp/html.lo.dep: $(go_exp_html_files)
2673 exp/html.lo: $(go_exp_html_files)
2675 exp/html/check: $(CHECK_DEPS)
2677 .PHONY: exp/html/check
2679 @go_include@ exp/html/atom.lo.dep
2680 exp/html/atom.lo.dep: $(go_exp_html_atom_files)
2682 exp/html/atom.lo: $(go_exp_html_atom_files)
2684 exp/html/atom/check: $(CHECK_DEPS)
2686 .PHONY: exp/html/atom/check
2688 @go_include@ exp/locale/collate.lo.dep
2689 exp/locale/collate.lo.dep: $(go_exp_locale_collate_files)
2691 exp/locale/collate.lo: $(go_exp_locale_collate_files)
2693 exp/locale/collate/check: $(CHECK_DEPS)
2695 .PHONY: exp/locale/collate/check
2697 @go_include@ exp/locale/collate/build.lo.dep
2698 exp/locale/collate/build.lo.dep: $(go_exp_locale_collate_build_files)
2700 exp/locale/collate/build.lo: $(go_exp_locale_collate_build_files)
2702 exp/locale/collate/build/check: $(CHECK_DEPS)
2704 .PHONY: exp/locale/collate/build/check
2706 @go_include@ exp/norm.lo.dep
2707 exp/norm.lo.dep: $(go_exp_norm_files)
2709 exp/norm.lo: $(go_exp_norm_files)
2711 exp/norm/check: $(CHECK_DEPS)
2713 .PHONY: exp/norm/check
2715 @go_include@ exp/proxy.lo.dep
2716 exp/proxy.lo.dep: $(go_exp_proxy_files)
2718 exp/proxy.lo: $(go_exp_proxy_files)
2720 exp/proxy/check: $(CHECK_DEPS)
2722 .PHONY: exp/proxy/check
2724 @go_include@ exp/terminal.lo.dep
2725 exp/terminal.lo.dep: $(go_exp_terminal_files)
2727 exp/terminal.lo: $(go_exp_terminal_files)
2729 exp/terminal/check: $(CHECK_DEPS)
2731 .PHONY: exp/terminal/check
2733 @go_include@ exp/types.lo.dep
2734 exp/types.lo.dep: $(go_exp_types_files)
2736 exp/types.lo: $(go_exp_types_files)
2738 exp/types/check: $(CHECK_DEPS)
2740 .PHONY: exp/types/check
2742 @go_include@ exp/utf8string.lo.dep
2743 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2745 exp/utf8string.lo: $(go_exp_utf8string_files)
2747 exp/utf8string/check: $(CHECK_DEPS)
2749 .PHONY: exp/utf8string/check
2751 @go_include@ exp/inotify.lo.dep
2752 exp/inotify.lo.dep: $(go_exp_inotify_files)
2754 exp/inotify.lo: $(go_exp_inotify_files)
2756 exp/inotify/check: $(CHECK_DEPS)
2758 .PHONY: exp/inotify/check
2760 @go_include@ html/template.lo.dep
2761 html/template.lo.dep: $(go_html_template_files)
2763 html/template.lo: $(go_html_template_files)
2765 html/template/check: $(CHECK_DEPS)
2767 .PHONY: html/template/check
2769 @go_include@ go/ast.lo.dep
2770 go/ast.lo.dep: $(go_go_ast_files)
2772 go/ast.lo: $(go_go_ast_files)
2774 go/ast/check: $(CHECK_DEPS)
2776 .PHONY: go/ast/check
2778 @go_include@ go/build.lo.dep
2779 go/build.lo.dep: $(go_go_build_files)
2781 go/build.lo: $(go_go_build_files)
2783 go/build/check: $(CHECK_DEPS)
2785 .PHONY: go/build/check
2787 syslist.go: s-syslist; @true
2789 echo '// Generated automatically by make.' >syslist.go.tmp
2790 echo 'package build' >>syslist.go.tmp
2791 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2792 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2793 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2796 @go_include@ go/doc.lo.dep
2797 go/doc.lo.dep: $(go_go_doc_files)
2799 go/doc.lo: $(go_go_doc_files)
2801 go/doc/check: $(CHECK_DEPS)
2803 .PHONY: go/doc/check
2805 @go_include@ go/parser.lo.dep
2806 go/parser.lo.dep: $(go_go_parser_files)
2808 go/parser.lo: $(go_go_parser_files)
2810 go/parser/check: $(CHECK_DEPS)
2812 .PHONY: go/parser/check
2814 @go_include@ go/printer.lo.dep
2815 go/printer.lo.dep: $(go_go_printer_files)
2817 go/printer.lo: $(go_go_printer_files)
2819 go/printer/check: $(CHECK_DEPS)
2821 .PHONY: go/printer/check
2823 @go_include@ go/scanner.lo.dep
2824 go/scanner.lo.dep: $(go_go_scanner_files)
2826 go/scanner.lo: $(go_go_scanner_files)
2828 go/scanner/check: $(CHECK_DEPS)
2830 .PHONY: go/scanner/check
2832 @go_include@ go/token.lo.dep
2833 go/token.lo.dep: $(go_go_token_files)
2835 go/token.lo: $(go_go_token_files)
2837 go/token/check: $(CHECK_DEPS)
2839 .PHONY: go/token/check
2841 @go_include@ hash/adler32.lo.dep
2842 hash/adler32.lo.dep: $(go_hash_adler32_files)
2844 hash/adler32.lo: $(go_hash_adler32_files)
2846 hash/adler32/check: $(CHECK_DEPS)
2848 .PHONY: hash/adler32/check
2850 @go_include@ hash/crc32.lo.dep
2851 hash/crc32.lo.dep: $(go_hash_crc32_files)
2853 hash/crc32.lo: $(go_hash_crc32_files)
2855 hash/crc32/check: $(CHECK_DEPS)
2857 .PHONY: hash/crc32/check
2859 @go_include@ hash/crc64.lo.dep
2860 hash/crc64.lo.dep: $(go_hash_crc64_files)
2862 hash/crc64.lo: $(go_hash_crc64_files)
2864 hash/crc64/check: $(CHECK_DEPS)
2866 .PHONY: hash/crc64/check
2868 @go_include@ hash/fnv.lo.dep
2869 hash/fnv.lo.dep: $(go_hash_fnv_files)
2871 hash/fnv.lo: $(go_hash_fnv_files)
2873 hash/fnv/check: $(CHECK_DEPS)
2875 .PHONY: hash/fnv/check
2877 @go_include@ image/color.lo.dep
2878 image/color.lo.dep: $(go_image_color_files)
2880 image/color.lo: $(go_image_color_files)
2882 image/color/check: $(CHECK_DEPS)
2884 .PHONY: image/color/check
2886 @go_include@ image/draw.lo.dep
2887 image/draw.lo.dep: $(go_image_draw_files)
2889 image/draw.lo: $(go_image_draw_files)
2891 image/draw/check: $(CHECK_DEPS)
2893 .PHONY: image/draw/check
2895 @go_include@ image/gif.lo.dep
2896 image/gif.lo.dep: $(go_image_gif_files)
2898 image/gif.lo: $(go_image_gif_files)
2900 image/gif/check: $(CHECK_DEPS)
2902 .PHONY: image/gif/check
2904 @go_include@ image/jpeg.lo.dep
2905 image/jpeg.lo.dep: $(go_image_jpeg_files)
2907 image/jpeg.lo: $(go_image_jpeg_files)
2909 image/jpeg/check: $(CHECK_DEPS)
2911 .PHONY: image/jpeg/check
2913 @go_include@ image/png.lo.dep
2914 image/png.lo.dep: $(go_image_png_files)
2916 image/png.lo: $(go_image_png_files)
2918 image/png/check: $(CHECK_DEPS)
2920 .PHONY: image/png/check
2922 @go_include@ index/suffixarray.lo.dep
2923 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2925 index/suffixarray.lo: $(go_index_suffixarray_files)
2927 index/suffixarray/check: $(CHECK_DEPS)
2929 .PHONY: index/suffixarray/check
2931 @go_include@ io/ioutil.lo.dep
2932 io/ioutil.lo.dep: $(go_io_ioutil_files)
2934 io/ioutil.lo: $(go_io_ioutil_files)
2936 io/ioutil/check: $(CHECK_DEPS)
2938 .PHONY: io/ioutil/check
2940 @go_include@ log/syslog.lo.dep
2941 log/syslog.lo.dep: $(go_log_syslog_files)
2943 log/syslog.lo: $(go_log_syslog_files)
2945 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2946 @$(MKDIR_P) log/syslog
2947 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2948 log/syslog/check: $(CHECK_DEPS)
2950 .PHONY: log/syslog/check
2952 @go_include@ math/big.lo.dep
2953 math/big.lo.dep: $(go_math_big_files)
2955 math/big.lo: $(go_math_big_files)
2957 math/big/check: $(CHECK_DEPS)
2959 .PHONY: math/big/check
2961 @go_include@ math/cmplx.lo.dep
2962 math/cmplx.lo.dep: $(go_math_cmplx_files)
2964 math/cmplx.lo: $(go_math_cmplx_files)
2966 math/cmplx/check: $(CHECK_DEPS)
2968 .PHONY: math/cmplx/check
2970 @go_include@ math/rand.lo.dep
2971 math/rand.lo.dep: $(go_math_rand_files)
2973 math/rand.lo: $(go_math_rand_files)
2975 math/rand/check: $(CHECK_DEPS)
2977 .PHONY: math/rand/check
2979 @go_include@ mime/multipart.lo.dep
2980 mime/multipart.lo.dep: $(go_mime_multipart_files)
2982 mime/multipart.lo: $(go_mime_multipart_files)
2984 mime/multipart/check: $(CHECK_DEPS)
2986 .PHONY: mime/multipart/check
2988 @go_include@ net/http.lo.dep
2989 net/http.lo.dep: $(go_net_http_files)
2991 net/http.lo: $(go_net_http_files)
2993 net/http/check: $(CHECK_DEPS)
2995 .PHONY: net/http/check
2997 @go_include@ net/mail.lo.dep
2998 net/mail.lo.dep: $(go_net_mail_files)
3000 net/mail.lo: $(go_net_mail_files)
3002 net/mail/check: $(CHECK_DEPS)
3004 .PHONY: net/mail/check
3006 @go_include@ net/rpc.lo.dep
3007 net/rpc.lo.dep: $(go_net_rpc_files)
3009 net/rpc.lo: $(go_net_rpc_files)
3011 net/rpc/check: $(CHECK_DEPS)
3013 .PHONY: net/rpc/check
3015 @go_include@ net/smtp.lo.dep
3016 net/smtp.lo.dep: $(go_net_smtp_files)
3018 net/smtp.lo: $(go_net_smtp_files)
3020 net/smtp/check: $(CHECK_DEPS)
3022 .PHONY: net/smtp/check
3024 @go_include@ net/url.lo.dep
3025 net/url.lo.dep: $(go_net_url_files)
3027 net/url.lo: $(go_net_url_files)
3029 net/url/check: $(CHECK_DEPS)
3031 .PHONY: net/url/check
3033 @go_include@ net/textproto.lo.dep
3034 net/textproto.lo.dep: $(go_net_textproto_files)
3036 net/textproto.lo: $(go_net_textproto_files)
3038 net/textproto/check: $(CHECK_DEPS)
3040 .PHONY: net/textproto/check
3042 @go_include@ net/http/cgi.lo.dep
3043 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3045 net/http/cgi.lo: $(go_net_http_cgi_files)
3047 net/http/cgi/check: $(CHECK_DEPS)
3049 .PHONY: net/http/cgi/check
3051 @go_include@ net/http/fcgi.lo.dep
3052 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3054 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3056 net/http/fcgi/check: $(CHECK_DEPS)
3058 .PHONY: net/http/fcgi/check
3060 @go_include@ net/http/httptest.lo.dep
3061 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3063 net/http/httptest.lo: $(go_net_http_httptest_files)
3065 net/http/httptest/check: $(check_deps)
3067 .PHONY: net/http/httptest/check
3069 @go_include@ net/http/httputil.lo.dep
3070 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3072 net/http/httputil.lo: $(go_net_http_httputil_files)
3074 net/http/httputil/check: $(check_deps)
3076 .PHONY: net/http/httputil/check
3078 @go_include@ net/http/pprof.lo.dep
3079 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3081 net/http/pprof.lo: $(go_net_http_pprof_files)
3083 net/http/pprof/check: $(CHECK_DEPS)
3085 .PHONY: net/http/pprof/check
3087 @go_include@ net/rpc/jsonrpc.lo.dep
3088 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3090 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3092 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3094 .PHONY: net/rpc/jsonrpc/check
3096 @go_include@ old/netchan.lo.dep
3097 old/netchan.lo.dep: $(go_old_netchan_files)
3099 old/netchan.lo: $(go_old_netchan_files)
3101 old/netchan/check: $(CHECK_DEPS)
3103 .PHONY: old/netchan/check
3105 @go_include@ old/regexp.lo.dep
3106 old/regexp.lo.dep: $(go_old_regexp_files)
3108 old/regexp.lo: $(go_old_regexp_files)
3110 old/regexp/check: $(CHECK_DEPS)
3112 .PHONY: old/regexp/check
3114 @go_include@ old/template.lo.dep
3115 old/template.lo.dep: $(go_old_template_files)
3117 old/template.lo: $(go_old_template_files)
3119 old/template/check: $(CHECK_DEPS)
3121 .PHONY: old/template/check
3123 @go_include@ os/exec.lo.dep
3124 os/exec.lo.dep: $(go_os_exec_files)
3126 os/exec.lo: $(go_os_exec_files)
3128 os/exec/check: $(CHECK_DEPS)
3130 .PHONY: os/exec/check
3132 @go_include@ os/signal.lo.dep
3133 os/signal.lo.dep: $(go_os_signal_files)
3135 os/signal.lo: $(go_os_signal_files)
3137 os/signal/check: $(CHECK_DEPS)
3139 .PHONY: os/signal/check
3141 @go_include@ os/user.lo.dep
3142 os/user.lo.dep: $(go_os_user_files)
3144 os/user.lo: $(go_os_user_files)
3146 os/user/check: $(CHECK_DEPS)
3148 .PHONY: os/user/check
3150 @go_include@ path/filepath.lo.dep
3151 path/filepath.lo.dep: $(go_path_filepath_files)
3153 path/filepath.lo: $(go_path_filepath_files)
3155 path/filepath/check: $(CHECK_DEPS)
3157 .PHONY: path/filepath/check
3159 @go_include@ regexp/syntax.lo.dep
3160 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3162 regexp/syntax.lo: $(go_regexp_syntax_files)
3164 regexp/syntax/check: $(CHECK_DEPS)
3166 .PHONY: regexp/syntax/check
3168 @go_include@ runtime/debug.lo.dep
3169 runtime/debug.lo.dep: $(go_runtime_debug_files)
3171 runtime/debug.lo: $(go_runtime_debug_files)
3173 runtime/debug/check: $(CHECK_DEPS)
3175 .PHONY: runtime/debug/check
3177 @go_include@ runtime/pprof.lo.dep
3178 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3180 runtime/pprof.lo: $(go_runtime_pprof_files)
3182 runtime/pprof/check: $(CHECK_DEPS)
3184 .PHONY: runtime/pprof/check
3185 # At least for now, we need -static-libgo for this test, because
3186 # otherwise we can't get the line numbers.
3187 runtime_pprof_check_GOCFLAGS = -static-libgo
3189 @go_include@ sync/atomic.lo.dep
3190 sync/atomic.lo.dep: $(go_sync_atomic_files)
3192 sync/atomic.lo: $(go_sync_atomic_files)
3194 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3195 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3196 sync/atomic/check: $(CHECK_DEPS)
3198 .PHONY: sync/atomic/check
3200 @go_include@ text/scanner.lo.dep
3201 text/scanner.lo.dep: $(go_text_scanner_files)
3203 text/scanner.lo: $(go_text_scanner_files)
3205 text/scanner/check: $(CHECK_DEPS)
3207 .PHONY: text/scanner/check
3209 @go_include@ text/tabwriter.lo.dep
3210 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3212 text/tabwriter.lo: $(go_text_tabwriter_files)
3214 text/tabwriter/check: $(CHECK_DEPS)
3216 .PHONY: text/tabwriter/check
3218 @go_include@ text/template.lo.dep
3219 text/template.lo.dep: $(go_text_template_files)
3221 text/template.lo: $(go_text_template_files)
3223 text/template/check: $(CHECK_DEPS)
3225 .PHONY: text/template/check
3227 @go_include@ text/template/parse.lo.dep
3228 text/template/parse.lo.dep: $(go_text_template_parse_files)
3230 text/template/parse.lo: $(go_text_template_parse_files)
3232 text/template/parse/check: $(CHECK_DEPS)
3234 .PHONY: text/template/parse/check
3236 @go_include@ testing/iotest.lo.dep
3237 testing/iotest.lo.dep: $(go_testing_iotest_files)
3239 testing/iotest.lo: $(go_testing_iotest_files)
3241 testing/iotest/check: $(CHECK_DEPS)
3243 .PHONY: testing/iotest/check
3245 @go_include@ testing/quick.lo.dep
3246 testing/quick.lo.dep: $(go_testing_quick_files)
3248 testing/quick.lo: $(go_testing_quick_files)
3250 testing/quick/check: $(CHECK_DEPS)
3252 .PHONY: testing/quick/check
3254 @go_include@ unicode/utf16.lo.dep
3255 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3257 unicode/utf16.lo: $(go_unicode_utf16_files)
3259 unicode/utf16/check: $(CHECK_DEPS)
3261 .PHONY: unicode/utf16/check
3263 @go_include@ unicode/utf8.lo.dep
3264 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3266 unicode/utf8.lo: $(go_unicode_utf8_files)
3268 unicode/utf8/check: $(CHECK_DEPS)
3270 .PHONY: unicode/utf8/check
3272 @go_include@ syscall.lo.dep
3273 syscall.lo.dep: $(go_syscall_files)
3275 syscall.lo: $(go_syscall_files)
3277 syscall/errno.lo: go/syscall/errno.c
3279 $(LTCOMPILE) -c -o $@ $<
3280 syscall/signame.lo: go/syscall/signame.c
3282 $(LTCOMPILE) -c -o $@ $<
3283 syscall/wait.lo: go/syscall/wait.c
3285 $(LTCOMPILE) -c -o $@ $<
3286 syscall/check: $(CHECK_DEPS)
3288 .PHONY: syscall/check
3290 # How to build a .gox file from a .lo file.
3292 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3293 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3299 crypto.gox: crypto.lo
3301 errors.gox: errors.lo
3303 expvar.gox: expvar.lo
3329 reflect.gox: reflect-go.lo
3331 regexp.gox: regexp.lo
3333 runtime.gox: runtime-go.lo
3337 strconv.gox: strconv.lo
3339 strings.gox: strings.lo
3343 syscall.gox: syscall.lo
3345 testing.gox: testing.lo
3347 time.gox: time-go.lo
3349 unicode.gox: unicode.lo
3352 archive/tar.gox: archive/tar.lo
3354 archive/zip.gox: archive/zip.lo
3357 compress/bzip2.gox: compress/bzip2.lo
3359 compress/flate.gox: compress/flate.lo
3361 compress/gzip.gox: compress/gzip.lo
3363 compress/lzw.gox: compress/lzw.lo
3365 compress/zlib.gox: compress/zlib.lo
3368 container/heap.gox: container/heap.lo
3370 container/list.gox: container/list.lo
3372 container/ring.gox: container/ring.lo
3375 crypto/aes.gox: crypto/aes.lo
3377 crypto/cipher.gox: crypto/cipher.lo
3379 crypto/des.gox: crypto/des.lo
3381 crypto/dsa.gox: crypto/dsa.lo
3383 crypto/ecdsa.gox: crypto/ecdsa.lo
3385 crypto/elliptic.gox: crypto/elliptic.lo
3387 crypto/hmac.gox: crypto/hmac.lo
3389 crypto/md5.gox: crypto/md5.lo
3391 crypto/rand.gox: crypto/rand.lo
3393 crypto/rc4.gox: crypto/rc4.lo
3395 crypto/rsa.gox: crypto/rsa.lo
3397 crypto/sha1.gox: crypto/sha1.lo
3399 crypto/sha256.gox: crypto/sha256.lo
3401 crypto/sha512.gox: crypto/sha512.lo
3403 crypto/subtle.gox: crypto/subtle.lo
3405 crypto/tls.gox: crypto/tls.lo
3407 crypto/x509.gox: crypto/x509.lo
3410 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3413 database/sql.gox: database/sql.lo
3416 database/sql/driver.gox: database/sql/driver.lo
3419 debug/dwarf.gox: debug/dwarf.lo
3421 debug/elf.gox: debug/elf.lo
3423 debug/gosym.gox: debug/gosym.lo
3425 debug/macho.gox: debug/macho.lo
3427 debug/pe.gox: debug/pe.lo
3430 encoding/ascii85.gox: encoding/ascii85.lo
3432 encoding/asn1.gox: encoding/asn1.lo
3434 encoding/base32.gox: encoding/base32.lo
3436 encoding/base64.gox: encoding/base64.lo
3438 encoding/binary.gox: encoding/binary.lo
3440 encoding/csv.gox: encoding/csv.lo
3442 encoding/gob.gox: encoding/gob.lo
3444 encoding/hex.gox: encoding/hex.lo
3446 encoding/json.gox: encoding/json.lo
3448 encoding/pem.gox: encoding/pem.lo
3450 encoding/xml.gox: encoding/xml.lo
3453 exp/ebnf.gox: exp/ebnf.lo
3455 exp/html.gox: exp/html.lo
3457 exp/html/atom.gox: exp/html/atom.lo
3459 exp/inotify.gox: exp/inotify.lo
3461 exp/locale/collate.gox: exp/locale/collate.lo
3463 exp/locale/collate/build.gox: exp/locale/collate/build.lo
3465 exp/norm.gox: exp/norm.lo
3467 exp/proxy.gox: exp/proxy.lo
3469 exp/terminal.gox: exp/terminal.lo
3471 exp/types.gox: exp/types.lo
3473 exp/utf8string.gox: exp/utf8string.lo
3476 html/template.gox: html/template.lo
3479 go/ast.gox: go/ast.lo
3481 go/build.gox: go/build.lo
3483 go/doc.gox: go/doc.lo
3485 go/parser.gox: go/parser.lo
3487 go/printer.gox: go/printer.lo
3489 go/scanner.gox: go/scanner.lo
3491 go/token.gox: go/token.lo
3494 hash/adler32.gox: hash/adler32.lo
3496 hash/crc32.gox: hash/crc32.lo
3498 hash/crc64.gox: hash/crc64.lo
3500 hash/fnv.gox: hash/fnv.lo
3503 image/color.gox: image/color.lo
3505 image/draw.gox: image/draw.lo
3507 image/gif.gox: image/gif.lo
3509 image/jpeg.gox: image/jpeg.lo
3511 image/png.gox: image/png.lo
3514 index/suffixarray.gox: index/suffixarray.lo
3517 io/ioutil.gox: io/ioutil.lo
3520 log/syslog.gox: log/syslog.lo
3523 math/big.gox: math/big.lo
3525 math/cmplx.gox: math/cmplx.lo
3527 math/rand.gox: math/rand.lo
3530 mime/multipart.gox: mime/multipart.lo
3533 net/http.gox: net/http.lo
3535 net/mail.gox: net/mail.lo
3537 net/rpc.gox: net/rpc.lo
3539 net/smtp.gox: net/smtp.lo
3541 net/textproto.gox: net/textproto.lo
3543 net/url.gox: net/url.lo
3546 net/http/cgi.gox: net/http/cgi.lo
3548 net/http/fcgi.gox: net/http/fcgi.lo
3550 net/http/httptest.gox: net/http/httptest.lo
3552 net/http/httputil.gox: net/http/httputil.lo
3554 net/http/pprof.gox: net/http/pprof.lo
3557 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3560 old/netchan.gox: old/netchan.lo
3562 old/regexp.gox: old/regexp.lo
3564 old/template.gox: old/template.lo
3567 os/exec.gox: os/exec.lo
3569 os/signal.gox: os/signal.lo
3571 os/user.gox: os/user.lo
3574 path/filepath.gox: path/filepath.lo
3577 regexp/syntax.gox: regexp/syntax.lo
3580 runtime/debug.gox: runtime/debug.lo
3582 runtime/pprof.gox: runtime/pprof.lo
3585 sync/atomic.gox: sync/atomic.lo
3588 text/scanner.gox: text/scanner.lo
3590 text/tabwriter.gox: text/tabwriter.lo
3592 text/template.gox: text/template.lo
3594 text/template/parse.gox: text/template/parse.lo
3597 testing/iotest.gox: testing/iotest.lo
3599 testing/quick.gox: testing/quick.lo
3602 unicode/utf16.gox: unicode/utf16.lo
3604 unicode/utf8.gox: unicode/utf8.lo
3608 # exp_inotify_check = exp/inotify/check
3642 compress/bzip2/check \
3643 compress/flate/check \
3644 compress/gzip/check \
3645 compress/lzw/check \
3646 compress/zlib/check \
3647 container/heap/check \
3648 container/list/check \
3649 container/ring/check \
3651 crypto/cipher/check \
3654 crypto/ecdsa/check \
3655 crypto/elliptic/check \
3662 crypto/sha256/check \
3663 crypto/sha512/check \
3664 crypto/subtle/check \
3667 database/sql/check \
3668 database/sql/driver/check \
3673 encoding/ascii85/check \
3674 encoding/asn1/check \
3675 encoding/base32/check \
3676 encoding/base64/check \
3677 encoding/binary/check \
3678 encoding/csv/check \
3679 encoding/gob/check \
3680 encoding/hex/check \
3681 encoding/json/check \
3682 encoding/pem/check \
3683 encoding/xml/check \
3686 exp/html/atom/check \
3687 $(exp_inotify_check) \
3688 exp/locale/collate/check \
3689 exp/locale/collate/build/check \
3692 exp/terminal/check \
3694 exp/utf8string/check \
3695 html/template/check \
3697 $(go_build_check_omitted_since_it_calls_6g) \
3703 $(go_types_check_omitted_since_it_calls_6g) \
3704 hash/adler32/check \
3712 index/suffixarray/check \
3718 mime/multipart/check \
3720 net/http/cgi/check \
3721 net/http/fcgi/check \
3722 net/http/httptest/check \
3723 net/http/httputil/check \
3727 net/textproto/check \
3729 net/rpc/jsonrpc/check \
3732 old/template/check \
3736 path/filepath/check \
3737 regexp/syntax/check \
3738 runtime/pprof/check \
3740 text/scanner/check \
3741 text/tabwriter/check \
3742 text/template/check \
3743 text/template/parse/check \
3744 testing/quick/check \
3745 unicode/utf16/check \
3749 check-recursive: check-head
3752 @echo "Test Run By $${USER} on `date`" > libgo.head
3753 @echo "Native configuration is $(host_triplet)" >> libgo.head
3755 @echo " === libgo tests ===" >> libgo.head
3758 check-tail: check-recursive check-multi
3759 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3760 for dir in . $(MULTIDIRS); do \
3761 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3762 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3764 mv libgo.head libgo.sum; \
3765 cp libgo.sum libgo.log; \
3766 echo "Schedule of variations:" >> libgo.sum; \
3767 for dir in . $(MULTIDIRS); do \
3768 multidir=../$${dir}/$${lib}; \
3769 multivar=`cat $${multidir}/libgo.var`; \
3770 echo " $${multivar}" >> libgo.sum; \
3772 echo >> libgo.sum; \
3773 pass=0; fail=0; untested=0; \
3774 for dir in . $(MULTIDIRS); do \
3775 multidir=../$${dir}/$${lib}; \
3776 multivar=`cat $${multidir}/libgo.var`; \
3777 echo "Running target $${multivar}" >> libgo.sum; \
3778 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3779 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3780 cat $${multidir}/libgo.log.sep >> libgo.log; \
3781 if test -n "${MULTIDIRS}"; then \
3782 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3783 echo >> libgo.sum; \
3785 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3786 pass=`expr $$pass + $$p`; \
3787 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3788 echo "# of expected passes $$p" >> libgo.sum; \
3790 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3791 fail=`expr $$fail + $$p`; \
3792 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3793 echo "# of unexpected failures $$p" >> libgo.sum; \
3795 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3796 untested=`expr $$untested + $$p`; \
3797 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3798 echo "# of untested testcases $$p" >> libgo.sum; \
3801 echo >> libgo.sum; \
3802 echo " === libgo Summary ===" >> libgo.sum; \
3803 echo >> libgo.sum; \
3804 if test "$$pass" -ne "0"; then \
3805 echo "# of expected passes $$pass" >> libgo.sum; \
3807 if test "$$fail" -ne "0"; then \
3808 echo "# of unexpected failures $$fail" >> libgo.sum; \
3810 if test "$$untested" -ne "0"; then \
3811 echo "# of untested testcases $$untested" >> libgo.sum; \
3813 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3814 echo >> libgo.log; \
3815 echo "runtest completed at `date`" >> libgo.log; \
3816 if test "$$fail" -ne "0"; then \
3824 @rm -f libgo.sum libgo.log libgo.tail
3826 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3827 echo "$${multivar}" > libgo.var
3828 @for f in $(TEST_PACKAGES); do \
3829 rm -f $$f-testsum $$f-testlog; \
3831 -@$(MAKE) -k $(TEST_PACKAGES)
3832 @for f in $(TEST_PACKAGES); do \
3833 if test -f $$f-testsum; then \
3834 cat $$f-testsum >> libgo.sum; \
3836 if test -f $$f-testlog; then \
3837 cat $$f-testlog >> libgo.log; \
3842 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3844 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3847 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3848 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3849 find . -name '*-testsum' -print | xargs rm -f
3850 find . -name '*-testlog' -print | xargs rm -f
3852 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3855 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3856 find . -name '*.a' -print | xargs rm -f