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 $(MULTIBUILDTOP)../../gcc/include
45 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
51 # Work around what appears to be a GNU make handling MAKEFLAGS
52 # values defined in terms of make variables, as is the case for CC and
53 # friends when we are called from the top level Makefile.
55 "AR_FLAGS=$(AR_FLAGS)" \
56 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
57 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
59 "CXXFLAGS=$(CXXFLAGS)" \
60 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
61 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
62 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
64 "GOCFLAGS=$(GOCFLAGS)" \
65 "INSTALL=$(INSTALL)" \
66 "INSTALL_DATA=$(INSTALL_DATA)" \
67 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
68 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
69 "LDFLAGS=$(LDFLAGS)" \
70 "LIBCFLAGS=$(LIBCFLAGS)" \
71 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
73 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
74 "PICFLAG=$(PICFLAG)" \
75 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
77 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
78 "exec_prefix=$(exec_prefix)" \
79 "infodir=$(infodir)" \
81 "includedir=$(includedir)" \
83 "tooldir=$(tooldir)" \
84 "gxx_include_dir=$(gxx_include_dir)" \
90 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
91 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
92 "DESTDIR=$(DESTDIR)" \
95 # Subdir rules rely on $(FLAGS_TO_PASS)
96 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
98 toolexeclib_LTLIBRARIES = libgo.la
99 toolexeclib_LIBRARIES = libgobegin.a
101 toolexeclibgo_DATA = \
131 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
133 toolexeclibgoarchive_DATA = \
137 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
139 toolexeclibgocompress_DATA = \
146 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
148 toolexeclibgocontainer_DATA = \
153 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
155 toolexeclibgocrypto_DATA = \
161 crypto/elliptic.gox \
174 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
176 toolexeclibgocryptox509_DATA = \
179 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
181 toolexeclibgodatabase_DATA = \
184 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
186 toolexeclibgodatabasesql_DATA = \
187 database/sql/driver.gox
189 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
191 toolexeclibgodebug_DATA = \
198 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
200 toolexeclibgoencoding_DATA = \
201 encoding/ascii85.gox \
203 encoding/base32.gox \
204 encoding/base64.gox \
205 encoding/binary.gox \
214 # exp_inotify_gox = exp/inotify.gox
220 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
222 toolexeclibgoexp_DATA = \
232 toolexeclibgogodir = $(toolexeclibgodir)/go
234 toolexeclibgogo_DATA = \
243 toolexeclibgohashdir = $(toolexeclibgodir)/hash
245 toolexeclibgohash_DATA = \
251 toolexeclibgohtmldir = $(toolexeclibgodir)/html
253 toolexeclibgohtml_DATA = \
256 toolexeclibgoimagedir = $(toolexeclibgodir)/image
258 toolexeclibgoimage_DATA = \
265 toolexeclibgoindexdir = $(toolexeclibgodir)/index
267 toolexeclibgoindex_DATA = \
268 index/suffixarray.gox
270 toolexeclibgoiodir = $(toolexeclibgodir)/io
272 toolexeclibgoio_DATA = \
275 toolexeclibgologdir = $(toolexeclibgodir)/log
277 toolexeclibgolog_DATA = \
280 toolexeclibgomathdir = $(toolexeclibgodir)/math
282 toolexeclibgomath_DATA = \
287 toolexeclibgomimedir = $(toolexeclibgodir)/mime
289 toolexeclibgomime_DATA = \
292 toolexeclibgonetdir = $(toolexeclibgodir)/net
294 toolexeclibgonet_DATA = \
302 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
304 toolexeclibgonethttp_DATA = \
307 net/http/httptest.gox \
308 net/http/httputil.gox \
311 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
313 toolexeclibgonetrpc_DATA = \
316 toolexeclibgoolddir = $(toolexeclibgodir)/old
318 toolexeclibgoold_DATA = \
323 toolexeclibgoosdir = $(toolexeclibgodir)/os
325 toolexeclibgoos_DATA = \
330 toolexeclibgopathdir = $(toolexeclibgodir)/path
332 toolexeclibgopath_DATA = \
335 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
337 toolexeclibgoregexp_DATA = \
340 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
342 toolexeclibgoruntime_DATA = \
346 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
348 toolexeclibgosync_DATA = \
351 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
353 toolexeclibgotesting_DATA = \
357 toolexeclibgotextdir = $(toolexeclibgodir)/text
359 toolexeclibgotext_DATA = \
364 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
366 toolexeclibgotexttemplate_DATA = \
367 text/template/parse.gox
369 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
371 toolexeclibgounicode_DATA = \
376 runtime_mem_file = runtime/mem.c
378 runtime_mem_file = runtime/mem_posix_memalign.c
382 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
384 rtems_task_variable_add_file =
388 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
390 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
394 runtime/go-append.c \
395 runtime/go-assert.c \
396 runtime/go-assert-interface.c \
397 runtime/go-byte-array-to-string.c \
398 runtime/go-breakpoint.c \
399 runtime/go-caller.c \
400 runtime/go-callers.c \
401 runtime/go-can-convert-interface.c \
403 runtime/go-check-interface.c \
404 runtime/go-construct-map.c \
405 runtime/go-convert-interface.c \
408 runtime/go-deferred-recover.c \
409 runtime/go-eface-compare.c \
410 runtime/go-eface-val-compare.c \
411 runtime/go-getgoroot.c \
412 runtime/go-int-array-to-string.c \
413 runtime/go-int-to-string.c \
414 runtime/go-interface-compare.c \
415 runtime/go-interface-eface-compare.c \
416 runtime/go-interface-val-compare.c \
417 runtime/go-make-slice.c \
418 runtime/go-map-delete.c \
419 runtime/go-map-index.c \
420 runtime/go-map-len.c \
421 runtime/go-map-range.c \
422 runtime/go-matherr.c \
423 runtime/go-nanotime.c \
425 runtime/go-new-map.c \
430 runtime/go-recover.c \
431 runtime/go-reflect-call.c \
432 runtime/go-reflect-map.c \
434 runtime/go-runtime-error.c \
435 runtime/go-setenv.c \
436 runtime/go-signal.c \
437 runtime/go-strcmp.c \
438 runtime/go-string-to-byte-array.c \
439 runtime/go-string-to-int-array.c \
440 runtime/go-strplus.c \
441 runtime/go-strslice.c \
442 runtime/go-traceback.c \
443 runtime/go-trampoline.c \
444 runtime/go-type-complex.c \
445 runtime/go-type-eface.c \
446 runtime/go-type-error.c \
447 runtime/go-type-float.c \
448 runtime/go-type-identity.c \
449 runtime/go-type-interface.c \
450 runtime/go-type-string.c \
451 runtime/go-typedesc-equal.c \
452 runtime/go-typestring.c \
453 runtime/go-unsafe-new.c \
454 runtime/go-unsafe-newarray.c \
455 runtime/go-unsafe-pointer.c \
456 runtime/go-unwind.c \
459 $(runtime_lock_files) \
462 $(runtime_mem_file) \
464 runtime/mfixalloc.c \
471 runtime/signal_unix.c \
474 $(rtems_task_variable_add_file) \
486 goc2c.$(OBJEXT): runtime/goc2c.c
487 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
489 goc2c: goc2c.$(OBJEXT)
490 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
492 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
493 ./goc2c --gcc $< > $@.tmp
496 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
497 ./goc2c --gcc $< > $@.tmp
500 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
501 ./goc2c --gcc $< > $@.tmp
504 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
505 ./goc2c --gcc $< > $@.tmp
508 sema.c: $(srcdir)/runtime/sema.goc goc2c
509 ./goc2c --gcc $< > $@.tmp
512 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
513 ./goc2c --gcc --go-pkgpath os_signal $< > $@.tmp
516 time.c: $(srcdir)/runtime/time.goc goc2c
517 ./goc2c --gcc $< > $@.tmp
520 %.c: $(srcdir)/runtime/%.goc goc2c
521 ./goc2c --gcc $< > $@.tmp
530 go/bytes/bytes_decl.go \
586 go/math/copysign.go \
606 go/math/nextafter.go \
609 go/math/remainder.go \
621 go/mime/mediatype.go \
626 go_net_fd_os_file = go/net/fd_select.go
627 go_net_newpollserver_file = go/net/newpollserver_rtems.go
628 else # !LIBGO_IS_RTEMS
630 go_net_fd_os_file = go/net/fd_linux.go
631 go_net_newpollserver_file = go/net/newpollserver.go
632 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
634 go_net_fd_os_file = go/net/fd_netbsd.go
635 go_net_newpollserver_file = go/net/newpollserver.go
636 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
637 # By default use select with pipes. Most systems should have
639 go_net_fd_os_file = go/net/fd_select.go
640 go_net_newpollserver_file = go/net/newpollserver.go
641 endif # !LIBGO_IS_NETBSD
642 endif # !LIBGO_IS_LINUX
643 endif # !LIBGO_IS_RTEMS
646 go_net_cgo_file = go/net/cgo_linux.go
647 go_net_sock_file = go/net/sock_linux.go
648 go_net_sockopt_file = go/net/sockopt_linux.go
649 go_net_sockoptip_file = go/net/sockoptip_linux.go
652 go_net_cgo_file = go/net/cgo_linux.go
653 go_net_sock_file = go/net/sock_linux.go
654 go_net_sockopt_file = go/net/sockopt_linux.go
655 go_net_sockoptip_file = go/net/sockoptip_linux.go
658 go_net_cgo_file = go/net/cgo_linux.go
659 go_net_sock_file = go/net/sock_solaris.go
660 go_net_sockopt_file = go/net/sockopt_bsd.go
661 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_solaris.go
664 go_net_cgo_file = go/net/cgo_bsd.go
665 go_net_sock_file = go/net/sock_bsd.go
666 go_net_sockopt_file = go/net/sockopt_bsd.go
667 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_freebsd.go
669 go_net_cgo_file = go/net/cgo_bsd.go
670 go_net_sock_file = go/net/sock_bsd.go
671 go_net_sockopt_file = go/net/sockopt_bsd.go
672 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_netbsd.go
679 go_net_sendfile_file = go/net/sendfile_linux.go
681 go_net_sendfile_file = go/net/sendfile_stub.go
685 go_net_interface_file = go/net/interface_linux.go
688 go_net_interface_file = go/net/interface_netbsd.go
690 go_net_interface_file = go/net/interface_stub.go
698 go/net/dnsclient.go \
699 go/net/dnsclient_unix.go \
700 go/net/dnsconfig.go \
703 $(go_net_newpollserver_file) \
705 $(go_net_fd_os_file) \
708 go/net/interface.go \
709 $(go_net_interface_file) \
711 go/net/iprawsock.go \
712 go/net/iprawsock_posix.go \
714 go/net/ipsock_posix.go \
715 go/net/lookup_unix.go \
721 $(go_net_sendfile_file) \
723 $(go_net_sock_file) \
725 $(go_net_sockopt_file) \
726 go/net/sockoptip.go \
727 $(go_net_sockoptip_file) \
729 go/net/tcpsock_posix.go \
731 go/net/udpsock_posix.go \
733 go/net/unixsock_posix.go
737 go_os_dir_file = go/os/dir_largefile.go
740 go_os_dir_file = go/os/dir_largefile.go
742 go_os_dir_file = go/os/dir_regfile.go
747 go_os_dir_file = go/os/dir_largefile.go
749 go_os_dir_file = go/os/dir_regfile.go
754 go_os_sys_file = go/os/sys_linux.go
757 go_os_sys_file = go/os/sys_uname.go
760 go_os_sys_file = go/os/sys_uname.go
763 go_os_sys_file = go/os/sys_uname.go
765 go_os_sys_file = go/os/sys_bsd.go
772 go_os_stat_file = go/os/stat_solaris.go
774 go_os_stat_file = go/os/stat.go
783 go/os/error_posix.go \
785 go/os/exec_posix.go \
788 go/os/file_posix.go \
804 go/reflect/deepequal.go \
813 go/net/rpc/client.go \
814 go/net/rpc/debug.go \
818 go/runtime/compiler.go \
819 go/runtime/debug.go \
820 go/runtime/error.go \
821 go/runtime/extern.go \
823 go/runtime/softfloat64.go \
827 version.go: s-version; @true
830 echo "package runtime" > version.go.tmp
831 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
832 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
833 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
834 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
835 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
846 go/strconv/decimal.go \
847 go/strconv/extfloat.go \
849 go/strconv/isprint.go \
854 go/strings/reader.go \
855 go/strings/replace.go \
856 go/strings/strings.go
867 go_syslog_file = go/log/syslog/syslog_libc.go
870 go_syslog_file = go/log/syslog/syslog_libc.go
872 go_syslog_file = go/log/syslog/syslog_unix.go
876 go_log_syslog_files = \
877 go/log/syslog/syslog.go \
879 go_syslog_c_files = \
880 go/log/syslog/syslog_c.c
883 go/testing/benchmark.go \
884 go/testing/example.go \
885 go/testing/testing.go
890 go/time/sys_unix.go \
893 go/time/zoneinfo.go \
894 go/time/zoneinfo_read.go \
895 go/time/zoneinfo_unix.go
898 go/unicode/casetables.go \
899 go/unicode/digit.go \
900 go/unicode/graphic.go \
901 go/unicode/letter.go \
905 go_archive_tar_files = \
906 go/archive/tar/common.go \
907 go/archive/tar/reader.go \
908 go/archive/tar/writer.go
910 go_archive_zip_files = \
911 go/archive/zip/reader.go \
912 go/archive/zip/struct.go \
913 go/archive/zip/writer.go
915 go_compress_bzip2_files = \
916 go/compress/bzip2/bit_reader.go \
917 go/compress/bzip2/bzip2.go \
918 go/compress/bzip2/huffman.go \
919 go/compress/bzip2/move_to_front.go
921 go_compress_flate_files = \
922 go/compress/flate/deflate.go \
923 go/compress/flate/huffman_bit_writer.go \
924 go/compress/flate/huffman_code.go \
925 go/compress/flate/inflate.go \
926 go/compress/flate/reverse_bits.go \
927 go/compress/flate/token.go
929 go_compress_gzip_files = \
930 go/compress/gzip/gzip.go \
931 go/compress/gzip/gunzip.go
933 go_compress_lzw_files = \
934 go/compress/lzw/reader.go \
935 go/compress/lzw/writer.go
937 go_compress_zlib_files = \
938 go/compress/zlib/reader.go \
939 go/compress/zlib/writer.go
941 go_container_heap_files = \
942 go/container/heap/heap.go
944 go_container_list_files = \
945 go/container/list/list.go
947 go_container_ring_files = \
948 go/container/ring/ring.go
950 go_crypto_aes_files = \
951 go/crypto/aes/block.go \
952 go/crypto/aes/cipher.go \
953 go/crypto/aes/const.go
954 go_crypto_cipher_files = \
955 go/crypto/cipher/cbc.go \
956 go/crypto/cipher/cfb.go \
957 go/crypto/cipher/cipher.go \
958 go/crypto/cipher/ctr.go \
959 go/crypto/cipher/io.go \
960 go/crypto/cipher/ofb.go
961 go_crypto_des_files = \
962 go/crypto/des/block.go \
963 go/crypto/des/cipher.go \
964 go/crypto/des/const.go
965 go_crypto_dsa_files = \
967 go_crypto_ecdsa_files = \
968 go/crypto/ecdsa/ecdsa.go
969 go_crypto_elliptic_files = \
970 go/crypto/elliptic/elliptic.go \
971 go/crypto/elliptic/p224.go
972 go_crypto_hmac_files = \
973 go/crypto/hmac/hmac.go
974 go_crypto_md5_files = \
975 go/crypto/md5/md5.go \
976 go/crypto/md5/md5block.go
977 go_crypto_rand_files = \
978 go/crypto/rand/rand.go \
979 go/crypto/rand/rand_unix.go \
980 go/crypto/rand/util.go
981 go_crypto_rc4_files = \
983 go_crypto_rsa_files = \
984 go/crypto/rsa/pkcs1v15.go \
986 go_crypto_sha1_files = \
987 go/crypto/sha1/sha1.go \
988 go/crypto/sha1/sha1block.go
989 go_crypto_sha256_files = \
990 go/crypto/sha256/sha256.go \
991 go/crypto/sha256/sha256block.go
992 go_crypto_sha512_files = \
993 go/crypto/sha512/sha512.go \
994 go/crypto/sha512/sha512block.go
995 go_crypto_subtle_files = \
996 go/crypto/subtle/constant_time.go
997 go_crypto_tls_files = \
998 go/crypto/tls/alert.go \
999 go/crypto/tls/cipher_suites.go \
1000 go/crypto/tls/common.go \
1001 go/crypto/tls/conn.go \
1002 go/crypto/tls/handshake_client.go \
1003 go/crypto/tls/handshake_messages.go \
1004 go/crypto/tls/handshake_server.go \
1005 go/crypto/tls/key_agreement.go \
1006 go/crypto/tls/prf.go \
1007 go/crypto/tls/tls.go
1008 go_crypto_x509_files = \
1009 go/crypto/x509/cert_pool.go \
1010 go/crypto/x509/pkcs1.go \
1011 go/crypto/x509/pkcs8.go \
1012 go/crypto/x509/root.go \
1013 go/crypto/x509/root_unix.go \
1014 go/crypto/x509/verify.go \
1015 go/crypto/x509/x509.go
1017 go_crypto_x509_pkix_files = \
1018 go/crypto/x509/pkix/pkix.go
1020 go_database_sql_files = \
1021 go/database/sql/convert.go \
1022 go/database/sql/sql.go
1024 go_database_sql_driver_files = \
1025 go/database/sql/driver/driver.go \
1026 go/database/sql/driver/types.go
1028 go_debug_dwarf_files = \
1029 go/debug/dwarf/buf.go \
1030 go/debug/dwarf/const.go \
1031 go/debug/dwarf/entry.go \
1032 go/debug/dwarf/line.go \
1033 go/debug/dwarf/open.go \
1034 go/debug/dwarf/type.go \
1035 go/debug/dwarf/unit.go
1036 go_debug_elf_files = \
1037 go/debug/elf/elf.go \
1038 go/debug/elf/file.go \
1039 go/debug/elf/runtime.go
1040 go_debug_gosym_files = \
1041 go/debug/gosym/pclntab.go \
1042 go/debug/gosym/symtab.go
1043 go_debug_macho_files = \
1044 go/debug/macho/file.go \
1045 go/debug/macho/macho.go
1046 go_debug_pe_files = \
1047 go/debug/pe/file.go \
1050 go_encoding_ascii85_files = \
1051 go/encoding/ascii85/ascii85.go
1052 go_encoding_asn1_files = \
1053 go/encoding/asn1/asn1.go \
1054 go/encoding/asn1/common.go \
1055 go/encoding/asn1/marshal.go
1056 go_encoding_base32_files = \
1057 go/encoding/base32/base32.go
1058 go_encoding_base64_files = \
1059 go/encoding/base64/base64.go
1060 go_encoding_binary_files = \
1061 go/encoding/binary/binary.go \
1062 go/encoding/binary/varint.go
1063 go_encoding_csv_files = \
1064 go/encoding/csv/reader.go \
1065 go/encoding/csv/writer.go
1066 go_encoding_gob_files = \
1067 go/encoding/gob/decode.go \
1068 go/encoding/gob/decoder.go \
1069 go/encoding/gob/doc.go \
1070 go/encoding/gob/encode.go \
1071 go/encoding/gob/encoder.go \
1072 go/encoding/gob/error.go \
1073 go/encoding/gob/type.go
1074 go_encoding_hex_files = \
1075 go/encoding/hex/hex.go
1076 go_encoding_json_files = \
1077 go/encoding/json/decode.go \
1078 go/encoding/json/encode.go \
1079 go/encoding/json/indent.go \
1080 go/encoding/json/scanner.go \
1081 go/encoding/json/stream.go \
1082 go/encoding/json/tags.go
1083 go_encoding_pem_files = \
1084 go/encoding/pem/pem.go
1085 go_encoding_xml_files = \
1086 go/encoding/xml/marshal.go \
1087 go/encoding/xml/read.go \
1088 go/encoding/xml/typeinfo.go \
1089 go/encoding/xml/xml.go
1091 go_exp_ebnf_files = \
1092 go/exp/ebnf/ebnf.go \
1093 go/exp/ebnf/parser.go
1094 go_exp_html_files = \
1095 go/exp/html/const.go \
1096 go/exp/html/doc.go \
1097 go/exp/html/doctype.go \
1098 go/exp/html/entity.go \
1099 go/exp/html/escape.go \
1100 go/exp/html/foreign.go \
1101 go/exp/html/node.go \
1102 go/exp/html/parse.go \
1103 go/exp/html/render.go \
1104 go/exp/html/token.go
1105 go_exp_inotify_files = \
1106 go/exp/inotify/inotify_linux.go
1107 go_exp_norm_files = \
1108 go/exp/norm/composition.go \
1109 go/exp/norm/forminfo.go \
1110 go/exp/norm/input.go \
1111 go/exp/norm/iter.go \
1112 go/exp/norm/normalize.go \
1113 go/exp/norm/readwriter.go \
1114 go/exp/norm/tables.go \
1116 go_exp_proxy_files = \
1117 go/exp/proxy/direct.go \
1118 go/exp/proxy/per_host.go \
1119 go/exp/proxy/proxy.go \
1120 go/exp/proxy/socks5.go
1121 go_exp_terminal_files = \
1122 go/exp/terminal/terminal.go \
1123 go/exp/terminal/util.go
1124 go_exp_types_files = \
1125 go/exp/types/check.go \
1126 go/exp/types/const.go \
1127 go/exp/types/exportdata.go \
1128 go/exp/types/gcimporter.go \
1129 go/exp/types/types.go \
1130 go/exp/types/universe.go
1131 go_exp_utf8string_files = \
1132 go/exp/utf8string/string.go
1136 go/go/ast/filter.go \
1137 go/go/ast/import.go \
1138 go/go/ast/print.go \
1139 go/go/ast/resolve.go \
1140 go/go/ast/scope.go \
1142 go_go_build_files = \
1143 go/go/build/build.go \
1144 go/go/build/doc.go \
1147 go/go/doc/comment.go \
1149 go/go/doc/example.go \
1150 go/go/doc/exports.go \
1151 go/go/doc/filter.go \
1152 go/go/doc/reader.go \
1153 go/go/doc/synopsis.go
1154 go_go_parser_files = \
1155 go/go/parser/interface.go \
1156 go/go/parser/parser.go
1157 go_go_printer_files = \
1158 go/go/printer/nodes.go \
1159 go/go/printer/printer.go
1160 go_go_scanner_files = \
1161 go/go/scanner/errors.go \
1162 go/go/scanner/scanner.go
1163 go_go_token_files = \
1164 go/go/token/position.go \
1165 go/go/token/serialize.go \
1166 go/go/token/token.go
1168 go_hash_adler32_files = \
1169 go/hash/adler32/adler32.go
1170 go_hash_crc32_files = \
1171 go/hash/crc32/crc32.go \
1172 go/hash/crc32/crc32_generic.go
1173 go_hash_crc64_files = \
1174 go/hash/crc64/crc64.go
1175 go_hash_fnv_files = \
1178 go_html_template_files = \
1179 go/html/template/attr.go \
1180 go/html/template/content.go \
1181 go/html/template/context.go \
1182 go/html/template/css.go \
1183 go/html/template/doc.go \
1184 go/html/template/error.go \
1185 go/html/template/escape.go \
1186 go/html/template/html.go \
1187 go/html/template/js.go \
1188 go/html/template/template.go \
1189 go/html/template/transition.go \
1190 go/html/template/url.go
1192 go_image_color_files = \
1193 go/image/color/color.go \
1194 go/image/color/ycbcr.go
1196 go_image_draw_files = \
1197 go/image/draw/draw.go
1199 go_image_gif_files = \
1200 go/image/gif/reader.go
1202 go_image_jpeg_files = \
1203 go/image/jpeg/fdct.go \
1204 go/image/jpeg/huffman.go \
1205 go/image/jpeg/idct.go \
1206 go/image/jpeg/reader.go \
1207 go/image/jpeg/writer.go
1209 go_image_png_files = \
1210 go/image/png/reader.go \
1211 go/image/png/writer.go
1213 go_index_suffixarray_files = \
1214 go/index/suffixarray/qsufsort.go \
1215 go/index/suffixarray/suffixarray.go
1217 go_io_ioutil_files = \
1218 go/io/ioutil/ioutil.go \
1219 go/io/ioutil/tempfile.go
1221 go_math_big_files = \
1222 go/math/big/arith.go \
1223 go/math/big/int.go \
1224 go/math/big/nat.go \
1226 go_math_cmplx_files = \
1227 go/math/cmplx/abs.go \
1228 go/math/cmplx/asin.go \
1229 go/math/cmplx/conj.go \
1230 go/math/cmplx/exp.go \
1231 go/math/cmplx/isinf.go \
1232 go/math/cmplx/isnan.go \
1233 go/math/cmplx/log.go \
1234 go/math/cmplx/phase.go \
1235 go/math/cmplx/polar.go \
1236 go/math/cmplx/pow.go \
1237 go/math/cmplx/rect.go \
1238 go/math/cmplx/sin.go \
1239 go/math/cmplx/sqrt.go \
1240 go/math/cmplx/tan.go
1241 go_math_rand_files = \
1242 go/math/rand/exp.go \
1243 go/math/rand/normal.go \
1244 go/math/rand/rand.go \
1245 go/math/rand/rng.go \
1246 go/math/rand/zipf.go
1248 go_mime_multipart_files = \
1249 go/mime/multipart/formdata.go \
1250 go/mime/multipart/multipart.go \
1251 go/mime/multipart/writer.go
1253 go_net_http_files = \
1254 go/net/http/chunked.go \
1255 go/net/http/client.go \
1256 go/net/http/cookie.go \
1257 go/net/http/filetransport.go \
1259 go/net/http/header.go \
1260 go/net/http/jar.go \
1261 go/net/http/lex.go \
1262 go/net/http/request.go \
1263 go/net/http/response.go \
1264 go/net/http/server.go \
1265 go/net/http/sniff.go \
1266 go/net/http/status.go \
1267 go/net/http/transfer.go \
1268 go/net/http/transport.go
1269 go_net_mail_files = \
1270 go/net/mail/message.go
1271 go_net_smtp_files = \
1272 go/net/smtp/auth.go \
1274 go_net_textproto_files = \
1275 go/net/textproto/header.go \
1276 go/net/textproto/pipeline.go \
1277 go/net/textproto/reader.go \
1278 go/net/textproto/textproto.go \
1279 go/net/textproto/writer.go
1280 go_net_url_files = \
1283 go_net_http_cgi_files = \
1284 go/net/http/cgi/child.go \
1285 go/net/http/cgi/host.go
1286 go_net_http_fcgi_files = \
1287 go/net/http/fcgi/child.go \
1288 go/net/http/fcgi/fcgi.go
1289 go_net_http_httptest_files = \
1290 go/net/http/httptest/recorder.go \
1291 go/net/http/httptest/server.go
1292 go_net_http_pprof_files = \
1293 go/net/http/pprof/pprof.go
1294 go_net_http_httputil_files = \
1295 go/net/http/httputil/chunked.go \
1296 go/net/http/httputil/dump.go \
1297 go/net/http/httputil/persist.go \
1298 go/net/http/httputil/reverseproxy.go
1301 go_old_netchan_files = \
1302 go/old/netchan/common.go \
1303 go/old/netchan/export.go \
1304 go/old/netchan/import.go
1305 go_old_regexp_files = \
1306 go/old/regexp/regexp.go
1307 go_old_template_files = \
1308 go/old/template/doc.go \
1309 go/old/template/execute.go \
1310 go/old/template/format.go \
1311 go/old/template/parse.go
1313 go_os_exec_files = \
1314 go/os/exec/exec.go \
1315 go/os/exec/lp_unix.go
1317 go_os_signal_files = \
1318 go/os/signal/signal.go \
1319 go/os/signal/signal_unix.go
1321 go_os_user_files = \
1322 go/os/user/user.go \
1323 go/os/user/lookup_unix.go
1325 go_path_filepath_files = \
1326 go/path/filepath/match.go \
1327 go/path/filepath/path.go \
1328 go/path/filepath/path_unix.go \
1329 go/path/filepath/symlink.go
1331 go_regexp_syntax_files = \
1332 go/regexp/syntax/compile.go \
1333 go/regexp/syntax/parse.go \
1334 go/regexp/syntax/perl_groups.go \
1335 go/regexp/syntax/prog.go \
1336 go/regexp/syntax/regexp.go \
1337 go/regexp/syntax/simplify.go
1339 go_net_rpc_jsonrpc_files = \
1340 go/net/rpc/jsonrpc/client.go \
1341 go/net/rpc/jsonrpc/server.go
1343 go_runtime_debug_files = \
1344 go/runtime/debug/stack.go
1345 go_runtime_pprof_files = \
1346 go/runtime/pprof/pprof.go
1348 go_text_tabwriter_files = \
1349 go/text/tabwriter/tabwriter.go
1350 go_text_template_files = \
1351 go/text/template/doc.go \
1352 go/text/template/exec.go \
1353 go/text/template/funcs.go \
1354 go/text/template/helper.go \
1355 go/text/template/template.go
1356 go_text_template_parse_files = \
1357 go/text/template/parse/lex.go \
1358 go/text/template/parse/node.go \
1359 go/text/template/parse/parse.go
1361 go_sync_atomic_files = \
1362 go/sync/atomic/doc.go
1363 go_sync_atomic_c_files = \
1364 go/sync/atomic/atomic.c
1366 go_testing_iotest_files = \
1367 go/testing/iotest/logger.go \
1368 go/testing/iotest/reader.go \
1369 go/testing/iotest/writer.go
1370 go_testing_quick_files = \
1371 go/testing/quick/quick.go
1373 go_text_scanner_files = \
1374 go/text/scanner/scanner.go
1376 go_unicode_utf16_files = \
1377 go/unicode/utf16/utf16.go
1378 go_unicode_utf8_files = \
1379 go/unicode/utf8/utf8.go
1381 # Define Syscall and Syscall6.
1383 syscall_syscall_file = go/syscall/syscall_stubs.go
1385 syscall_syscall_file = go/syscall/syscall_unix.go
1388 # Define ForkExec and Exec.
1390 syscall_exec_file = go/syscall/exec_stubs.go
1391 syscall_exec_os_file =
1394 syscall_exec_file = go/syscall/exec_unix.go
1395 syscall_exec_os_file = go/syscall/exec_linux.go
1397 syscall_exec_file = go/syscall/exec_unix.go
1398 syscall_exec_os_file = go/syscall/exec_bsd.go
1407 syscall_wait_file = go/syscall/libcall_wait4.go
1409 syscall_wait_file = go/syscall/libcall_waitpid.go
1413 # Support for pulling apart wait status.
1415 syscall_wait_c_file =
1417 syscall_wait_c_file = go/syscall/wait.c
1422 syscall_sleep_file = go/syscall/sleep_rtems.go
1424 syscall_sleep_file = go/syscall/sleep_select.go
1429 syscall_errstr_file = go/syscall/errstr_linux.go
1432 syscall_errstr_file = go/syscall/errstr_linux.go
1435 syscall_errstr_file = go/syscall/errstr.go
1437 syscall_errstr_file = go/syscall/errstr_nor.go
1442 # Declare libc functions that vary for largefile systems.
1444 # Always use lseek64 on GNU/Linux.
1445 syscall_size_file = go/syscall/libcall_posix_largefile.go
1446 else # !LIBGO_IS_LINUX
1449 # Use lseek64 on 32-bit Solaris/x86.
1450 syscall_size_file = go/syscall/libcall_posix_largefile.go
1451 else # !LIBGO_IS_386
1453 # Use lseek64 on 32-bit Solaris/SPARC.
1454 syscall_size_file = go/syscall/libcall_posix_largefile.go
1455 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1456 # Use lseek on 64-bit Solaris.
1457 syscall_size_file = go/syscall/libcall_posix_regfile.go
1458 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1459 endif # !LIBGO_IS_SOLARIS
1460 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1461 # Use lseek by default.
1462 syscall_size_file = go/syscall/libcall_posix_regfile.go
1463 endif # !LIBGO_IS_SOLARIS
1464 endif # !LIBGO_IS_LINUX
1466 # Define socket sizes and types.
1468 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1471 syscall_socket_file = go/syscall/socket_solaris.go
1474 syscall_socket_file = go/syscall/socket_irix.go
1476 syscall_socket_file = go/syscall/socket_bsd.go
1481 # Support for uname.
1484 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1485 syscall_uname_file =
1486 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1487 syscall_uname_file = go/syscall/libcall_uname.go
1489 else # !LIBGO_IS_SOLARIS
1490 syscall_uname_file = go/syscall/libcall_uname.go
1493 # GNU/Linux specific socket control messages.
1495 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1497 syscall_sockcmsg_file =
1500 # Support for netlink sockets and messages.
1502 syscall_netlink_file = go/syscall/netlink_linux.go
1504 syscall_netlink_file =
1507 # GNU/Linux specific socket filters.
1509 syscall_lsf_file = go/syscall/lsf_linux.go
1514 go_base_syscall_files = \
1515 go/syscall/env_unix.go \
1516 go/syscall/syscall_errno.go \
1517 go/syscall/libcall_support.go \
1518 go/syscall/libcall_posix.go \
1519 go/syscall/socket.go \
1520 go/syscall/sockcmsg_unix.go \
1522 go/syscall/syscall.go \
1523 $(syscall_sockcmsg_file) \
1524 $(syscall_syscall_file) \
1525 $(syscall_exec_file) \
1526 $(syscall_exec_os_file) \
1527 $(syscall_wait_file) \
1528 $(syscall_sleep_file) \
1529 $(syscall_errstr_file) \
1530 $(syscall_size_file) \
1531 $(syscall_socket_file) \
1532 $(syscall_uname_file) \
1533 $(syscall_netlink_file) \
1534 $(syscall_lsf_file) \
1535 $(GO_LIBCALL_OS_FILE) \
1536 $(GO_LIBCALL_OS_ARCH_FILE) \
1537 $(GO_SYSCALL_OS_FILE) \
1538 $(GO_SYSCALL_OS_ARCH_FILE)
1540 go_syscall_files = \
1541 $(go_base_syscall_files) \
1545 go_syscall_c_files = \
1546 go/syscall/errno.c \
1547 go/syscall/signame.c \
1548 $(syscall_wait_c_file)
1550 libcalls.go: s-libcalls; @true
1551 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1552 rm -f libcalls.go.tmp
1553 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1554 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1555 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1558 syscall_arch.go: s-syscall_arch; @true
1559 s-syscall_arch: Makefile
1560 rm -f syscall_arch.go.tmp
1561 echo "package syscall" > syscall_arch.go.tmp
1562 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1563 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1564 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1567 sysinfo.go: s-sysinfo; @true
1568 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1569 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1570 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1573 # The epoll struct has an embedded union and is packed on x86_64,
1574 # which is too complicated for mksysinfo.sh. We find the offset of
1575 # the only field we care about in configure.ac, and generate the
1577 epoll.go: s-epoll; @true
1580 echo 'package syscall' > epoll.go.tmp
1581 echo 'type EpollEvent struct {' >> epoll.go.tmp
1582 echo ' Events uint32' >> epoll.go.tmp
1583 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1584 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1586 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1587 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1588 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1589 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1590 echo ' Fd int32' >> epoll.go.tmp; ;; \
1591 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1592 echo ' Fd int32' >> epoll.go.tmp; \
1593 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1594 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1597 echo '}' >> epoll.go.tmp
1598 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1602 # os_lib_inotify_lo = os/inotify.lo
1636 syscall/signame.lo \
1656 crypto/elliptic.lo \
1668 crypto/x509/pkix.lo \
1670 database/sql/driver.lo \
1676 encoding/ascii85.lo \
1678 encoding/base32.lo \
1679 encoding/base64.lo \
1680 encoding/binary.lo \
1708 net/http/httptest.lo \
1709 net/http/httputil.lo \
1716 index/suffixarray.lo \
1719 log/syslog/syslog_c.lo \
1734 $(os_lib_inotify_lo) \
1739 net/rpc/jsonrpc.lo \
1747 text/template/parse.lo \
1753 libgo_la_SOURCES = $(runtime_files)
1755 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1758 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1760 libgobegin_a_SOURCES = \
1763 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1765 GOCFLAGS = $(CFLAGS)
1766 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1767 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1769 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1770 $(AM_GOCFLAGS) $(GOCFLAGS)
1772 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1773 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1775 # Build the dependencies for a Go package.
1778 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1781 # Build the .go files for a package, generating a .lo file.
1784 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1785 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
1797 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1799 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1801 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1802 export RUNTESTFLAGS; \
1805 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1806 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1807 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1808 export LD_LIBRARY_PATH; \
1810 rm -f $@-testsum $@-testlog; \
1811 if test "$(use_dejagnu)" = "yes"; then \
1812 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS); \
1814 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 \
1815 echo "PASS: $(@D)" >> $@-testlog; \
1816 echo "PASS: $(@D)"; \
1817 echo "PASS: $(@D)" > $@-testsum; \
1819 echo "FAIL: $(@D)" >> $@-testlog; \
1821 echo "FAIL: $(@D)" > $@-testsum; \
1826 # Build all packages before checking any.
1827 CHECK_DEPS = libgo.la libgobegin.a \
1828 $(toolexeclibgo_DATA) \
1829 $(toolexeclibgoarchive_DATA) \
1830 $(toolexeclibgocompress_DATA) \
1831 $(toolexeclibgocontainer_DATA) \
1832 $(toolexeclibgocrypto_DATA) \
1833 $(toolexeclibgodebug_DATA) \
1834 $(toolexeclibgoencoding_DATA) \
1835 $(toolexeclibgoexp_DATA) \
1836 $(toolexeclibgogo_DATA) \
1837 $(toolexeclibgohash_DATA) \
1838 $(toolexeclibgoimage_DATA) \
1839 $(toolexeclibgoindex_DATA) \
1840 $(toolexeclibgoio_DATA) \
1841 $(toolexeclibgolog_DATA) \
1842 $(toolexeclibgomath_DATA) \
1843 $(toolexeclibgomime_DATA) \
1844 $(toolexeclibgonet_DATA) \
1845 $(toolexeclibgonethttp_DATA) \
1846 $(toolexeclibgoos_DATA) \
1847 $(toolexeclibgopath_DATA) \
1848 $(toolexeclibgorpc_DATA) \
1849 $(toolexeclibgoruntime_DATA) \
1850 $(toolexeclibgosync_DATA) \
1851 $(toolexeclibgotesting_DATA) \
1852 $(toolexeclibgotext_DATA) \
1853 $(toolexeclibgotexttemplate_DATA) \
1854 $(toolexeclibgounicode_DATA)
1856 @go_include@ bufio.lo.dep
1857 bufio.lo.dep: $(go_bufio_files)
1859 bufio.lo: $(go_bufio_files)
1861 bufio/check: $(CHECK_DEPS)
1865 @go_include@ bytes.lo.dep
1866 bytes.lo.dep: $(go_bytes_files)
1868 bytes.lo: $(go_bytes_files)
1870 bytes/index.lo: $(go_bytes_c_files)
1872 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1873 bytes/check: $(CHECK_DEPS)
1877 @go_include@ crypto.lo.dep
1878 crypto.lo.dep: $(go_crypto_files)
1880 crypto.lo: $(go_crypto_files)
1882 crypto/check: $(CHECK_DEPS)
1884 .PHONY: crypto/check
1886 @go_include@ errors.lo.dep
1887 errors.lo.dep: $(go_errors_files)
1889 errors.lo: $(go_errors_files)
1891 errors/check: $(CHECK_DEPS)
1893 .PHONY: errors/check
1895 @go_include@ expvar.lo.dep
1896 expvar.lo.dep: $(go_expvar_files)
1898 expvar.lo: $(go_expvar_files)
1900 expvar/check: $(CHECK_DEPS)
1902 .PHONY: expvar/check
1904 @go_include@ flag.lo.dep
1905 flag.lo.dep: $(go_flag_files)
1907 flag.lo: $(go_flag_files)
1909 flag/check: $(CHECK_DEPS)
1913 @go_include@ fmt.lo.dep
1914 fmt.lo.dep: $(go_fmt_files)
1916 fmt.lo: $(go_fmt_files)
1918 fmt/check: $(CHECK_DEPS)
1922 @go_include@ hash.lo.dep
1923 hash.lo.dep: $(go_hash_files)
1925 hash.lo: $(go_hash_files)
1927 hash/check: $(CHECK_DEPS)
1931 @go_include@ html.lo.dep
1932 html.lo.dep: $(go_html_files)
1934 html.lo: $(go_html_files)
1936 html/check: $(CHECK_DEPS)
1940 @go_include@ image.lo.dep
1941 image.lo.dep: $(go_image_files)
1943 image.lo: $(go_image_files)
1945 image/check: $(CHECK_DEPS)
1949 @go_include@ io.lo.dep
1950 io.lo.dep: $(go_io_files)
1952 io.lo: $(go_io_files)
1954 io/check: $(CHECK_DEPS)
1958 @go_include@ log.lo.dep
1959 log.lo.dep: $(go_log_files)
1961 log.lo: $(go_log_files)
1963 log/check: $(CHECK_DEPS)
1967 @go_include@ math.lo.dep
1968 math.lo.dep: $(go_math_files)
1970 math.lo: $(go_math_files)
1972 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1973 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
1974 math/check: $(CHECK_DEPS)
1978 @go_include@ mime.lo.dep
1979 mime.lo.dep: $(go_mime_files)
1981 mime.lo: $(go_mime_files)
1983 mime/check: $(CHECK_DEPS)
1987 @go_include@ net.lo.dep
1988 net.lo.dep: $(go_net_files)
1990 net.lo: $(go_net_files)
1992 net/check: $(CHECK_DEPS)
1996 @go_include@ os.lo.dep
1997 os.lo.dep: $(go_os_files)
1999 os.lo: $(go_os_files)
2001 os/check: $(CHECK_DEPS)
2005 @go_include@ path.lo.dep
2006 path.lo.dep: $(go_path_files)
2008 path.lo: $(go_path_files)
2010 path/check: $(CHECK_DEPS)
2014 @go_include@ reflect-go.lo.dep
2015 reflect-go.lo.dep: $(go_reflect_files)
2017 reflect-go.lo: $(go_reflect_files)
2019 reflect/check: $(CHECK_DEPS)
2021 .PHONY: reflect/check
2023 @go_include@ regexp.lo.dep
2024 regexp.lo.dep: $(go_regexp_files)
2026 regexp.lo: $(go_regexp_files)
2028 regexp/check: $(CHECK_DEPS)
2030 .PHONY: regexp/check
2032 @go_include@ runtime-go.lo.dep
2033 runtime-go.lo.dep: $(go_runtime_files)
2035 runtime-go.lo: $(go_runtime_files)
2037 runtime/check: $(CHECK_DEPS)
2039 .PHONY: runtime/check
2041 @go_include@ sort.lo.dep
2042 sort.lo.dep: $(go_sort_files)
2044 sort.lo: $(go_sort_files)
2046 sort/check: $(CHECK_DEPS)
2050 @go_include@ strconv.lo.dep
2051 strconv.lo.dep: $(go_strconv_files)
2053 strconv.lo: $(go_strconv_files)
2055 strconv/check: $(CHECK_DEPS)
2057 .PHONY: strconv/check
2059 @go_include@ strings.lo.dep
2060 strings.lo.dep: $(go_strings_files)
2062 strings.lo: $(go_strings_files)
2064 strings/check: $(CHECK_DEPS)
2066 .PHONY: strings/check
2068 @go_include@ sync.lo.dep
2069 sync.lo.dep: $(go_sync_files)
2071 sync.lo: $(go_sync_files)
2073 sync/check: $(CHECK_DEPS)
2077 @go_include@ testing.lo.dep
2078 testing.lo.dep: $(go_testing_files)
2080 testing.lo: $(go_testing_files)
2082 testing/check: $(CHECK_DEPS)
2084 .PHONY: testing/check
2086 @go_include@ time-go.lo.dep
2087 time-go.lo.dep: $(go_time_files)
2089 time-go.lo: $(go_time_files)
2091 time/check: $(CHECK_DEPS)
2095 @go_include@ unicode.lo.dep
2096 unicode.lo.dep: $(go_unicode_files)
2098 unicode.lo: $(go_unicode_files)
2100 unicode/check: $(CHECK_DEPS)
2102 .PHONY: unicode/check
2104 @go_include@ archive/tar.lo.dep
2105 archive/tar.lo.dep: $(go_archive_tar_files)
2107 archive/tar.lo: $(go_archive_tar_files)
2109 archive/tar/check: $(CHECK_DEPS)
2111 .PHONY: archive/tar/check
2113 @go_include@ archive/zip.lo.dep
2114 archive/zip.lo.dep: $(go_archive_zip_files)
2116 archive/zip.lo: $(go_archive_zip_files)
2118 archive/zip/check: $(CHECK_DEPS)
2120 .PHONY: archive/zip/check
2122 @go_include@ compress/bzip2.lo.dep
2123 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2125 compress/bzip2.lo: $(go_compress_bzip2_files)
2127 compress/bzip2/check: $(CHECK_DEPS)
2129 .PHONY: compress/bzip2/check
2131 @go_include@ compress/flate.lo.dep
2132 compress/flate.lo.dep: $(go_compress_flate_files)
2134 compress/flate.lo: $(go_compress_flate_files)
2136 compress/flate/check: $(CHECK_DEPS)
2138 .PHONY: compress/flate/check
2140 @go_include@ compress/gzip.lo.dep
2141 compress/gzip.lo.dep: $(go_compress_gzip_files)
2143 compress/gzip.lo: $(go_compress_gzip_files)
2145 compress/gzip/check: $(CHECK_DEPS)
2147 .PHONY: compress/gzip/check
2149 @go_include@ compress/lzw.lo.dep
2150 compress/lzw.lo.dep: $(go_compress_lzw_files)
2152 compress/lzw.lo: $(go_compress_lzw_files)
2154 compress/lzw/check: $(CHECK_DEPS)
2156 .PHONY: compress/lzw/check
2158 @go_include@ compress/zlib.lo.dep
2159 compress/zlib.lo.dep: $(go_compress_zlib_files)
2161 compress/zlib.lo: $(go_compress_zlib_files)
2163 compress/zlib/check: $(CHECK_DEPS)
2165 .PHONY: compress/zlib/check
2167 @go_include@ container/heap.lo.dep
2168 container/heap.lo.dep: $(go_container_heap_files)
2170 container/heap.lo: $(go_container_heap_files)
2172 container/heap/check: $(CHECK_DEPS)
2174 .PHONY: container/heap/check
2176 @go_include@ container/list.lo.dep
2177 container/list.lo.dep: $(go_container_list_files)
2179 container/list.lo: $(go_container_list_files)
2181 container/list/check: $(CHECK_DEPS)
2183 .PHONY: container/list/check
2185 @go_include@ container/ring.lo.dep
2186 container/ring.lo.dep: $(go_container_ring_files)
2188 container/ring.lo: $(go_container_ring_files)
2190 container/ring/check: $(CHECK_DEPS)
2192 .PHONY: container/ring/check
2194 @go_include@ crypto/aes.lo.dep
2195 crypto/aes.lo.dep: $(go_crypto_aes_files)
2197 crypto/aes.lo: $(go_crypto_aes_files)
2199 crypto/aes/check: $(CHECK_DEPS)
2201 .PHONY: crypto/aes/check
2203 @go_include@ crypto/cipher.lo.dep
2204 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2206 crypto/cipher.lo: $(go_crypto_cipher_files)
2208 crypto/cipher/check: $(CHECK_DEPS)
2210 .PHONY: crypto/cipher/check
2212 @go_include@ crypto/des.lo.dep
2213 crypto/des.lo.dep: $(go_crypto_des_files)
2215 crypto/des.lo: $(go_crypto_des_files)
2217 crypto/des/check: $(CHECK_DEPS)
2219 .PHONY: crypto/des/check
2221 @go_include@ crypto/dsa.lo.dep
2222 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2224 crypto/dsa.lo: $(go_crypto_dsa_files)
2226 crypto/dsa/check: $(CHECK_DEPS)
2228 .PHONY: crypto/dsa/check
2230 @go_include@ crypto/ecdsa.lo.dep
2231 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2233 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2235 crypto/ecdsa/check: $(CHECK_DEPS)
2237 .PHONY: crypto/ecdsa/check
2239 @go_include@ crypto/elliptic.lo.dep
2240 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2242 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2244 crypto/elliptic/check: $(CHECK_DEPS)
2246 .PHONY: crypto/elliptic/check
2248 @go_include@ crypto/hmac.lo.dep
2249 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2251 crypto/hmac.lo: $(go_crypto_hmac_files)
2253 crypto/hmac/check: $(CHECK_DEPS)
2255 .PHONY: crypto/hmac/check
2257 @go_include@ crypto/md5.lo.dep
2258 crypto/md5.lo.dep: $(go_crypto_md5_files)
2260 crypto/md5.lo: $(go_crypto_md5_files)
2262 crypto/md5/check: $(CHECK_DEPS)
2264 .PHONY: crypto/md5/check
2266 @go_include@ crypto/rand.lo.dep
2267 crypto/rand.lo.dep: $(go_crypto_rand_files)
2269 crypto/rand.lo: $(go_crypto_rand_files)
2271 crypto/rand/check: $(CHECK_DEPS)
2273 .PHONY: crypto/rand/check
2275 @go_include@ crypto/rc4.lo.dep
2276 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2278 crypto/rc4.lo: $(go_crypto_rc4_files)
2280 crypto/rc4/check: $(CHECK_DEPS)
2282 .PHONY: crypto/rc4/check
2284 @go_include@ crypto/rsa.lo.dep
2285 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2287 crypto/rsa.lo: $(go_crypto_rsa_files)
2289 crypto/rsa/check: $(CHECK_DEPS)
2291 .PHONY: crypto/rsa/check
2293 @go_include@ crypto/sha1.lo.dep
2294 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2296 crypto/sha1.lo: $(go_crypto_sha1_files)
2298 crypto/sha1/check: $(CHECK_DEPS)
2300 .PHONY: crypto/sha1/check
2302 @go_include@ crypto/sha256.lo.dep
2303 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2305 crypto/sha256.lo: $(go_crypto_sha256_files)
2307 crypto/sha256/check: $(CHECK_DEPS)
2309 .PHONY: crypto/sha256/check
2311 @go_include@ crypto/sha512.lo.dep
2312 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2314 crypto/sha512.lo: $(go_crypto_sha512_files)
2316 crypto/sha512/check: $(CHECK_DEPS)
2318 .PHONY: crypto/sha512/check
2320 @go_include@ crypto/subtle.lo.dep
2321 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2323 crypto/subtle.lo: $(go_crypto_subtle_files)
2325 crypto/subtle/check: $(CHECK_DEPS)
2327 .PHONY: crypto/subtle/check
2329 @go_include@ crypto/tls.lo.dep
2330 crypto/tls.lo.dep: $(go_crypto_tls_files)
2332 crypto/tls.lo: $(go_crypto_tls_files)
2334 crypto/tls/check: $(CHECK_DEPS)
2336 .PHONY: crypto/tls/check
2338 @go_include@ crypto/x509.lo.dep
2339 crypto/x509.lo.dep: $(go_crypto_x509_files)
2341 crypto/x509.lo: $(go_crypto_x509_files)
2343 crypto/x509/check: $(CHECK_DEPS)
2345 .PHONY: crypto/x509/check
2347 @go_include@ crypto/x509/pkix.lo.dep
2348 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2350 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2352 crypto/x509/pkix/check: $(CHECK_DEPS)
2354 .PHONY: crypto/x509/pkix/check
2356 @go_include@ database/sql.lo.dep
2357 database/sql.lo.dep: $(go_database_sql_files)
2359 database/sql.lo: $(go_database_sql_files)
2361 database/sql/check: $(CHECK_DEPS)
2363 .PHONY: database/sql/check
2365 @go_include@ database/sql/driver.lo.dep
2366 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2368 database/sql/driver.lo: $(go_database_sql_driver_files)
2370 database/sql/driver/check: $(CHECK_DEPS)
2372 .PHONY: database/sql/driver/check
2374 @go_include@ debug/dwarf.lo.dep
2375 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2377 debug/dwarf.lo: $(go_debug_dwarf_files)
2379 debug/dwarf/check: $(CHECK_DEPS)
2381 .PHONY: debug/dwarf/check
2383 @go_include@ debug/elf.lo.dep
2384 debug/elf.lo.dep: $(go_debug_elf_files)
2386 debug/elf.lo: $(go_debug_elf_files)
2388 debug/elf/check: $(CHECK_DEPS)
2390 .PHONY: debug/elf/check
2392 @go_include@ debug/gosym.lo.dep
2393 debug/gosym.lo.dep: $(go_debug_gosym_files)
2395 debug/gosym.lo: $(go_debug_gosym_files)
2397 debug/gosym/check: $(CHECK_DEPS)
2399 .PHONY: debug/gosym/check
2401 @go_include@ debug/macho.lo.dep
2402 debug/macho.lo.dep: $(go_debug_macho_files)
2404 debug/macho.lo: $(go_debug_macho_files)
2406 debug/macho/check: $(CHECK_DEPS)
2408 .PHONY: debug/macho/check
2410 @go_include@ debug/pe.lo.dep
2411 debug/pe.lo.dep: $(go_debug_pe_files)
2413 debug/pe.lo: $(go_debug_pe_files)
2415 debug/pe/check: $(CHECK_DEPS)
2417 .PHONY: debug/pe/check
2419 @go_include@ encoding/asn1.lo.dep
2420 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2422 encoding/asn1.lo: $(go_encoding_asn1_files)
2424 encoding/asn1/check: $(CHECK_DEPS)
2426 .PHONY: encoding/asn1/check
2428 @go_include@ encoding/ascii85.lo.dep
2429 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2431 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2433 encoding/ascii85/check: $(CHECK_DEPS)
2435 .PHONY: encoding/ascii85/check
2437 @go_include@ encoding/base32.lo.dep
2438 encoding/base32.lo.dep: $(go_encoding_base32_files)
2440 encoding/base32.lo: $(go_encoding_base32_files)
2442 encoding/base32/check: $(CHECK_DEPS)
2444 .PHONY: encoding/base32/check
2446 @go_include@ encoding/base64.lo.dep
2447 encoding/base64.lo.dep: $(go_encoding_base64_files)
2449 encoding/base64.lo: $(go_encoding_base64_files)
2451 encoding/base64/check: $(CHECK_DEPS)
2453 .PHONY: encoding/base64/check
2455 @go_include@ encoding/binary.lo.dep
2456 encoding/binary.lo.dep: $(go_encoding_binary_files)
2458 encoding/binary.lo: $(go_encoding_binary_files)
2460 encoding/binary/check: $(CHECK_DEPS)
2462 .PHONY: encoding/binary/check
2464 @go_include@ encoding/csv.lo.dep
2465 encoding/csv.lo.dep: $(go_encoding_csv_files)
2467 encoding/csv.lo: $(go_encoding_csv_files)
2469 encoding/csv/check: $(CHECK_DEPS)
2471 .PHONY: encoding/csv/check
2473 @go_include@ encoding/gob.lo.dep
2474 encoding/gob.lo.dep: $(go_encoding_gob_files)
2476 encoding/gob.lo: $(go_encoding_gob_files)
2478 encoding/gob/check: $(CHECK_DEPS)
2480 .PHONY: encoding/gob/check
2482 @go_include@ encoding/hex.lo.dep
2483 encoding/hex.lo.dep: $(go_encoding_hex_files)
2485 encoding/hex.lo: $(go_encoding_hex_files)
2487 encoding/hex/check: $(CHECK_DEPS)
2489 .PHONY: encoding/hex/check
2491 @go_include@ encoding/json.lo.dep
2492 encoding/json.lo.dep: $(go_encoding_json_files)
2494 encoding/json.lo: $(go_encoding_json_files)
2496 encoding/json/check: $(CHECK_DEPS)
2498 .PHONY: encoding/json/check
2500 @go_include@ encoding/pem.lo.dep
2501 encoding/pem.lo.dep: $(go_encoding_pem_files)
2503 encoding/pem.lo: $(go_encoding_pem_files)
2505 encoding/pem/check: $(CHECK_DEPS)
2507 .PHONY: encoding/pem/check
2509 @go_include@ encoding/xml.lo.dep
2510 encoding/xml.lo.dep: $(go_encoding_xml_files)
2512 encoding/xml.lo: $(go_encoding_xml_files)
2514 encoding/xml/check: $(CHECK_DEPS)
2516 .PHONY: encoding/xml/check
2518 @go_include@ exp/ebnf.lo.dep
2519 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2521 exp/ebnf.lo: $(go_exp_ebnf_files)
2523 exp/ebnf/check: $(CHECK_DEPS)
2525 .PHONY: exp/ebnf/check
2527 @go_include@ exp/html.lo.dep
2528 exp/html.lo.dep: $(go_exp_html_files)
2530 exp/html.lo: $(go_exp_html_files)
2532 exp/html/check: $(CHECK_DEPS)
2534 .PHONY: exp/html/check
2536 @go_include@ exp/norm.lo.dep
2537 exp/norm.lo.dep: $(go_exp_norm_files)
2539 exp/norm.lo: $(go_exp_norm_files)
2541 exp/norm/check: $(CHECK_DEPS)
2543 .PHONY: exp/norm/check
2545 @go_include@ exp/proxy.lo.dep
2546 exp/proxy.lo.dep: $(go_exp_proxy_files)
2548 exp/proxy.lo: $(go_exp_proxy_files)
2550 exp/proxy/check: $(CHECK_DEPS)
2552 .PHONY: exp/proxy/check
2554 @go_include@ exp/terminal.lo.dep
2555 exp/terminal.lo.dep: $(go_exp_terminal_files)
2557 exp/terminal.lo: $(go_exp_terminal_files)
2559 exp/terminal/check: $(CHECK_DEPS)
2561 .PHONY: exp/terminal/check
2563 @go_include@ exp/types.lo.dep
2564 exp/types.lo.dep: $(go_exp_types_files)
2566 exp/types.lo: $(go_exp_types_files)
2568 exp/types/check: $(CHECK_DEPS)
2570 .PHONY: exp/types/check
2572 @go_include@ exp/utf8string.lo.dep
2573 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2575 exp/utf8string.lo: $(go_exp_utf8string_files)
2577 exp/utf8string/check: $(CHECK_DEPS)
2579 .PHONY: exp/utf8string/check
2581 @go_include@ exp/inotify.lo.dep
2582 exp/inotify.lo.dep: $(go_exp_inotify_files)
2584 exp/inotify.lo: $(go_exp_inotify_files)
2586 exp/inotify/check: $(CHECK_DEPS)
2588 .PHONY: exp/inotify/check
2590 @go_include@ html/template.lo.dep
2591 html/template.lo.dep: $(go_html_template_files)
2593 html/template.lo: $(go_html_template_files)
2595 html/template/check: $(CHECK_DEPS)
2597 .PHONY: html/template/check
2599 @go_include@ go/ast.lo.dep
2600 go/ast.lo.dep: $(go_go_ast_files)
2602 go/ast.lo: $(go_go_ast_files)
2604 go/ast/check: $(CHECK_DEPS)
2606 .PHONY: go/ast/check
2608 @go_include@ go/build.lo.dep
2609 go/build.lo.dep: $(go_go_build_files)
2611 go/build.lo: $(go_go_build_files)
2613 go/build/check: $(CHECK_DEPS)
2615 .PHONY: go/build/check
2617 syslist.go: s-syslist; @true
2619 echo '// Generated automatically by make.' >syslist.go.tmp
2620 echo 'package build' >>syslist.go.tmp
2621 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2622 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2623 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2626 @go_include@ go/doc.lo.dep
2627 go/doc.lo.dep: $(go_go_doc_files)
2629 go/doc.lo: $(go_go_doc_files)
2631 go/doc/check: $(CHECK_DEPS)
2633 .PHONY: go/doc/check
2635 @go_include@ go/parser.lo.dep
2636 go/parser.lo.dep: $(go_go_parser_files)
2638 go/parser.lo: $(go_go_parser_files)
2640 go/parser/check: $(CHECK_DEPS)
2642 .PHONY: go/parser/check
2644 @go_include@ go/printer.lo.dep
2645 go/printer.lo.dep: $(go_go_printer_files)
2647 go/printer.lo: $(go_go_printer_files)
2649 go/printer/check: $(CHECK_DEPS)
2651 .PHONY: go/printer/check
2653 @go_include@ go/scanner.lo.dep
2654 go/scanner.lo.dep: $(go_go_scanner_files)
2656 go/scanner.lo: $(go_go_scanner_files)
2658 go/scanner/check: $(CHECK_DEPS)
2660 .PHONY: go/scanner/check
2662 @go_include@ go/token.lo.dep
2663 go/token.lo.dep: $(go_go_token_files)
2665 go/token.lo: $(go_go_token_files)
2667 go/token/check: $(CHECK_DEPS)
2669 .PHONY: go/token/check
2671 @go_include@ hash/adler32.lo.dep
2672 hash/adler32.lo.dep: $(go_hash_adler32_files)
2674 hash/adler32.lo: $(go_hash_adler32_files)
2676 hash/adler32/check: $(CHECK_DEPS)
2678 .PHONY: hash/adler32/check
2680 @go_include@ hash/crc32.lo.dep
2681 hash/crc32.lo.dep: $(go_hash_crc32_files)
2683 hash/crc32.lo: $(go_hash_crc32_files)
2685 hash/crc32/check: $(CHECK_DEPS)
2687 .PHONY: hash/crc32/check
2689 @go_include@ hash/crc64.lo.dep
2690 hash/crc64.lo.dep: $(go_hash_crc64_files)
2692 hash/crc64.lo: $(go_hash_crc64_files)
2694 hash/crc64/check: $(CHECK_DEPS)
2696 .PHONY: hash/crc64/check
2698 @go_include@ hash/fnv.lo.dep
2699 hash/fnv.lo.dep: $(go_hash_fnv_files)
2701 hash/fnv.lo: $(go_hash_fnv_files)
2703 hash/fnv/check: $(CHECK_DEPS)
2705 .PHONY: hash/fnv/check
2707 @go_include@ image/color.lo.dep
2708 image/color.lo.dep: $(go_image_color_files)
2710 image/color.lo: $(go_image_color_files)
2712 image/color/check: $(CHECK_DEPS)
2714 .PHONY: image/color/check
2716 @go_include@ image/draw.lo.dep
2717 image/draw.lo.dep: $(go_image_draw_files)
2719 image/draw.lo: $(go_image_draw_files)
2721 image/draw/check: $(CHECK_DEPS)
2723 .PHONY: image/draw/check
2725 @go_include@ image/gif.lo.dep
2726 image/gif.lo.dep: $(go_image_gif_files)
2728 image/gif.lo: $(go_image_gif_files)
2730 image/gif/check: $(CHECK_DEPS)
2732 .PHONY: image/gif/check
2734 @go_include@ image/jpeg.lo.dep
2735 image/jpeg.lo.dep: $(go_image_jpeg_files)
2737 image/jpeg.lo: $(go_image_jpeg_files)
2739 image/jpeg/check: $(CHECK_DEPS)
2741 .PHONY: image/jpeg/check
2743 @go_include@ image/png.lo.dep
2744 image/png.lo.dep: $(go_image_png_files)
2746 image/png.lo: $(go_image_png_files)
2748 image/png/check: $(CHECK_DEPS)
2750 .PHONY: image/png/check
2752 @go_include@ index/suffixarray.lo.dep
2753 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2755 index/suffixarray.lo: $(go_index_suffixarray_files)
2757 index/suffixarray/check: $(CHECK_DEPS)
2759 .PHONY: index/suffixarray/check
2761 @go_include@ io/ioutil.lo.dep
2762 io/ioutil.lo.dep: $(go_io_ioutil_files)
2764 io/ioutil.lo: $(go_io_ioutil_files)
2766 io/ioutil/check: $(CHECK_DEPS)
2768 .PHONY: io/ioutil/check
2770 @go_include@ log/syslog.lo.dep
2771 log/syslog.lo.dep: $(go_log_syslog_files)
2773 log/syslog.lo: $(go_log_syslog_files)
2775 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2776 @$(MKDIR_P) log/syslog
2777 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2778 log/syslog/check: $(CHECK_DEPS)
2780 .PHONY: log/syslog/check
2782 @go_include@ math/big.lo.dep
2783 math/big.lo.dep: $(go_math_big_files)
2785 math/big.lo: $(go_math_big_files)
2787 math/big/check: $(CHECK_DEPS)
2789 .PHONY: math/big/check
2791 @go_include@ math/cmplx.lo.dep
2792 math/cmplx.lo.dep: $(go_math_cmplx_files)
2794 math/cmplx.lo: $(go_math_cmplx_files)
2796 math/cmplx/check: $(CHECK_DEPS)
2798 .PHONY: math/cmplx/check
2800 @go_include@ math/rand.lo.dep
2801 math/rand.lo.dep: $(go_math_rand_files)
2803 math/rand.lo: $(go_math_rand_files)
2805 math/rand/check: $(CHECK_DEPS)
2807 .PHONY: math/rand/check
2809 @go_include@ mime/multipart.lo.dep
2810 mime/multipart.lo.dep: $(go_mime_multipart_files)
2812 mime/multipart.lo: $(go_mime_multipart_files)
2814 mime/multipart/check: $(CHECK_DEPS)
2816 .PHONY: mime/multipart/check
2818 @go_include@ net/http.lo.dep
2819 net/http.lo.dep: $(go_net_http_files)
2821 net/http.lo: $(go_net_http_files)
2823 net/http/check: $(CHECK_DEPS)
2825 .PHONY: net/http/check
2827 @go_include@ net/mail.lo.dep
2828 net/mail.lo.dep: $(go_net_mail_files)
2830 net/mail.lo: $(go_net_mail_files)
2832 net/mail/check: $(CHECK_DEPS)
2834 .PHONY: net/mail/check
2836 @go_include@ net/rpc.lo.dep
2837 net/rpc.lo.dep: $(go_net_rpc_files)
2839 net/rpc.lo: $(go_net_rpc_files)
2841 net/rpc/check: $(CHECK_DEPS)
2843 .PHONY: net/rpc/check
2845 @go_include@ net/smtp.lo.dep
2846 net/smtp.lo.dep: $(go_net_smtp_files)
2848 net/smtp.lo: $(go_net_smtp_files)
2850 net/smtp/check: $(CHECK_DEPS)
2852 .PHONY: net/smtp/check
2854 @go_include@ net/url.lo.dep
2855 net/url.lo.dep: $(go_net_url_files)
2857 net/url.lo: $(go_net_url_files)
2859 net/url/check: $(CHECK_DEPS)
2861 .PHONY: net/url/check
2863 @go_include@ net/textproto.lo.dep
2864 net/textproto.lo.dep: $(go_net_textproto_files)
2866 net/textproto.lo: $(go_net_textproto_files)
2868 net/textproto/check: $(CHECK_DEPS)
2870 .PHONY: net/textproto/check
2872 @go_include@ net/http/cgi.lo.dep
2873 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
2875 net/http/cgi.lo: $(go_net_http_cgi_files)
2877 net/http/cgi/check: $(CHECK_DEPS)
2879 .PHONY: net/http/cgi/check
2881 @go_include@ net/http/fcgi.lo.dep
2882 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
2884 net/http/fcgi.lo: $(go_net_http_fcgi_files)
2886 net/http/fcgi/check: $(CHECK_DEPS)
2888 .PHONY: net/http/fcgi/check
2890 @go_include@ net/http/httptest.lo.dep
2891 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
2893 net/http/httptest.lo: $(go_net_http_httptest_files)
2895 net/http/httptest/check: $(check_deps)
2897 .PHONY: net/http/httptest/check
2899 @go_include@ net/http/httputil.lo.dep
2900 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
2902 net/http/httputil.lo: $(go_net_http_httputil_files)
2904 net/http/httputil/check: $(check_deps)
2906 .PHONY: net/http/httputil/check
2908 @go_include@ net/http/pprof.lo.dep
2909 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
2911 net/http/pprof.lo: $(go_net_http_pprof_files)
2913 net/http/pprof/check: $(CHECK_DEPS)
2915 .PHONY: net/http/pprof/check
2917 @go_include@ net/rpc/jsonrpc.lo.dep
2918 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
2920 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
2922 net/rpc/jsonrpc/check: $(CHECK_DEPS)
2924 .PHONY: net/rpc/jsonrpc/check
2926 @go_include@ old/netchan.lo.dep
2927 old/netchan.lo.dep: $(go_old_netchan_files)
2929 old/netchan.lo: $(go_old_netchan_files)
2931 old/netchan/check: $(CHECK_DEPS)
2933 .PHONY: old/netchan/check
2935 @go_include@ old/regexp.lo.dep
2936 old/regexp.lo.dep: $(go_old_regexp_files)
2938 old/regexp.lo: $(go_old_regexp_files)
2940 old/regexp/check: $(CHECK_DEPS)
2942 .PHONY: old/regexp/check
2944 @go_include@ old/template.lo.dep
2945 old/template.lo.dep: $(go_old_template_files)
2947 old/template.lo: $(go_old_template_files)
2949 old/template/check: $(CHECK_DEPS)
2951 .PHONY: old/template/check
2953 @go_include@ os/exec.lo.dep
2954 os/exec.lo.dep: $(go_os_exec_files)
2956 os/exec.lo: $(go_os_exec_files)
2958 os/exec/check: $(CHECK_DEPS)
2960 .PHONY: os/exec/check
2962 @go_include@ os/signal.lo.dep
2963 os/signal.lo.dep: $(go_os_signal_files)
2965 os/signal.lo: $(go_os_signal_files)
2967 os/signal/check: $(CHECK_DEPS)
2969 .PHONY: os/signal/check
2971 @go_include@ os/user.lo.dep
2972 os/user.lo.dep: $(go_os_user_files)
2974 os/user.lo: $(go_os_user_files)
2976 os/user/check: $(CHECK_DEPS)
2978 .PHONY: os/user/check
2980 @go_include@ path/filepath.lo.dep
2981 path/filepath.lo.dep: $(go_path_filepath_files)
2983 path/filepath.lo: $(go_path_filepath_files)
2985 path/filepath/check: $(CHECK_DEPS)
2987 .PHONY: path/filepath/check
2989 @go_include@ regexp/syntax.lo.dep
2990 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
2992 regexp/syntax.lo: $(go_regexp_syntax_files)
2994 regexp/syntax/check: $(CHECK_DEPS)
2996 .PHONY: regexp/syntax/check
2998 @go_include@ runtime/debug.lo.dep
2999 runtime/debug.lo.dep: $(go_runtime_debug_files)
3001 runtime/debug.lo: $(go_runtime_debug_files)
3003 runtime/debug/check: $(CHECK_DEPS)
3005 .PHONY: runtime/debug/check
3007 @go_include@ runtime/pprof.lo.dep
3008 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3010 runtime/pprof.lo: $(go_runtime_pprof_files)
3012 runtime/pprof/check: $(CHECK_DEPS)
3014 .PHONY: runtime/pprof/check
3016 @go_include@ sync/atomic.lo.dep
3017 sync/atomic.lo.dep: $(go_sync_atomic_files)
3019 sync/atomic.lo: $(go_sync_atomic_files)
3021 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3022 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3023 sync/atomic/check: $(CHECK_DEPS)
3025 .PHONY: sync/atomic/check
3027 @go_include@ text/scanner.lo.dep
3028 text/scanner.lo.dep: $(go_text_scanner_files)
3030 text/scanner.lo: $(go_text_scanner_files)
3032 text/scanner/check: $(CHECK_DEPS)
3034 .PHONY: text/scanner/check
3036 @go_include@ text/tabwriter.lo.dep
3037 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3039 text/tabwriter.lo: $(go_text_tabwriter_files)
3041 text/tabwriter/check: $(CHECK_DEPS)
3043 .PHONY: text/tabwriter/check
3045 @go_include@ text/template.lo.dep
3046 text/template.lo.dep: $(go_text_template_files)
3048 text/template.lo: $(go_text_template_files)
3050 text/template/check: $(CHECK_DEPS)
3052 .PHONY: text/template/check
3054 @go_include@ text/template/parse.lo.dep
3055 text/template/parse.lo.dep: $(go_text_template_parse_files)
3057 text/template/parse.lo: $(go_text_template_parse_files)
3059 text/template/parse/check: $(CHECK_DEPS)
3061 .PHONY: text/template/parse/check
3063 @go_include@ testing/iotest.lo.dep
3064 testing/iotest.lo.dep: $(go_testing_iotest_files)
3066 testing/iotest.lo: $(go_testing_iotest_files)
3068 testing/iotest/check: $(CHECK_DEPS)
3070 .PHONY: testing/iotest/check
3072 @go_include@ testing/quick.lo.dep
3073 testing/quick.lo.dep: $(go_testing_quick_files)
3075 testing/quick.lo: $(go_testing_quick_files)
3077 testing/quick/check: $(CHECK_DEPS)
3079 .PHONY: testing/quick/check
3081 @go_include@ unicode/utf16.lo.dep
3082 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3084 unicode/utf16.lo: $(go_unicode_utf16_files)
3086 unicode/utf16/check: $(CHECK_DEPS)
3088 .PHONY: unicode/utf16/check
3090 @go_include@ unicode/utf8.lo.dep
3091 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3093 unicode/utf8.lo: $(go_unicode_utf8_files)
3095 unicode/utf8/check: $(CHECK_DEPS)
3097 .PHONY: unicode/utf8/check
3099 @go_include@ syscall.lo.dep
3100 syscall.lo.dep: $(go_syscall_files)
3102 syscall.lo: $(go_syscall_files)
3104 syscall/errno.lo: go/syscall/errno.c
3106 $(LTCOMPILE) -c -o $@ $<
3107 syscall/signame.lo: go/syscall/signame.c
3109 $(LTCOMPILE) -c -o $@ $<
3110 syscall/wait.lo: go/syscall/wait.c
3112 $(LTCOMPILE) -c -o $@ $<
3114 # How to build a .gox file from a .lo file.
3116 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3117 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3123 crypto.gox: crypto.lo
3125 errors.gox: errors.lo
3127 expvar.gox: expvar.lo
3153 reflect.gox: reflect-go.lo
3155 regexp.gox: regexp.lo
3157 runtime.gox: runtime-go.lo
3161 strconv.gox: strconv.lo
3163 strings.gox: strings.lo
3167 syscall.gox: syscall.lo
3169 testing.gox: testing.lo
3171 time.gox: time-go.lo
3173 unicode.gox: unicode.lo
3176 archive/tar.gox: archive/tar.lo
3178 archive/zip.gox: archive/zip.lo
3181 compress/bzip2.gox: compress/bzip2.lo
3183 compress/flate.gox: compress/flate.lo
3185 compress/gzip.gox: compress/gzip.lo
3187 compress/lzw.gox: compress/lzw.lo
3189 compress/zlib.gox: compress/zlib.lo
3192 container/heap.gox: container/heap.lo
3194 container/list.gox: container/list.lo
3196 container/ring.gox: container/ring.lo
3199 crypto/aes.gox: crypto/aes.lo
3201 crypto/cipher.gox: crypto/cipher.lo
3203 crypto/des.gox: crypto/des.lo
3205 crypto/dsa.gox: crypto/dsa.lo
3207 crypto/ecdsa.gox: crypto/ecdsa.lo
3209 crypto/elliptic.gox: crypto/elliptic.lo
3211 crypto/hmac.gox: crypto/hmac.lo
3213 crypto/md5.gox: crypto/md5.lo
3215 crypto/rand.gox: crypto/rand.lo
3217 crypto/rc4.gox: crypto/rc4.lo
3219 crypto/rsa.gox: crypto/rsa.lo
3221 crypto/sha1.gox: crypto/sha1.lo
3223 crypto/sha256.gox: crypto/sha256.lo
3225 crypto/sha512.gox: crypto/sha512.lo
3227 crypto/subtle.gox: crypto/subtle.lo
3229 crypto/tls.gox: crypto/tls.lo
3231 crypto/x509.gox: crypto/x509.lo
3234 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3237 database/sql.gox: database/sql.lo
3240 database/sql/driver.gox: database/sql/driver.lo
3243 debug/dwarf.gox: debug/dwarf.lo
3245 debug/elf.gox: debug/elf.lo
3247 debug/gosym.gox: debug/gosym.lo
3249 debug/macho.gox: debug/macho.lo
3251 debug/pe.gox: debug/pe.lo
3254 encoding/ascii85.gox: encoding/ascii85.lo
3256 encoding/asn1.gox: encoding/asn1.lo
3258 encoding/base32.gox: encoding/base32.lo
3260 encoding/base64.gox: encoding/base64.lo
3262 encoding/binary.gox: encoding/binary.lo
3264 encoding/csv.gox: encoding/csv.lo
3266 encoding/gob.gox: encoding/gob.lo
3268 encoding/hex.gox: encoding/hex.lo
3270 encoding/json.gox: encoding/json.lo
3272 encoding/pem.gox: encoding/pem.lo
3274 encoding/xml.gox: encoding/xml.lo
3277 exp/ebnf.gox: exp/ebnf.lo
3279 exp/html.gox: exp/html.lo
3281 exp/inotify.gox: exp/inotify.lo
3283 exp/norm.gox: exp/norm.lo
3285 exp/proxy.gox: exp/proxy.lo
3287 exp/terminal.gox: exp/terminal.lo
3289 exp/types.gox: exp/types.lo
3291 exp/utf8string.gox: exp/utf8string.lo
3294 html/template.gox: html/template.lo
3297 go/ast.gox: go/ast.lo
3299 go/build.gox: go/build.lo
3301 go/doc.gox: go/doc.lo
3303 go/parser.gox: go/parser.lo
3305 go/printer.gox: go/printer.lo
3307 go/scanner.gox: go/scanner.lo
3309 go/token.gox: go/token.lo
3312 hash/adler32.gox: hash/adler32.lo
3314 hash/crc32.gox: hash/crc32.lo
3316 hash/crc64.gox: hash/crc64.lo
3318 hash/fnv.gox: hash/fnv.lo
3321 image/color.gox: image/color.lo
3323 image/draw.gox: image/draw.lo
3325 image/gif.gox: image/gif.lo
3327 image/jpeg.gox: image/jpeg.lo
3329 image/png.gox: image/png.lo
3332 index/suffixarray.gox: index/suffixarray.lo
3335 io/ioutil.gox: io/ioutil.lo
3338 log/syslog.gox: log/syslog.lo
3341 math/big.gox: math/big.lo
3343 math/cmplx.gox: math/cmplx.lo
3345 math/rand.gox: math/rand.lo
3348 mime/multipart.gox: mime/multipart.lo
3351 net/http.gox: net/http.lo
3353 net/mail.gox: net/mail.lo
3355 net/rpc.gox: net/rpc.lo
3357 net/smtp.gox: net/smtp.lo
3359 net/textproto.gox: net/textproto.lo
3361 net/url.gox: net/url.lo
3364 net/http/cgi.gox: net/http/cgi.lo
3366 net/http/fcgi.gox: net/http/fcgi.lo
3368 net/http/httptest.gox: net/http/httptest.lo
3370 net/http/httputil.gox: net/http/httputil.lo
3372 net/http/pprof.gox: net/http/pprof.lo
3375 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3378 old/netchan.gox: old/netchan.lo
3380 old/regexp.gox: old/regexp.lo
3382 old/template.gox: old/template.lo
3385 os/exec.gox: os/exec.lo
3387 os/signal.gox: os/signal.lo
3389 os/user.gox: os/user.lo
3392 path/filepath.gox: path/filepath.lo
3395 regexp/syntax.gox: regexp/syntax.lo
3398 runtime/debug.gox: runtime/debug.lo
3400 runtime/pprof.gox: runtime/pprof.lo
3403 sync/atomic.gox: sync/atomic.lo
3406 text/scanner.gox: text/scanner.lo
3408 text/tabwriter.gox: text/tabwriter.lo
3410 text/template.gox: text/template.lo
3412 text/template/parse.gox: text/template/parse.lo
3415 testing/iotest.gox: testing/iotest.lo
3417 testing/quick.gox: testing/quick.lo
3420 unicode/utf16.gox: unicode/utf16.lo
3422 unicode/utf8.gox: unicode/utf8.lo
3426 # exp_inotify_check = exp/inotify/check
3459 compress/bzip2/check \
3460 compress/flate/check \
3461 compress/gzip/check \
3462 compress/lzw/check \
3463 compress/zlib/check \
3464 container/heap/check \
3465 container/list/check \
3466 container/ring/check \
3468 crypto/cipher/check \
3471 crypto/ecdsa/check \
3472 crypto/elliptic/check \
3479 crypto/sha256/check \
3480 crypto/sha512/check \
3481 crypto/subtle/check \
3484 database/sql/check \
3485 database/sql/driver/check \
3490 encoding/ascii85/check \
3491 encoding/asn1/check \
3492 encoding/base32/check \
3493 encoding/base64/check \
3494 encoding/binary/check \
3495 encoding/csv/check \
3496 encoding/gob/check \
3497 encoding/hex/check \
3498 encoding/json/check \
3499 encoding/pem/check \
3500 encoding/xml/check \
3503 $(exp_inotify_check) \
3506 exp/terminal/check \
3507 exp/utf8string/check \
3508 html/template/check \
3510 $(go_build_check_omitted_since_it_calls_6g) \
3516 $(go_types_check_omitted_since_it_calls_6g) \
3517 hash/adler32/check \
3525 index/suffixarray/check \
3531 mime/multipart/check \
3533 net/http/cgi/check \
3534 net/http/fcgi/check \
3535 net/http/httptest/check \
3536 net/http/httputil/check \
3540 net/textproto/check \
3542 net/rpc/jsonrpc/check \
3545 old/template/check \
3549 path/filepath/check \
3550 regexp/syntax/check \
3552 text/scanner/check \
3553 text/tabwriter/check \
3554 text/template/check \
3555 text/template/parse/check \
3556 testing/quick/check \
3557 unicode/utf16/check \
3561 check-recursive: check-head
3564 @echo "Test Run By $${USER} on `date`" > libgo.head
3565 @echo "Native configuration is $(host_triplet)" >> libgo.head
3567 @echo " === libgo tests ===" >> libgo.head
3570 check-tail: check-recursive check-multi
3571 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3572 for dir in . $(MULTIDIRS); do \
3573 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3574 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3576 mv libgo.head libgo.sum; \
3577 cp libgo.sum libgo.log; \
3578 echo "Schedule of variations:" >> libgo.sum; \
3579 for dir in . $(MULTIDIRS); do \
3580 multidir=../$${dir}/$${lib}; \
3581 multivar=`cat $${multidir}/libgo.var`; \
3582 echo " $${multivar}" >> libgo.sum; \
3584 echo >> libgo.sum; \
3585 pass=0; fail=0; untested=0; \
3586 for dir in . $(MULTIDIRS); do \
3587 multidir=../$${dir}/$${lib}; \
3588 multivar=`cat $${multidir}/libgo.var`; \
3589 echo "Running target $${multivar}" >> libgo.sum; \
3590 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3591 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3592 cat $${multidir}/libgo.log.sep >> libgo.log; \
3593 if test -n "${MULTIDIRS}"; then \
3594 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3595 echo >> libgo.sum; \
3597 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3598 pass=`expr $$pass + $$p`; \
3599 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3600 echo "# of expected passes $$p" >> libgo.sum; \
3602 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3603 fail=`expr $$fail + $$p`; \
3604 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3605 echo "# of unexpected failures $$p" >> libgo.sum; \
3607 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3608 untested=`expr $$untested + $$p`; \
3609 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3610 echo "# of untested testcases $$p" >> libgo.sum; \
3613 echo >> libgo.sum; \
3614 echo " === libgo Summary ===" >> libgo.sum; \
3615 echo >> libgo.sum; \
3616 if test "$$pass" -ne "0"; then \
3617 echo "# of expected passes $$pass" >> libgo.sum; \
3619 if test "$$fail" -ne "0"; then \
3620 echo "# of unexpected failures $$fail" >> libgo.sum; \
3622 if test "$$untested" -ne "0"; then \
3623 echo "# of untested testcases $$untested" >> libgo.sum; \
3625 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3626 echo >> libgo.log; \
3627 echo "runtest completed at `date`" >> libgo.log; \
3628 if test "$$fail" -ne "0"; then \
3636 @rm -f libgo.sum libgo.log libgo.tail
3638 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3639 echo "$${multivar}" > libgo.var
3640 @for f in $(TEST_PACKAGES); do \
3641 rm -f $$f-testsum $$f-testlog; \
3643 -@$(MAKE) -k $(TEST_PACKAGES)
3644 @for f in $(TEST_PACKAGES); do \
3645 if test -f $$f-testsum; then \
3646 cat $$f-testsum >> libgo.sum; \
3648 if test -f $$f-testlog; then \
3649 cat $$f-testlog >> libgo.log; \
3654 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3656 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3659 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3660 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3661 find . -name '*-testsum' -print | xargs rm -f
3662 find . -name '*-testlog' -print | xargs rm -f
3664 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3667 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3668 find . -name '*.a' -print | xargs rm -f