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 = \
233 toolexeclibgogodir = $(toolexeclibgodir)/go
235 toolexeclibgogo_DATA = \
244 toolexeclibgohashdir = $(toolexeclibgodir)/hash
246 toolexeclibgohash_DATA = \
252 toolexeclibgohtmldir = $(toolexeclibgodir)/html
254 toolexeclibgohtml_DATA = \
257 toolexeclibgoimagedir = $(toolexeclibgodir)/image
259 toolexeclibgoimage_DATA = \
266 toolexeclibgoindexdir = $(toolexeclibgodir)/index
268 toolexeclibgoindex_DATA = \
269 index/suffixarray.gox
271 toolexeclibgoiodir = $(toolexeclibgodir)/io
273 toolexeclibgoio_DATA = \
276 toolexeclibgologdir = $(toolexeclibgodir)/log
278 toolexeclibgolog_DATA = \
281 toolexeclibgomathdir = $(toolexeclibgodir)/math
283 toolexeclibgomath_DATA = \
288 toolexeclibgomimedir = $(toolexeclibgodir)/mime
290 toolexeclibgomime_DATA = \
293 toolexeclibgonetdir = $(toolexeclibgodir)/net
295 toolexeclibgonet_DATA = \
303 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
305 toolexeclibgonethttp_DATA = \
308 net/http/httptest.gox \
309 net/http/httputil.gox \
312 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
314 toolexeclibgonetrpc_DATA = \
317 toolexeclibgoolddir = $(toolexeclibgodir)/old
319 toolexeclibgoold_DATA = \
324 toolexeclibgoosdir = $(toolexeclibgodir)/os
326 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 = \
358 toolexeclibgotextdir = $(toolexeclibgodir)/text
360 toolexeclibgotext_DATA = \
365 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
367 toolexeclibgotexttemplate_DATA = \
368 text/template/parse.gox
370 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
372 toolexeclibgounicode_DATA = \
377 runtime_mem_file = runtime/mem.c
379 runtime_mem_file = runtime/mem_posix_memalign.c
383 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
385 rtems_task_variable_add_file =
389 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
391 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
395 runtime/go-append.c \
396 runtime/go-assert.c \
397 runtime/go-assert-interface.c \
398 runtime/go-byte-array-to-string.c \
399 runtime/go-breakpoint.c \
400 runtime/go-caller.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.c \
432 runtime/go-reflect-call.c \
433 runtime/go-reflect-map.c \
435 runtime/go-runtime-error.c \
436 runtime/go-setenv.c \
437 runtime/go-signal.c \
438 runtime/go-strcmp.c \
439 runtime/go-string-to-byte-array.c \
440 runtime/go-string-to-int-array.c \
441 runtime/go-strplus.c \
442 runtime/go-strslice.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-unreflect.c \
454 runtime/go-unsafe-new.c \
455 runtime/go-unsafe-newarray.c \
456 runtime/go-unsafe-pointer.c \
457 runtime/go-unwind.c \
460 $(runtime_lock_files) \
463 $(runtime_mem_file) \
465 runtime/mfixalloc.c \
473 $(rtems_task_variable_add_file) \
485 goc2c.$(OBJEXT): runtime/goc2c.c
486 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
488 goc2c: goc2c.$(OBJEXT)
489 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
491 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
492 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
495 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
496 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
499 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
500 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
503 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
504 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
507 sema.c: $(srcdir)/runtime/sema.goc goc2c
508 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
511 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
512 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
515 time.c: $(srcdir)/runtime/time.goc goc2c
516 ./goc2c --gcc --go-prefix libgo_time $< > $@.tmp
519 %.c: $(srcdir)/runtime/%.goc goc2c
520 ./goc2c --gcc $< > $@.tmp
529 go/bytes/bytes_decl.go
584 go/math/copysign.go \
604 go/math/nextafter.go \
607 go/math/remainder.go \
619 go/mime/mediatype.go \
624 go_net_fd_os_file = go/net/fd_select.go
625 go_net_newpollserver_file = go/net/newpollserver_rtems.go
626 else # !LIBGO_IS_RTEMS
628 go_net_fd_os_file = go/net/fd_linux.go
629 go_net_newpollserver_file = go/net/newpollserver.go
630 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
632 go_net_fd_os_file = go/net/fd_netbsd.go
633 go_net_newpollserver_file = go/net/newpollserver.go
634 else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
635 # By default use select with pipes. Most systems should have
637 go_net_fd_os_file = go/net/fd_select.go
638 go_net_newpollserver_file = go/net/newpollserver.go
639 endif # !LIBGO_IS_NETBSD
640 endif # !LIBGO_IS_LINUX
641 endif # !LIBGO_IS_RTEMS
644 go_net_cgo_file = go/net/cgo_linux.go
645 go_net_sock_file = go/net/sock_linux.go
646 go_net_sockopt_file = go/net/sockopt_linux.go
647 go_net_sockoptip_file = go/net/sockoptip_linux.go
650 go_net_cgo_file = go/net/cgo_linux.go
651 go_net_sock_file = go/net/sock_linux.go
652 go_net_sockopt_file = go/net/sockopt_linux.go
653 go_net_sockoptip_file = go/net/sockoptip_linux.go
656 go_net_cgo_file = go/net/cgo_linux.go
657 go_net_sock_file = go/net/sock_linux.go
658 go_net_sockopt_file = go/net/sockopt_linux.go
659 go_net_sockoptip_file = go/net/sockoptip_linux.go
661 go_net_cgo_file = go/net/cgo_bsd.go
662 go_net_sock_file = go/net/sock_bsd.go
663 go_net_sockopt_file = go/net/sockopt_bsd.go
664 go_net_sockoptip_file = go/net/sockoptip_bsd.go
670 go_net_sendfile_file = go/net/sendfile_linux.go
672 go_net_sendfile_file = go/net/sendfile_stub.go
676 go_net_interface_file = go/net/interface_linux.go
679 go_net_interface_file = go/net/interface_netbsd.go
681 go_net_interface_file = go/net/interface_stub.go
689 go/net/dnsclient.go \
690 go/net/dnsclient_unix.go \
691 go/net/dnsconfig.go \
694 $(go_net_newpollserver_file) \
696 $(go_net_fd_os_file) \
699 go/net/interface.go \
700 $(go_net_interface_file) \
702 go/net/iprawsock.go \
703 go/net/iprawsock_posix.go \
705 go/net/ipsock_posix.go \
706 go/net/lookup_unix.go \
711 $(go_net_sendfile_file) \
713 $(go_net_sock_file) \
715 $(go_net_sockopt_file) \
716 go/net/sockoptip.go \
717 $(go_net_sockoptip_file) \
719 go/net/tcpsock_posix.go \
721 go/net/udpsock_posix.go \
723 go/net/unixsock_posix.go
727 go_os_dir_file = go/os/dir_largefile.go
730 go_os_dir_file = go/os/dir_largefile.go
732 go_os_dir_file = go/os/dir_regfile.go
737 go_os_dir_file = go/os/dir_largefile.go
739 go_os_dir_file = go/os/dir_regfile.go
744 go_os_sys_file = go/os/sys_linux.go
747 go_os_sys_file = go/os/sys_uname.go
750 go_os_sys_file = go/os/sys_uname.go
753 go_os_sys_file = go/os/sys_uname.go
755 go_os_sys_file = go/os/sys_bsd.go
762 go_os_stat_file = go/os/stat_solaris.go
764 go_os_stat_file = go/os/stat.go
773 go/os/error_posix.go \
775 go/os/exec_posix.go \
778 go/os/file_posix.go \
796 go/reflect/deepequal.go \
805 go/net/rpc/client.go \
806 go/net/rpc/debug.go \
810 go/runtime/debug.go \
811 go/runtime/error.go \
812 go/runtime/extern.go \
815 go/runtime/softfloat64.go \
819 version.go: s-version; @true
822 echo "package runtime" > version.go.tmp
823 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
824 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
825 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
826 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
827 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
838 go/strconv/decimal.go \
839 go/strconv/extfloat.go \
845 go/strings/reader.go \
846 go/strings/replace.go \
847 go/strings/strings.go
857 go_syslog_file = go/log/syslog/syslog_libc.go
860 go_syslog_file = go/log/syslog/syslog_libc.go
862 go_syslog_file = go/log/syslog/syslog_unix.go
866 go_log_syslog_files = \
867 go/log/syslog/syslog.go \
869 go_syslog_c_files = \
870 go/log/syslog/syslog_c.c
873 go/testing/benchmark.go \
874 go/testing/example.go \
875 go/testing/testing.go
880 go/time/sys_unix.go \
883 go/time/zoneinfo.go \
884 go/time/zoneinfo_unix.go
887 go/unicode/casetables.go \
888 go/unicode/digit.go \
889 go/unicode/graphic.go \
890 go/unicode/letter.go \
894 go_archive_tar_files = \
895 go/archive/tar/common.go \
896 go/archive/tar/reader.go \
897 go/archive/tar/writer.go
899 go_archive_zip_files = \
900 go/archive/zip/reader.go \
901 go/archive/zip/struct.go \
902 go/archive/zip/writer.go
904 go_compress_bzip2_files = \
905 go/compress/bzip2/bit_reader.go \
906 go/compress/bzip2/bzip2.go \
907 go/compress/bzip2/huffman.go \
908 go/compress/bzip2/move_to_front.go
910 go_compress_flate_files = \
911 go/compress/flate/deflate.go \
912 go/compress/flate/huffman_bit_writer.go \
913 go/compress/flate/huffman_code.go \
914 go/compress/flate/inflate.go \
915 go/compress/flate/reverse_bits.go \
916 go/compress/flate/token.go
918 go_compress_gzip_files = \
919 go/compress/gzip/gzip.go \
920 go/compress/gzip/gunzip.go
922 go_compress_lzw_files = \
923 go/compress/lzw/reader.go \
924 go/compress/lzw/writer.go
926 go_compress_zlib_files = \
927 go/compress/zlib/reader.go \
928 go/compress/zlib/writer.go
930 go_container_heap_files = \
931 go/container/heap/heap.go
933 go_container_list_files = \
934 go/container/list/list.go
936 go_container_ring_files = \
937 go/container/ring/ring.go
939 go_crypto_aes_files = \
940 go/crypto/aes/block.go \
941 go/crypto/aes/cipher.go \
942 go/crypto/aes/const.go
943 go_crypto_cipher_files = \
944 go/crypto/cipher/cbc.go \
945 go/crypto/cipher/cfb.go \
946 go/crypto/cipher/cipher.go \
947 go/crypto/cipher/ctr.go \
948 go/crypto/cipher/io.go \
949 go/crypto/cipher/ofb.go
950 go_crypto_des_files = \
951 go/crypto/des/block.go \
952 go/crypto/des/cipher.go \
953 go/crypto/des/const.go
954 go_crypto_dsa_files = \
956 go_crypto_ecdsa_files = \
957 go/crypto/ecdsa/ecdsa.go
958 go_crypto_elliptic_files = \
959 go/crypto/elliptic/elliptic.go \
960 go/crypto/elliptic/p224.go
961 go_crypto_hmac_files = \
962 go/crypto/hmac/hmac.go
963 go_crypto_md5_files = \
964 go/crypto/md5/md5.go \
965 go/crypto/md5/md5block.go
966 go_crypto_rand_files = \
967 go/crypto/rand/rand.go \
968 go/crypto/rand/rand_unix.go \
969 go/crypto/rand/util.go
970 go_crypto_rc4_files = \
972 go_crypto_rsa_files = \
973 go/crypto/rsa/pkcs1v15.go \
975 go_crypto_sha1_files = \
976 go/crypto/sha1/sha1.go \
977 go/crypto/sha1/sha1block.go
978 go_crypto_sha256_files = \
979 go/crypto/sha256/sha256.go \
980 go/crypto/sha256/sha256block.go
981 go_crypto_sha512_files = \
982 go/crypto/sha512/sha512.go \
983 go/crypto/sha512/sha512block.go
984 go_crypto_subtle_files = \
985 go/crypto/subtle/constant_time.go
986 go_crypto_tls_files = \
987 go/crypto/tls/alert.go \
988 go/crypto/tls/cipher_suites.go \
989 go/crypto/tls/common.go \
990 go/crypto/tls/conn.go \
991 go/crypto/tls/handshake_client.go \
992 go/crypto/tls/handshake_messages.go \
993 go/crypto/tls/handshake_server.go \
994 go/crypto/tls/key_agreement.go \
995 go/crypto/tls/prf.go \
996 go/crypto/tls/root_unix.go \
998 go_crypto_x509_files = \
999 go/crypto/x509/cert_pool.go \
1000 go/crypto/x509/pkcs1.go \
1001 go/crypto/x509/pkcs8.go \
1002 go/crypto/x509/verify.go \
1003 go/crypto/x509/x509.go
1005 go_crypto_x509_pkix_files = \
1006 go/crypto/x509/pkix/pkix.go
1008 go_database_sql_files = \
1009 go/database/sql/convert.go \
1010 go/database/sql/sql.go
1012 go_database_sql_driver_files = \
1013 go/database/sql/driver/driver.go \
1014 go/database/sql/driver/types.go
1016 go_debug_dwarf_files = \
1017 go/debug/dwarf/buf.go \
1018 go/debug/dwarf/const.go \
1019 go/debug/dwarf/entry.go \
1020 go/debug/dwarf/open.go \
1021 go/debug/dwarf/type.go \
1022 go/debug/dwarf/unit.go
1023 go_debug_elf_files = \
1024 go/debug/elf/elf.go \
1025 go/debug/elf/file.go
1026 go_debug_gosym_files = \
1027 go/debug/gosym/pclntab.go \
1028 go/debug/gosym/symtab.go
1029 go_debug_macho_files = \
1030 go/debug/macho/file.go \
1031 go/debug/macho/macho.go
1032 go_debug_pe_files = \
1033 go/debug/pe/file.go \
1036 go_encoding_ascii85_files = \
1037 go/encoding/ascii85/ascii85.go
1038 go_encoding_asn1_files = \
1039 go/encoding/asn1/asn1.go \
1040 go/encoding/asn1/common.go \
1041 go/encoding/asn1/marshal.go
1042 go_encoding_base32_files = \
1043 go/encoding/base32/base32.go
1044 go_encoding_base64_files = \
1045 go/encoding/base64/base64.go
1046 go_encoding_binary_files = \
1047 go/encoding/binary/binary.go \
1048 go/encoding/binary/varint.go
1049 go_encoding_csv_files = \
1050 go/encoding/csv/reader.go \
1051 go/encoding/csv/writer.go
1052 go_encoding_gob_files = \
1053 go/encoding/gob/decode.go \
1054 go/encoding/gob/decoder.go \
1055 go/encoding/gob/doc.go \
1056 go/encoding/gob/encode.go \
1057 go/encoding/gob/encoder.go \
1058 go/encoding/gob/error.go \
1059 go/encoding/gob/type.go
1060 go_encoding_hex_files = \
1061 go/encoding/hex/hex.go
1062 go_encoding_json_files = \
1063 go/encoding/json/decode.go \
1064 go/encoding/json/encode.go \
1065 go/encoding/json/indent.go \
1066 go/encoding/json/scanner.go \
1067 go/encoding/json/stream.go \
1068 go/encoding/json/tags.go
1069 go_encoding_pem_files = \
1070 go/encoding/pem/pem.go
1071 go_encoding_xml_files = \
1072 go/encoding/xml/marshal.go \
1073 go/encoding/xml/read.go \
1074 go/encoding/xml/typeinfo.go \
1075 go/encoding/xml/xml.go
1077 go_exp_ebnf_files = \
1078 go/exp/ebnf/ebnf.go \
1079 go/exp/ebnf/parser.go
1080 go_exp_html_files = \
1081 go/exp/html/const.go \
1082 go/exp/html/doc.go \
1083 go/exp/html/doctype.go \
1084 go/exp/html/entity.go \
1085 go/exp/html/escape.go \
1086 go/exp/html/foreign.go \
1087 go/exp/html/node.go \
1088 go/exp/html/parse.go \
1089 go/exp/html/render.go \
1090 go/exp/html/token.go
1091 go_exp_inotify_files = \
1092 go/exp/inotify/inotify_linux.go
1093 go_exp_norm_files = \
1094 go/exp/norm/composition.go \
1095 go/exp/norm/forminfo.go \
1096 go/exp/norm/input.go \
1097 go/exp/norm/normalize.go \
1098 go/exp/norm/readwriter.go \
1099 go/exp/norm/tables.go \
1101 go_exp_proxy_files = \
1102 go/exp/proxy/direct.go \
1103 go/exp/proxy/per_host.go \
1104 go/exp/proxy/proxy.go \
1105 go/exp/proxy/socks5.go
1106 go_exp_signal_files = \
1107 go/exp/signal/signal.go
1108 go_exp_terminal_files = \
1109 go/exp/terminal/terminal.go \
1110 go/exp/terminal/util.go
1111 go_exp_types_files = \
1112 go/exp/types/check.go \
1113 go/exp/types/const.go \
1114 go/exp/types/exportdata.go \
1115 go/exp/types/gcimporter.go \
1116 go/exp/types/types.go \
1117 go/exp/types/universe.go
1118 go_exp_utf8string_files = \
1119 go/exp/utf8string/string.go
1123 go/go/ast/filter.go \
1124 go/go/ast/import.go \
1125 go/go/ast/print.go \
1126 go/go/ast/resolve.go \
1127 go/go/ast/scope.go \
1129 go_go_build_files = \
1130 go/go/build/build.go \
1131 go/go/build/dir.go \
1132 go/go/build/path.go \
1135 go/go/doc/comment.go \
1137 go/go/doc/example.go \
1138 go/go/doc/exports.go \
1139 go/go/doc/filter.go \
1141 go_go_parser_files = \
1142 go/go/parser/interface.go \
1143 go/go/parser/parser.go
1144 go_go_printer_files = \
1145 go/go/printer/nodes.go \
1146 go/go/printer/printer.go
1147 go_go_scanner_files = \
1148 go/go/scanner/errors.go \
1149 go/go/scanner/scanner.go
1150 go_go_token_files = \
1151 go/go/token/position.go \
1152 go/go/token/serialize.go \
1153 go/go/token/token.go
1155 go_hash_adler32_files = \
1156 go/hash/adler32/adler32.go
1157 go_hash_crc32_files = \
1158 go/hash/crc32/crc32.go \
1159 go/hash/crc32/crc32_generic.go
1160 go_hash_crc64_files = \
1161 go/hash/crc64/crc64.go
1162 go_hash_fnv_files = \
1165 go_html_template_files = \
1166 go/html/template/attr.go \
1167 go/html/template/clone.go \
1168 go/html/template/content.go \
1169 go/html/template/context.go \
1170 go/html/template/css.go \
1171 go/html/template/doc.go \
1172 go/html/template/error.go \
1173 go/html/template/escape.go \
1174 go/html/template/html.go \
1175 go/html/template/js.go \
1176 go/html/template/template.go \
1177 go/html/template/transition.go \
1178 go/html/template/url.go
1180 go_image_color_files = \
1181 go/image/color/color.go \
1182 go/image/color/ycbcr.go
1184 go_image_draw_files = \
1185 go/image/draw/draw.go
1187 go_image_gif_files = \
1188 go/image/gif/reader.go
1190 go_image_jpeg_files = \
1191 go/image/jpeg/fdct.go \
1192 go/image/jpeg/huffman.go \
1193 go/image/jpeg/idct.go \
1194 go/image/jpeg/reader.go \
1195 go/image/jpeg/writer.go
1197 go_image_png_files = \
1198 go/image/png/reader.go \
1199 go/image/png/writer.go
1201 go_index_suffixarray_files = \
1202 go/index/suffixarray/qsufsort.go \
1203 go/index/suffixarray/suffixarray.go
1205 go_io_ioutil_files = \
1206 go/io/ioutil/ioutil.go \
1207 go/io/ioutil/tempfile.go
1209 go_math_big_files = \
1210 go/math/big/arith.go \
1211 go/math/big/int.go \
1212 go/math/big/nat.go \
1214 go_math_cmplx_files = \
1215 go/math/cmplx/abs.go \
1216 go/math/cmplx/asin.go \
1217 go/math/cmplx/conj.go \
1218 go/math/cmplx/exp.go \
1219 go/math/cmplx/isinf.go \
1220 go/math/cmplx/isnan.go \
1221 go/math/cmplx/log.go \
1222 go/math/cmplx/phase.go \
1223 go/math/cmplx/polar.go \
1224 go/math/cmplx/pow.go \
1225 go/math/cmplx/rect.go \
1226 go/math/cmplx/sin.go \
1227 go/math/cmplx/sqrt.go \
1228 go/math/cmplx/tan.go
1229 go_math_rand_files = \
1230 go/math/rand/exp.go \
1231 go/math/rand/normal.go \
1232 go/math/rand/rand.go \
1233 go/math/rand/rng.go \
1234 go/math/rand/zipf.go
1236 go_mime_multipart_files = \
1237 go/mime/multipart/formdata.go \
1238 go/mime/multipart/multipart.go \
1239 go/mime/multipart/writer.go
1241 go_net_http_files = \
1242 go/net/http/chunked.go \
1243 go/net/http/client.go \
1244 go/net/http/cookie.go \
1245 go/net/http/filetransport.go \
1247 go/net/http/header.go \
1248 go/net/http/jar.go \
1249 go/net/http/lex.go \
1250 go/net/http/request.go \
1251 go/net/http/response.go \
1252 go/net/http/server.go \
1253 go/net/http/sniff.go \
1254 go/net/http/status.go \
1255 go/net/http/transfer.go \
1256 go/net/http/transport.go
1257 go_net_mail_files = \
1258 go/net/mail/message.go
1259 go_net_smtp_files = \
1260 go/net/smtp/auth.go \
1262 go_net_textproto_files = \
1263 go/net/textproto/header.go \
1264 go/net/textproto/pipeline.go \
1265 go/net/textproto/reader.go \
1266 go/net/textproto/textproto.go \
1267 go/net/textproto/writer.go
1268 go_net_url_files = \
1271 go_net_http_cgi_files = \
1272 go/net/http/cgi/child.go \
1273 go/net/http/cgi/host.go
1274 go_net_http_fcgi_files = \
1275 go/net/http/fcgi/child.go \
1276 go/net/http/fcgi/fcgi.go
1277 go_net_http_httptest_files = \
1278 go/net/http/httptest/recorder.go \
1279 go/net/http/httptest/server.go
1280 go_net_http_pprof_files = \
1281 go/net/http/pprof/pprof.go
1282 go_net_http_httputil_files = \
1283 go/net/http/httputil/chunked.go \
1284 go/net/http/httputil/dump.go \
1285 go/net/http/httputil/persist.go \
1286 go/net/http/httputil/reverseproxy.go
1289 go_old_netchan_files = \
1290 go/old/netchan/common.go \
1291 go/old/netchan/export.go \
1292 go/old/netchan/import.go
1293 go_old_regexp_files = \
1294 go/old/regexp/regexp.go
1295 go_old_template_files = \
1296 go/old/template/doc.go \
1297 go/old/template/execute.go \
1298 go/old/template/format.go \
1299 go/old/template/parse.go
1301 go_os_exec_files = \
1302 go/os/exec/exec.go \
1303 go/os/exec/lp_unix.go
1305 go_os_user_files = \
1306 go/os/user/user.go \
1307 go/os/user/lookup_unix.go
1309 go_path_filepath_files = \
1310 go/path/filepath/match.go \
1311 go/path/filepath/path.go \
1312 go/path/filepath/path_unix.go
1314 go_regexp_syntax_files = \
1315 go/regexp/syntax/compile.go \
1316 go/regexp/syntax/parse.go \
1317 go/regexp/syntax/perl_groups.go \
1318 go/regexp/syntax/prog.go \
1319 go/regexp/syntax/regexp.go \
1320 go/regexp/syntax/simplify.go
1322 go_net_rpc_jsonrpc_files = \
1323 go/net/rpc/jsonrpc/client.go \
1324 go/net/rpc/jsonrpc/server.go
1326 go_runtime_debug_files = \
1327 go/runtime/debug/stack.go
1328 go_runtime_pprof_files = \
1329 go/runtime/pprof/pprof.go
1331 go_text_tabwriter_files = \
1332 go/text/tabwriter/tabwriter.go
1333 go_text_template_files = \
1334 go/text/template/doc.go \
1335 go/text/template/exec.go \
1336 go/text/template/funcs.go \
1337 go/text/template/helper.go \
1338 go/text/template/template.go
1339 go_text_template_parse_files = \
1340 go/text/template/parse/lex.go \
1341 go/text/template/parse/node.go \
1342 go/text/template/parse/parse.go
1344 go_sync_atomic_files = \
1345 go/sync/atomic/doc.go
1346 go_sync_atomic_c_files = \
1347 go/sync/atomic/atomic.c
1349 go_testing_iotest_files = \
1350 go/testing/iotest/logger.go \
1351 go/testing/iotest/reader.go \
1352 go/testing/iotest/writer.go
1353 go_testing_quick_files = \
1354 go/testing/quick/quick.go
1355 go_testing_script_files = \
1356 go/testing/script/script.go
1358 go_text_scanner_files = \
1359 go/text/scanner/scanner.go
1361 go_unicode_utf16_files = \
1362 go/unicode/utf16/utf16.go
1363 go_unicode_utf8_files = \
1364 go/unicode/utf8/utf8.go
1366 # Define Syscall and Syscall6.
1368 syscall_syscall_file = go/syscall/syscall_stubs.go
1370 syscall_syscall_file = go/syscall/syscall_unix.go
1373 # Define ForkExec and Exec.
1375 syscall_exec_file = go/syscall/exec_stubs.go
1376 syscall_exec_os_file =
1379 syscall_exec_file = go/syscall/exec_unix.go
1380 syscall_exec_os_file = go/syscall/exec_linux.go
1382 syscall_exec_file = go/syscall/exec_unix.go
1383 syscall_exec_os_file = go/syscall/exec_bsd.go
1392 syscall_wait_file = go/syscall/libcall_wait4.go
1394 syscall_wait_file = go/syscall/libcall_waitpid.go
1398 # Support for pulling apart wait status.
1400 syscall_wait_c_file =
1402 syscall_wait_c_file = go/syscall/wait.c
1407 syscall_sleep_file = go/syscall/sleep_rtems.go
1409 syscall_sleep_file = go/syscall/sleep_select.go
1414 syscall_errstr_file = go/syscall/errstr_linux.go
1417 syscall_errstr_file = go/syscall/errstr_linux.go
1420 syscall_errstr_file = go/syscall/errstr.go
1422 syscall_errstr_file = go/syscall/errstr_nor.go
1427 # Declare libc functions that vary for largefile systems.
1429 # Always use lseek64 on GNU/Linux.
1430 syscall_size_file = go/syscall/libcall_posix_largefile.go
1431 else # !LIBGO_IS_LINUX
1434 # Use lseek64 on 32-bit Solaris/x86.
1435 syscall_size_file = go/syscall/libcall_posix_largefile.go
1436 else # !LIBGO_IS_386
1438 # Use lseek64 on 32-bit Solaris/SPARC.
1439 syscall_size_file = go/syscall/libcall_posix_largefile.go
1440 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1441 # Use lseek on 64-bit Solaris.
1442 syscall_size_file = go/syscall/libcall_posix_regfile.go
1443 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1444 endif # !LIBGO_IS_SOLARIS
1445 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1446 # Use lseek by default.
1447 syscall_size_file = go/syscall/libcall_posix_regfile.go
1448 endif # !LIBGO_IS_SOLARIS
1449 endif # !LIBGO_IS_LINUX
1451 # Define socket sizes and types.
1453 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1456 syscall_socket_file = go/syscall/socket_solaris.go
1459 syscall_socket_file = go/syscall/socket_irix.go
1461 syscall_socket_file = go/syscall/socket_bsd.go
1466 # Support for uname.
1469 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1470 syscall_uname_file =
1471 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1472 syscall_uname_file = go/syscall/libcall_uname.go
1474 else # !LIBGO_IS_SOLARIS
1475 syscall_uname_file = go/syscall/libcall_uname.go
1478 # GNU/Linux specific socket control messages.
1480 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1482 syscall_sockcmsg_file =
1485 # Support for netlink sockets and messages.
1487 syscall_netlink_file = go/syscall/netlink_linux.go
1489 syscall_netlink_file =
1492 # GNU/Linux specific socket filters.
1494 syscall_lsf_file = go/syscall/lsf_linux.go
1499 go_base_syscall_files = \
1500 go/syscall/env_unix.go \
1501 go/syscall/syscall_errno.go \
1502 go/syscall/libcall_support.go \
1503 go/syscall/libcall_posix.go \
1504 go/syscall/socket.go \
1505 go/syscall/sockcmsg_unix.go \
1507 go/syscall/syscall.go \
1508 $(syscall_sockcmsg_file) \
1509 $(syscall_syscall_file) \
1510 $(syscall_exec_file) \
1511 $(syscall_exec_os_file) \
1512 $(syscall_wait_file) \
1513 $(syscall_sleep_file) \
1514 $(syscall_errstr_file) \
1515 $(syscall_size_file) \
1516 $(syscall_socket_file) \
1517 $(syscall_uname_file) \
1518 $(syscall_netlink_file) \
1519 $(syscall_lsf_file) \
1520 $(GO_LIBCALL_OS_FILE) \
1521 $(GO_LIBCALL_OS_ARCH_FILE) \
1522 $(GO_SYSCALL_OS_FILE) \
1523 $(GO_SYSCALL_OS_ARCH_FILE)
1525 go_syscall_files = \
1526 $(go_base_syscall_files) \
1530 go_syscall_c_files = \
1531 go/syscall/errno.c \
1532 $(syscall_wait_c_file)
1534 libcalls.go: s-libcalls; @true
1535 s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1536 rm -f libcalls.go.tmp
1537 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1538 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1539 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1542 syscall_arch.go: s-syscall_arch; @true
1543 s-syscall_arch: Makefile
1544 rm -f syscall_arch.go.tmp
1545 echo "package syscall" > syscall_arch.go.tmp
1546 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1547 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1548 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1551 sysinfo.go: s-sysinfo; @true
1552 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1553 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1554 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1557 # The epoll struct has an embedded union and is packed on x86_64,
1558 # which is too complicated for mksysinfo.sh. We find the offset of
1559 # the only field we care about in configure.ac, and generate the
1561 epoll.go: s-epoll; @true
1564 echo 'package syscall' > epoll.go.tmp
1565 echo 'type EpollEvent struct {' >> epoll.go.tmp
1566 echo ' Events uint32' >> epoll.go.tmp
1567 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1568 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1570 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1571 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1572 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1573 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1574 echo ' Fd int32' >> epoll.go.tmp; ;; \
1575 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1576 echo ' Fd int32' >> epoll.go.tmp; \
1577 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1578 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1581 echo '}' >> epoll.go.tmp
1582 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1586 # os_lib_inotify_lo = os/inotify.lo
1611 reflect/reflect.lo \
1613 runtime/runtime.lo \
1615 strconv/strconv.lo \
1616 strings/strings.lo \
1619 unicode/unicode.lo \
1635 crypto/elliptic.lo \
1647 crypto/x509/pkix.lo \
1649 database/sql/driver.lo \
1655 encoding/ascii85.lo \
1657 encoding/base32.lo \
1658 encoding/base64.lo \
1659 encoding/binary.lo \
1688 net/http/httptest.lo \
1689 net/http/httputil.lo \
1696 index/suffixarray.lo \
1699 log/syslog/syslog_c.lo \
1714 $(os_lib_inotify_lo) \
1718 net/rpc/jsonrpc.lo \
1723 syscall/syscall.lo \
1729 text/template/parse.lo \
1730 testing/testing.lo \
1737 libgo_la_SOURCES = $(runtime_files)
1739 libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1742 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1744 libgobegin_a_SOURCES = \
1747 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1749 GOCFLAGS = $(CFLAGS)
1750 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1751 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1753 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1754 $(AM_GOCFLAGS) $(GOCFLAGS)
1756 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1757 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1759 # Build the dependencies for a Go package.
1762 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1765 # Build the .go files for a package, generating a .lo file.
1768 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1769 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1781 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
1783 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1785 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1786 export RUNTESTFLAGS; \
1789 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1790 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1791 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1792 export LD_LIBRARY_PATH; \
1793 rm -f $@-testsum $@-testlog; \
1794 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1795 test "$${prefix}" != "." || prefix="$(@D)"; \
1796 if test "$(use_dejagnu)" = "yes"; then \
1797 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
1799 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
1800 echo "PASS: $(@D)" >> $@-testlog; \
1801 echo "PASS: $(@D)"; \
1802 echo "PASS: $(@D)" > $@-testsum; \
1804 echo "FAIL: $(@D)" >> $@-testlog; \
1806 echo "FAIL: $(@D)" > $@-testsum; \
1811 # Build all packages before checking any.
1812 CHECK_DEPS = libgo.la libgobegin.a \
1813 $(toolexeclibgo_DATA) \
1814 $(toolexeclibgoarchive_DATA) \
1815 $(toolexeclibgocompress_DATA) \
1816 $(toolexeclibgocontainer_DATA) \
1817 $(toolexeclibgocrypto_DATA) \
1818 $(toolexeclibgodebug_DATA) \
1819 $(toolexeclibgoencoding_DATA) \
1820 $(toolexeclibgoexp_DATA) \
1821 $(toolexeclibgogo_DATA) \
1822 $(toolexeclibgohash_DATA) \
1823 $(toolexeclibgoimage_DATA) \
1824 $(toolexeclibgoindex_DATA) \
1825 $(toolexeclibgoio_DATA) \
1826 $(toolexeclibgolog_DATA) \
1827 $(toolexeclibgomath_DATA) \
1828 $(toolexeclibgomime_DATA) \
1829 $(toolexeclibgonet_DATA) \
1830 $(toolexeclibgonethttp_DATA) \
1831 $(toolexeclibgoos_DATA) \
1832 $(toolexeclibgopath_DATA) \
1833 $(toolexeclibgorpc_DATA) \
1834 $(toolexeclibgoruntime_DATA) \
1835 $(toolexeclibgosync_DATA) \
1836 $(toolexeclibgotesting_DATA) \
1837 $(toolexeclibgotext_DATA) \
1838 $(toolexeclibgotexttemplate_DATA) \
1839 $(toolexeclibgounicode_DATA)
1841 @go_include@ bufio/bufio.lo.dep
1842 bufio/bufio.lo.dep: $(go_bufio_files)
1844 bufio/bufio.lo: $(go_bufio_files)
1846 bufio/check: $(CHECK_DEPS)
1850 @go_include@ bytes/bytes.lo.dep
1851 bytes/bytes.lo.dep: $(go_bytes_files)
1853 bytes/bytes.lo: $(go_bytes_files)
1855 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1856 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1857 bytes/check: $(CHECK_DEPS)
1861 @go_include@ crypto/crypto.lo.dep
1862 crypto/crypto.lo.dep: $(go_crypto_files)
1864 crypto/crypto.lo: $(go_crypto_files)
1866 crypto/check: $(CHECK_DEPS)
1868 .PHONY: crypto/check
1870 @go_include@ errors/errors.lo.dep
1871 errors/errors.lo.dep: $(go_errors_files)
1873 errors/errors.lo: $(go_errors_files)
1875 errors/check: $(CHECK_DEPS)
1877 .PHONY: errors/check
1879 @go_include@ expvar/expvar.lo.dep
1880 expvar/expvar.lo.dep: $(go_expvar_files)
1882 expvar/expvar.lo: $(go_expvar_files)
1884 expvar/check: $(CHECK_DEPS)
1886 .PHONY: expvar/check
1888 @go_include@ flag/flag.lo.dep
1889 flag/flag.lo.dep: $(go_flag_files)
1891 flag/flag.lo: $(go_flag_files)
1893 flag/check: $(CHECK_DEPS)
1897 @go_include@ fmt/fmt.lo.dep
1898 fmt/fmt.lo.dep: $(go_fmt_files)
1900 fmt/fmt.lo: $(go_fmt_files)
1902 fmt/check: $(CHECK_DEPS)
1906 @go_include@ hash/hash.lo.dep
1907 hash/hash.lo.dep: $(go_hash_files)
1909 hash/hash.lo: $(go_hash_files)
1911 hash/check: $(CHECK_DEPS)
1915 @go_include@ html/html.lo.dep
1916 html/html.lo.dep: $(go_html_files)
1918 html/html.lo: $(go_html_files)
1920 html/check: $(CHECK_DEPS)
1924 @go_include@ image/image.lo.dep
1925 image/image.lo.dep: $(go_image_files)
1927 image/image.lo: $(go_image_files)
1929 image/check: $(CHECK_DEPS)
1933 @go_include@ io/io.lo.dep
1934 io/io.lo.dep: $(go_io_files)
1936 io/io.lo: $(go_io_files)
1938 io/check: $(CHECK_DEPS)
1942 @go_include@ log/log.lo.dep
1943 log/log.lo.dep: $(go_log_files)
1945 log/log.lo: $(go_log_files)
1947 log/check: $(CHECK_DEPS)
1951 @go_include@ math/math.lo.dep
1952 math/math.lo.dep: $(go_math_files)
1954 math/math.lo: $(go_math_files)
1956 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1957 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1958 math/check: $(CHECK_DEPS)
1962 @go_include@ mime/mime.lo.dep
1963 mime/mime.lo.dep: $(go_mime_files)
1965 mime/mime.lo: $(go_mime_files)
1967 mime/check: $(CHECK_DEPS)
1971 @go_include@ net/net.lo.dep
1972 net/net.lo.dep: $(go_net_files)
1974 net/net.lo: $(go_net_files)
1976 net/check: $(CHECK_DEPS)
1980 @go_include@ os/os.lo.dep
1981 os/os.lo.dep: $(go_os_files)
1983 os/os.lo: $(go_os_files)
1985 os/check: $(CHECK_DEPS)
1989 signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
1990 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
1993 @go_include@ path/path.lo.dep
1994 path/path.lo.dep: $(go_path_files)
1996 path/path.lo: $(go_path_files)
1998 path/check: $(CHECK_DEPS)
2002 @go_include@ reflect/reflect.lo.dep
2003 reflect/reflect.lo.dep: $(go_reflect_files)
2005 reflect/reflect.lo: $(go_reflect_files)
2007 reflect/check: $(CHECK_DEPS)
2009 .PHONY: reflect/check
2011 @go_include@ regexp/regexp.lo.dep
2012 regexp/regexp.lo.dep: $(go_regexp_files)
2014 regexp/regexp.lo: $(go_regexp_files)
2016 regexp/check: $(CHECK_DEPS)
2018 .PHONY: regexp/check
2020 @go_include@ runtime/runtime.lo.dep
2021 runtime/runtime.lo.dep: $(go_runtime_files)
2023 runtime/runtime.lo: $(go_runtime_files)
2025 runtime/check: $(CHECK_DEPS)
2027 .PHONY: runtime/check
2029 @go_include@ text/scanner.lo.dep
2030 text/scanner.lo.dep: $(go_text_scanner_files)
2032 text/scanner.lo: $(go_text_scanner_files)
2034 text/scanner/check: $(CHECK_DEPS)
2035 @$(MKDIR_P) text/scanner
2037 .PHONY: text/scanner/check
2039 @go_include@ sort/sort.lo.dep
2040 sort/sort.lo.dep: $(go_sort_files)
2042 sort/sort.lo: $(go_sort_files)
2044 sort/check: $(CHECK_DEPS)
2048 @go_include@ strconv/strconv.lo.dep
2049 strconv/strconv.lo.dep: $(go_strconv_files)
2051 strconv/strconv.lo: $(go_strconv_files)
2053 strconv/check: $(CHECK_DEPS)
2055 .PHONY: strconv/check
2057 @go_include@ strings/strings.lo.dep
2058 strings/strings.lo.dep: $(go_strings_files)
2060 strings/strings.lo: $(go_strings_files)
2062 strings/check: $(CHECK_DEPS)
2064 .PHONY: strings/check
2066 @go_include@ sync/sync.lo.dep
2067 sync/sync.lo.dep: $(go_sync_files)
2069 sync/sync.lo: $(go_sync_files)
2071 sync/check: $(CHECK_DEPS)
2075 @go_include@ testing/testing.lo.dep
2076 testing/testing.lo.dep: $(go_testing_files)
2078 testing/testing.lo: $(go_testing_files)
2080 testing/check: $(CHECK_DEPS)
2082 .PHONY: testing/check
2084 @go_include@ time/time.lo.dep
2085 time/time.lo.dep: $(go_time_files)
2087 time/time.lo: $(go_time_files)
2089 time/check: $(CHECK_DEPS)
2093 @go_include@ unicode/unicode.lo.dep
2094 unicode/unicode.lo.dep: $(go_unicode_files)
2096 unicode/unicode.lo: $(go_unicode_files)
2098 unicode/check: $(CHECK_DEPS)
2100 .PHONY: unicode/check
2102 @go_include@ archive/tar.lo.dep
2103 archive/tar.lo.dep: $(go_archive_tar_files)
2105 archive/tar.lo: $(go_archive_tar_files)
2107 archive/tar/check: $(CHECK_DEPS)
2108 @$(MKDIR_P) archive/tar
2110 .PHONY: archive/tar/check
2112 @go_include@ archive/zip.lo.dep
2113 archive/zip.lo.dep: $(go_archive_zip_files)
2115 archive/zip.lo: $(go_archive_zip_files)
2117 archive/zip/check: $(CHECK_DEPS)
2118 @$(MKDIR_P) archive/zip
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)
2128 @$(MKDIR_P) compress/bzip2
2130 .PHONY: compress/bzip2/check
2132 @go_include@ compress/flate.lo.dep
2133 compress/flate.lo.dep: $(go_compress_flate_files)
2135 compress/flate.lo: $(go_compress_flate_files)
2137 compress/flate/check: $(CHECK_DEPS)
2138 @$(MKDIR_P) compress/flate
2140 .PHONY: compress/flate/check
2142 @go_include@ compress/gzip.lo.dep
2143 compress/gzip.lo.dep: $(go_compress_gzip_files)
2145 compress/gzip.lo: $(go_compress_gzip_files)
2147 compress/gzip/check: $(CHECK_DEPS)
2148 @$(MKDIR_P) compress/gzip
2150 .PHONY: compress/gzip/check
2152 @go_include@ compress/lzw.lo.dep
2153 compress/lzw.lo.dep: $(go_compress_lzw_files)
2155 compress/lzw.lo: $(go_compress_lzw_files)
2157 compress/lzw/check: $(CHECK_DEPS)
2158 @$(MKDIR_P) compress/lzw
2160 .PHONY: compress/lzw/check
2162 @go_include@ compress/zlib.lo.dep
2163 compress/zlib.lo.dep: $(go_compress_zlib_files)
2165 compress/zlib.lo: $(go_compress_zlib_files)
2167 compress/zlib/check: $(CHECK_DEPS)
2168 @$(MKDIR_P) compress/zlib
2170 .PHONY: compress/zlib/check
2172 @go_include@ container/heap.lo.dep
2173 container/heap.lo.dep: $(go_container_heap_files)
2175 container/heap.lo: $(go_container_heap_files)
2177 container/heap/check: $(CHECK_DEPS)
2178 @$(MKDIR_P) container/heap
2180 .PHONY: container/heap/check
2182 @go_include@ container/list.lo.dep
2183 container/list.lo.dep: $(go_container_list_files)
2185 container/list.lo: $(go_container_list_files)
2187 container/list/check: $(CHECK_DEPS)
2188 @$(MKDIR_P) container/list
2190 .PHONY: container/list/check
2192 @go_include@ container/ring.lo.dep
2193 container/ring.lo.dep: $(go_container_ring_files)
2195 container/ring.lo: $(go_container_ring_files)
2197 container/ring/check: $(CHECK_DEPS)
2198 @$(MKDIR_P) container/ring
2200 .PHONY: container/ring/check
2202 @go_include@ crypto/aes.lo.dep
2203 crypto/aes.lo.dep: $(go_crypto_aes_files)
2205 crypto/aes.lo: $(go_crypto_aes_files)
2207 crypto/aes/check: $(CHECK_DEPS)
2208 @$(MKDIR_P) crypto/aes
2210 .PHONY: crypto/aes/check
2212 @go_include@ crypto/cipher.lo.dep
2213 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2215 crypto/cipher.lo: $(go_crypto_cipher_files)
2217 crypto/cipher/check: $(CHECK_DEPS)
2218 @$(MKDIR_P) crypto/cipher
2220 .PHONY: crypto/cipher/check
2222 @go_include@ crypto/des.lo.dep
2223 crypto/des.lo.dep: $(go_crypto_des_files)
2225 crypto/des.lo: $(go_crypto_des_files)
2227 crypto/des/check: $(CHECK_DEPS)
2228 @$(MKDIR_P) crypto/des
2230 .PHONY: crypto/des/check
2232 @go_include@ crypto/dsa.lo.dep
2233 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2235 crypto/dsa.lo: $(go_crypto_dsa_files)
2237 crypto/dsa/check: $(CHECK_DEPS)
2238 @$(MKDIR_P) crypto/dsa
2240 .PHONY: crypto/dsa/check
2242 @go_include@ crypto/ecdsa.lo.dep
2243 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2245 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2247 crypto/ecdsa/check: $(CHECK_DEPS)
2248 @$(MKDIR_P) crypto/ecdsa
2250 .PHONY: crypto/ecdsa/check
2252 @go_include@ crypto/elliptic.lo.dep
2253 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2255 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2257 crypto/elliptic/check: $(CHECK_DEPS)
2258 @$(MKDIR_P) crypto/elliptic
2260 .PHONY: crypto/elliptic/check
2262 @go_include@ crypto/hmac.lo.dep
2263 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2265 crypto/hmac.lo: $(go_crypto_hmac_files)
2267 crypto/hmac/check: $(CHECK_DEPS)
2268 @$(MKDIR_P) crypto/hmac
2270 .PHONY: crypto/hmac/check
2272 @go_include@ crypto/md5.lo.dep
2273 crypto/md5.lo.dep: $(go_crypto_md5_files)
2275 crypto/md5.lo: $(go_crypto_md5_files)
2277 crypto/md5/check: $(CHECK_DEPS)
2278 @$(MKDIR_P) crypto/md5
2280 .PHONY: crypto/md5/check
2282 @go_include@ crypto/rand.lo.dep
2283 crypto/rand.lo.dep: $(go_crypto_rand_files)
2285 crypto/rand.lo: $(go_crypto_rand_files)
2287 crypto/rand/check: $(CHECK_DEPS)
2288 @$(MKDIR_P) crypto/rand
2290 .PHONY: crypto/rand/check
2292 @go_include@ crypto/rc4.lo.dep
2293 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2295 crypto/rc4.lo: $(go_crypto_rc4_files)
2297 crypto/rc4/check: $(CHECK_DEPS)
2298 @$(MKDIR_P) crypto/rc4
2300 .PHONY: crypto/rc4/check
2302 @go_include@ crypto/rsa.lo.dep
2303 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2305 crypto/rsa.lo: $(go_crypto_rsa_files)
2307 crypto/rsa/check: $(CHECK_DEPS)
2308 @$(MKDIR_P) crypto/rsa
2310 .PHONY: crypto/rsa/check
2312 @go_include@ crypto/sha1.lo.dep
2313 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2315 crypto/sha1.lo: $(go_crypto_sha1_files)
2317 crypto/sha1/check: $(CHECK_DEPS)
2318 @$(MKDIR_P) crypto/sha1
2320 .PHONY: crypto/sha1/check
2322 @go_include@ crypto/sha256.lo.dep
2323 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2325 crypto/sha256.lo: $(go_crypto_sha256_files)
2327 crypto/sha256/check: $(CHECK_DEPS)
2328 @$(MKDIR_P) crypto/sha256
2330 .PHONY: crypto/sha256/check
2332 @go_include@ crypto/sha512.lo.dep
2333 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2335 crypto/sha512.lo: $(go_crypto_sha512_files)
2337 crypto/sha512/check: $(CHECK_DEPS)
2338 @$(MKDIR_P) crypto/sha512
2340 .PHONY: crypto/sha512/check
2342 @go_include@ crypto/subtle.lo.dep
2343 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2345 crypto/subtle.lo: $(go_crypto_subtle_files)
2347 crypto/subtle/check: $(CHECK_DEPS)
2348 @$(MKDIR_P) crypto/subtle
2350 .PHONY: crypto/subtle/check
2352 @go_include@ crypto/tls.lo.dep
2353 crypto/tls.lo.dep: $(go_crypto_tls_files)
2355 crypto/tls.lo: $(go_crypto_tls_files)
2357 crypto/tls/check: $(CHECK_DEPS)
2358 @$(MKDIR_P) crypto/tls
2360 .PHONY: crypto/tls/check
2362 @go_include@ crypto/x509.lo.dep
2363 crypto/x509.lo.dep: $(go_crypto_x509_files)
2365 crypto/x509.lo: $(go_crypto_x509_files)
2367 crypto/x509/check: $(CHECK_DEPS)
2368 @$(MKDIR_P) crypto/x509
2370 .PHONY: crypto/x509/check
2372 @go_include@ crypto/x509/pkix.lo.dep
2373 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2375 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2377 crypto/x509/pkix/check: $(CHECK_DEPS)
2378 @$(MKDIR_P) crypto/x509/pkix
2380 .PHONY: crypto/x509/pkix/check
2382 @go_include@ database/sql.lo.dep
2383 database/sql.lo.dep: $(go_database_sql_files)
2385 database/sql.lo: $(go_database_sql_files)
2387 database/sql/check: $(CHECK_DEPS)
2388 @$(MKDIR_P) database/sql
2390 .PHONY: database/sql/check
2392 @go_include@ database/sql/driver.lo.dep
2393 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2395 database/sql/driver.lo: $(go_database_sql_driver_files)
2397 database/sql/driver/check: $(CHECK_DEPS)
2398 @$(MKDIR_P) database/sql/driver
2400 .PHONY: database/sql/driver/check
2402 @go_include@ debug/dwarf.lo.dep
2403 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2405 debug/dwarf.lo: $(go_debug_dwarf_files)
2407 debug/dwarf/check: $(CHECK_DEPS)
2408 @$(MKDIR_P) debug/dwarf
2410 .PHONY: debug/dwarf/check
2412 @go_include@ debug/elf.lo.dep
2413 debug/elf.lo.dep: $(go_debug_elf_files)
2415 debug/elf.lo: $(go_debug_elf_files)
2417 debug/elf/check: $(CHECK_DEPS)
2418 @$(MKDIR_P) debug/elf
2420 .PHONY: debug/elf/check
2422 @go_include@ debug/gosym.lo.dep
2423 debug/gosym.lo.dep: $(go_debug_gosym_files)
2425 debug/gosym.lo: $(go_debug_gosym_files)
2427 debug/gosym/check: $(CHECK_DEPS)
2428 @$(MKDIR_P) debug/gosym
2430 .PHONY: debug/gosym/check
2432 @go_include@ debug/macho.lo.dep
2433 debug/macho.lo.dep: $(go_debug_macho_files)
2435 debug/macho.lo: $(go_debug_macho_files)
2437 debug/macho/check: $(CHECK_DEPS)
2438 @$(MKDIR_P) debug/macho
2440 .PHONY: debug/macho/check
2442 @go_include@ debug/pe.lo.dep
2443 debug/pe.lo.dep: $(go_debug_pe_files)
2445 debug/pe.lo: $(go_debug_pe_files)
2447 debug/pe/check: $(CHECK_DEPS)
2448 @$(MKDIR_P) debug/pe
2450 .PHONY: debug/pe/check
2452 @go_include@ encoding/asn1.lo.dep
2453 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2455 encoding/asn1.lo: $(go_encoding_asn1_files)
2457 encoding/asn1/check: $(CHECK_DEPS)
2458 @$(MKDIR_P) encoding/asn1
2460 .PHONY: encoding/asn1/check
2462 @go_include@ encoding/ascii85.lo.dep
2463 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2465 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2467 encoding/ascii85/check: $(CHECK_DEPS)
2468 @$(MKDIR_P) encoding/ascii85
2470 .PHONY: encoding/ascii85/check
2472 @go_include@ encoding/base32.lo.dep
2473 encoding/base32.lo.dep: $(go_encoding_base32_files)
2475 encoding/base32.lo: $(go_encoding_base32_files)
2477 encoding/base32/check: $(CHECK_DEPS)
2478 @$(MKDIR_P) encoding/base32
2480 .PHONY: encoding/base32/check
2482 @go_include@ encoding/base64.lo.dep
2483 encoding/base64.lo.dep: $(go_encoding_base64_files)
2485 encoding/base64.lo: $(go_encoding_base64_files)
2487 encoding/base64/check: $(CHECK_DEPS)
2488 @$(MKDIR_P) encoding/base64
2490 .PHONY: encoding/base64/check
2492 @go_include@ encoding/binary.lo.dep
2493 encoding/binary.lo.dep: $(go_encoding_binary_files)
2495 encoding/binary.lo: $(go_encoding_binary_files)
2497 encoding/binary/check: $(CHECK_DEPS)
2498 @$(MKDIR_P) encoding/binary
2500 .PHONY: encoding/binary/check
2502 @go_include@ encoding/csv.lo.dep
2503 encoding/csv.lo.dep: $(go_encoding_csv_files)
2505 encoding/csv.lo: $(go_encoding_csv_files)
2507 encoding/csv/check: $(CHECK_DEPS)
2508 @$(MKDIR_P) encoding/csv
2510 .PHONY: encoding/csv/check
2512 @go_include@ encoding/gob.lo.dep
2513 encoding/gob.lo.dep: $(go_encoding_gob_files)
2515 encoding/gob.lo: $(go_encoding_gob_files)
2517 encoding/gob/check: $(CHECK_DEPS)
2518 @$(MKDIR_P) encoding/gob
2520 .PHONY: encoding/gob/check
2522 @go_include@ encoding/hex.lo.dep
2523 encoding/hex.lo.dep: $(go_encoding_hex_files)
2525 encoding/hex.lo: $(go_encoding_hex_files)
2527 encoding/hex/check: $(CHECK_DEPS)
2528 @$(MKDIR_P) encoding/hex
2530 .PHONY: encoding/hex/check
2532 @go_include@ encoding/json.lo.dep
2533 encoding/json.lo.dep: $(go_encoding_json_files)
2535 encoding/json.lo: $(go_encoding_json_files)
2537 encoding/json/check: $(CHECK_DEPS)
2538 @$(MKDIR_P) encoding/json
2540 .PHONY: encoding/json/check
2542 @go_include@ encoding/pem.lo.dep
2543 encoding/pem.lo.dep: $(go_encoding_pem_files)
2545 encoding/pem.lo: $(go_encoding_pem_files)
2547 encoding/pem/check: $(CHECK_DEPS)
2548 @$(MKDIR_P) encoding/pem
2550 .PHONY: encoding/pem/check
2552 @go_include@ encoding/xml.lo.dep
2553 encoding/xml.lo.dep: $(go_encoding_xml_files)
2555 encoding/xml.lo: $(go_encoding_xml_files)
2557 encoding/xml/check: $(CHECK_DEPS)
2558 @$(MKDIR_P) encoding/xml
2560 .PHONY: encoding/xml/check
2562 @go_include@ exp/ebnf.lo.dep
2563 exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2565 exp/ebnf.lo: $(go_exp_ebnf_files)
2567 exp/ebnf/check: $(CHECK_DEPS)
2568 @$(MKDIR_P) exp/ebnf
2570 .PHONY: exp/ebnf/check
2572 @go_include@ exp/html.lo.dep
2573 exp/html.lo.dep: $(go_exp_html_files)
2575 exp/html.lo: $(go_exp_html_files)
2577 exp/html/check: $(CHECK_DEPS)
2578 @$(MKDIR_P) exp/html
2580 .PHONY: exp/html/check
2582 @go_include@ exp/norm.lo.dep
2583 exp/norm.lo.dep: $(go_exp_norm_files)
2585 exp/norm.lo: $(go_exp_norm_files)
2587 exp/norm/check: $(CHECK_DEPS)
2588 @$(MKDIR_P) exp/norm
2590 .PHONY: exp/norm/check
2592 @go_include@ exp/proxy.lo.dep
2593 exp/proxy.lo.dep: $(go_exp_proxy_files)
2595 exp/proxy.lo: $(go_exp_proxy_files)
2597 exp/proxy/check: $(CHECK_DEPS)
2598 @$(MKDIR_P) exp/proxy
2600 .PHONY: exp/proxy/check
2602 @go_include@ exp/signal.lo.dep
2603 exp/signal.lo.dep: $(go_exp_signal_files)
2605 exp/signal.lo: $(go_exp_signal_files)
2607 exp/signal/check: $(CHECK_DEPS)
2608 @$(MKDIR_P) exp/signal
2610 .PHONY: exp/signal/check
2612 @go_include@ exp/terminal.lo.dep
2613 exp/terminal.lo.dep: $(go_exp_terminal_files)
2615 exp/terminal.lo: $(go_exp_terminal_files)
2617 exp/terminal/check: $(CHECK_DEPS)
2618 @$(MKDIR_P) exp/terminal
2620 .PHONY: exp/terminal/check
2622 @go_include@ exp/types.lo.dep
2623 exp/types.lo.dep: $(go_exp_types_files)
2625 exp/types.lo: $(go_exp_types_files)
2627 exp/types/check: $(CHECK_DEPS)
2628 @$(MKDIR_P) exp/types
2630 .PHONY: exp/types/check
2632 @go_include@ exp/utf8string.lo.dep
2633 exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2635 exp/utf8string.lo: $(go_exp_utf8string_files)
2637 exp/utf8string/check: $(CHECK_DEPS)
2638 @$(MKDIR_P) exp/utf8string
2640 .PHONY: exp/utf8string/check
2642 @go_include@ exp/inotify.lo.dep
2643 exp/inotify.lo.dep: $(go_exp_inotify_files)
2645 exp/inotify.lo: $(go_exp_inotify_files)
2647 exp/inotify/check: $(CHECK_DEPS)
2648 @$(MKDIR_P) exp/inotify
2650 .PHONY: exp/inotify/check
2652 @go_include@ html/template.lo.dep
2653 html/template.lo.dep: $(go_html_template_files)
2655 html/template.lo: $(go_html_template_files)
2657 html/template/check: $(CHECK_DEPS)
2658 @$(MKDIR_P) html/template
2660 .PHONY: html/template/check
2662 @go_include@ go/ast.lo.dep
2663 go/ast.lo.dep: $(go_go_ast_files)
2665 go/ast.lo: $(go_go_ast_files)
2667 go/ast/check: $(CHECK_DEPS)
2670 .PHONY: go/ast/check
2672 @go_include@ go/build.lo.dep
2673 go/build.lo.dep: $(go_go_build_files)
2675 go/build.lo: $(go_go_build_files)
2677 go/build/check: $(CHECK_DEPS)
2678 @$(MKDIR_P) go/build
2680 .PHONY: go/build/check
2682 syslist.go: s-syslist; @true
2684 echo '// Generated automatically by make.' >syslist.go.tmp
2685 echo 'package build' >>syslist.go.tmp
2686 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2687 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2688 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2691 @go_include@ go/doc.lo.dep
2692 go/doc.lo.dep: $(go_go_doc_files)
2694 go/doc.lo: $(go_go_doc_files)
2696 go/doc/check: $(CHECK_DEPS)
2699 .PHONY: go/doc/check
2701 @go_include@ go/parser.lo.dep
2702 go/parser.lo.dep: $(go_go_parser_files)
2704 go/parser.lo: $(go_go_parser_files)
2706 go/parser/check: $(CHECK_DEPS)
2707 @$(MKDIR_P) go/parser
2709 .PHONY: go/parser/check
2711 @go_include@ go/printer.lo.dep
2712 go/printer.lo.dep: $(go_go_printer_files)
2714 go/printer.lo: $(go_go_printer_files)
2716 go/printer/check: $(CHECK_DEPS)
2717 @$(MKDIR_P) go/printer
2719 .PHONY: go/printer/check
2721 @go_include@ go/scanner.lo.dep
2722 go/scanner.lo.dep: $(go_go_scanner_files)
2724 go/scanner.lo: $(go_go_scanner_files)
2726 go/scanner/check: $(CHECK_DEPS)
2727 @$(MKDIR_P) go/scanner
2729 .PHONY: go/scanner/check
2731 @go_include@ go/token.lo.dep
2732 go/token.lo.dep: $(go_go_token_files)
2734 go/token.lo: $(go_go_token_files)
2736 go/token/check: $(CHECK_DEPS)
2737 @$(MKDIR_P) go/token
2739 .PHONY: go/token/check
2741 @go_include@ hash/adler32.lo.dep
2742 hash/adler32.lo.dep: $(go_hash_adler32_files)
2744 hash/adler32.lo: $(go_hash_adler32_files)
2746 hash/adler32/check: $(CHECK_DEPS)
2747 @$(MKDIR_P) hash/adler32
2749 .PHONY: hash/adler32/check
2751 @go_include@ hash/crc32.lo.dep
2752 hash/crc32.lo.dep: $(go_hash_crc32_files)
2754 hash/crc32.lo: $(go_hash_crc32_files)
2756 hash/crc32/check: $(CHECK_DEPS)
2757 @$(MKDIR_P) hash/crc32
2759 .PHONY: hash/crc32/check
2761 @go_include@ hash/crc64.lo.dep
2762 hash/crc64.lo.dep: $(go_hash_crc64_files)
2764 hash/crc64.lo: $(go_hash_crc64_files)
2766 hash/crc64/check: $(CHECK_DEPS)
2767 @$(MKDIR_P) hash/crc64
2769 .PHONY: hash/crc64/check
2771 @go_include@ hash/fnv.lo.dep
2772 hash/fnv.lo.dep: $(go_hash_fnv_files)
2774 hash/fnv.lo: $(go_hash_fnv_files)
2776 hash/fnv/check: $(CHECK_DEPS)
2777 @$(MKDIR_P) hash/fnv
2779 .PHONY: hash/fnv/check
2781 @go_include@ image/color.lo.dep
2782 image/color.lo.dep: $(go_image_color_files)
2784 image/color.lo: $(go_image_color_files)
2786 image/color/check: $(CHECK_DEPS)
2787 @$(MKDIR_P) image/color
2789 .PHONY: image/color/check
2791 @go_include@ image/draw.lo.dep
2792 image/draw.lo.dep: $(go_image_draw_files)
2794 image/draw.lo: $(go_image_draw_files)
2796 image/draw/check: $(CHECK_DEPS)
2797 @$(MKDIR_P) image/draw
2799 .PHONY: image/draw/check
2801 @go_include@ image/gif.lo.dep
2802 image/gif.lo.dep: $(go_image_gif_files)
2804 image/gif.lo: $(go_image_gif_files)
2806 image/gif/check: $(CHECK_DEPS)
2807 @$(MKDIR_P) image/gif
2809 .PHONY: image/gif/check
2811 @go_include@ image/jpeg.lo.dep
2812 image/jpeg.lo.dep: $(go_image_jpeg_files)
2814 image/jpeg.lo: $(go_image_jpeg_files)
2816 image/jpeg/check: $(CHECK_DEPS)
2817 @$(MKDIR_P) image/jpeg
2819 .PHONY: image/jpeg/check
2821 @go_include@ image/png.lo.dep
2822 image/png.lo.dep: $(go_image_png_files)
2824 image/png.lo: $(go_image_png_files)
2826 image/png/check: $(CHECK_DEPS)
2827 @$(MKDIR_P) image/png
2829 .PHONY: image/png/check
2831 @go_include@ index/suffixarray.lo.dep
2832 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2834 index/suffixarray.lo: $(go_index_suffixarray_files)
2836 index/suffixarray/check: $(CHECK_DEPS)
2837 @$(MKDIR_P) index/suffixarray
2839 .PHONY: index/suffixarray/check
2841 @go_include@ io/ioutil.lo.dep
2842 io/ioutil.lo.dep: $(go_io_ioutil_files)
2844 io/ioutil.lo: $(go_io_ioutil_files)
2846 io/ioutil/check: $(CHECK_DEPS)
2847 @$(MKDIR_P) io/ioutil
2849 .PHONY: io/ioutil/check
2851 @go_include@ log/syslog.lo.dep
2852 log/syslog.lo.dep: $(go_log_syslog_files)
2854 log/syslog.lo: $(go_log_syslog_files)
2856 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2857 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2858 log/syslog/check: $(CHECK_DEPS)
2859 @$(MKDIR_P) log/syslog
2861 .PHONY: log/syslog/check
2863 @go_include@ math/big.lo.dep
2864 math/big.lo.dep: $(go_math_big_files)
2866 math/big.lo: $(go_math_big_files)
2868 math/big/check: $(CHECK_DEPS)
2869 @$(MKDIR_P) math/big
2871 .PHONY: math/big/check
2873 @go_include@ math/cmplx.lo.dep
2874 math/cmplx.lo.dep: $(go_math_cmplx_files)
2876 math/cmplx.lo: $(go_math_cmplx_files)
2878 math/cmplx/check: $(CHECK_DEPS)
2879 @$(MKDIR_P) math/cmplx
2881 .PHONY: math/cmplx/check
2883 @go_include@ math/rand.lo.dep
2884 math/rand.lo.dep: $(go_math_rand_files)
2886 math/rand.lo: $(go_math_rand_files)
2888 math/rand/check: $(CHECK_DEPS)
2889 @$(MKDIR_P) math/rand
2891 .PHONY: math/rand/check
2893 @go_include@ mime/multipart.lo.dep
2894 mime/multipart.lo.dep: $(go_mime_multipart_files)
2896 mime/multipart.lo: $(go_mime_multipart_files)
2898 mime/multipart/check: $(CHECK_DEPS)
2899 @$(MKDIR_P) mime/multipart
2901 .PHONY: mime/multipart/check
2903 @go_include@ net/http.lo.dep
2904 net/http.lo.dep: $(go_net_http_files)
2906 net/http.lo: $(go_net_http_files)
2908 net/http/check: $(CHECK_DEPS)
2909 @$(MKDIR_P) net/http
2911 .PHONY: net/http/check
2913 @go_include@ net/mail.lo.dep
2914 net/mail.lo.dep: $(go_net_mail_files)
2916 net/mail.lo: $(go_net_mail_files)
2918 net/mail/check: $(CHECK_DEPS)
2919 @$(MKDIR_P) net/mail
2921 .PHONY: net/mail/check
2923 @go_include@ net/rpc.lo.dep
2924 net/rpc.lo.dep: $(go_net_rpc_files)
2926 net/rpc.lo: $(go_net_rpc_files)
2928 net/rpc/check: $(CHECK_DEPS)
2931 .PHONY: net/rpc/check
2933 @go_include@ net/smtp.lo.dep
2934 net/smtp.lo.dep: $(go_net_smtp_files)
2936 net/smtp.lo: $(go_net_smtp_files)
2938 net/smtp/check: $(CHECK_DEPS)
2939 @$(MKDIR_P) net/smtp
2941 .PHONY: net/smtp/check
2943 @go_include@ net/url.lo.dep
2944 net/url.lo.dep: $(go_net_url_files)
2946 net/url.lo: $(go_net_url_files)
2948 net/url/check: $(CHECK_DEPS)
2951 .PHONY: net/url/check
2953 @go_include@ net/textproto.lo.dep
2954 net/textproto.lo.dep: $(go_net_textproto_files)
2956 net/textproto.lo: $(go_net_textproto_files)
2958 net/textproto/check: $(CHECK_DEPS)
2959 @$(MKDIR_P) net/textproto
2961 .PHONY: net/textproto/check
2963 @go_include@ net/http/cgi.lo.dep
2964 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
2966 net/http/cgi.lo: $(go_net_http_cgi_files)
2968 net/http/cgi/check: $(CHECK_DEPS)
2969 @$(MKDIR_P) net/http/cgi
2971 .PHONY: net/http/cgi/check
2973 @go_include@ net/http/fcgi.lo.dep
2974 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
2976 net/http/fcgi.lo: $(go_net_http_fcgi_files)
2978 net/http/fcgi/check: $(CHECK_DEPS)
2979 @$(MKDIR_P) net/http/fcgi
2981 .PHONY: net/http/fcgi/check
2983 @go_include@ net/http/httptest.lo.dep
2984 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
2986 net/http/httptest.lo: $(go_net_http_httptest_files)
2988 net/http/httptest/check: $(check_deps)
2989 @$(MKDIR_P) net/http/httptest
2991 .PHONY: net/http/httptest/check
2993 @go_include@ net/http/httputil.lo.dep
2994 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
2996 net/http/httputil.lo: $(go_net_http_httputil_files)
2998 net/http/httputil/check: $(check_deps)
2999 @$(MKDIR_P) net/http/httputil
3001 .PHONY: net/http/httputil/check
3003 @go_include@ net/http/pprof.lo.dep
3004 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3006 net/http/pprof.lo: $(go_net_http_pprof_files)
3008 net/http/pprof/check: $(CHECK_DEPS)
3009 @$(MKDIR_P) net/http/pprof
3011 .PHONY: net/http/pprof/check
3013 @go_include@ net/rpc/jsonrpc.lo.dep
3014 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3016 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3018 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3019 @$(MKDIR_P) net/rpc/jsonrpc
3021 .PHONY: net/rpc/jsonrpc/check
3023 @go_include@ old/netchan.lo.dep
3024 old/netchan.lo.dep: $(go_old_netchan_files)
3026 old/netchan.lo: $(go_old_netchan_files)
3028 old/netchan/check: $(CHECK_DEPS)
3029 @$(MKDIR_P) old/netchan
3031 .PHONY: old/netchan/check
3033 @go_include@ old/regexp.lo.dep
3034 old/regexp.lo.dep: $(go_old_regexp_files)
3036 old/regexp.lo: $(go_old_regexp_files)
3038 old/regexp/check: $(CHECK_DEPS)
3039 @$(MKDIR_P) old/regexp
3041 .PHONY: old/regexp/check
3043 @go_include@ old/template.lo.dep
3044 old/template.lo.dep: $(go_old_template_files)
3046 old/template.lo: $(go_old_template_files)
3048 old/template/check: $(CHECK_DEPS)
3049 @$(MKDIR_P) old/template
3051 .PHONY: old/template/check
3053 @go_include@ os/exec.lo.dep
3054 os/exec.lo.dep: $(go_os_exec_files)
3056 os/exec.lo: $(go_os_exec_files)
3058 os/exec/check: $(CHECK_DEPS)
3061 .PHONY: os/exec/check
3063 @go_include@ os/user.lo.dep
3064 os/user.lo.dep: $(go_os_user_files)
3066 os/user.lo: $(go_os_user_files)
3068 os/user/check: $(CHECK_DEPS)
3071 .PHONY: os/user/check
3073 @go_include@ path/filepath.lo.dep
3074 path/filepath.lo.dep: $(go_path_filepath_files)
3076 path/filepath.lo: $(go_path_filepath_files)
3078 path/filepath/check: $(CHECK_DEPS)
3079 @$(MKDIR_P) path/filepath
3081 .PHONY: path/filepath/check
3083 @go_include@ regexp/syntax.lo.dep
3084 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3086 regexp/syntax.lo: $(go_regexp_syntax_files)
3088 regexp/syntax/check: $(CHECK_DEPS)
3089 @$(MKDIR_P) regexp/syntax
3091 .PHONY: regexp/syntax/check
3093 @go_include@ runtime/debug.lo.dep
3094 runtime/debug.lo.dep: $(go_runtime_debug_files)
3096 runtime/debug.lo: $(go_runtime_debug_files)
3098 runtime/debug/check: $(CHECK_DEPS)
3099 @$(MKDIR_P) runtime/debug
3101 .PHONY: runtime/debug/check
3103 @go_include@ runtime/pprof.lo.dep
3104 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3106 runtime/pprof.lo: $(go_runtime_pprof_files)
3108 runtime/pprof/check: $(CHECK_DEPS)
3109 @$(MKDIR_P) runtime/pprof
3111 .PHONY: runtime/pprof/check
3113 @go_include@ sync/atomic.lo.dep
3114 sync/atomic.lo.dep: $(go_sync_atomic_files)
3116 sync/atomic.lo: $(go_sync_atomic_files)
3118 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3119 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3120 sync/atomic/check: $(CHECK_DEPS)
3121 @$(MKDIR_P) sync/atomic
3123 .PHONY: sync/atomic/check
3125 @go_include@ text/tabwriter.lo.dep
3126 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3128 text/tabwriter.lo: $(go_text_tabwriter_files)
3130 text/tabwriter/check: $(CHECK_DEPS)
3131 @$(MKDIR_P) text/tabwriter
3133 .PHONY: text/tabwriter/check
3135 @go_include@ text/template.lo.dep
3136 text/template.lo.dep: $(go_text_template_files)
3138 text/template.lo: $(go_text_template_files)
3140 text/template/check: $(CHECK_DEPS)
3142 .PHONY: text/template/check
3144 @go_include@ text/template/parse.lo.dep
3145 text/template/parse.lo.dep: $(go_text_template_parse_files)
3147 text/template/parse.lo: $(go_text_template_parse_files)
3149 text/template/parse/check: $(CHECK_DEPS)
3150 @$(MKDIR_P) text/template/parse
3152 .PHONY: text/template/parse/check
3154 @go_include@ testing/iotest.lo.dep
3155 testing/iotest.lo.dep: $(go_testing_iotest_files)
3157 testing/iotest.lo: $(go_testing_iotest_files)
3159 testing/iotest/check: $(CHECK_DEPS)
3160 @$(MKDIR_P) testing/iotest
3162 .PHONY: testing/iotest/check
3164 @go_include@ testing/quick.lo.dep
3165 testing/quick.lo.dep: $(go_testing_quick_files)
3167 testing/quick.lo: $(go_testing_quick_files)
3169 testing/quick/check: $(CHECK_DEPS)
3170 @$(MKDIR_P) testing/quick
3172 .PHONY: testing/quick/check
3174 @go_include@ testing/script.lo.dep
3175 testing/script.lo.dep: $(go_testing_script_files)
3177 testing/script.lo: $(go_testing_script_files)
3179 testing/script/check: $(CHECK_DEPS)
3180 @$(MKDIR_P) testing/script
3182 .PHONY: testing/script/check
3184 @go_include@ unicode/utf16.lo.dep
3185 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3187 unicode/utf16.lo: $(go_unicode_utf16_files)
3189 unicode/utf16/check: $(CHECK_DEPS)
3190 @$(MKDIR_P) unicode/utf16
3192 .PHONY: unicode/utf16/check
3194 @go_include@ unicode/utf8.lo.dep
3195 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3197 unicode/utf8.lo: $(go_unicode_utf8_files)
3199 unicode/utf8/check: $(CHECK_DEPS)
3200 @$(MKDIR_P) unicode/utf8
3202 .PHONY: unicode/utf8/check
3204 @go_include@ syscall/syscall.lo.dep
3205 syscall/syscall.lo.dep: $(go_syscall_files)
3207 syscall/syscall.lo: $(go_syscall_files)
3209 syscall/errno.lo: go/syscall/errno.c
3210 $(LTCOMPILE) -c -o $@ $<
3211 syscall/wait.lo: go/syscall/wait.c
3212 $(LTCOMPILE) -c -o $@ $<
3214 # How to build a .gox file from a .lo file.
3216 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3217 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3219 bufio.gox: bufio/bufio.lo
3221 bytes.gox: bytes/bytes.lo
3223 crypto.gox: crypto/crypto.lo
3225 errors.gox: errors/errors.lo
3227 expvar.gox: expvar/expvar.lo
3229 flag.gox: flag/flag.lo
3233 hash.gox: hash/hash.lo
3235 html.gox: html/html.lo
3237 image.gox: image/image.lo
3243 math.gox: math/math.lo
3245 mime.gox: mime/mime.lo
3251 path.gox: path/path.lo
3253 reflect.gox: reflect/reflect.lo
3255 regexp.gox: regexp/regexp.lo
3257 runtime.gox: runtime/runtime.lo
3259 sort.gox: sort/sort.lo
3261 strconv.gox: strconv/strconv.lo
3263 strings.gox: strings/strings.lo
3265 sync.gox: sync/sync.lo
3267 syscall.gox: syscall/syscall.lo
3269 testing.gox: testing/testing.lo
3271 time.gox: time/time.lo
3273 unicode.gox: unicode/unicode.lo
3276 archive/tar.gox: archive/tar.lo
3278 archive/zip.gox: archive/zip.lo
3281 compress/bzip2.gox: compress/bzip2.lo
3283 compress/flate.gox: compress/flate.lo
3285 compress/gzip.gox: compress/gzip.lo
3287 compress/lzw.gox: compress/lzw.lo
3289 compress/zlib.gox: compress/zlib.lo
3292 container/heap.gox: container/heap.lo
3294 container/list.gox: container/list.lo
3296 container/ring.gox: container/ring.lo
3299 crypto/aes.gox: crypto/aes.lo
3301 crypto/cipher.gox: crypto/cipher.lo
3303 crypto/des.gox: crypto/des.lo
3305 crypto/dsa.gox: crypto/dsa.lo
3307 crypto/ecdsa.gox: crypto/ecdsa.lo
3309 crypto/elliptic.gox: crypto/elliptic.lo
3311 crypto/hmac.gox: crypto/hmac.lo
3313 crypto/md5.gox: crypto/md5.lo
3315 crypto/rand.gox: crypto/rand.lo
3317 crypto/rc4.gox: crypto/rc4.lo
3319 crypto/rsa.gox: crypto/rsa.lo
3321 crypto/sha1.gox: crypto/sha1.lo
3323 crypto/sha256.gox: crypto/sha256.lo
3325 crypto/sha512.gox: crypto/sha512.lo
3327 crypto/subtle.gox: crypto/subtle.lo
3329 crypto/tls.gox: crypto/tls.lo
3331 crypto/x509.gox: crypto/x509.lo
3334 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3337 database/sql.gox: database/sql.lo
3340 database/sql/driver.gox: database/sql/driver.lo
3343 debug/dwarf.gox: debug/dwarf.lo
3345 debug/elf.gox: debug/elf.lo
3347 debug/gosym.gox: debug/gosym.lo
3349 debug/macho.gox: debug/macho.lo
3351 debug/pe.gox: debug/pe.lo
3354 encoding/ascii85.gox: encoding/ascii85.lo
3356 encoding/asn1.gox: encoding/asn1.lo
3358 encoding/base32.gox: encoding/base32.lo
3360 encoding/base64.gox: encoding/base64.lo
3362 encoding/binary.gox: encoding/binary.lo
3364 encoding/csv.gox: encoding/csv.lo
3366 encoding/gob.gox: encoding/gob.lo
3368 encoding/hex.gox: encoding/hex.lo
3370 encoding/json.gox: encoding/json.lo
3372 encoding/pem.gox: encoding/pem.lo
3374 encoding/xml.gox: encoding/xml.lo
3377 exp/ebnf.gox: exp/ebnf.lo
3379 exp/html.gox: exp/html.lo
3381 exp/inotify.gox: exp/inotify.lo
3383 exp/norm.gox: exp/norm.lo
3385 exp/proxy.gox: exp/proxy.lo
3387 exp/signal.gox: exp/signal.lo
3389 exp/terminal.gox: exp/terminal.lo
3391 exp/types.gox: exp/types.lo
3393 exp/utf8string.gox: exp/utf8string.lo
3396 html/template.gox: html/template.lo
3399 go/ast.gox: go/ast.lo
3401 go/build.gox: go/build.lo
3403 go/doc.gox: go/doc.lo
3405 go/parser.gox: go/parser.lo
3407 go/printer.gox: go/printer.lo
3409 go/scanner.gox: go/scanner.lo
3411 go/token.gox: go/token.lo
3414 hash/adler32.gox: hash/adler32.lo
3416 hash/crc32.gox: hash/crc32.lo
3418 hash/crc64.gox: hash/crc64.lo
3420 hash/fnv.gox: hash/fnv.lo
3423 image/color.gox: image/color.lo
3425 image/draw.gox: image/draw.lo
3427 image/gif.gox: image/gif.lo
3429 image/jpeg.gox: image/jpeg.lo
3431 image/png.gox: image/png.lo
3434 index/suffixarray.gox: index/suffixarray.lo
3437 io/ioutil.gox: io/ioutil.lo
3440 log/syslog.gox: log/syslog.lo
3443 math/big.gox: math/big.lo
3445 math/cmplx.gox: math/cmplx.lo
3447 math/rand.gox: math/rand.lo
3450 mime/multipart.gox: mime/multipart.lo
3453 net/http.gox: net/http.lo
3455 net/mail.gox: net/mail.lo
3457 net/rpc.gox: net/rpc.lo
3459 net/smtp.gox: net/smtp.lo
3461 net/textproto.gox: net/textproto.lo
3463 net/url.gox: net/url.lo
3466 net/http/cgi.gox: net/http/cgi.lo
3468 net/http/fcgi.gox: net/http/fcgi.lo
3470 net/http/httptest.gox: net/http/httptest.lo
3472 net/http/httputil.gox: net/http/httputil.lo
3474 net/http/pprof.gox: net/http/pprof.lo
3477 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3480 old/netchan.gox: old/netchan.lo
3482 old/regexp.gox: old/regexp.lo
3484 old/template.gox: old/template.lo
3487 os/exec.gox: os/exec.lo
3489 os/user.gox: os/user.lo
3492 path/filepath.gox: path/filepath.lo
3495 regexp/syntax.gox: regexp/syntax.lo
3498 runtime/debug.gox: runtime/debug.lo
3500 runtime/pprof.gox: runtime/pprof.lo
3503 sync/atomic.gox: sync/atomic.lo
3506 text/scanner.gox: text/scanner.lo
3508 text/tabwriter.gox: text/tabwriter.lo
3510 text/template.gox: text/template.lo
3512 text/template/parse.gox: text/template/parse.lo
3515 testing/iotest.gox: testing/iotest.lo
3517 testing/quick.gox: testing/quick.lo
3519 testing/script.gox: testing/script.lo
3522 unicode/utf16.gox: unicode/utf16.lo
3524 unicode/utf8.gox: unicode/utf8.lo
3528 # exp_inotify_check = exp/inotify/check
3561 compress/bzip2/check \
3562 compress/flate/check \
3563 compress/gzip/check \
3564 compress/lzw/check \
3565 compress/zlib/check \
3566 container/heap/check \
3567 container/list/check \
3568 container/ring/check \
3570 crypto/cipher/check \
3573 crypto/ecdsa/check \
3574 crypto/elliptic/check \
3581 crypto/sha256/check \
3582 crypto/sha512/check \
3583 crypto/subtle/check \
3586 database/sql/check \
3587 database/sql/driver/check \
3592 encoding/ascii85/check \
3593 encoding/asn1/check \
3594 encoding/base32/check \
3595 encoding/base64/check \
3596 encoding/binary/check \
3597 encoding/csv/check \
3598 encoding/gob/check \
3599 encoding/hex/check \
3600 encoding/json/check \
3601 encoding/pem/check \
3602 encoding/xml/check \
3605 $(exp_inotify_check) \
3609 exp/terminal/check \
3610 exp/utf8string/check \
3611 html/template/check \
3613 $(go_build_check_omitted_since_it_calls_6g) \
3619 $(go_types_check_omitted_since_it_calls_6g) \
3620 hash/adler32/check \
3628 index/suffixarray/check \
3634 mime/multipart/check \
3636 net/http/cgi/check \
3637 net/http/fcgi/check \
3638 net/http/httputil/check \
3642 net/textproto/check \
3644 net/rpc/jsonrpc/check \
3647 old/template/check \
3650 path/filepath/check \
3651 regexp/syntax/check \
3653 text/scanner/check \
3654 text/tabwriter/check \
3655 text/template/check \
3656 text/template/parse/check \
3657 testing/quick/check \
3658 testing/script/check \
3659 unicode/utf16/check \
3663 check-recursive: check-head
3666 @echo "Test Run By $${USER} on `date`" > libgo.head
3667 @echo "Native configuration is $(host_triplet)" >> libgo.head
3669 @echo " === libgo tests ===" >> libgo.head
3672 check-tail: check-recursive check-multi
3673 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3674 for dir in . $(MULTIDIRS); do \
3675 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3676 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3678 mv libgo.head libgo.sum; \
3679 cp libgo.sum libgo.log; \
3680 echo "Schedule of variations:" >> libgo.sum; \
3681 for dir in . $(MULTIDIRS); do \
3682 multidir=../$${dir}/$${lib}; \
3683 multivar=`cat $${multidir}/libgo.var`; \
3684 echo " $${multivar}" >> libgo.sum; \
3686 echo >> libgo.sum; \
3687 pass=0; fail=0; untested=0; \
3688 for dir in . $(MULTIDIRS); do \
3689 multidir=../$${dir}/$${lib}; \
3690 multivar=`cat $${multidir}/libgo.var`; \
3691 echo "Running target $${multivar}" >> libgo.sum; \
3692 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3693 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3694 cat $${multidir}/libgo.log.sep >> libgo.log; \
3695 if test -n "${MULTIDIRS}"; then \
3696 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3697 echo >> libgo.sum; \
3699 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3700 pass=`expr $$pass + $$p`; \
3701 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3702 echo "# of expected passes $$p" >> libgo.sum; \
3704 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3705 fail=`expr $$fail + $$p`; \
3706 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3707 echo "# of unexpected failures $$p" >> libgo.sum; \
3709 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3710 untested=`expr $$untested + $$p`; \
3711 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3712 echo "# of untested testcases $$p" >> libgo.sum; \
3715 echo >> libgo.sum; \
3716 echo " === libgo Summary ===" >> libgo.sum; \
3717 echo >> libgo.sum; \
3718 if test "$$pass" -ne "0"; then \
3719 echo "# of expected passes $$pass" >> libgo.sum; \
3721 if test "$$fail" -ne "0"; then \
3722 echo "# of unexpected failures $$fail" >> libgo.sum; \
3724 if test "$$untested" -ne "0"; then \
3725 echo "# of untested testcases $$untested" >> libgo.sum; \
3727 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3728 echo >> libgo.log; \
3729 echo "runtest completed at `date`" >> libgo.log; \
3730 if test "$$fail" -ne "0"; then \
3738 @rm -f libgo.sum libgo.log libgo.tail
3740 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3741 echo "$${multivar}" > libgo.var
3742 @for f in $(TEST_PACKAGES); do \
3743 rm -f $$f-testsum $$f-testlog; \
3745 -@$(MAKE) -k $(TEST_PACKAGES)
3746 @for f in $(TEST_PACKAGES); do \
3747 if test -f $$f-testsum; then \
3748 cat $$f-testsum >> libgo.sum; \
3750 if test -f $$f-testlog; then \
3751 cat $$f-testlog >> libgo.log; \
3756 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3758 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3761 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3762 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3763 find . -name '*-testsum' -print | xargs rm -f
3764 find . -name '*-testlog' -print | xargs rm -f
3766 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3769 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3770 find . -name '*.a' -print | xargs rm -f