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 LIBATOMIC = @LIBATOMIC@
35 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
37 # -I/-D flags to pass when compiling.
38 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
40 ACLOCAL_AMFLAGS = -I ./config -I ../config
42 AM_CFLAGS = -fexceptions -fnon-call-exceptions -fplan9-extensions \
43 $(SPLIT_STACK) $(WARN_CFLAGS) \
44 $(STRINGOPS_FLAG) $(OSCFLAGS) \
45 -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
46 -I $(MULTIBUILDTOP)../../gcc/include
49 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
55 # Work around what appears to be a GNU make handling MAKEFLAGS
56 # values defined in terms of make variables, as is the case for CC and
57 # friends when we are called from the top level Makefile.
59 "AR_FLAGS=$(AR_FLAGS)" \
60 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
61 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
63 "CXXFLAGS=$(CXXFLAGS)" \
64 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
65 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
66 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
68 "GOCFLAGS=$(GOCFLAGS)" \
69 "INSTALL=$(INSTALL)" \
70 "INSTALL_DATA=$(INSTALL_DATA)" \
71 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
72 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
73 "LDFLAGS=$(LDFLAGS)" \
74 "LIBCFLAGS=$(LIBCFLAGS)" \
75 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
77 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
78 "PICFLAG=$(PICFLAG)" \
79 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
81 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
82 "exec_prefix=$(exec_prefix)" \
83 "infodir=$(infodir)" \
85 "includedir=$(includedir)" \
87 "tooldir=$(tooldir)" \
88 "gxx_include_dir=$(gxx_include_dir)" \
94 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
95 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
96 "DESTDIR=$(DESTDIR)" \
99 # Subdir rules rely on $(FLAGS_TO_PASS)
100 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
102 toolexeclib_LTLIBRARIES = libgo.la
103 toolexeclib_LIBRARIES = libgobegin.a
105 toolexeclibgo_DATA = \
136 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
138 toolexeclibgoarchive_DATA = \
142 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
144 toolexeclibgocompress_DATA = \
151 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
153 toolexeclibgocontainer_DATA = \
158 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
160 toolexeclibgocrypto_DATA = \
166 crypto/elliptic.gox \
179 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
181 toolexeclibgocryptox509_DATA = \
184 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
186 toolexeclibgodatabase_DATA = \
189 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
191 toolexeclibgodatabasesql_DATA = \
192 database/sql/driver.gox
194 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
196 toolexeclibgodebug_DATA = \
204 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
206 toolexeclibgoencoding_DATA = \
207 encoding/ascii85.gox \
209 encoding/base32.gox \
210 encoding/base64.gox \
211 encoding/binary.gox \
219 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
221 toolexeclibgoexp_DATA = \
225 toolexeclibgogodir = $(toolexeclibgodir)/go
227 toolexeclibgogo_DATA = \
237 toolexeclibgohashdir = $(toolexeclibgodir)/hash
239 toolexeclibgohash_DATA = \
245 toolexeclibgohtmldir = $(toolexeclibgodir)/html
247 toolexeclibgohtml_DATA = \
250 toolexeclibgoimagedir = $(toolexeclibgodir)/image
252 toolexeclibgoimage_DATA = \
259 toolexeclibgoimagecolordir = $(toolexeclibgoimagedir)/color
261 toolexeclibgoimagecolor_DATA = \
262 image/color/palette.gox
264 toolexeclibgoindexdir = $(toolexeclibgodir)/index
266 toolexeclibgoindex_DATA = \
267 index/suffixarray.gox
269 toolexeclibgoiodir = $(toolexeclibgodir)/io
271 toolexeclibgoio_DATA = \
274 toolexeclibgologdir = $(toolexeclibgodir)/log
276 toolexeclibgolog_DATA = \
279 toolexeclibgomathdir = $(toolexeclibgodir)/math
281 toolexeclibgomath_DATA = \
286 toolexeclibgomimedir = $(toolexeclibgodir)/mime
288 toolexeclibgomime_DATA = \
291 toolexeclibgonetdir = $(toolexeclibgodir)/net
293 toolexeclibgonet_DATA = \
301 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
303 toolexeclibgonethttp_DATA = \
305 net/http/cookiejar.gox \
307 net/http/httptest.gox \
308 net/http/httputil.gox \
311 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
313 toolexeclibgonetrpc_DATA = \
316 toolexeclibgoolddir = $(toolexeclibgodir)/old
318 toolexeclibgoold_DATA = \
322 toolexeclibgoosdir = $(toolexeclibgodir)/os
324 toolexeclibgoos_DATA = \
329 toolexeclibgopathdir = $(toolexeclibgodir)/path
331 toolexeclibgopath_DATA = \
334 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
336 toolexeclibgoregexp_DATA = \
339 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
341 toolexeclibgoruntime_DATA = \
345 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
347 toolexeclibgosync_DATA = \
350 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
352 toolexeclibgotesting_DATA = \
356 toolexeclibgotextdir = $(toolexeclibgodir)/text
358 toolexeclibgotext_DATA = \
363 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
365 toolexeclibgotexttemplate_DATA = \
366 text/template/parse.gox
368 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
370 toolexeclibgounicode_DATA = \
375 runtime_mem_file = runtime/mem.c
377 runtime_mem_file = runtime/mem_posix_memalign.c
381 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
383 rtems_task_variable_add_file =
387 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
389 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
393 runtime_getncpu_file = runtime/getncpu-linux.c
396 runtime_getncpu_file = runtime/getncpu-bsd.c
399 runtime_getncpu_file = runtime/getncpu-irix.c
402 runtime_getncpu_file = runtime/getncpu-solaris.c
405 runtime_getncpu_file = runtime/getncpu-bsd.c
408 runtime_getncpu_file = runtime/getncpu-bsd.c
410 runtime_getncpu_file = runtime/getncpu-none.c
419 runtime_netpoll_files = runtime/netpoll_epoll.c
422 runtime_netpoll_files = runtime/netpoll_select.c
424 runtime_netpoll_files = runtime/netpoll_kqueue.c
429 runtime/go-append.c \
430 runtime/go-assert.c \
431 runtime/go-assert-interface.c \
432 runtime/go-byte-array-to-string.c \
433 runtime/go-breakpoint.c \
434 runtime/go-caller.c \
435 runtime/go-callers.c \
436 runtime/go-can-convert-interface.c \
439 runtime/go-check-interface.c \
440 runtime/go-construct-map.c \
441 runtime/go-convert-interface.c \
444 runtime/go-deferred-recover.c \
445 runtime/go-eface-compare.c \
446 runtime/go-eface-val-compare.c \
448 runtime/go-fieldtrack.c \
449 runtime/go-int-array-to-string.c \
450 runtime/go-int-to-string.c \
451 runtime/go-interface-compare.c \
452 runtime/go-interface-eface-compare.c \
453 runtime/go-interface-val-compare.c \
454 runtime/go-make-slice.c \
455 runtime/go-map-delete.c \
456 runtime/go-map-index.c \
457 runtime/go-map-len.c \
458 runtime/go-map-range.c \
459 runtime/go-matherr.c \
460 runtime/go-memcmp.c \
461 runtime/go-nanotime.c \
463 runtime/go-new-map.c \
468 runtime/go-recover.c \
469 runtime/go-reflect-call.c \
470 runtime/go-reflect-map.c \
472 runtime/go-runtime-error.c \
473 runtime/go-setenv.c \
474 runtime/go-signal.c \
475 runtime/go-strcmp.c \
476 runtime/go-string-to-byte-array.c \
477 runtime/go-string-to-int-array.c \
478 runtime/go-strplus.c \
479 runtime/go-strslice.c \
480 runtime/go-traceback.c \
481 runtime/go-type-complex.c \
482 runtime/go-type-eface.c \
483 runtime/go-type-error.c \
484 runtime/go-type-float.c \
485 runtime/go-type-identity.c \
486 runtime/go-type-interface.c \
487 runtime/go-type-string.c \
488 runtime/go-typedesc-equal.c \
489 runtime/go-unsafe-new.c \
490 runtime/go-unsafe-newarray.c \
491 runtime/go-unsafe-pointer.c \
492 runtime/go-unwind.c \
493 runtime/go-varargs.c \
494 runtime/env_posix.c \
496 $(runtime_lock_files) \
499 $(runtime_mem_file) \
500 runtime/mfixalloc.c \
504 $(runtime_netpoll_files) \
510 runtime/signal_unix.c \
513 $(rtems_task_variable_add_file) \
529 $(runtime_getncpu_file)
531 goc2c.$(OBJEXT): runtime/goc2c.c
532 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
534 goc2c: goc2c.$(OBJEXT)
535 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
537 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
541 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
545 netpoll.c: $(srcdir)/runtime/netpoll.goc goc2c
549 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
553 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
557 sema.c: $(srcdir)/runtime/sema.goc goc2c
561 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
562 ./goc2c --go-pkgpath os_signal $< > $@.tmp
565 time.c: $(srcdir)/runtime/time.goc goc2c
569 %.c: $(srcdir)/runtime/%.goc goc2c
580 go/bytes/bytes_decl.go \
588 go_encoding_files = \
589 go/encoding/encoding.go
639 go/math/copysign.go \
659 go/math/nextafter.go \
662 go/math/remainder.go \
674 go/mime/mediatype.go \
679 go_net_cgo_file = go/net/cgo_linux.go
680 go_net_sock_file = go/net/sock_linux.go
681 go_net_sockopt_file = go/net/sockopt_linux.go
682 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
685 go_net_cgo_file = go/net/cgo_linux.go
686 go_net_sock_file = go/net/sock_linux.go
687 go_net_sockopt_file = go/net/sockopt_linux.go
688 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
691 go_net_cgo_file = go/net/cgo_linux.go
692 go_net_sock_file = go/net/sock_solaris.go
693 go_net_sockopt_file = go/net/sockopt_solaris.go
694 go_net_sockoptip_file = go/net/sockoptip_stub.go
697 go_net_cgo_file = go/net/cgo_bsd.go
698 go_net_sock_file = go/net/sock_bsd.go
699 go_net_sockopt_file = go/net/sockopt_bsd.go
700 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
703 go_net_cgo_file = go/net/cgo_netbsd.go
704 go_net_sock_file = go/net/sock_bsd.go
705 go_net_sockopt_file = go/net/sockopt_bsd.go
706 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
708 go_net_cgo_file = go/net/cgo_bsd.go
709 go_net_sock_file = go/net/sock_bsd.go
710 go_net_sockopt_file = go/net/sockopt_bsd.go
711 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
719 go_net_sendfile_file = go/net/sendfile_linux.go
722 go_net_sendfile_file = go/net/sendfile_freebsd.go
724 if LIBGO_IS_DRAGONFLY
725 go_net_sendfile_file = go/net/sendfile_dragonfly.go
727 go_net_sendfile_file = go/net/sendfile_stub.go
733 go_net_interface_file = go/net/interface_linux.go
736 go_net_interface_file = go/net/interface_netbsd.go
738 if LIBGO_IS_DRAGONFLY
739 go_net_interface_file = go/net/interface_dragonfly.go
741 go_net_interface_file = go/net/interface_stub.go
747 go_net_cloexec_file = go/net/sock_cloexec.go
749 go_net_cloexec_file = go/net/sys_cloexec.go
753 go_net_tcpsockopt_file = go/net/tcpsockopt_openbsd.go
756 go_net_tcpsockopt_file = go/net/tcpsockopt_darwin.go
759 go_net_tcpsockopt_file = go/net/tcpsockopt_solaris.go
761 if LIBGO_IS_DRAGONFLY
762 go_net_tcpsockopt_file = go/net/tcpsockopt_dragonfly.go
764 go_net_tcpsockopt_file = go/net/tcpsockopt_unix.go
773 $(go_net_cloexec_file) \
775 go/net/dnsclient.go \
776 go/net/dnsclient_unix.go \
777 go/net/dnsconfig_unix.go \
781 go/net/file_unix.go \
783 go/net/interface.go \
784 $(go_net_interface_file) \
786 go/net/iprawsock.go \
787 go/net/iprawsock_posix.go \
789 go/net/ipsock_posix.go \
791 go/net/lookup_unix.go \
796 go/net/fd_poll_runtime.go \
798 go/net/port_unix.go \
800 $(go_net_sendfile_file) \
801 go/net/singleflight.go \
802 go/net/sock_posix.go \
803 $(go_net_sock_file) \
804 go/net/sockopt_posix.go \
805 $(go_net_sockopt_file) \
806 $(go_net_sockoptip_file) \
808 go/net/tcpsock_posix.go \
809 go/net/tcpsockopt_posix.go \
810 $(go_net_tcpsockopt_file) \
812 go/net/udpsock_posix.go \
814 go/net/unixsock_posix.go
818 go_os_dir_file = go/os/dir_largefile.go
821 go_os_dir_file = go/os/dir_largefile.go
823 go_os_dir_file = go/os/dir_regfile.go
828 go_os_dir_file = go/os/dir_largefile.go
830 go_os_dir_file = go/os/dir_regfile.go
835 go_os_getwd_file = go/os/getwd_darwin.go
841 go_os_sys_file = go/os/sys_linux.go
844 go_os_sys_file = go/os/sys_uname.go
847 go_os_sys_file = go/os/sys_uname.go
850 go_os_sys_file = go/os/sys_uname.go
852 go_os_sys_file = go/os/sys_bsd.go
859 go_os_cloexec_file = go/os/sys_freebsd.go
862 go_os_cloexec_file = go/os/sys_darwin.go
864 go_os_cloexec_file = go/os/sys_unix.go
869 go_os_stat_file = go/os/stat_solaris.go
872 go_os_stat_file = go/os/stat_atim.go
875 go_os_stat_file = go/os/stat_atim.go
878 go_os_stat_file = go/os/stat_atimespec.go
881 go_os_stat_file = go/os/stat_atimespec.go
884 go_os_stat_file = go/os/stat_atimespec.go
886 if LIBGO_IS_DRAGONFLY
887 go_os_stat_file = go/os/stat_dragonfly.go
889 go_os_stat_file = go/os/stat.go
899 go_os_pipe_file = go/os/pipe_linux.go
901 go_os_pipe_file = go/os/pipe_bsd.go
910 go/os/error_unix.go \
912 go/os/exec_posix.go \
915 go/os/file_posix.go \
918 $(go_os_getwd_file) \
926 $(go_os_cloexec_file) \
928 go/os/types_notwin.go
935 go_reflect_makefunc_file = \
936 go/reflect/makefuncgo_amd64.go
937 go_reflect_makefunc_s_file = \
938 go/reflect/makefunc_amd64.S
941 go_reflect_makefunc_file = \
942 go/reflect/makefuncgo_386.go
943 go_reflect_makefunc_s_file = \
944 go/reflect/makefunc_386.S
946 go_reflect_makefunc_file =
947 go_reflect_makefunc_s_file = \
948 go/reflect/makefunc_dummy.c
953 go/reflect/deepequal.go \
954 go/reflect/makefunc.go \
955 go/reflect/makefunc_ffi.go \
956 $(go_reflect_makefunc_file) \
959 go_reflect_makefunc_c_file = \
960 go/reflect/makefunc_ffi_c.c
964 go/regexp/onepass.go \
968 go/net/rpc/client.go \
969 go/net/rpc/debug.go \
973 go/runtime/compiler.go \
974 go/runtime/debug.go \
975 go/runtime/error.go \
976 go/runtime/extern.go \
978 go/runtime/softfloat64.go \
982 version.go: s-version; @true
985 echo "package runtime" > version.go.tmp
986 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
987 echo 'const theVersion = "'`$(GOC) --version | sed 1q`'"' >> version.go.tmp
988 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
989 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
990 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
1000 go/strconv/atoi.go \
1001 go/strconv/decimal.go \
1002 go/strconv/extfloat.go \
1003 go/strconv/ftoa.go \
1004 go/strconv/isprint.go \
1005 go/strconv/itoa.go \
1008 go_strings_files = \
1009 go/strings/reader.go \
1010 go/strings/replace.go \
1011 go/strings/search.go \
1012 go/strings/strings.go \
1013 go/strings/strings_decl.go
1014 go_strings_c_files = \
1015 go/strings/indexbyte.c
1023 go/sync/runtime.go \
1024 go/sync/rwmutex.go \
1025 go/sync/waitgroup.go
1028 go_syslog_file = go/log/syslog/syslog_libc.go
1031 go_syslog_file = go/log/syslog/syslog_libc.go
1033 go_syslog_file = go/log/syslog/syslog_unix.go
1037 go_log_syslog_files = \
1038 go/log/syslog/syslog.go \
1040 go_syslog_c_files = \
1041 go/log/syslog/syslog_c.c
1043 go_testing_files = \
1044 go/testing/allocs.go \
1045 go/testing/benchmark.go \
1046 go/testing/cover.go \
1047 go/testing/example.go \
1048 go/testing/testing.go
1053 go/time/sys_unix.go \
1056 go/time/zoneinfo.go \
1057 go/time/zoneinfo_read.go \
1058 go/time/zoneinfo_unix.go
1060 go_unicode_files = \
1061 go/unicode/casetables.go \
1062 go/unicode/digit.go \
1063 go/unicode/graphic.go \
1064 go/unicode/letter.go \
1065 go/unicode/tables.go
1068 archive_tar_atim_file = go/archive/tar/stat_atim.go
1071 archive_tar_atim_file = go/archive/tar/stat_atim.go
1074 archive_tar_atim_file = go/archive/tar/stat_atim.go
1077 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1080 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1083 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1086 go_archive_tar_files = \
1087 go/archive/tar/common.go \
1088 go/archive/tar/reader.go \
1089 go/archive/tar/stat_unix.go \
1090 go/archive/tar/writer.go \
1091 $(archive_tar_atim_file)
1093 go_archive_zip_files = \
1094 go/archive/zip/reader.go \
1095 go/archive/zip/register.go \
1096 go/archive/zip/struct.go \
1097 go/archive/zip/writer.go
1099 go_compress_bzip2_files = \
1100 go/compress/bzip2/bit_reader.go \
1101 go/compress/bzip2/bzip2.go \
1102 go/compress/bzip2/huffman.go \
1103 go/compress/bzip2/move_to_front.go
1105 go_compress_flate_files = \
1106 go/compress/flate/copy.go \
1107 go/compress/flate/deflate.go \
1108 go/compress/flate/fixedhuff.go \
1109 go/compress/flate/huffman_bit_writer.go \
1110 go/compress/flate/huffman_code.go \
1111 go/compress/flate/inflate.go \
1112 go/compress/flate/reverse_bits.go \
1113 go/compress/flate/token.go
1115 go_compress_gzip_files = \
1116 go/compress/gzip/gzip.go \
1117 go/compress/gzip/gunzip.go
1119 go_compress_lzw_files = \
1120 go/compress/lzw/reader.go \
1121 go/compress/lzw/writer.go
1123 go_compress_zlib_files = \
1124 go/compress/zlib/reader.go \
1125 go/compress/zlib/writer.go
1127 go_container_heap_files = \
1128 go/container/heap/heap.go
1130 go_container_list_files = \
1131 go/container/list/list.go
1133 go_container_ring_files = \
1134 go/container/ring/ring.go
1136 go_crypto_aes_files = \
1137 go/crypto/aes/block.go \
1138 go/crypto/aes/cipher.go \
1139 go/crypto/aes/cipher_generic.go \
1140 go/crypto/aes/const.go
1141 go_crypto_cipher_files = \
1142 go/crypto/cipher/cbc.go \
1143 go/crypto/cipher/cfb.go \
1144 go/crypto/cipher/cipher.go \
1145 go/crypto/cipher/ctr.go \
1146 go/crypto/cipher/gcm.go \
1147 go/crypto/cipher/io.go \
1148 go/crypto/cipher/ofb.go \
1149 go/crypto/cipher/xor.go
1150 go_crypto_des_files = \
1151 go/crypto/des/block.go \
1152 go/crypto/des/cipher.go \
1153 go/crypto/des/const.go
1154 go_crypto_dsa_files = \
1155 go/crypto/dsa/dsa.go
1156 go_crypto_ecdsa_files = \
1157 go/crypto/ecdsa/ecdsa.go
1158 go_crypto_elliptic_files = \
1159 go/crypto/elliptic/elliptic.go \
1160 go/crypto/elliptic/p224.go \
1161 go/crypto/elliptic/p256.go
1162 go_crypto_hmac_files = \
1163 go/crypto/hmac/hmac.go
1164 go_crypto_md5_files = \
1165 go/crypto/md5/md5.go \
1166 go/crypto/md5/md5block.go \
1167 go/crypto/md5/md5block_generic.go
1168 go_crypto_rand_files = \
1169 go/crypto/rand/rand.go \
1170 go/crypto/rand/rand_unix.go \
1171 go/crypto/rand/util.go
1172 go_crypto_rc4_files = \
1173 go/crypto/rc4/rc4.go \
1174 go/crypto/rc4/rc4_ref.go
1175 go_crypto_rsa_files = \
1176 go/crypto/rsa/pkcs1v15.go \
1177 go/crypto/rsa/pss.go \
1178 go/crypto/rsa/rsa.go
1179 go_crypto_sha1_files = \
1180 go/crypto/sha1/sha1.go \
1181 go/crypto/sha1/sha1block.go \
1182 go/crypto/sha1/sha1block_generic.go
1183 go_crypto_sha256_files = \
1184 go/crypto/sha256/sha256.go \
1185 go/crypto/sha256/sha256block.go
1186 go_crypto_sha512_files = \
1187 go/crypto/sha512/sha512.go \
1188 go/crypto/sha512/sha512block.go
1189 go_crypto_subtle_files = \
1190 go/crypto/subtle/constant_time.go
1191 go_crypto_tls_files = \
1192 go/crypto/tls/alert.go \
1193 go/crypto/tls/cipher_suites.go \
1194 go/crypto/tls/common.go \
1195 go/crypto/tls/conn.go \
1196 go/crypto/tls/handshake_client.go \
1197 go/crypto/tls/handshake_messages.go \
1198 go/crypto/tls/handshake_server.go \
1199 go/crypto/tls/key_agreement.go \
1200 go/crypto/tls/prf.go \
1201 go/crypto/tls/ticket.go \
1202 go/crypto/tls/tls.go
1203 go_crypto_x509_files = \
1204 go/crypto/x509/cert_pool.go \
1205 go/crypto/x509/pem_decrypt.go \
1206 go/crypto/x509/pkcs1.go \
1207 go/crypto/x509/pkcs8.go \
1208 go/crypto/x509/root.go \
1209 go/crypto/x509/root_unix.go \
1210 go/crypto/x509/sec1.go \
1211 go/crypto/x509/verify.go \
1212 go/crypto/x509/x509.go
1214 go_crypto_x509_pkix_files = \
1215 go/crypto/x509/pkix/pkix.go
1217 go_database_sql_files = \
1218 go/database/sql/convert.go \
1219 go/database/sql/sql.go
1221 go_database_sql_driver_files = \
1222 go/database/sql/driver/driver.go \
1223 go/database/sql/driver/types.go
1225 go_debug_dwarf_files = \
1226 go/debug/dwarf/buf.go \
1227 go/debug/dwarf/const.go \
1228 go/debug/dwarf/entry.go \
1229 go/debug/dwarf/line.go \
1230 go/debug/dwarf/open.go \
1231 go/debug/dwarf/type.go \
1232 go/debug/dwarf/typeunit.go \
1233 go/debug/dwarf/unit.go
1234 go_debug_elf_files = \
1235 go/debug/elf/elf.go \
1236 go/debug/elf/file.go
1237 go_debug_gosym_files = \
1238 go/debug/gosym/pclntab.go \
1239 go/debug/gosym/symtab.go
1240 go_debug_macho_files = \
1241 go/debug/macho/fat.go \
1242 go/debug/macho/file.go \
1243 go/debug/macho/macho.go
1244 go_debug_pe_files = \
1245 go/debug/pe/file.go \
1247 go_debug_plan9obj_files = \
1248 go/debug/plan9obj/file.go \
1249 go/debug/plan9obj/plan9obj.go
1251 go_encoding_ascii85_files = \
1252 go/encoding/ascii85/ascii85.go
1253 go_encoding_asn1_files = \
1254 go/encoding/asn1/asn1.go \
1255 go/encoding/asn1/common.go \
1256 go/encoding/asn1/marshal.go
1257 go_encoding_base32_files = \
1258 go/encoding/base32/base32.go
1259 go_encoding_base64_files = \
1260 go/encoding/base64/base64.go
1261 go_encoding_binary_files = \
1262 go/encoding/binary/binary.go \
1263 go/encoding/binary/varint.go
1264 go_encoding_csv_files = \
1265 go/encoding/csv/reader.go \
1266 go/encoding/csv/writer.go
1267 go_encoding_gob_files = \
1268 go/encoding/gob/decode.go \
1269 go/encoding/gob/decoder.go \
1270 go/encoding/gob/doc.go \
1271 go/encoding/gob/encode.go \
1272 go/encoding/gob/encoder.go \
1273 go/encoding/gob/error.go \
1274 go/encoding/gob/type.go
1275 go_encoding_hex_files = \
1276 go/encoding/hex/hex.go
1277 go_encoding_json_files = \
1278 go/encoding/json/decode.go \
1279 go/encoding/json/encode.go \
1280 go/encoding/json/fold.go \
1281 go/encoding/json/indent.go \
1282 go/encoding/json/scanner.go \
1283 go/encoding/json/stream.go \
1284 go/encoding/json/tags.go
1285 go_encoding_pem_files = \
1286 go/encoding/pem/pem.go
1287 go_encoding_xml_files = \
1288 go/encoding/xml/marshal.go \
1289 go/encoding/xml/read.go \
1290 go/encoding/xml/typeinfo.go \
1291 go/encoding/xml/xml.go
1293 go_exp_proxy_files = \
1294 go/exp/proxy/direct.go \
1295 go/exp/proxy/per_host.go \
1296 go/exp/proxy/proxy.go \
1297 go/exp/proxy/socks5.go
1298 go_exp_terminal_files = \
1299 go/exp/terminal/terminal.go \
1300 go/exp/terminal/util.go
1304 go/go/ast/commentmap.go \
1305 go/go/ast/filter.go \
1306 go/go/ast/import.go \
1307 go/go/ast/print.go \
1308 go/go/ast/resolve.go \
1309 go/go/ast/scope.go \
1311 go_go_build_files = \
1312 go/go/build/build.go \
1313 go/go/build/doc.go \
1314 go/go/build/read.go \
1315 go/go/build/syslist.go
1317 go/go/doc/comment.go \
1319 go/go/doc/example.go \
1320 go/go/doc/exports.go \
1321 go/go/doc/filter.go \
1322 go/go/doc/reader.go \
1323 go/go/doc/synopsis.go
1324 go_go_format_files = \
1325 go/go/format/format.go
1326 go_go_parser_files = \
1327 go/go/parser/interface.go \
1328 go/go/parser/parser.go
1329 go_go_printer_files = \
1330 go/go/printer/nodes.go \
1331 go/go/printer/printer.go
1332 go_go_scanner_files = \
1333 go/go/scanner/errors.go \
1334 go/go/scanner/scanner.go
1335 go_go_token_files = \
1336 go/go/token/position.go \
1337 go/go/token/serialize.go \
1338 go/go/token/token.go
1340 go_hash_adler32_files = \
1341 go/hash/adler32/adler32.go
1342 go_hash_crc32_files = \
1343 go/hash/crc32/crc32.go \
1344 go/hash/crc32/crc32_generic.go
1345 go_hash_crc64_files = \
1346 go/hash/crc64/crc64.go
1347 go_hash_fnv_files = \
1350 go_html_template_files = \
1351 go/html/template/attr.go \
1352 go/html/template/content.go \
1353 go/html/template/context.go \
1354 go/html/template/css.go \
1355 go/html/template/doc.go \
1356 go/html/template/error.go \
1357 go/html/template/escape.go \
1358 go/html/template/html.go \
1359 go/html/template/js.go \
1360 go/html/template/template.go \
1361 go/html/template/transition.go \
1362 go/html/template/url.go
1364 go_image_color_files = \
1365 go/image/color/color.go \
1366 go/image/color/ycbcr.go
1368 go_image_color_palette_files = \
1369 go/image/color/palette/palette.go
1371 go_image_draw_files = \
1372 go/image/draw/draw.go
1374 go_image_gif_files = \
1375 go/image/gif/reader.go \
1376 go/image/gif/writer.go
1378 go_image_jpeg_files = \
1379 go/image/jpeg/fdct.go \
1380 go/image/jpeg/huffman.go \
1381 go/image/jpeg/idct.go \
1382 go/image/jpeg/reader.go \
1383 go/image/jpeg/scan.go \
1384 go/image/jpeg/writer.go
1386 go_image_png_files = \
1387 go/image/png/paeth.go \
1388 go/image/png/reader.go \
1389 go/image/png/writer.go
1391 go_index_suffixarray_files = \
1392 go/index/suffixarray/qsufsort.go \
1393 go/index/suffixarray/suffixarray.go
1395 go_io_ioutil_files = \
1396 go/io/ioutil/ioutil.go \
1397 go/io/ioutil/tempfile.go
1399 go_math_big_files = \
1400 go/math/big/arith.go \
1401 go/math/big/int.go \
1402 go/math/big/nat.go \
1404 go_math_cmplx_files = \
1405 go/math/cmplx/abs.go \
1406 go/math/cmplx/asin.go \
1407 go/math/cmplx/conj.go \
1408 go/math/cmplx/exp.go \
1409 go/math/cmplx/isinf.go \
1410 go/math/cmplx/isnan.go \
1411 go/math/cmplx/log.go \
1412 go/math/cmplx/phase.go \
1413 go/math/cmplx/polar.go \
1414 go/math/cmplx/pow.go \
1415 go/math/cmplx/rect.go \
1416 go/math/cmplx/sin.go \
1417 go/math/cmplx/sqrt.go \
1418 go/math/cmplx/tan.go
1419 go_math_rand_files = \
1420 go/math/rand/exp.go \
1421 go/math/rand/normal.go \
1422 go/math/rand/rand.go \
1423 go/math/rand/rng.go \
1424 go/math/rand/zipf.go
1426 go_mime_multipart_files = \
1427 go/mime/multipart/formdata.go \
1428 go/mime/multipart/multipart.go \
1429 go/mime/multipart/quotedprintable.go \
1430 go/mime/multipart/writer.go
1432 go_net_http_files = \
1433 go/net/http/chunked.go \
1434 go/net/http/client.go \
1435 go/net/http/cookie.go \
1436 go/net/http/filetransport.go \
1438 go/net/http/header.go \
1439 go/net/http/jar.go \
1440 go/net/http/lex.go \
1441 go/net/http/request.go \
1442 go/net/http/response.go \
1443 go/net/http/server.go \
1444 go/net/http/sniff.go \
1445 go/net/http/status.go \
1446 go/net/http/transfer.go \
1447 go/net/http/transport.go
1448 go_net_mail_files = \
1449 go/net/mail/message.go
1450 go_net_smtp_files = \
1451 go/net/smtp/auth.go \
1453 go_net_textproto_files = \
1454 go/net/textproto/header.go \
1455 go/net/textproto/pipeline.go \
1456 go/net/textproto/reader.go \
1457 go/net/textproto/textproto.go \
1458 go/net/textproto/writer.go
1459 go_net_url_files = \
1462 go_net_http_cgi_files = \
1463 go/net/http/cgi/child.go \
1464 go/net/http/cgi/host.go
1465 go_net_http_cookiejar_files = \
1466 go/net/http/cookiejar/jar.go \
1467 go/net/http/cookiejar/punycode.go
1468 go_net_http_fcgi_files = \
1469 go/net/http/fcgi/child.go \
1470 go/net/http/fcgi/fcgi.go
1471 go_net_http_httptest_files = \
1472 go/net/http/httptest/recorder.go \
1473 go/net/http/httptest/server.go
1474 go_net_http_pprof_files = \
1475 go/net/http/pprof/pprof.go
1476 go_net_http_httputil_files = \
1477 go/net/http/httputil/chunked.go \
1478 go/net/http/httputil/dump.go \
1479 go/net/http/httputil/httputil.go \
1480 go/net/http/httputil/persist.go \
1481 go/net/http/httputil/reverseproxy.go
1484 go_old_regexp_files = \
1485 go/old/regexp/regexp.go
1486 go_old_template_files = \
1487 go/old/template/doc.go \
1488 go/old/template/execute.go \
1489 go/old/template/format.go \
1490 go/old/template/parse.go
1492 go_os_exec_files = \
1493 go/os/exec/exec.go \
1494 go/os/exec/lp_unix.go
1496 go_os_signal_files = \
1497 go/os/signal/signal.go \
1498 go/os/signal/signal_unix.go
1501 os_user_decls_file = go/os/user/decls_solaris.go
1503 os_user_decls_file = go/os/user/decls_unix.go
1506 go_os_user_files = \
1507 go/os/user/lookup.go \
1508 go/os/user/lookup_unix.go \
1509 go/os/user/user.go \
1510 $(os_user_decls_file)
1512 go_path_filepath_files = \
1513 go/path/filepath/match.go \
1514 go/path/filepath/path.go \
1515 go/path/filepath/path_unix.go \
1516 go/path/filepath/symlink.go
1518 go_regexp_syntax_files = \
1519 go/regexp/syntax/compile.go \
1520 go/regexp/syntax/doc.go \
1521 go/regexp/syntax/parse.go \
1522 go/regexp/syntax/perl_groups.go \
1523 go/regexp/syntax/prog.go \
1524 go/regexp/syntax/regexp.go \
1525 go/regexp/syntax/simplify.go
1527 go_net_rpc_jsonrpc_files = \
1528 go/net/rpc/jsonrpc/client.go \
1529 go/net/rpc/jsonrpc/server.go
1531 go_runtime_debug_files = \
1532 go/runtime/debug/garbage.go \
1533 go/runtime/debug/stack.go
1534 go_runtime_pprof_files = \
1535 go/runtime/pprof/pprof.go
1537 go_text_tabwriter_files = \
1538 go/text/tabwriter/tabwriter.go
1539 go_text_template_files = \
1540 go/text/template/doc.go \
1541 go/text/template/exec.go \
1542 go/text/template/funcs.go \
1543 go/text/template/helper.go \
1544 go/text/template/template.go
1545 go_text_template_parse_files = \
1546 go/text/template/parse/lex.go \
1547 go/text/template/parse/node.go \
1548 go/text/template/parse/parse.go
1550 go_sync_atomic_files = \
1551 go/sync/atomic/doc.go
1552 go_sync_atomic_c_files = \
1553 go/sync/atomic/atomic.c
1555 go_testing_iotest_files = \
1556 go/testing/iotest/logger.go \
1557 go/testing/iotest/reader.go \
1558 go/testing/iotest/writer.go
1559 go_testing_quick_files = \
1560 go/testing/quick/quick.go
1562 go_text_scanner_files = \
1563 go/text/scanner/scanner.go
1565 go_unicode_utf16_files = \
1566 go/unicode/utf16/utf16.go
1567 go_unicode_utf8_files = \
1568 go/unicode/utf8/utf8.go
1570 # Define Syscall and Syscall6.
1572 syscall_syscall_file = go/syscall/syscall_stubs.go
1574 syscall_syscall_file = go/syscall/syscall_unix.go
1577 # Define ForkExec and Exec.
1579 syscall_exec_file = go/syscall/exec_stubs.go
1580 syscall_exec_os_file =
1583 syscall_exec_file = go/syscall/exec_unix.go
1584 syscall_exec_os_file = go/syscall/exec_linux.go
1586 syscall_exec_file = go/syscall/exec_unix.go
1587 syscall_exec_os_file = go/syscall/exec_bsd.go
1596 syscall_wait_file = go/syscall/libcall_wait4.go
1598 syscall_wait_file = go/syscall/libcall_waitpid.go
1602 # Support for pulling apart wait status.
1604 syscall_wait_c_file =
1606 syscall_wait_c_file = go/syscall/wait.c
1611 syscall_sleep_file = go/syscall/sleep_rtems.go
1613 syscall_sleep_file = go/syscall/sleep_select.go
1618 syscall_errstr_file = go/syscall/errstr_linux.go
1621 syscall_errstr_file = go/syscall/errstr_linux.go
1624 syscall_errstr_file = go/syscall/errstr.go
1626 syscall_errstr_file = go/syscall/errstr_nor.go
1631 # Declare libc functions that vary for largefile systems.
1633 # Always use lseek64 on GNU/Linux.
1634 syscall_size_file = go/syscall/libcall_posix_largefile.go
1635 else # !LIBGO_IS_LINUX
1638 # Use lseek64 on 32-bit Solaris/x86.
1639 syscall_size_file = go/syscall/libcall_posix_largefile.go
1640 else # !LIBGO_IS_386
1642 # Use lseek64 on 32-bit Solaris/SPARC.
1643 syscall_size_file = go/syscall/libcall_posix_largefile.go
1644 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1645 # Use lseek on 64-bit Solaris.
1646 syscall_size_file = go/syscall/libcall_posix_regfile.go
1647 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1648 endif # !LIBGO_IS_SOLARIS
1649 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1650 # Use lseek by default.
1651 syscall_size_file = go/syscall/libcall_posix_regfile.go
1652 endif # !LIBGO_IS_SOLARIS
1653 endif # !LIBGO_IS_LINUX
1655 # Define socket sizes and types.
1657 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1660 syscall_socket_file = go/syscall/socket_solaris.go
1663 syscall_socket_file = go/syscall/socket_irix.go
1665 syscall_socket_file = go/syscall/socket_bsd.go
1670 # Define socket functions.
1672 syscall_socket_os_file = go/syscall/socket_xnet.go
1674 syscall_socket_os_file = go/syscall/socket_posix.go
1677 # Support for uname.
1680 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1681 syscall_uname_file =
1682 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1683 syscall_uname_file = go/syscall/libcall_uname.go
1685 else # !LIBGO_IS_SOLARIS
1686 syscall_uname_file = go/syscall/libcall_uname.go
1689 # GNU/Linux specific socket control messages.
1691 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1693 syscall_sockcmsg_file =
1696 # Support for netlink sockets and messages.
1698 syscall_netlink_file = go/syscall/netlink_linux.go
1700 syscall_netlink_file =
1703 # GNU/Linux specific socket filters.
1705 syscall_lsf_file = go/syscall/lsf_linux.go
1710 # GNU/Linux specific utimesnano support.
1712 syscall_utimesnano_file = go/syscall/libcall_linux_utimesnano.go
1714 syscall_utimesnano_file = go/syscall/libcall_posix_utimesnano.go
1719 syscall_creds_test_file = go/syscall/creds_test.go
1721 syscall_creds_test_file =
1724 go_base_syscall_files = \
1725 go/syscall/env_unix.go \
1726 go/syscall/syscall_errno.go \
1727 go/syscall/libcall_support.go \
1728 go/syscall/libcall_posix.go \
1729 go/syscall/race0.go \
1730 go/syscall/socket.go \
1731 go/syscall/sockcmsg_unix.go \
1733 go/syscall/syscall.go \
1734 $(syscall_sockcmsg_file) \
1735 $(syscall_syscall_file) \
1736 $(syscall_exec_file) \
1737 $(syscall_exec_os_file) \
1738 $(syscall_wait_file) \
1739 $(syscall_sleep_file) \
1740 $(syscall_errstr_file) \
1741 $(syscall_size_file) \
1742 $(syscall_socket_file) \
1743 $(syscall_socket_os_file) \
1744 $(syscall_uname_file) \
1745 $(syscall_netlink_file) \
1746 $(syscall_lsf_file) \
1747 $(syscall_utimesnano_file) \
1748 $(GO_LIBCALL_OS_FILE) \
1749 $(GO_LIBCALL_OS_ARCH_FILE) \
1750 $(GO_SYSCALL_OS_FILE) \
1751 $(GO_SYSCALL_OS_ARCH_FILE)
1753 go_syscall_files = \
1754 $(go_base_syscall_files) \
1758 go_syscall_c_files = \
1759 go/syscall/errno.c \
1760 go/syscall/signame.c \
1761 $(syscall_wait_c_file)
1763 go_syscall_test_files = \
1764 $(syscall_creds_test_file) \
1765 go/syscall/mmap_unix_test.go \
1766 go/syscall/syscall_test.go \
1767 go/syscall/syscall_unix_test.go
1769 libcalls.go: s-libcalls; @true
1770 s-libcalls: libcalls-list go/syscall/mksyscall.awk $(go_base_syscall_files)
1771 rm -f libcalls.go.tmp
1772 files=`echo $^ | sed -e 's/libcalls-list//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1773 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1774 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1777 libcalls-list: s-libcalls-list; @true
1778 s-libcalls-list: Makefile
1779 rm -f libcalls-list.tmp
1780 echo $(go_base_syscall_files) > libcalls-list.tmp
1781 $(SHELL) $(srcdir)/../move-if-change libcalls-list.tmp libcalls-list
1784 syscall_arch.go: s-syscall_arch; @true
1785 s-syscall_arch: Makefile
1786 rm -f syscall_arch.go.tmp
1787 echo "package syscall" > syscall_arch.go.tmp
1788 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1789 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1790 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1793 sysinfo.go: s-sysinfo; @true
1794 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1795 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1796 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1799 # The epoll struct has an embedded union and is packed on x86_64,
1800 # which is too complicated for mksysinfo.sh. We find the offset of
1801 # the only field we care about in configure.ac, and generate the
1803 epoll.go: s-epoll; @true
1806 echo 'package syscall' > epoll.go.tmp
1807 echo 'type EpollEvent struct {' >> epoll.go.tmp
1808 echo ' Events uint32' >> epoll.go.tmp
1809 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1810 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1812 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1813 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1814 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1815 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1816 echo ' Fd int32' >> epoll.go.tmp; ;; \
1817 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1818 echo ' Fd int32' >> epoll.go.tmp; \
1819 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1820 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1823 echo '}' >> epoll.go.tmp
1824 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1828 # os_lib_inotify_lo = os/inotify.lo
1855 reflect/makefunc.lo \
1856 reflect/makefunc_ffi_c.lo \
1866 syscall/signame.lo \
1886 crypto/elliptic.lo \
1898 crypto/x509/pkix.lo \
1900 database/sql/driver.lo \
1907 encoding/ascii85.lo \
1909 encoding/base32.lo \
1910 encoding/base64.lo \
1911 encoding/binary.lo \
1934 net/http/cookiejar.lo \
1936 net/http/httptest.lo \
1937 net/http/httputil.lo \
1940 image/color/palette.lo \
1945 index/suffixarray.lo \
1948 log/syslog/syslog_c.lo \
1962 $(os_lib_inotify_lo) \
1967 net/rpc/jsonrpc.lo \
1975 text/template/parse.lo \
1981 libgo_la_SOURCES = $(runtime_files)
1983 libgo_la_LDFLAGS = \
1984 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
1987 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
1988 $(LIBATOMIC) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1990 libgobegin_a_SOURCES = \
1993 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1995 GOCFLAGS = $(CFLAGS)
1996 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1997 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1999 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
2000 $(AM_GOCFLAGS) $(GOCFLAGS)
2002 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
2003 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
2005 # Build the dependencies for a Go package.
2008 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
2011 # Build the .go files for a package, generating a .lo file.
2014 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2015 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
2022 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
2024 GOLIBS="$(MATH_LIBS) $(NET_LIBS) $(LIBS)"; \
2026 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
2027 export RUNTESTFLAGS; \
2030 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
2031 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
2032 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
2033 export LD_LIBRARY_PATH; \
2035 rm -f $@-testsum $@-testlog; \
2036 if test "$(USE_DEJAGNU)" = "yes"; then \
2037 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files); \
2038 elif test "$(GOBENCH)" != ""; then \
2039 $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --goarch="$(GOARCH)" --bench="$(GOBENCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files); \
2041 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files) >>$@-testlog 2>&1; then \
2042 echo "PASS: $(@D)" >> $@-testlog; \
2043 echo "PASS: $(@D)"; \
2044 echo "PASS: $(@D)" > $@-testsum; \
2046 echo "FAIL: $(@D)" >> $@-testlog; \
2048 echo "FAIL: $(@D)" > $@-testsum; \
2053 # Build all packages before checking any.
2054 CHECK_DEPS = libgo.la libgobegin.a \
2055 $(toolexeclibgo_DATA) \
2056 $(toolexeclibgoarchive_DATA) \
2057 $(toolexeclibgocompress_DATA) \
2058 $(toolexeclibgocontainer_DATA) \
2059 $(toolexeclibgocrypto_DATA) \
2060 $(toolexeclibgodebug_DATA) \
2061 $(toolexeclibgoencoding_DATA) \
2062 $(toolexeclibgoexp_DATA) \
2063 $(toolexeclibgogo_DATA) \
2064 $(toolexeclibgohash_DATA) \
2065 $(toolexeclibgoimage_DATA) \
2066 $(toolexeclibgoindex_DATA) \
2067 $(toolexeclibgoio_DATA) \
2068 $(toolexeclibgolog_DATA) \
2069 $(toolexeclibgomath_DATA) \
2070 $(toolexeclibgomime_DATA) \
2071 $(toolexeclibgonet_DATA) \
2072 $(toolexeclibgonethttp_DATA) \
2073 $(toolexeclibgoos_DATA) \
2074 $(toolexeclibgopath_DATA) \
2075 $(toolexeclibgorpc_DATA) \
2076 $(toolexeclibgoruntime_DATA) \
2077 $(toolexeclibgosync_DATA) \
2078 $(toolexeclibgotesting_DATA) \
2079 $(toolexeclibgotext_DATA) \
2080 $(toolexeclibgotexttemplate_DATA) \
2081 $(toolexeclibgounicode_DATA)
2083 @go_include@ bufio.lo.dep
2084 bufio.lo.dep: $(go_bufio_files)
2086 bufio.lo: $(go_bufio_files)
2088 bufio/check: $(CHECK_DEPS)
2092 @go_include@ bytes.lo.dep
2093 bytes.lo.dep: $(go_bytes_files)
2095 bytes.lo: $(go_bytes_files)
2097 bytes/index.lo: $(go_bytes_c_files)
2099 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
2100 bytes/check: $(CHECK_DEPS)
2104 @go_include@ crypto.lo.dep
2105 crypto.lo.dep: $(go_crypto_files)
2107 crypto.lo: $(go_crypto_files)
2109 crypto/check: $(CHECK_DEPS)
2111 .PHONY: crypto/check
2113 @go_include@ encoding.lo.dep
2114 encoding.lo.dep: $(go_encoding_files)
2116 encoding.lo: $(go_encoding_files)
2118 encoding/check: $(CHECK_DEPS)
2120 .PHONY: encoding/check
2122 @go_include@ errors.lo.dep
2123 errors.lo.dep: $(go_errors_files)
2125 errors.lo: $(go_errors_files)
2127 errors/check: $(CHECK_DEPS)
2129 .PHONY: errors/check
2131 @go_include@ expvar.lo.dep
2132 expvar.lo.dep: $(go_expvar_files)
2134 expvar.lo: $(go_expvar_files)
2136 expvar/check: $(CHECK_DEPS)
2138 .PHONY: expvar/check
2140 @go_include@ flag.lo.dep
2141 flag.lo.dep: $(go_flag_files)
2143 flag.lo: $(go_flag_files)
2145 flag/check: $(CHECK_DEPS)
2149 @go_include@ fmt.lo.dep
2150 fmt.lo.dep: $(go_fmt_files)
2152 fmt.lo: $(go_fmt_files)
2154 fmt/check: $(CHECK_DEPS)
2158 @go_include@ hash.lo.dep
2159 hash.lo.dep: $(go_hash_files)
2161 hash.lo: $(go_hash_files)
2163 hash/check: $(CHECK_DEPS)
2167 @go_include@ html.lo.dep
2168 html.lo.dep: $(go_html_files)
2170 html.lo: $(go_html_files)
2172 html/check: $(CHECK_DEPS)
2176 @go_include@ image.lo.dep
2177 image.lo.dep: $(go_image_files)
2179 image.lo: $(go_image_files)
2181 image/check: $(CHECK_DEPS)
2185 @go_include@ io.lo.dep
2186 io.lo.dep: $(go_io_files)
2188 io.lo: $(go_io_files)
2190 io/check: $(CHECK_DEPS)
2194 @go_include@ log.lo.dep
2195 log.lo.dep: $(go_log_files)
2197 log.lo: $(go_log_files)
2199 log/check: $(CHECK_DEPS)
2203 @go_include@ math.lo.dep
2204 math.lo.dep: $(go_math_files)
2206 math.lo: $(go_math_files)
2208 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2209 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
2210 math/check: $(CHECK_DEPS)
2214 @go_include@ mime.lo.dep
2215 mime.lo.dep: $(go_mime_files)
2217 mime.lo: $(go_mime_files)
2219 mime/check: $(CHECK_DEPS)
2223 @go_include@ net.lo.dep
2224 net.lo.dep: $(go_net_files)
2226 net.lo: $(go_net_files)
2228 net/check: $(CHECK_DEPS)
2232 @go_include@ os.lo.dep
2233 os.lo.dep: $(go_os_files)
2235 os.lo: $(go_os_files)
2237 os/check: $(CHECK_DEPS)
2241 @go_include@ path.lo.dep
2242 path.lo.dep: $(go_path_files)
2244 path.lo: $(go_path_files)
2246 path/check: $(CHECK_DEPS)
2250 @go_include@ reflect-go.lo.dep
2251 reflect-go.lo.dep: $(go_reflect_files)
2253 reflect-go.lo: $(go_reflect_files)
2255 reflect/check: $(CHECK_DEPS)
2257 reflect/makefunc.lo: $(go_reflect_makefunc_s_file)
2259 $(LTCOMPILE) -c -o $@ $<
2260 reflect/makefunc_ffi_c.lo: $(go_reflect_makefunc_c_file)
2262 $(LTCOMPILE) -c -o $@ $<
2263 .PHONY: reflect/check
2265 @go_include@ regexp.lo.dep
2266 regexp.lo.dep: $(go_regexp_files)
2268 regexp.lo: $(go_regexp_files)
2270 regexp/check: $(CHECK_DEPS)
2272 .PHONY: regexp/check
2274 @go_include@ runtime-go.lo.dep
2275 runtime-go.lo.dep: $(go_runtime_files)
2277 runtime-go.lo: $(go_runtime_files)
2279 runtime/check: $(CHECK_DEPS)
2281 .PHONY: runtime/check
2283 @go_include@ sort.lo.dep
2284 sort.lo.dep: $(go_sort_files)
2286 sort.lo: $(go_sort_files)
2288 sort/check: $(CHECK_DEPS)
2292 @go_include@ strconv.lo.dep
2293 strconv.lo.dep: $(go_strconv_files)
2295 strconv.lo: $(go_strconv_files)
2297 strconv/check: $(CHECK_DEPS)
2299 .PHONY: strconv/check
2301 @go_include@ strings.lo.dep
2302 strings.lo.dep: $(go_strings_files)
2304 strings.lo: $(go_strings_files)
2306 strings/index.lo: $(go_strings_c_files)
2308 $(LTCOMPILE) -c -o strings/index.lo $(srcdir)/go/strings/indexbyte.c
2309 strings/check: $(CHECK_DEPS)
2311 .PHONY: strings/check
2313 @go_include@ sync.lo.dep
2314 sync.lo.dep: $(go_sync_files)
2316 sync.lo: $(go_sync_files)
2318 sync/check: $(CHECK_DEPS)
2322 @go_include@ testing.lo.dep
2323 testing.lo.dep: $(go_testing_files)
2325 testing.lo: $(go_testing_files)
2327 testing/check: $(CHECK_DEPS)
2329 .PHONY: testing/check
2331 @go_include@ time-go.lo.dep
2332 time-go.lo.dep: $(go_time_files)
2334 time-go.lo: $(go_time_files)
2336 time/check: $(CHECK_DEPS)
2340 @go_include@ unicode.lo.dep
2341 unicode.lo.dep: $(go_unicode_files)
2343 unicode.lo: $(go_unicode_files)
2345 unicode/check: $(CHECK_DEPS)
2347 .PHONY: unicode/check
2349 @go_include@ archive/tar.lo.dep
2350 archive/tar.lo.dep: $(go_archive_tar_files)
2352 archive/tar.lo: $(go_archive_tar_files)
2354 archive/tar/check: $(CHECK_DEPS)
2356 .PHONY: archive/tar/check
2358 @go_include@ archive/zip.lo.dep
2359 archive/zip.lo.dep: $(go_archive_zip_files)
2361 archive/zip.lo: $(go_archive_zip_files)
2363 archive/zip/check: $(CHECK_DEPS)
2365 .PHONY: archive/zip/check
2367 @go_include@ compress/bzip2.lo.dep
2368 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2370 compress/bzip2.lo: $(go_compress_bzip2_files)
2372 compress/bzip2/check: $(CHECK_DEPS)
2374 .PHONY: compress/bzip2/check
2376 @go_include@ compress/flate.lo.dep
2377 compress/flate.lo.dep: $(go_compress_flate_files)
2379 compress/flate.lo: $(go_compress_flate_files)
2381 compress/flate/check: $(CHECK_DEPS)
2383 .PHONY: compress/flate/check
2385 @go_include@ compress/gzip.lo.dep
2386 compress/gzip.lo.dep: $(go_compress_gzip_files)
2388 compress/gzip.lo: $(go_compress_gzip_files)
2390 compress/gzip/check: $(CHECK_DEPS)
2392 .PHONY: compress/gzip/check
2394 @go_include@ compress/lzw.lo.dep
2395 compress/lzw.lo.dep: $(go_compress_lzw_files)
2397 compress/lzw.lo: $(go_compress_lzw_files)
2399 compress/lzw/check: $(CHECK_DEPS)
2401 .PHONY: compress/lzw/check
2403 @go_include@ compress/zlib.lo.dep
2404 compress/zlib.lo.dep: $(go_compress_zlib_files)
2406 compress/zlib.lo: $(go_compress_zlib_files)
2408 compress/zlib/check: $(CHECK_DEPS)
2410 .PHONY: compress/zlib/check
2412 @go_include@ container/heap.lo.dep
2413 container/heap.lo.dep: $(go_container_heap_files)
2415 container/heap.lo: $(go_container_heap_files)
2417 container/heap/check: $(CHECK_DEPS)
2419 .PHONY: container/heap/check
2421 @go_include@ container/list.lo.dep
2422 container/list.lo.dep: $(go_container_list_files)
2424 container/list.lo: $(go_container_list_files)
2426 container/list/check: $(CHECK_DEPS)
2428 .PHONY: container/list/check
2430 @go_include@ container/ring.lo.dep
2431 container/ring.lo.dep: $(go_container_ring_files)
2433 container/ring.lo: $(go_container_ring_files)
2435 container/ring/check: $(CHECK_DEPS)
2437 .PHONY: container/ring/check
2439 @go_include@ crypto/aes.lo.dep
2440 crypto/aes.lo.dep: $(go_crypto_aes_files)
2442 crypto/aes.lo: $(go_crypto_aes_files)
2444 crypto/aes/check: $(CHECK_DEPS)
2446 .PHONY: crypto/aes/check
2448 @go_include@ crypto/cipher.lo.dep
2449 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2451 crypto/cipher.lo: $(go_crypto_cipher_files)
2453 crypto/cipher/check: $(CHECK_DEPS)
2455 .PHONY: crypto/cipher/check
2457 @go_include@ crypto/des.lo.dep
2458 crypto/des.lo.dep: $(go_crypto_des_files)
2460 crypto/des.lo: $(go_crypto_des_files)
2462 crypto/des/check: $(CHECK_DEPS)
2464 .PHONY: crypto/des/check
2466 @go_include@ crypto/dsa.lo.dep
2467 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2469 crypto/dsa.lo: $(go_crypto_dsa_files)
2471 crypto/dsa/check: $(CHECK_DEPS)
2473 .PHONY: crypto/dsa/check
2475 @go_include@ crypto/ecdsa.lo.dep
2476 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2478 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2480 crypto/ecdsa/check: $(CHECK_DEPS)
2482 .PHONY: crypto/ecdsa/check
2484 @go_include@ crypto/elliptic.lo.dep
2485 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2487 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2489 crypto/elliptic/check: $(CHECK_DEPS)
2491 .PHONY: crypto/elliptic/check
2493 @go_include@ crypto/hmac.lo.dep
2494 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2496 crypto/hmac.lo: $(go_crypto_hmac_files)
2498 crypto/hmac/check: $(CHECK_DEPS)
2500 .PHONY: crypto/hmac/check
2502 @go_include@ crypto/md5.lo.dep
2503 crypto/md5.lo.dep: $(go_crypto_md5_files)
2505 crypto/md5.lo: $(go_crypto_md5_files)
2507 crypto/md5/check: $(CHECK_DEPS)
2509 .PHONY: crypto/md5/check
2511 @go_include@ crypto/rand.lo.dep
2512 crypto/rand.lo.dep: $(go_crypto_rand_files)
2514 crypto/rand.lo: $(go_crypto_rand_files)
2516 crypto/rand/check: $(CHECK_DEPS)
2518 .PHONY: crypto/rand/check
2520 @go_include@ crypto/rc4.lo.dep
2521 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2523 crypto/rc4.lo: $(go_crypto_rc4_files)
2525 crypto/rc4/check: $(CHECK_DEPS)
2527 .PHONY: crypto/rc4/check
2529 @go_include@ crypto/rsa.lo.dep
2530 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2532 crypto/rsa.lo: $(go_crypto_rsa_files)
2534 crypto/rsa/check: $(CHECK_DEPS)
2536 .PHONY: crypto/rsa/check
2538 @go_include@ crypto/sha1.lo.dep
2539 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2541 crypto/sha1.lo: $(go_crypto_sha1_files)
2543 crypto/sha1/check: $(CHECK_DEPS)
2545 .PHONY: crypto/sha1/check
2547 @go_include@ crypto/sha256.lo.dep
2548 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2550 crypto/sha256.lo: $(go_crypto_sha256_files)
2552 crypto/sha256/check: $(CHECK_DEPS)
2554 .PHONY: crypto/sha256/check
2556 @go_include@ crypto/sha512.lo.dep
2557 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2559 crypto/sha512.lo: $(go_crypto_sha512_files)
2561 crypto/sha512/check: $(CHECK_DEPS)
2563 .PHONY: crypto/sha512/check
2565 @go_include@ crypto/subtle.lo.dep
2566 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2568 crypto/subtle.lo: $(go_crypto_subtle_files)
2570 crypto/subtle/check: $(CHECK_DEPS)
2572 .PHONY: crypto/subtle/check
2574 @go_include@ crypto/tls.lo.dep
2575 crypto/tls.lo.dep: $(go_crypto_tls_files)
2577 crypto/tls.lo: $(go_crypto_tls_files)
2579 crypto/tls/check: $(CHECK_DEPS)
2581 .PHONY: crypto/tls/check
2583 @go_include@ crypto/x509.lo.dep
2584 crypto/x509.lo.dep: $(go_crypto_x509_files)
2586 crypto/x509.lo: $(go_crypto_x509_files)
2588 crypto/x509/check: $(CHECK_DEPS)
2590 .PHONY: crypto/x509/check
2592 @go_include@ crypto/x509/pkix.lo.dep
2593 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2595 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2597 crypto/x509/pkix/check: $(CHECK_DEPS)
2599 .PHONY: crypto/x509/pkix/check
2601 @go_include@ database/sql.lo.dep
2602 database/sql.lo.dep: $(go_database_sql_files)
2604 database/sql.lo: $(go_database_sql_files)
2606 database/sql/check: $(CHECK_DEPS)
2608 .PHONY: database/sql/check
2610 @go_include@ database/sql/driver.lo.dep
2611 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2613 database/sql/driver.lo: $(go_database_sql_driver_files)
2615 database/sql/driver/check: $(CHECK_DEPS)
2617 .PHONY: database/sql/driver/check
2619 @go_include@ debug/dwarf.lo.dep
2620 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2622 debug/dwarf.lo: $(go_debug_dwarf_files)
2624 debug/dwarf/check: $(CHECK_DEPS)
2626 .PHONY: debug/dwarf/check
2628 @go_include@ debug/elf.lo.dep
2629 debug/elf.lo.dep: $(go_debug_elf_files)
2631 debug/elf.lo: $(go_debug_elf_files)
2633 debug/elf/check: $(CHECK_DEPS)
2635 .PHONY: debug/elf/check
2637 @go_include@ debug/gosym.lo.dep
2638 debug/gosym.lo.dep: $(go_debug_gosym_files)
2640 debug/gosym.lo: $(go_debug_gosym_files)
2642 debug/gosym/check: $(CHECK_DEPS)
2644 .PHONY: debug/gosym/check
2646 @go_include@ debug/macho.lo.dep
2647 debug/macho.lo.dep: $(go_debug_macho_files)
2649 debug/macho.lo: $(go_debug_macho_files)
2651 debug/macho/check: $(CHECK_DEPS)
2653 .PHONY: debug/macho/check
2655 @go_include@ debug/pe.lo.dep
2656 debug/pe.lo.dep: $(go_debug_pe_files)
2658 debug/pe.lo: $(go_debug_pe_files)
2660 debug/pe/check: $(CHECK_DEPS)
2662 .PHONY: debug/pe/check
2664 @go_include@ debug/plan9obj.lo.dep
2665 debug/plan9obj.lo.dep: $(go_debug_plan9obj_files)
2667 debug/plan9obj.lo: $(go_debug_plan9obj_files)
2669 debug/plan9obj/check: $(CHECK_DEPS)
2671 .PHONY: debug/plan9obj/check
2673 @go_include@ encoding/asn1.lo.dep
2674 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2676 encoding/asn1.lo: $(go_encoding_asn1_files)
2678 encoding/asn1/check: $(CHECK_DEPS)
2680 .PHONY: encoding/asn1/check
2682 @go_include@ encoding/ascii85.lo.dep
2683 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2685 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2687 encoding/ascii85/check: $(CHECK_DEPS)
2689 .PHONY: encoding/ascii85/check
2691 @go_include@ encoding/base32.lo.dep
2692 encoding/base32.lo.dep: $(go_encoding_base32_files)
2694 encoding/base32.lo: $(go_encoding_base32_files)
2696 encoding/base32/check: $(CHECK_DEPS)
2698 .PHONY: encoding/base32/check
2700 @go_include@ encoding/base64.lo.dep
2701 encoding/base64.lo.dep: $(go_encoding_base64_files)
2703 encoding/base64.lo: $(go_encoding_base64_files)
2705 encoding/base64/check: $(CHECK_DEPS)
2707 .PHONY: encoding/base64/check
2709 @go_include@ encoding/binary.lo.dep
2710 encoding/binary.lo.dep: $(go_encoding_binary_files)
2712 encoding/binary.lo: $(go_encoding_binary_files)
2714 encoding/binary/check: $(CHECK_DEPS)
2716 .PHONY: encoding/binary/check
2718 @go_include@ encoding/csv.lo.dep
2719 encoding/csv.lo.dep: $(go_encoding_csv_files)
2721 encoding/csv.lo: $(go_encoding_csv_files)
2723 encoding/csv/check: $(CHECK_DEPS)
2725 .PHONY: encoding/csv/check
2727 @go_include@ encoding/gob.lo.dep
2728 encoding/gob.lo.dep: $(go_encoding_gob_files)
2730 encoding/gob.lo: $(go_encoding_gob_files)
2732 encoding/gob/check: $(CHECK_DEPS)
2734 .PHONY: encoding/gob/check
2736 @go_include@ encoding/hex.lo.dep
2737 encoding/hex.lo.dep: $(go_encoding_hex_files)
2739 encoding/hex.lo: $(go_encoding_hex_files)
2741 encoding/hex/check: $(CHECK_DEPS)
2743 .PHONY: encoding/hex/check
2745 @go_include@ encoding/json.lo.dep
2746 encoding/json.lo.dep: $(go_encoding_json_files)
2748 encoding/json.lo: $(go_encoding_json_files)
2750 encoding/json/check: $(CHECK_DEPS)
2752 .PHONY: encoding/json/check
2754 @go_include@ encoding/pem.lo.dep
2755 encoding/pem.lo.dep: $(go_encoding_pem_files)
2757 encoding/pem.lo: $(go_encoding_pem_files)
2759 encoding/pem/check: $(CHECK_DEPS)
2761 .PHONY: encoding/pem/check
2763 @go_include@ encoding/xml.lo.dep
2764 encoding/xml.lo.dep: $(go_encoding_xml_files)
2766 encoding/xml.lo: $(go_encoding_xml_files)
2768 encoding/xml/check: $(CHECK_DEPS)
2770 .PHONY: encoding/xml/check
2772 @go_include@ exp/proxy.lo.dep
2773 exp/proxy.lo.dep: $(go_exp_proxy_files)
2775 exp/proxy.lo: $(go_exp_proxy_files)
2777 exp/proxy/check: $(CHECK_DEPS)
2779 .PHONY: exp/proxy/check
2781 @go_include@ exp/terminal.lo.dep
2782 exp/terminal.lo.dep: $(go_exp_terminal_files)
2784 exp/terminal.lo: $(go_exp_terminal_files)
2786 exp/terminal/check: $(CHECK_DEPS)
2788 .PHONY: exp/terminal/check
2790 @go_include@ html/template.lo.dep
2791 html/template.lo.dep: $(go_html_template_files)
2793 html/template.lo: $(go_html_template_files)
2795 html/template/check: $(CHECK_DEPS)
2797 .PHONY: html/template/check
2799 @go_include@ go/ast.lo.dep
2800 go/ast.lo.dep: $(go_go_ast_files)
2802 go/ast.lo: $(go_go_ast_files)
2804 go/ast/check: $(CHECK_DEPS)
2806 .PHONY: go/ast/check
2808 @go_include@ go/build.lo.dep
2809 go/build.lo.dep: $(go_go_build_files)
2811 go/build.lo: $(go_go_build_files)
2813 go/build/check: $(CHECK_DEPS)
2815 .PHONY: go/build/check
2817 @go_include@ go/doc.lo.dep
2818 go/doc.lo.dep: $(go_go_doc_files)
2820 go/doc.lo: $(go_go_doc_files)
2822 go/doc/check: $(CHECK_DEPS)
2824 .PHONY: go/doc/check
2826 @go_include@ go/format.lo.dep
2827 go/format.lo.dep: $(go_go_format_files)
2829 go/format.lo: $(go_go_format_files)
2831 go/format/check: $(CHECK_DEPS)
2833 .PHONY: go/format/check
2835 @go_include@ go/parser.lo.dep
2836 go/parser.lo.dep: $(go_go_parser_files)
2838 go/parser.lo: $(go_go_parser_files)
2840 go/parser/check: $(CHECK_DEPS)
2842 .PHONY: go/parser/check
2844 @go_include@ go/printer.lo.dep
2845 go/printer.lo.dep: $(go_go_printer_files)
2847 go/printer.lo: $(go_go_printer_files)
2849 go/printer/check: $(CHECK_DEPS)
2851 .PHONY: go/printer/check
2853 @go_include@ go/scanner.lo.dep
2854 go/scanner.lo.dep: $(go_go_scanner_files)
2856 go/scanner.lo: $(go_go_scanner_files)
2858 go/scanner/check: $(CHECK_DEPS)
2860 .PHONY: go/scanner/check
2862 @go_include@ go/token.lo.dep
2863 go/token.lo.dep: $(go_go_token_files)
2865 go/token.lo: $(go_go_token_files)
2867 go/token/check: $(CHECK_DEPS)
2869 .PHONY: go/token/check
2871 @go_include@ hash/adler32.lo.dep
2872 hash/adler32.lo.dep: $(go_hash_adler32_files)
2874 hash/adler32.lo: $(go_hash_adler32_files)
2876 hash/adler32/check: $(CHECK_DEPS)
2878 .PHONY: hash/adler32/check
2880 @go_include@ hash/crc32.lo.dep
2881 hash/crc32.lo.dep: $(go_hash_crc32_files)
2883 hash/crc32.lo: $(go_hash_crc32_files)
2885 hash/crc32/check: $(CHECK_DEPS)
2887 .PHONY: hash/crc32/check
2889 @go_include@ hash/crc64.lo.dep
2890 hash/crc64.lo.dep: $(go_hash_crc64_files)
2892 hash/crc64.lo: $(go_hash_crc64_files)
2894 hash/crc64/check: $(CHECK_DEPS)
2896 .PHONY: hash/crc64/check
2898 @go_include@ hash/fnv.lo.dep
2899 hash/fnv.lo.dep: $(go_hash_fnv_files)
2901 hash/fnv.lo: $(go_hash_fnv_files)
2903 hash/fnv/check: $(CHECK_DEPS)
2905 .PHONY: hash/fnv/check
2907 @go_include@ image/color.lo.dep
2908 image/color.lo.dep: $(go_image_color_files)
2910 image/color.lo: $(go_image_color_files)
2912 image/color/check: $(CHECK_DEPS)
2914 .PHONY: image/color/check
2916 @go_include@ image/color/palette.lo.dep
2917 image/color/palette.lo.dep: $(go_image_color_palette_files)
2919 image/color/palette.lo: $(go_image_color_palette_files)
2921 image/color/palette/check: $(CHECK_DEPS)
2923 .PHONY: image/color/palette/check
2925 @go_include@ image/draw.lo.dep
2926 image/draw.lo.dep: $(go_image_draw_files)
2928 image/draw.lo: $(go_image_draw_files)
2930 image/draw/check: $(CHECK_DEPS)
2932 .PHONY: image/draw/check
2934 @go_include@ image/gif.lo.dep
2935 image/gif.lo.dep: $(go_image_gif_files)
2937 image/gif.lo: $(go_image_gif_files)
2939 image/gif/check: $(CHECK_DEPS)
2941 .PHONY: image/gif/check
2943 @go_include@ image/jpeg.lo.dep
2944 image/jpeg.lo.dep: $(go_image_jpeg_files)
2946 image/jpeg.lo: $(go_image_jpeg_files)
2948 image/jpeg/check: $(CHECK_DEPS)
2950 .PHONY: image/jpeg/check
2952 @go_include@ image/png.lo.dep
2953 image/png.lo.dep: $(go_image_png_files)
2955 image/png.lo: $(go_image_png_files)
2957 image/png/check: $(CHECK_DEPS)
2959 .PHONY: image/png/check
2961 @go_include@ index/suffixarray.lo.dep
2962 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2964 index/suffixarray.lo: $(go_index_suffixarray_files)
2966 index/suffixarray/check: $(CHECK_DEPS)
2968 .PHONY: index/suffixarray/check
2970 @go_include@ io/ioutil.lo.dep
2971 io/ioutil.lo.dep: $(go_io_ioutil_files)
2973 io/ioutil.lo: $(go_io_ioutil_files)
2975 io/ioutil/check: $(CHECK_DEPS)
2977 .PHONY: io/ioutil/check
2979 @go_include@ log/syslog.lo.dep
2980 log/syslog.lo.dep: $(go_log_syslog_files)
2982 log/syslog.lo: $(go_log_syslog_files)
2984 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2985 @$(MKDIR_P) log/syslog
2986 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2987 log/syslog/check: $(CHECK_DEPS)
2989 .PHONY: log/syslog/check
2991 @go_include@ math/big.lo.dep
2992 math/big.lo.dep: $(go_math_big_files)
2994 math/big.lo: $(go_math_big_files)
2996 math/big/check: $(CHECK_DEPS)
2998 .PHONY: math/big/check
3000 @go_include@ math/cmplx.lo.dep
3001 math/cmplx.lo.dep: $(go_math_cmplx_files)
3003 math/cmplx.lo: $(go_math_cmplx_files)
3005 math/cmplx/check: $(CHECK_DEPS)
3007 .PHONY: math/cmplx/check
3009 @go_include@ math/rand.lo.dep
3010 math/rand.lo.dep: $(go_math_rand_files)
3012 math/rand.lo: $(go_math_rand_files)
3014 math/rand/check: $(CHECK_DEPS)
3016 .PHONY: math/rand/check
3018 @go_include@ mime/multipart.lo.dep
3019 mime/multipart.lo.dep: $(go_mime_multipart_files)
3021 mime/multipart.lo: $(go_mime_multipart_files)
3023 mime/multipart/check: $(CHECK_DEPS)
3025 .PHONY: mime/multipart/check
3027 @go_include@ net/http.lo.dep
3028 net/http.lo.dep: $(go_net_http_files)
3030 net/http.lo: $(go_net_http_files)
3032 net/http/check: $(CHECK_DEPS)
3034 .PHONY: net/http/check
3036 @go_include@ net/mail.lo.dep
3037 net/mail.lo.dep: $(go_net_mail_files)
3039 net/mail.lo: $(go_net_mail_files)
3041 net/mail/check: $(CHECK_DEPS)
3043 .PHONY: net/mail/check
3045 @go_include@ net/rpc.lo.dep
3046 net/rpc.lo.dep: $(go_net_rpc_files)
3048 net/rpc.lo: $(go_net_rpc_files)
3050 net/rpc/check: $(CHECK_DEPS)
3052 .PHONY: net/rpc/check
3054 @go_include@ net/smtp.lo.dep
3055 net/smtp.lo.dep: $(go_net_smtp_files)
3057 net/smtp.lo: $(go_net_smtp_files)
3059 net/smtp/check: $(CHECK_DEPS)
3061 .PHONY: net/smtp/check
3063 @go_include@ net/url.lo.dep
3064 net/url.lo.dep: $(go_net_url_files)
3066 net/url.lo: $(go_net_url_files)
3068 net/url/check: $(CHECK_DEPS)
3070 .PHONY: net/url/check
3072 @go_include@ net/textproto.lo.dep
3073 net/textproto.lo.dep: $(go_net_textproto_files)
3075 net/textproto.lo: $(go_net_textproto_files)
3077 net/textproto/check: $(CHECK_DEPS)
3079 .PHONY: net/textproto/check
3081 @go_include@ net/http/cgi.lo.dep
3082 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3084 net/http/cgi.lo: $(go_net_http_cgi_files)
3086 net/http/cgi/check: $(CHECK_DEPS)
3088 .PHONY: net/http/cgi/check
3090 @go_include@ net/http/cookiejar.lo.dep
3091 net/http/cookiejar.lo.dep: $(go_net_http_cookiejar_files)
3093 net/http/cookiejar.lo: $(go_net_http_cookiejar_files)
3095 net/http/cookiejar/check: $(CHECK_DEPS)
3097 .PHONY: net/http/cookiejar/check
3099 @go_include@ net/http/fcgi.lo.dep
3100 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3102 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3104 net/http/fcgi/check: $(CHECK_DEPS)
3106 .PHONY: net/http/fcgi/check
3108 @go_include@ net/http/httptest.lo.dep
3109 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3111 net/http/httptest.lo: $(go_net_http_httptest_files)
3113 net/http/httptest/check: $(check_deps)
3115 .PHONY: net/http/httptest/check
3117 @go_include@ net/http/httputil.lo.dep
3118 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3120 net/http/httputil.lo: $(go_net_http_httputil_files)
3122 net/http/httputil/check: $(check_deps)
3124 .PHONY: net/http/httputil/check
3126 @go_include@ net/http/pprof.lo.dep
3127 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3129 net/http/pprof.lo: $(go_net_http_pprof_files)
3131 net/http/pprof/check: $(CHECK_DEPS)
3133 .PHONY: net/http/pprof/check
3135 @go_include@ net/rpc/jsonrpc.lo.dep
3136 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3138 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3140 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3142 .PHONY: net/rpc/jsonrpc/check
3144 @go_include@ old/regexp.lo.dep
3145 old/regexp.lo.dep: $(go_old_regexp_files)
3147 old/regexp.lo: $(go_old_regexp_files)
3149 old/regexp/check: $(CHECK_DEPS)
3151 .PHONY: old/regexp/check
3153 @go_include@ old/template.lo.dep
3154 old/template.lo.dep: $(go_old_template_files)
3156 old/template.lo: $(go_old_template_files)
3158 old/template/check: $(CHECK_DEPS)
3160 .PHONY: old/template/check
3162 @go_include@ os/exec.lo.dep
3163 os/exec.lo.dep: $(go_os_exec_files)
3165 os/exec.lo: $(go_os_exec_files)
3167 os/exec/check: $(CHECK_DEPS)
3169 .PHONY: os/exec/check
3171 @go_include@ os/signal.lo.dep
3172 os/signal.lo.dep: $(go_os_signal_files)
3174 os/signal.lo: $(go_os_signal_files)
3176 os/signal/check: $(CHECK_DEPS)
3178 .PHONY: os/signal/check
3180 @go_include@ os/user.lo.dep
3181 os/user.lo.dep: $(go_os_user_files)
3183 os/user.lo: $(go_os_user_files)
3185 os/user/check: $(CHECK_DEPS)
3187 .PHONY: os/user/check
3189 @go_include@ path/filepath.lo.dep
3190 path/filepath.lo.dep: $(go_path_filepath_files)
3192 path/filepath.lo: $(go_path_filepath_files)
3194 path/filepath/check: $(CHECK_DEPS)
3196 .PHONY: path/filepath/check
3198 @go_include@ regexp/syntax.lo.dep
3199 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3201 regexp/syntax.lo: $(go_regexp_syntax_files)
3203 regexp/syntax/check: $(CHECK_DEPS)
3205 .PHONY: regexp/syntax/check
3207 @go_include@ runtime/debug.lo.dep
3208 runtime/debug.lo.dep: $(go_runtime_debug_files)
3210 runtime/debug.lo: $(go_runtime_debug_files)
3212 runtime/debug/check: $(CHECK_DEPS)
3214 .PHONY: runtime/debug/check
3216 @go_include@ runtime/pprof.lo.dep
3217 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3219 runtime/pprof.lo: $(go_runtime_pprof_files)
3221 runtime/pprof/check: $(CHECK_DEPS)
3223 .PHONY: runtime/pprof/check
3224 # At least for now, we need -static-libgo for this test, because
3225 # otherwise we can't get the line numbers.
3226 runtime_pprof_check_GOCFLAGS = -static-libgo
3228 @go_include@ sync/atomic.lo.dep
3229 sync/atomic.lo.dep: $(go_sync_atomic_files)
3231 sync/atomic.lo: $(go_sync_atomic_files)
3233 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3234 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3235 sync/atomic/check: $(CHECK_DEPS)
3237 .PHONY: sync/atomic/check
3239 @go_include@ text/scanner.lo.dep
3240 text/scanner.lo.dep: $(go_text_scanner_files)
3242 text/scanner.lo: $(go_text_scanner_files)
3244 text/scanner/check: $(CHECK_DEPS)
3246 .PHONY: text/scanner/check
3248 @go_include@ text/tabwriter.lo.dep
3249 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3251 text/tabwriter.lo: $(go_text_tabwriter_files)
3253 text/tabwriter/check: $(CHECK_DEPS)
3255 .PHONY: text/tabwriter/check
3257 @go_include@ text/template.lo.dep
3258 text/template.lo.dep: $(go_text_template_files)
3260 text/template.lo: $(go_text_template_files)
3262 text/template/check: $(CHECK_DEPS)
3264 .PHONY: text/template/check
3266 @go_include@ text/template/parse.lo.dep
3267 text/template/parse.lo.dep: $(go_text_template_parse_files)
3269 text/template/parse.lo: $(go_text_template_parse_files)
3271 text/template/parse/check: $(CHECK_DEPS)
3273 .PHONY: text/template/parse/check
3275 @go_include@ testing/iotest.lo.dep
3276 testing/iotest.lo.dep: $(go_testing_iotest_files)
3278 testing/iotest.lo: $(go_testing_iotest_files)
3280 testing/iotest/check: $(CHECK_DEPS)
3282 .PHONY: testing/iotest/check
3284 @go_include@ testing/quick.lo.dep
3285 testing/quick.lo.dep: $(go_testing_quick_files)
3287 testing/quick.lo: $(go_testing_quick_files)
3289 testing/quick/check: $(CHECK_DEPS)
3291 .PHONY: testing/quick/check
3293 @go_include@ unicode/utf16.lo.dep
3294 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3296 unicode/utf16.lo: $(go_unicode_utf16_files)
3298 unicode/utf16/check: $(CHECK_DEPS)
3300 .PHONY: unicode/utf16/check
3302 @go_include@ unicode/utf8.lo.dep
3303 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3305 unicode/utf8.lo: $(go_unicode_utf8_files)
3307 unicode/utf8/check: $(CHECK_DEPS)
3309 .PHONY: unicode/utf8/check
3311 @go_include@ syscall.lo.dep
3312 syscall.lo.dep: $(go_syscall_files)
3314 syscall.lo: $(go_syscall_files)
3316 syscall/errno.lo: go/syscall/errno.c
3318 $(LTCOMPILE) -c -o $@ $<
3319 syscall/signame.lo: go/syscall/signame.c
3321 $(LTCOMPILE) -c -o $@ $<
3322 syscall/wait.lo: go/syscall/wait.c
3324 $(LTCOMPILE) -c -o $@ $<
3325 syscall/check: $(CHECK_DEPS)
3327 .PHONY: syscall/check
3329 # How to build a .gox file from a .lo file.
3331 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3332 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3338 crypto.gox: crypto.lo
3340 encoding.gox: encoding.lo
3342 errors.gox: errors.lo
3344 expvar.gox: expvar.lo
3370 reflect.gox: reflect-go.lo
3372 regexp.gox: regexp.lo
3374 runtime.gox: runtime-go.lo
3378 strconv.gox: strconv.lo
3380 strings.gox: strings.lo
3384 syscall.gox: syscall.lo
3386 testing.gox: testing.lo
3388 time.gox: time-go.lo
3390 unicode.gox: unicode.lo
3393 archive/tar.gox: archive/tar.lo
3395 archive/zip.gox: archive/zip.lo
3398 compress/bzip2.gox: compress/bzip2.lo
3400 compress/flate.gox: compress/flate.lo
3402 compress/gzip.gox: compress/gzip.lo
3404 compress/lzw.gox: compress/lzw.lo
3406 compress/zlib.gox: compress/zlib.lo
3409 container/heap.gox: container/heap.lo
3411 container/list.gox: container/list.lo
3413 container/ring.gox: container/ring.lo
3416 crypto/aes.gox: crypto/aes.lo
3418 crypto/cipher.gox: crypto/cipher.lo
3420 crypto/des.gox: crypto/des.lo
3422 crypto/dsa.gox: crypto/dsa.lo
3424 crypto/ecdsa.gox: crypto/ecdsa.lo
3426 crypto/elliptic.gox: crypto/elliptic.lo
3428 crypto/hmac.gox: crypto/hmac.lo
3430 crypto/md5.gox: crypto/md5.lo
3432 crypto/rand.gox: crypto/rand.lo
3434 crypto/rc4.gox: crypto/rc4.lo
3436 crypto/rsa.gox: crypto/rsa.lo
3438 crypto/sha1.gox: crypto/sha1.lo
3440 crypto/sha256.gox: crypto/sha256.lo
3442 crypto/sha512.gox: crypto/sha512.lo
3444 crypto/subtle.gox: crypto/subtle.lo
3446 crypto/tls.gox: crypto/tls.lo
3448 crypto/x509.gox: crypto/x509.lo
3451 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3454 database/sql.gox: database/sql.lo
3457 database/sql/driver.gox: database/sql/driver.lo
3460 debug/dwarf.gox: debug/dwarf.lo
3462 debug/elf.gox: debug/elf.lo
3464 debug/gosym.gox: debug/gosym.lo
3466 debug/macho.gox: debug/macho.lo
3468 debug/pe.gox: debug/pe.lo
3470 debug/plan9obj.gox: debug/plan9obj.lo
3473 encoding/ascii85.gox: encoding/ascii85.lo
3475 encoding/asn1.gox: encoding/asn1.lo
3477 encoding/base32.gox: encoding/base32.lo
3479 encoding/base64.gox: encoding/base64.lo
3481 encoding/binary.gox: encoding/binary.lo
3483 encoding/csv.gox: encoding/csv.lo
3485 encoding/gob.gox: encoding/gob.lo
3487 encoding/hex.gox: encoding/hex.lo
3489 encoding/json.gox: encoding/json.lo
3491 encoding/pem.gox: encoding/pem.lo
3493 encoding/xml.gox: encoding/xml.lo
3496 exp/proxy.gox: exp/proxy.lo
3498 exp/terminal.gox: exp/terminal.lo
3501 html/template.gox: html/template.lo
3504 go/ast.gox: go/ast.lo
3506 go/build.gox: go/build.lo
3508 go/doc.gox: go/doc.lo
3510 go/format.gox: go/format.lo
3512 go/parser.gox: go/parser.lo
3514 go/printer.gox: go/printer.lo
3516 go/scanner.gox: go/scanner.lo
3518 go/token.gox: go/token.lo
3521 hash/adler32.gox: hash/adler32.lo
3523 hash/crc32.gox: hash/crc32.lo
3525 hash/crc64.gox: hash/crc64.lo
3527 hash/fnv.gox: hash/fnv.lo
3530 image/color.gox: image/color.lo
3532 image/draw.gox: image/draw.lo
3534 image/gif.gox: image/gif.lo
3536 image/jpeg.gox: image/jpeg.lo
3538 image/png.gox: image/png.lo
3541 image/color/palette.gox: image/color/palette.lo
3544 index/suffixarray.gox: index/suffixarray.lo
3547 io/ioutil.gox: io/ioutil.lo
3550 log/syslog.gox: log/syslog.lo
3553 math/big.gox: math/big.lo
3555 math/cmplx.gox: math/cmplx.lo
3557 math/rand.gox: math/rand.lo
3560 mime/multipart.gox: mime/multipart.lo
3563 net/http.gox: net/http.lo
3565 net/mail.gox: net/mail.lo
3567 net/rpc.gox: net/rpc.lo
3569 net/smtp.gox: net/smtp.lo
3571 net/textproto.gox: net/textproto.lo
3573 net/url.gox: net/url.lo
3576 net/http/cgi.gox: net/http/cgi.lo
3578 net/http/cookiejar.gox: net/http/cookiejar.lo
3580 net/http/fcgi.gox: net/http/fcgi.lo
3582 net/http/httptest.gox: net/http/httptest.lo
3584 net/http/httputil.gox: net/http/httputil.lo
3586 net/http/pprof.gox: net/http/pprof.lo
3589 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3592 old/regexp.gox: old/regexp.lo
3594 old/template.gox: old/template.lo
3597 os/exec.gox: os/exec.lo
3599 os/signal.gox: os/signal.lo
3601 os/user.gox: os/user.lo
3604 path/filepath.gox: path/filepath.lo
3607 regexp/syntax.gox: regexp/syntax.lo
3610 runtime/debug.gox: runtime/debug.lo
3612 runtime/pprof.gox: runtime/pprof.lo
3615 sync/atomic.gox: sync/atomic.lo
3618 text/scanner.gox: text/scanner.lo
3620 text/tabwriter.gox: text/tabwriter.lo
3622 text/template.gox: text/template.lo
3624 text/template/parse.gox: text/template/parse.lo
3627 testing/iotest.gox: testing/iotest.lo
3629 testing/quick.gox: testing/quick.lo
3632 unicode/utf16.gox: unicode/utf16.lo
3634 unicode/utf8.gox: unicode/utf8.lo
3665 compress/bzip2/check \
3666 compress/flate/check \
3667 compress/gzip/check \
3668 compress/lzw/check \
3669 compress/zlib/check \
3670 container/heap/check \
3671 container/list/check \
3672 container/ring/check \
3674 crypto/cipher/check \
3677 crypto/ecdsa/check \
3678 crypto/elliptic/check \
3685 crypto/sha256/check \
3686 crypto/sha512/check \
3687 crypto/subtle/check \
3690 database/sql/check \
3691 database/sql/driver/check \
3696 debug/plan9obj/check \
3697 encoding/ascii85/check \
3698 encoding/asn1/check \
3699 encoding/base32/check \
3700 encoding/base64/check \
3701 encoding/binary/check \
3702 encoding/csv/check \
3703 encoding/gob/check \
3704 encoding/hex/check \
3705 encoding/json/check \
3706 encoding/pem/check \
3707 encoding/xml/check \
3709 exp/terminal/check \
3710 html/template/check \
3712 $(go_build_check_omitted_since_it_calls_6g) \
3719 hash/adler32/check \
3727 index/suffixarray/check \
3733 mime/multipart/check \
3735 net/http/cgi/check \
3736 net/http/cookiejar/check \
3737 net/http/fcgi/check \
3738 net/http/httptest/check \
3739 net/http/httputil/check \
3743 net/textproto/check \
3745 net/rpc/jsonrpc/check \
3747 old/template/check \
3751 path/filepath/check \
3752 regexp/syntax/check \
3753 runtime/pprof/check \
3755 text/scanner/check \
3756 text/tabwriter/check \
3757 text/template/check \
3758 text/template/parse/check \
3759 testing/quick/check \
3760 unicode/utf16/check \
3764 check-recursive: check-head
3767 @echo "Test Run By $${USER} on `date`" > libgo.head
3768 @echo "Native configuration is $(host_triplet)" >> libgo.head
3770 @echo " === libgo tests ===" >> libgo.head
3773 check-tail: check-recursive check-multi
3774 @if test "$(USE_DEJAGNU)" = "yes"; then \
3777 lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3778 for dir in . $(MULTIDIRS); do \
3779 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3780 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3782 mv libgo.head libgo.sum; \
3783 cp libgo.sum libgo.log; \
3784 echo "Schedule of variations:" >> libgo.sum; \
3785 for dir in . $(MULTIDIRS); do \
3786 multidir=../$${dir}/$${lib}; \
3787 multivar=`cat $${multidir}/libgo.var`; \
3788 echo " $${multivar}" >> libgo.sum; \
3790 echo >> libgo.sum; \
3791 pass=0; fail=0; untested=0; \
3792 for dir in . $(MULTIDIRS); do \
3793 multidir=../$${dir}/$${lib}; \
3794 multivar=`cat $${multidir}/libgo.var`; \
3795 echo "Running target $${multivar}" >> libgo.sum; \
3796 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3797 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3798 cat $${multidir}/libgo.log.sep >> libgo.log; \
3799 if test -n "${MULTIDIRS}"; then \
3800 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3801 echo >> libgo.sum; \
3803 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3804 pass=`expr $$pass + $$p`; \
3805 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3806 echo "# of expected passes $$p" >> libgo.sum; \
3808 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3809 fail=`expr $$fail + $$p`; \
3810 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3811 echo "# of unexpected failures $$p" >> libgo.sum; \
3813 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3814 untested=`expr $$untested + $$p`; \
3815 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3816 echo "# of untested testcases $$p" >> libgo.sum; \
3819 echo >> libgo.sum; \
3820 echo " === libgo Summary ===" >> libgo.sum; \
3821 echo >> libgo.sum; \
3822 if test "$$pass" -ne "0"; then \
3823 echo "# of expected passes $$pass" >> libgo.sum; \
3825 if test "$$fail" -ne "0"; then \
3826 echo "# of unexpected failures $$fail" >> libgo.sum; \
3828 if test "$$untested" -ne "0"; then \
3829 echo "# of untested testcases $$untested" >> libgo.sum; \
3831 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3832 echo >> libgo.log; \
3833 echo "runtest completed at `date`" >> libgo.log; \
3834 if test "$$fail" -ne "0"; then \
3842 @rm -f libgo.sum libgo.log libgo.tail
3844 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3845 echo "$${multivar}" > libgo.var
3846 @for f in $(TEST_PACKAGES); do \
3847 rm -f $$f-testsum $$f-testlog; \
3849 -@$(MAKE) -k $(TEST_PACKAGES)
3850 @for f in $(TEST_PACKAGES); do \
3851 if test -f $$f-testsum; then \
3852 cat $$f-testsum >> libgo.sum; \
3854 if test -f $$f-testlog; then \
3855 cat $$f-testlog >> libgo.log; \
3860 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3863 -@$(MAKE) -k $(TEST_PACKAGES) GOBENCH=.
3865 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3868 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3869 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3870 find . -name '*-testsum' -print | xargs rm -f
3871 find . -name '*-testlog' -print | xargs rm -f
3873 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3876 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3877 find . -name '*.a' -print | xargs rm -f