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 $(GOC) -dumpversion)
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)
29 libexecsubdir = $(libexecdir)/gcc/$(target_alias)/$(gcc_version)
32 LIBFFIINCS = @LIBFFIINCS@
34 LIBATOMIC = @LIBATOMIC@
36 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
38 # -I/-D flags to pass when compiling.
39 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
41 ACLOCAL_AMFLAGS = -I ./config -I ../config
43 AM_CFLAGS = -fexceptions -fnon-call-exceptions -fplan9-extensions \
44 $(SPLIT_STACK) $(WARN_CFLAGS) \
45 $(STRINGOPS_FLAG) $(OSCFLAGS) \
46 -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
47 -I $(MULTIBUILDTOP)../../gcc/include
50 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
56 # Work around what appears to be a GNU make handling MAKEFLAGS
57 # values defined in terms of make variables, as is the case for CC and
58 # friends when we are called from the top level Makefile.
60 "AR_FLAGS=$(AR_FLAGS)" \
61 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
62 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
64 "CXXFLAGS=$(CXXFLAGS)" \
65 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
66 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
67 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
69 "GOCFLAGS=$(GOCFLAGS)" \
70 "INSTALL=$(INSTALL)" \
71 "INSTALL_DATA=$(INSTALL_DATA)" \
72 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
73 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
74 "LDFLAGS=$(LDFLAGS)" \
75 "LIBCFLAGS=$(LIBCFLAGS)" \
76 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
78 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
79 "PICFLAG=$(PICFLAG)" \
80 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
82 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
83 "exec_prefix=$(exec_prefix)" \
84 "infodir=$(infodir)" \
86 "includedir=$(includedir)" \
88 "tooldir=$(tooldir)" \
89 "gxx_include_dir=$(gxx_include_dir)" \
95 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
96 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
97 "DESTDIR=$(DESTDIR)" \
100 # Subdir rules rely on $(FLAGS_TO_PASS)
101 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
104 toolexeclib_LTLIBRARIES = libgo-llgo.la
105 toolexeclib_LIBRARIES = libgobegin-llgo.a
107 toolexeclib_LTLIBRARIES = libgo.la
108 toolexeclib_LIBRARIES = libgobegin.a libgolibbegin.a libnetgo.a
111 toolexeclibgo_DATA = \
142 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
144 toolexeclibgoarchive_DATA = \
148 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
150 toolexeclibgocompress_DATA = \
157 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
159 toolexeclibgocontainer_DATA = \
164 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
166 toolexeclibgocrypto_DATA = \
172 crypto/elliptic.gox \
185 toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
187 toolexeclibgocryptox509_DATA = \
190 toolexeclibgodatabasedir = $(toolexeclibgodir)/database
192 toolexeclibgodatabase_DATA = \
195 toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
197 toolexeclibgodatabasesql_DATA = \
198 database/sql/driver.gox
200 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
202 toolexeclibgodebug_DATA = \
210 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
212 toolexeclibgoencoding_DATA = \
213 encoding/ascii85.gox \
215 encoding/base32.gox \
216 encoding/base64.gox \
217 encoding/binary.gox \
225 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
227 toolexeclibgoexp_DATA = \
231 toolexeclibgogodir = $(toolexeclibgodir)/go
233 toolexeclibgogo_DATA = \
243 toolexeclibgohashdir = $(toolexeclibgodir)/hash
245 toolexeclibgohash_DATA = \
251 toolexeclibgohtmldir = $(toolexeclibgodir)/html
253 toolexeclibgohtml_DATA = \
256 toolexeclibgoimagedir = $(toolexeclibgodir)/image
258 toolexeclibgoimage_DATA = \
265 toolexeclibgoimagecolordir = $(toolexeclibgoimagedir)/color
267 toolexeclibgoimagecolor_DATA = \
268 image/color/palette.gox
270 toolexeclibgoindexdir = $(toolexeclibgodir)/index
272 toolexeclibgoindex_DATA = \
273 index/suffixarray.gox
275 toolexeclibgoiodir = $(toolexeclibgodir)/io
277 toolexeclibgoio_DATA = \
280 toolexeclibgologdir = $(toolexeclibgodir)/log
282 toolexeclibgolog_DATA = \
285 toolexeclibgomathdir = $(toolexeclibgodir)/math
287 toolexeclibgomath_DATA = \
292 toolexeclibgomimedir = $(toolexeclibgodir)/mime
294 toolexeclibgomime_DATA = \
297 toolexeclibgonetdir = $(toolexeclibgodir)/net
299 toolexeclibgonet_DATA = \
307 toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
309 toolexeclibgonethttp_DATA = \
311 net/http/cookiejar.gox \
313 net/http/httptest.gox \
314 net/http/httputil.gox \
317 toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
319 toolexeclibgonetrpc_DATA = \
322 toolexeclibgoolddir = $(toolexeclibgodir)/old
324 toolexeclibgoold_DATA = \
328 toolexeclibgoosdir = $(toolexeclibgodir)/os
330 toolexeclibgoos_DATA = \
335 toolexeclibgopathdir = $(toolexeclibgodir)/path
337 toolexeclibgopath_DATA = \
340 toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
342 toolexeclibgoregexp_DATA = \
345 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
347 toolexeclibgoruntime_DATA = \
351 toolexeclibgosyncdir = $(toolexeclibgodir)/sync
353 toolexeclibgosync_DATA = \
356 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
358 toolexeclibgotesting_DATA = \
362 toolexeclibgotextdir = $(toolexeclibgodir)/text
364 toolexeclibgotext_DATA = \
369 toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
371 toolexeclibgotexttemplate_DATA = \
372 text/template/parse.gox
374 toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
376 toolexeclibgounicode_DATA = \
381 runtime_mem_file = runtime/mem.c
383 runtime_mem_file = runtime/mem_posix_memalign.c
387 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
389 rtems_task_variable_add_file =
393 runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
395 runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
399 runtime_getncpu_file = runtime/getncpu-linux.c
402 runtime_getncpu_file = runtime/getncpu-bsd.c
405 runtime_getncpu_file = runtime/getncpu-irix.c
408 runtime_getncpu_file = runtime/getncpu-solaris.c
411 runtime_getncpu_file = runtime/getncpu-bsd.c
414 runtime_getncpu_file = runtime/getncpu-bsd.c
416 runtime_getncpu_file = runtime/getncpu-none.c
425 runtime_netpoll_files = runtime/netpoll_epoll.c
428 runtime_netpoll_files = runtime/netpoll_select.c
430 runtime_netpoll_files = runtime/netpoll_kqueue.c
435 runtime/go-append.c \
436 runtime/go-assert.c \
437 runtime/go-assert-interface.c \
438 runtime/go-byte-array-to-string.c \
439 runtime/go-breakpoint.c \
440 runtime/go-caller.c \
441 runtime/go-callers.c \
442 runtime/go-can-convert-interface.c \
445 runtime/go-check-interface.c \
446 runtime/go-construct-map.c \
447 runtime/go-convert-interface.c \
450 runtime/go-deferred-recover.c \
451 runtime/go-eface-compare.c \
452 runtime/go-eface-val-compare.c \
454 runtime/go-fieldtrack.c \
455 runtime/go-int-array-to-string.c \
456 runtime/go-int-to-string.c \
457 runtime/go-interface-compare.c \
458 runtime/go-interface-eface-compare.c \
459 runtime/go-interface-val-compare.c \
460 runtime/go-make-slice.c \
461 runtime/go-map-delete.c \
462 runtime/go-map-index.c \
463 runtime/go-map-len.c \
464 runtime/go-map-range.c \
465 runtime/go-matherr.c \
466 runtime/go-memcmp.c \
467 runtime/go-nanotime.c \
469 runtime/go-new-map.c \
474 runtime/go-recover.c \
475 runtime/go-reflect-call.c \
476 runtime/go-reflect-map.c \
478 runtime/go-runtime-error.c \
479 runtime/go-setenv.c \
480 runtime/go-signal.c \
481 runtime/go-strcmp.c \
482 runtime/go-string-to-byte-array.c \
483 runtime/go-string-to-int-array.c \
484 runtime/go-strplus.c \
485 runtime/go-strslice.c \
486 runtime/go-traceback.c \
487 runtime/go-type-complex.c \
488 runtime/go-type-eface.c \
489 runtime/go-type-error.c \
490 runtime/go-type-float.c \
491 runtime/go-type-identity.c \
492 runtime/go-type-interface.c \
493 runtime/go-type-string.c \
494 runtime/go-typedesc-equal.c \
495 runtime/go-unsafe-new.c \
496 runtime/go-unsafe-newarray.c \
497 runtime/go-unsafe-pointer.c \
498 runtime/go-unsetenv.c \
499 runtime/go-unwind.c \
500 runtime/go-varargs.c \
501 runtime/env_posix.c \
503 $(runtime_lock_files) \
506 $(runtime_mem_file) \
507 runtime/mfixalloc.c \
511 $(runtime_netpoll_files) \
517 runtime/signal_unix.c \
520 $(rtems_task_variable_add_file) \
536 $(runtime_getncpu_file)
538 goc2c.$(OBJEXT): runtime/goc2c.c
539 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
541 goc2c: goc2c.$(OBJEXT)
542 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
544 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
548 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
552 netpoll.c: $(srcdir)/runtime/netpoll.goc goc2c
556 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
560 runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
564 sema.c: $(srcdir)/runtime/sema.goc goc2c
568 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
569 ./goc2c --go-pkgpath os_signal $< > $@.tmp
572 time.c: $(srcdir)/runtime/time.goc goc2c
576 %.c: $(srcdir)/runtime/%.goc goc2c
587 go/bytes/bytes_decl.go \
595 go_encoding_files = \
596 go/encoding/encoding.go
646 go/math/copysign.go \
666 go/math/nextafter.go \
669 go/math/remainder.go \
681 go/mime/mediatype.go \
686 go_net_cgo_file = go/net/cgo_linux.go
687 go_net_sock_file = go/net/sock_linux.go
688 go_net_sockopt_file = go/net/sockopt_linux.go
689 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
692 go_net_cgo_file = go/net/cgo_linux.go
693 go_net_sock_file = go/net/sock_linux.go
694 go_net_sockopt_file = go/net/sockopt_linux.go
695 go_net_sockoptip_file = go/net/sockoptip_linux.go go/net/sockoptip_posix.go
698 go_net_cgo_file = go/net/cgo_linux.go
699 go_net_sock_file = go/net/sock_stub.go
700 go_net_sockopt_file = go/net/sockopt_solaris.go
701 go_net_sockoptip_file = go/net/sockoptip_stub.go
704 go_net_cgo_file = go/net/cgo_bsd.go
705 go_net_sock_file = go/net/sock_bsd.go
706 go_net_sockopt_file = go/net/sockopt_bsd.go
707 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
710 go_net_cgo_file = go/net/cgo_netbsd.go
711 go_net_sock_file = go/net/sock_bsd.go
712 go_net_sockopt_file = go/net/sockopt_bsd.go
713 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
715 go_net_cgo_file = go/net/cgo_bsd.go
716 go_net_sock_file = go/net/sock_bsd.go
717 go_net_sockopt_file = go/net/sockopt_bsd.go
718 go_net_sockoptip_file = go/net/sockoptip_bsd.go go/net/sockoptip_posix.go
726 go_net_sendfile_file = go/net/sendfile_linux.go
729 go_net_sendfile_file = go/net/sendfile_freebsd.go
731 if LIBGO_IS_DRAGONFLY
732 go_net_sendfile_file = go/net/sendfile_dragonfly.go
734 go_net_sendfile_file = go/net/sendfile_stub.go
740 go_net_interface_file = go/net/interface_linux.go
743 go_net_interface_file = go/net/interface_netbsd.go
745 if LIBGO_IS_DRAGONFLY
746 go_net_interface_file = go/net/interface_dragonfly.go
748 go_net_interface_file = go/net/interface_stub.go
754 go_net_cloexec_file = go/net/sock_cloexec.go
756 go_net_cloexec_file = go/net/sys_cloexec.go
760 go_net_tcpsockopt_file = go/net/tcpsockopt_openbsd.go
763 go_net_tcpsockopt_file = go/net/tcpsockopt_darwin.go
766 go_net_tcpsockopt_file = go/net/tcpsockopt_solaris.go
768 if LIBGO_IS_DRAGONFLY
769 go_net_tcpsockopt_file = go/net/tcpsockopt_dragonfly.go
771 go_net_tcpsockopt_file = go/net/tcpsockopt_unix.go
777 go_net_common_files = \
778 $(go_net_cloexec_file) \
780 go/net/dnsclient.go \
781 go/net/dnsclient_unix.go \
782 go/net/dnsconfig_unix.go \
786 go/net/file_unix.go \
788 go/net/interface.go \
789 $(go_net_interface_file) \
791 go/net/iprawsock.go \
792 go/net/iprawsock_posix.go \
794 go/net/ipsock_posix.go \
796 go/net/lookup_unix.go \
801 go/net/fd_poll_runtime.go \
803 go/net/port_unix.go \
805 $(go_net_sendfile_file) \
806 go/net/singleflight.go \
807 go/net/sock_posix.go \
808 $(go_net_sock_file) \
809 go/net/sockopt_posix.go \
810 $(go_net_sockopt_file) \
811 $(go_net_sockoptip_file) \
813 go/net/tcpsock_posix.go \
814 go/net/tcpsockopt_posix.go \
815 $(go_net_tcpsockopt_file) \
817 go/net/udpsock_posix.go \
819 go/net/unixsock_posix.go
824 $(go_net_common_files)
828 $(go_net_common_files)
832 go_os_dir_file = go/os/dir_largefile.go
835 go_os_dir_file = go/os/dir_largefile.go
837 go_os_dir_file = go/os/dir_regfile.go
842 go_os_dir_file = go/os/dir_largefile.go
844 go_os_dir_file = go/os/dir_regfile.go
849 go_os_getwd_file = go/os/getwd_darwin.go
855 go_os_sys_file = go/os/sys_linux.go
858 go_os_sys_file = go/os/sys_uname.go
861 go_os_sys_file = go/os/sys_uname.go
864 go_os_sys_file = go/os/sys_uname.go
866 go_os_sys_file = go/os/sys_bsd.go
873 go_os_cloexec_file = go/os/sys_freebsd.go
876 go_os_cloexec_file = go/os/sys_darwin.go
878 go_os_cloexec_file = go/os/sys_unix.go
883 go_os_stat_file = go/os/stat_solaris.go
886 go_os_stat_file = go/os/stat_atim.go
889 go_os_stat_file = go/os/stat_atim.go
892 go_os_stat_file = go/os/stat_atimespec.go
895 go_os_stat_file = go/os/stat_atimespec.go
898 go_os_stat_file = go/os/stat_atimespec.go
900 if LIBGO_IS_DRAGONFLY
901 go_os_stat_file = go/os/stat_dragonfly.go
903 go_os_stat_file = go/os/stat.go
913 go_os_pipe_file = go/os/pipe_linux.go
915 go_os_pipe_file = go/os/pipe_bsd.go
924 go/os/error_unix.go \
926 go/os/exec_posix.go \
929 go/os/file_posix.go \
932 $(go_os_getwd_file) \
940 $(go_os_cloexec_file) \
942 go/os/types_notwin.go
949 go/reflect/deepequal.go \
950 go/reflect/makefunc.go \
951 go/reflect/makefunc_ffi.go \
954 go_reflect_makefunc_c_file = \
955 go/reflect/makefunc_ffi_c.c
959 go/regexp/onepass.go \
963 go/net/rpc/client.go \
964 go/net/rpc/debug.go \
968 go/runtime/compiler.go \
969 go/runtime/debug.go \
970 go/runtime/error.go \
971 go/runtime/extern.go \
973 go/runtime/softfloat64.go \
976 version.go: s-version; @true
979 echo "package runtime" > version.go.tmp
980 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
981 echo 'const theVersion = "'`cat $(srcdir)/VERSION | sed 1q`' '`$(GOC) --version | sed 1q`'"' >> version.go.tmp
982 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
983 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
984 echo 'const theGccgoToolDir = "$(libexecsubdir)"' >> version.go.tmp
985 $(SHELL) $(srcdir)/mvifdiff.sh version.go.tmp version.go
988 noinst_DATA = zstdpkglist.go
990 # Generate the list of go std packages that were included in libgo
991 zstdpkglist.go: s-zstdpkglist; @true
992 s-zstdpkglist: Makefile
993 rm -f zstdpkglist.go.tmp
994 echo 'package main' > zstdpkglist.go.tmp
995 echo "" >> zstdpkglist.go.tmp
996 echo 'var stdpkg = map[string]bool{' >> zstdpkglist.go.tmp
997 echo $(libgo_go_objs) 'unsafe.lo' 'runtime/cgo.lo' | sed 's/\.lo /\": true,\n/g' | sed 's/\.lo/\": true,/' | sed 's/-go//' | grep -v _c | sed 's/^/\t\"/' | sort | uniq >> zstdpkglist.go.tmp
998 echo '}' >> zstdpkglist.go.tmp
999 $(SHELL) $(srcdir)/mvifdiff.sh zstdpkglist.go.tmp zstdpkglist.go
1006 go_strconv_files = \
1007 go/strconv/atob.go \
1008 go/strconv/atof.go \
1009 go/strconv/atoi.go \
1010 go/strconv/decimal.go \
1011 go/strconv/extfloat.go \
1012 go/strconv/ftoa.go \
1013 go/strconv/isprint.go \
1014 go/strconv/itoa.go \
1017 go_strings_files = \
1018 go/strings/reader.go \
1019 go/strings/replace.go \
1020 go/strings/search.go \
1021 go/strings/strings.go \
1022 go/strings/strings_decl.go
1023 go_strings_c_files = \
1024 go/strings/indexbyte.c
1032 go/sync/runtime.go \
1033 go/sync/rwmutex.go \
1034 go/sync/waitgroup.go
1037 go_syslog_file = go/log/syslog/syslog_libc.go
1040 go_syslog_file = go/log/syslog/syslog_libc.go
1042 go_syslog_file = go/log/syslog/syslog_unix.go
1046 go_log_syslog_files = \
1047 go/log/syslog/syslog.go \
1049 go_syslog_c_files = \
1050 go/log/syslog/syslog_c.c
1052 go_testing_files = \
1053 go/testing/allocs.go \
1054 go/testing/benchmark.go \
1055 go/testing/cover.go \
1056 go/testing/example.go \
1057 go/testing/testing.go
1062 go/time/sys_unix.go \
1065 go/time/zoneinfo.go \
1066 go/time/zoneinfo_read.go \
1067 go/time/zoneinfo_unix.go
1069 go_unicode_files = \
1070 go/unicode/casetables.go \
1071 go/unicode/digit.go \
1072 go/unicode/graphic.go \
1073 go/unicode/letter.go \
1074 go/unicode/tables.go
1077 archive_tar_atim_file = go/archive/tar/stat_atim.go
1080 archive_tar_atim_file = go/archive/tar/stat_atim.go
1083 archive_tar_atim_file = go/archive/tar/stat_atim.go
1086 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1089 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1092 archive_tar_atim_file = go/archive/tar/stat_atimespec.go
1095 go_archive_tar_files = \
1096 go/archive/tar/common.go \
1097 go/archive/tar/reader.go \
1098 go/archive/tar/stat_unix.go \
1099 go/archive/tar/writer.go \
1100 $(archive_tar_atim_file)
1102 go_archive_zip_files = \
1103 go/archive/zip/reader.go \
1104 go/archive/zip/register.go \
1105 go/archive/zip/struct.go \
1106 go/archive/zip/writer.go
1108 go_compress_bzip2_files = \
1109 go/compress/bzip2/bit_reader.go \
1110 go/compress/bzip2/bzip2.go \
1111 go/compress/bzip2/huffman.go \
1112 go/compress/bzip2/move_to_front.go
1114 go_compress_flate_files = \
1115 go/compress/flate/copy.go \
1116 go/compress/flate/deflate.go \
1117 go/compress/flate/fixedhuff.go \
1118 go/compress/flate/huffman_bit_writer.go \
1119 go/compress/flate/huffman_code.go \
1120 go/compress/flate/inflate.go \
1121 go/compress/flate/reverse_bits.go \
1122 go/compress/flate/token.go
1124 go_compress_gzip_files = \
1125 go/compress/gzip/gzip.go \
1126 go/compress/gzip/gunzip.go
1128 go_compress_lzw_files = \
1129 go/compress/lzw/reader.go \
1130 go/compress/lzw/writer.go
1132 go_compress_zlib_files = \
1133 go/compress/zlib/reader.go \
1134 go/compress/zlib/writer.go
1136 go_container_heap_files = \
1137 go/container/heap/heap.go
1139 go_container_list_files = \
1140 go/container/list/list.go
1142 go_container_ring_files = \
1143 go/container/ring/ring.go
1145 go_crypto_aes_files = \
1146 go/crypto/aes/block.go \
1147 go/crypto/aes/cipher.go \
1148 go/crypto/aes/cipher_generic.go \
1149 go/crypto/aes/const.go
1150 go_crypto_cipher_files = \
1151 go/crypto/cipher/cbc.go \
1152 go/crypto/cipher/cfb.go \
1153 go/crypto/cipher/cipher.go \
1154 go/crypto/cipher/ctr.go \
1155 go/crypto/cipher/gcm.go \
1156 go/crypto/cipher/io.go \
1157 go/crypto/cipher/ofb.go \
1158 go/crypto/cipher/xor.go
1159 go_crypto_des_files = \
1160 go/crypto/des/block.go \
1161 go/crypto/des/cipher.go \
1162 go/crypto/des/const.go
1163 go_crypto_dsa_files = \
1164 go/crypto/dsa/dsa.go
1165 go_crypto_ecdsa_files = \
1166 go/crypto/ecdsa/ecdsa.go
1167 go_crypto_elliptic_files = \
1168 go/crypto/elliptic/elliptic.go \
1169 go/crypto/elliptic/p224.go \
1170 go/crypto/elliptic/p256.go
1171 go_crypto_hmac_files = \
1172 go/crypto/hmac/hmac.go
1173 go_crypto_md5_files = \
1174 go/crypto/md5/md5.go \
1175 go/crypto/md5/md5block.go \
1176 go/crypto/md5/md5block_generic.go
1179 crypto_rand_file = go/crypto/rand/rand_linux.go
1184 go_crypto_rand_files = \
1185 go/crypto/rand/rand.go \
1186 go/crypto/rand/rand_unix.go \
1187 $(crypto_rand_file) \
1188 go/crypto/rand/util.go
1190 go_crypto_rc4_files = \
1191 go/crypto/rc4/rc4.go \
1192 go/crypto/rc4/rc4_ref.go
1193 go_crypto_rsa_files = \
1194 go/crypto/rsa/pkcs1v15.go \
1195 go/crypto/rsa/pss.go \
1196 go/crypto/rsa/rsa.go
1197 go_crypto_sha1_files = \
1198 go/crypto/sha1/sha1.go \
1199 go/crypto/sha1/sha1block.go \
1200 go/crypto/sha1/sha1block_generic.go
1201 go_crypto_sha256_files = \
1202 go/crypto/sha256/sha256.go \
1203 go/crypto/sha256/sha256block.go
1204 go_crypto_sha512_files = \
1205 go/crypto/sha512/sha512.go \
1206 go/crypto/sha512/sha512block.go
1207 go_crypto_subtle_files = \
1208 go/crypto/subtle/constant_time.go
1209 go_crypto_tls_files = \
1210 go/crypto/tls/alert.go \
1211 go/crypto/tls/cipher_suites.go \
1212 go/crypto/tls/common.go \
1213 go/crypto/tls/conn.go \
1214 go/crypto/tls/handshake_client.go \
1215 go/crypto/tls/handshake_messages.go \
1216 go/crypto/tls/handshake_server.go \
1217 go/crypto/tls/key_agreement.go \
1218 go/crypto/tls/prf.go \
1219 go/crypto/tls/ticket.go \
1220 go/crypto/tls/tls.go
1221 go_crypto_x509_files = \
1222 go/crypto/x509/cert_pool.go \
1223 go/crypto/x509/pem_decrypt.go \
1224 go/crypto/x509/pkcs1.go \
1225 go/crypto/x509/pkcs8.go \
1226 go/crypto/x509/root.go \
1227 go/crypto/x509/root_unix.go \
1228 go/crypto/x509/sec1.go \
1229 go/crypto/x509/verify.go \
1230 go/crypto/x509/x509.go
1232 go_crypto_x509_pkix_files = \
1233 go/crypto/x509/pkix/pkix.go
1235 go_database_sql_files = \
1236 go/database/sql/convert.go \
1237 go/database/sql/sql.go
1239 go_database_sql_driver_files = \
1240 go/database/sql/driver/driver.go \
1241 go/database/sql/driver/types.go
1243 go_debug_dwarf_files = \
1244 go/debug/dwarf/buf.go \
1245 go/debug/dwarf/const.go \
1246 go/debug/dwarf/entry.go \
1247 go/debug/dwarf/line.go \
1248 go/debug/dwarf/open.go \
1249 go/debug/dwarf/type.go \
1250 go/debug/dwarf/typeunit.go \
1251 go/debug/dwarf/unit.go
1252 go_debug_elf_files = \
1253 go/debug/elf/elf.go \
1254 go/debug/elf/file.go
1255 go_debug_gosym_files = \
1256 go/debug/gosym/pclntab.go \
1257 go/debug/gosym/symtab.go
1258 go_debug_macho_files = \
1259 go/debug/macho/fat.go \
1260 go/debug/macho/file.go \
1261 go/debug/macho/macho.go
1262 go_debug_pe_files = \
1263 go/debug/pe/file.go \
1265 go_debug_plan9obj_files = \
1266 go/debug/plan9obj/file.go \
1267 go/debug/plan9obj/plan9obj.go
1269 go_encoding_ascii85_files = \
1270 go/encoding/ascii85/ascii85.go
1271 go_encoding_asn1_files = \
1272 go/encoding/asn1/asn1.go \
1273 go/encoding/asn1/common.go \
1274 go/encoding/asn1/marshal.go
1275 go_encoding_base32_files = \
1276 go/encoding/base32/base32.go
1277 go_encoding_base64_files = \
1278 go/encoding/base64/base64.go
1279 go_encoding_binary_files = \
1280 go/encoding/binary/binary.go \
1281 go/encoding/binary/varint.go
1282 go_encoding_csv_files = \
1283 go/encoding/csv/reader.go \
1284 go/encoding/csv/writer.go
1285 go_encoding_gob_files = \
1286 go/encoding/gob/decode.go \
1287 go/encoding/gob/decoder.go \
1288 go/encoding/gob/dec_helpers.go \
1289 go/encoding/gob/doc.go \
1290 go/encoding/gob/encode.go \
1291 go/encoding/gob/encoder.go \
1292 go/encoding/gob/enc_helpers.go \
1293 go/encoding/gob/error.go \
1294 go/encoding/gob/type.go
1295 go_encoding_hex_files = \
1296 go/encoding/hex/hex.go
1297 go_encoding_json_files = \
1298 go/encoding/json/decode.go \
1299 go/encoding/json/encode.go \
1300 go/encoding/json/fold.go \
1301 go/encoding/json/indent.go \
1302 go/encoding/json/scanner.go \
1303 go/encoding/json/stream.go \
1304 go/encoding/json/tags.go
1305 go_encoding_pem_files = \
1306 go/encoding/pem/pem.go
1307 go_encoding_xml_files = \
1308 go/encoding/xml/marshal.go \
1309 go/encoding/xml/read.go \
1310 go/encoding/xml/typeinfo.go \
1311 go/encoding/xml/xml.go
1313 go_exp_proxy_files = \
1314 go/exp/proxy/direct.go \
1315 go/exp/proxy/per_host.go \
1316 go/exp/proxy/proxy.go \
1317 go/exp/proxy/socks5.go
1318 go_exp_terminal_files = \
1319 go/exp/terminal/terminal.go \
1320 go/exp/terminal/util.go
1324 go/go/ast/commentmap.go \
1325 go/go/ast/filter.go \
1326 go/go/ast/import.go \
1327 go/go/ast/print.go \
1328 go/go/ast/resolve.go \
1329 go/go/ast/scope.go \
1331 go_go_build_files = \
1332 go/go/build/build.go \
1333 go/go/build/doc.go \
1334 go/go/build/read.go \
1335 go/go/build/syslist.go
1337 go/go/doc/comment.go \
1339 go/go/doc/example.go \
1340 go/go/doc/exports.go \
1341 go/go/doc/filter.go \
1342 go/go/doc/reader.go \
1343 go/go/doc/synopsis.go
1344 go_go_format_files = \
1345 go/go/format/format.go
1346 go_go_parser_files = \
1347 go/go/parser/interface.go \
1348 go/go/parser/parser.go
1349 go_go_printer_files = \
1350 go/go/printer/nodes.go \
1351 go/go/printer/printer.go
1352 go_go_scanner_files = \
1353 go/go/scanner/errors.go \
1354 go/go/scanner/scanner.go
1355 go_go_token_files = \
1356 go/go/token/position.go \
1357 go/go/token/serialize.go \
1358 go/go/token/token.go
1360 go_hash_adler32_files = \
1361 go/hash/adler32/adler32.go
1362 go_hash_crc32_files = \
1363 go/hash/crc32/crc32.go \
1364 go/hash/crc32/crc32_generic.go
1365 go_hash_crc64_files = \
1366 go/hash/crc64/crc64.go
1367 go_hash_fnv_files = \
1370 go_html_template_files = \
1371 go/html/template/attr.go \
1372 go/html/template/content.go \
1373 go/html/template/context.go \
1374 go/html/template/css.go \
1375 go/html/template/doc.go \
1376 go/html/template/error.go \
1377 go/html/template/escape.go \
1378 go/html/template/html.go \
1379 go/html/template/js.go \
1380 go/html/template/template.go \
1381 go/html/template/transition.go \
1382 go/html/template/url.go
1384 go_image_color_files = \
1385 go/image/color/color.go \
1386 go/image/color/ycbcr.go
1388 go_image_color_palette_files = \
1389 go/image/color/palette/palette.go
1391 go_image_draw_files = \
1392 go/image/draw/draw.go
1394 go_image_gif_files = \
1395 go/image/gif/reader.go \
1396 go/image/gif/writer.go
1398 go_image_jpeg_files = \
1399 go/image/jpeg/fdct.go \
1400 go/image/jpeg/huffman.go \
1401 go/image/jpeg/idct.go \
1402 go/image/jpeg/reader.go \
1403 go/image/jpeg/scan.go \
1404 go/image/jpeg/writer.go
1406 go_image_png_files = \
1407 go/image/png/paeth.go \
1408 go/image/png/reader.go \
1409 go/image/png/writer.go
1411 go_index_suffixarray_files = \
1412 go/index/suffixarray/qsufsort.go \
1413 go/index/suffixarray/suffixarray.go
1415 go_io_ioutil_files = \
1416 go/io/ioutil/ioutil.go \
1417 go/io/ioutil/tempfile.go
1419 go_math_big_files = \
1420 go/math/big/arith.go \
1421 go/math/big/int.go \
1422 go/math/big/nat.go \
1424 go_math_cmplx_files = \
1425 go/math/cmplx/abs.go \
1426 go/math/cmplx/asin.go \
1427 go/math/cmplx/conj.go \
1428 go/math/cmplx/exp.go \
1429 go/math/cmplx/isinf.go \
1430 go/math/cmplx/isnan.go \
1431 go/math/cmplx/log.go \
1432 go/math/cmplx/phase.go \
1433 go/math/cmplx/polar.go \
1434 go/math/cmplx/pow.go \
1435 go/math/cmplx/rect.go \
1436 go/math/cmplx/sin.go \
1437 go/math/cmplx/sqrt.go \
1438 go/math/cmplx/tan.go
1439 go_math_rand_files = \
1440 go/math/rand/exp.go \
1441 go/math/rand/normal.go \
1442 go/math/rand/rand.go \
1443 go/math/rand/rng.go \
1444 go/math/rand/zipf.go
1446 go_mime_multipart_files = \
1447 go/mime/multipart/formdata.go \
1448 go/mime/multipart/multipart.go \
1449 go/mime/multipart/quotedprintable.go \
1450 go/mime/multipart/writer.go
1452 go_net_http_files = \
1453 go/net/http/client.go \
1454 go/net/http/cookie.go \
1455 go/net/http/filetransport.go \
1457 go/net/http/header.go \
1458 go/net/http/jar.go \
1459 go/net/http/lex.go \
1460 go/net/http/request.go \
1461 go/net/http/response.go \
1462 go/net/http/server.go \
1463 go/net/http/sniff.go \
1464 go/net/http/status.go \
1465 go/net/http/transfer.go \
1466 go/net/http/transport.go
1467 go_net_mail_files = \
1468 go/net/mail/message.go
1469 go_net_smtp_files = \
1470 go/net/smtp/auth.go \
1472 go_net_textproto_files = \
1473 go/net/textproto/header.go \
1474 go/net/textproto/pipeline.go \
1475 go/net/textproto/reader.go \
1476 go/net/textproto/textproto.go \
1477 go/net/textproto/writer.go
1478 go_net_url_files = \
1481 go_net_http_cgi_files = \
1482 go/net/http/cgi/child.go \
1483 go/net/http/cgi/host.go
1484 go_net_http_cookiejar_files = \
1485 go/net/http/cookiejar/jar.go \
1486 go/net/http/cookiejar/punycode.go
1487 go_net_http_fcgi_files = \
1488 go/net/http/fcgi/child.go \
1489 go/net/http/fcgi/fcgi.go
1490 go_net_http_httptest_files = \
1491 go/net/http/httptest/recorder.go \
1492 go/net/http/httptest/server.go
1493 go_net_http_pprof_files = \
1494 go/net/http/pprof/pprof.go
1495 go_net_http_httputil_files = \
1496 go/net/http/httputil/dump.go \
1497 go/net/http/httputil/httputil.go \
1498 go/net/http/httputil/persist.go \
1499 go/net/http/httputil/reverseproxy.go
1500 go_net_http_internal_files = \
1501 go/net/http/internal/chunked.go
1503 go_old_regexp_files = \
1504 go/old/regexp/regexp.go
1505 go_old_template_files = \
1506 go/old/template/doc.go \
1507 go/old/template/execute.go \
1508 go/old/template/format.go \
1509 go/old/template/parse.go
1511 go_os_exec_files = \
1512 go/os/exec/exec.go \
1513 go/os/exec/lp_unix.go
1515 go_os_signal_files = \
1516 go/os/signal/signal.go \
1517 go/os/signal/signal_unix.go
1520 os_user_decls_file = go/os/user/decls_solaris.go
1522 os_user_decls_file = go/os/user/decls_unix.go
1525 go_os_user_files = \
1526 go/os/user/lookup.go \
1527 go/os/user/lookup_unix.go \
1528 go/os/user/user.go \
1529 $(os_user_decls_file)
1531 go_path_filepath_files = \
1532 go/path/filepath/match.go \
1533 go/path/filepath/path.go \
1534 go/path/filepath/path_unix.go \
1535 go/path/filepath/symlink.go \
1536 go/path/filepath/symlink_unix.go
1538 go_regexp_syntax_files = \
1539 go/regexp/syntax/compile.go \
1540 go/regexp/syntax/doc.go \
1541 go/regexp/syntax/parse.go \
1542 go/regexp/syntax/perl_groups.go \
1543 go/regexp/syntax/prog.go \
1544 go/regexp/syntax/regexp.go \
1545 go/regexp/syntax/simplify.go
1547 go_net_rpc_jsonrpc_files = \
1548 go/net/rpc/jsonrpc/client.go \
1549 go/net/rpc/jsonrpc/server.go
1551 go_runtime_debug_files = \
1552 go/runtime/debug/garbage.go \
1553 go/runtime/debug/stack.go
1554 go_runtime_pprof_files = \
1555 go/runtime/pprof/pprof.go
1557 go_text_tabwriter_files = \
1558 go/text/tabwriter/tabwriter.go
1559 go_text_template_files = \
1560 go/text/template/doc.go \
1561 go/text/template/exec.go \
1562 go/text/template/funcs.go \
1563 go/text/template/helper.go \
1564 go/text/template/template.go
1565 go_text_template_parse_files = \
1566 go/text/template/parse/lex.go \
1567 go/text/template/parse/node.go \
1568 go/text/template/parse/parse.go
1570 go_sync_atomic_files = \
1571 go/sync/atomic/doc.go \
1572 go/sync/atomic/value.go
1573 go_sync_atomic_c_files = \
1574 go/sync/atomic/atomic.c
1576 go_testing_iotest_files = \
1577 go/testing/iotest/logger.go \
1578 go/testing/iotest/reader.go \
1579 go/testing/iotest/writer.go
1580 go_testing_quick_files = \
1581 go/testing/quick/quick.go
1583 go_text_scanner_files = \
1584 go/text/scanner/scanner.go
1586 go_unicode_utf16_files = \
1587 go/unicode/utf16/utf16.go
1588 go_unicode_utf8_files = \
1589 go/unicode/utf8/utf8.go
1591 # Define Syscall and Syscall6.
1593 syscall_syscall_file = go/syscall/syscall_stubs.go
1595 syscall_syscall_file = go/syscall/syscall_unix.go
1598 # Define ForkExec and Exec.
1600 syscall_exec_file = go/syscall/exec_stubs.go
1601 syscall_exec_os_file =
1604 syscall_exec_file = go/syscall/exec_unix.go
1605 syscall_exec_os_file = go/syscall/exec_linux.go
1607 syscall_exec_file = go/syscall/exec_unix.go
1608 syscall_exec_os_file = go/syscall/exec_bsd.go
1617 syscall_wait_file = go/syscall/libcall_wait4.go
1619 syscall_wait_file = go/syscall/libcall_waitpid.go
1623 # Support for pulling apart wait status.
1625 syscall_wait_c_file =
1627 syscall_wait_c_file = go/syscall/wait.c
1632 syscall_sleep_file = go/syscall/sleep_rtems.go
1634 syscall_sleep_file = go/syscall/sleep_select.go
1639 syscall_errstr_file = go/syscall/errstr_linux.go
1642 syscall_errstr_file = go/syscall/errstr_linux.go
1645 syscall_errstr_file = go/syscall/errstr.go
1647 syscall_errstr_file = go/syscall/errstr_nor.go
1652 # Declare libc functions that vary for largefile systems.
1654 # Always use lseek64 on GNU/Linux.
1655 syscall_size_file = go/syscall/libcall_posix_largefile.go
1656 else # !LIBGO_IS_LINUX
1659 # Use lseek64 on 32-bit Solaris/x86.
1660 syscall_size_file = go/syscall/libcall_posix_largefile.go
1661 else # !LIBGO_IS_386
1663 # Use lseek64 on 32-bit Solaris/SPARC.
1664 syscall_size_file = go/syscall/libcall_posix_largefile.go
1665 else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1666 # Use lseek on 64-bit Solaris.
1667 syscall_size_file = go/syscall/libcall_posix_regfile.go
1668 endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1669 endif # !LIBGO_IS_SOLARIS
1670 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1671 # Use lseek by default.
1672 syscall_size_file = go/syscall/libcall_posix_regfile.go
1673 endif # !LIBGO_IS_SOLARIS
1674 endif # !LIBGO_IS_LINUX
1676 # Define socket sizes and types.
1678 syscall_socket_file = go/syscall/socket_linux.go epoll.go
1680 syscall_socket_type_file = go/syscall/socket_linux_ppc64x_type.go
1683 syscall_socket_type_file = go/syscall/socket_linux_ppc64x_type.go
1685 syscall_socket_type_file = go/syscall/socket_linux_type.go
1689 syscall_socket_type_file =
1691 syscall_socket_file = go/syscall/socket_solaris.go
1694 syscall_socket_file = go/syscall/socket_irix.go
1696 syscall_socket_file = go/syscall/socket_bsd.go
1701 # Define socket functions.
1703 syscall_socket_os_file = go/syscall/socket_xnet.go
1705 syscall_socket_os_file = go/syscall/socket_posix.go
1708 # Support for uname.
1711 # 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
1712 syscall_uname_file =
1713 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1714 syscall_uname_file = go/syscall/libcall_uname.go
1716 else # !LIBGO_IS_SOLARIS
1717 syscall_uname_file = go/syscall/libcall_uname.go
1720 # GNU/Linux specific socket control messages.
1722 syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1724 syscall_sockcmsg_file =
1727 # Support for netlink sockets and messages.
1729 syscall_netlink_file = go/syscall/netlink_linux.go
1731 syscall_netlink_file =
1734 # GNU/Linux specific socket filters.
1736 syscall_lsf_file = go/syscall/lsf_linux.go
1741 # GNU/Linux specific utimesnano support.
1743 syscall_utimesnano_file = go/syscall/libcall_linux_utimesnano.go
1745 syscall_utimesnano_file = go/syscall/libcall_posix_utimesnano.go
1750 syscall_creds_test_file = go/syscall/creds_test.go
1752 syscall_creds_test_file =
1755 go_base_syscall_files = \
1756 go/syscall/env_unix.go \
1757 go/syscall/syscall_errno.go \
1758 go/syscall/libcall_support.go \
1759 go/syscall/libcall_posix.go \
1760 go/syscall/race0.go \
1761 go/syscall/socket.go \
1762 go/syscall/sockcmsg_unix.go \
1764 go/syscall/syscall.go \
1765 $(syscall_sockcmsg_file) \
1766 $(syscall_syscall_file) \
1767 $(syscall_exec_file) \
1768 $(syscall_exec_os_file) \
1769 $(syscall_wait_file) \
1770 $(syscall_sleep_file) \
1771 $(syscall_errstr_file) \
1772 $(syscall_size_file) \
1773 $(syscall_socket_file) \
1774 $(syscall_socket_os_file) \
1775 $(syscall_socket_type_file) \
1776 $(syscall_uname_file) \
1777 $(syscall_netlink_file) \
1778 $(syscall_lsf_file) \
1779 $(syscall_utimesnano_file) \
1780 $(GO_LIBCALL_OS_FILE) \
1781 $(GO_LIBCALL_OS_ARCH_FILE) \
1782 $(GO_SYSCALL_OS_FILE) \
1783 $(GO_SYSCALL_OS_ARCH_FILE)
1785 go_syscall_files = \
1786 $(go_base_syscall_files) \
1790 go_syscall_c_files = \
1791 go/syscall/errno.c \
1792 go/syscall/signame.c \
1793 $(syscall_wait_c_file)
1795 go_syscall_test_files = \
1796 $(syscall_creds_test_file) \
1797 go/syscall/export_test.go \
1798 go/syscall/mmap_unix_test.go \
1799 go/syscall/syscall_test.go \
1800 go/syscall/syscall_unix_test.go
1803 internal_syscall_getrandom_file = go/internal/syscall/getrandom_linux.go
1805 internal_syscall_getrandom_file =
1808 go_internal_syscall_files = \
1809 go/internal/syscall/dummy.go \
1810 $(internal_syscall_getrandom_file)
1812 libcalls.go: s-libcalls; @true
1813 s-libcalls: libcalls-list go/syscall/mksyscall.awk $(go_base_syscall_files)
1814 rm -f libcalls.go.tmp
1815 files=`echo $^ | sed -e 's/libcalls-list//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1816 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1817 $(SHELL) $(srcdir)/mvifdiff.sh libcalls.go.tmp libcalls.go
1820 libcalls-list: s-libcalls-list; @true
1821 s-libcalls-list: Makefile
1822 rm -f libcalls-list.tmp
1823 echo $(go_base_syscall_files) > libcalls-list.tmp
1824 $(SHELL) $(srcdir)/mvifdiff.sh libcalls-list.tmp libcalls-list
1827 syscall_arch.go: s-syscall_arch; @true
1828 s-syscall_arch: Makefile
1829 rm -f syscall_arch.go.tmp
1830 echo "package syscall" > syscall_arch.go.tmp
1831 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1832 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1833 $(SHELL) $(srcdir)/mvifdiff.sh syscall_arch.go.tmp syscall_arch.go
1836 sysinfo.go: s-sysinfo; @true
1837 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1838 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS) -O" $(SHELL) $(srcdir)/mksysinfo.sh
1839 $(SHELL) $(srcdir)/mvifdiff.sh tmp-sysinfo.go sysinfo.go
1842 # The epoll struct has an embedded union and is packed on x86_64,
1843 # which is too complicated for mksysinfo.sh. We find the offset of
1844 # the only field we care about in configure.ac, and generate the
1846 epoll.go: s-epoll; @true
1849 echo 'package syscall' > epoll.go.tmp
1850 echo 'type EpollEvent struct {' >> epoll.go.tmp
1851 echo ' Events uint32' >> epoll.go.tmp
1852 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1853 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1855 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1856 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1857 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1858 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1859 echo ' Fd int32' >> epoll.go.tmp; ;; \
1860 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1861 echo ' Fd int32' >> epoll.go.tmp; \
1862 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1863 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1866 echo '}' >> epoll.go.tmp
1867 $(SHELL) $(srcdir)/mvifdiff.sh epoll.go.tmp epoll.go
1871 # os_lib_inotify_lo = os/inotify.lo
1898 reflect/makefunc_ffi_c.lo \
1908 syscall/signame.lo \
1928 crypto/elliptic.lo \
1940 crypto/x509/pkix.lo \
1942 database/sql/driver.lo \
1949 encoding/ascii85.lo \
1951 encoding/base32.lo \
1952 encoding/base64.lo \
1953 encoding/binary.lo \
1976 net/http/cookiejar.lo \
1978 net/http/httptest.lo \
1979 net/http/httputil.lo \
1980 net/http/internal.lo \
1983 image/color/palette.lo \
1988 index/suffixarray.lo \
1989 internal/syscall.lo \
1992 log/syslog/syslog_c.lo \
2006 $(os_lib_inotify_lo) \
2011 net/rpc/jsonrpc.lo \
2019 text/template/parse.lo \
2026 -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
2029 $(libgo_go_objs) ../libbacktrace/libbacktrace.la \
2030 $(LIBATOMIC) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
2032 libgo_la_SOURCES = $(runtime_files)
2033 libgo_la_LDFLAGS = $(libgo_ldflags)
2034 libgo_la_LIBADD = $(libgo_libadd)
2036 libgo_llgo_la_SOURCES = $(runtime_files)
2037 libgo_llgo_la_LDFLAGS = $(libgo_ldflags)
2038 libgo_llgo_la_LIBADD = $(libgo_libadd)
2040 libgobegin_a_SOURCES = \
2043 libgobegin_llgo_a_SOURCES = \
2046 # Use -fPIC for libgobegin so that it can be put in a PIE.
2047 libgobegin_a_CFLAGS = $(AM_CFLAGS) -fPIC
2048 libgobegin_llgo_a_CFLAGS = $(AM_CFLAGS) -fPIC
2050 libgolibbegin_a_SOURCES = \
2051 runtime/go-libmain.c
2053 libgolibbegin_a_CFLAGS = $(AM_CFLAGS) -fPIC
2055 libnetgo_a_SOURCES = $(go_netgo_files)
2056 libnetgo_a_LIBADD = netgo.o
2058 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
2060 GOCFLAGS = $(CFLAGS)
2061 AM_GOCFLAGS = $(STRINGOPS_FLAG)
2062 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
2064 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
2065 $(AM_GOCFLAGS) $(GOCFLAGS)
2067 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
2068 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
2070 # Build the dependencies for a Go package.
2073 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
2076 # Build the .go files for a package, generating a .lo file.
2079 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2080 $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files
2085 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2086 $(GOCOMPILE) -I . -c -fPIC -fgo-pkgpath=net -o $@ $$files
2093 GC="$(GOC) $(GOCFLAGS) $($(subst /,_,$@)_GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
2095 GOLIBS="$(MATH_LIBS) $(NET_LIBS) $(LIBS)"; \
2097 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
2098 export RUNTESTFLAGS; \
2101 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
2102 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
2103 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
2104 export LD_LIBRARY_PATH; \
2106 rm -f $@-testsum $@-testlog; \
2107 if test "$(USE_DEJAGNU)" = "yes"; then \
2108 $(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); \
2109 elif test "$(GOBENCH)" != ""; then \
2110 $(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); \
2112 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 \
2113 echo "PASS: $(@D)" >> $@-testlog; \
2114 echo "PASS: $(@D)"; \
2115 echo "PASS: $(@D)" > $@-testsum; \
2117 echo "FAIL: $(@D)" >> $@-testlog; \
2119 echo "FAIL: $(@D)" > $@-testsum; \
2124 # Build all packages before checking any.
2126 $(toolexeclibgo_DATA) \
2127 $(toolexeclibgoarchive_DATA) \
2128 $(toolexeclibgocompress_DATA) \
2129 $(toolexeclibgocontainer_DATA) \
2130 $(toolexeclibgocrypto_DATA) \
2131 $(toolexeclibgodebug_DATA) \
2132 $(toolexeclibgoencoding_DATA) \
2133 $(toolexeclibgoexp_DATA) \
2134 $(toolexeclibgogo_DATA) \
2135 $(toolexeclibgohash_DATA) \
2136 $(toolexeclibgoimage_DATA) \
2137 $(toolexeclibgoindex_DATA) \
2138 $(toolexeclibgoio_DATA) \
2139 $(toolexeclibgolog_DATA) \
2140 $(toolexeclibgomath_DATA) \
2141 $(toolexeclibgomime_DATA) \
2142 $(toolexeclibgonet_DATA) \
2143 $(toolexeclibgonethttp_DATA) \
2144 $(toolexeclibgoos_DATA) \
2145 $(toolexeclibgopath_DATA) \
2146 $(toolexeclibgorpc_DATA) \
2147 $(toolexeclibgoruntime_DATA) \
2148 $(toolexeclibgosync_DATA) \
2149 $(toolexeclibgotesting_DATA) \
2150 $(toolexeclibgotext_DATA) \
2151 $(toolexeclibgotexttemplate_DATA) \
2152 $(toolexeclibgounicode_DATA)
2155 CHECK_DEPS += libgo-llgo.la libgobegin-llgo.a
2157 CHECK_DEPS += libgo.la libgobegin.a
2160 @go_include@ bufio.lo.dep
2161 bufio.lo.dep: $(go_bufio_files)
2163 bufio.lo: $(go_bufio_files)
2165 bufio/check: $(CHECK_DEPS)
2169 @go_include@ bytes.lo.dep
2170 bytes.lo.dep: $(go_bytes_files)
2172 bytes.lo: $(go_bytes_files)
2174 bytes/index.lo: $(go_bytes_c_files)
2176 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
2177 bytes/check: $(CHECK_DEPS)
2181 @go_include@ crypto.lo.dep
2182 crypto.lo.dep: $(go_crypto_files)
2184 crypto.lo: $(go_crypto_files)
2186 crypto/check: $(CHECK_DEPS)
2188 .PHONY: crypto/check
2190 @go_include@ encoding.lo.dep
2191 encoding.lo.dep: $(go_encoding_files)
2193 encoding.lo: $(go_encoding_files)
2195 encoding/check: $(CHECK_DEPS)
2197 .PHONY: encoding/check
2199 @go_include@ errors.lo.dep
2200 errors.lo.dep: $(go_errors_files)
2202 errors.lo: $(go_errors_files)
2204 errors/check: $(CHECK_DEPS)
2206 .PHONY: errors/check
2208 @go_include@ expvar.lo.dep
2209 expvar.lo.dep: $(go_expvar_files)
2211 expvar.lo: $(go_expvar_files)
2213 expvar/check: $(CHECK_DEPS)
2215 .PHONY: expvar/check
2217 @go_include@ flag.lo.dep
2218 flag.lo.dep: $(go_flag_files)
2220 flag.lo: $(go_flag_files)
2222 flag/check: $(CHECK_DEPS)
2226 @go_include@ fmt.lo.dep
2227 fmt.lo.dep: $(go_fmt_files)
2229 fmt.lo: $(go_fmt_files)
2231 fmt/check: $(CHECK_DEPS)
2235 @go_include@ hash.lo.dep
2236 hash.lo.dep: $(go_hash_files)
2238 hash.lo: $(go_hash_files)
2240 hash/check: $(CHECK_DEPS)
2244 @go_include@ html.lo.dep
2245 html.lo.dep: $(go_html_files)
2247 html.lo: $(go_html_files)
2249 html/check: $(CHECK_DEPS)
2253 @go_include@ image.lo.dep
2254 image.lo.dep: $(go_image_files)
2256 image.lo: $(go_image_files)
2258 image/check: $(CHECK_DEPS)
2262 @go_include@ io.lo.dep
2263 io.lo.dep: $(go_io_files)
2265 io.lo: $(go_io_files)
2267 io/check: $(CHECK_DEPS)
2271 @go_include@ log.lo.dep
2272 log.lo.dep: $(go_log_files)
2274 log.lo: $(go_log_files)
2276 log/check: $(CHECK_DEPS)
2280 @go_include@ math.lo.dep
2281 math.lo.dep: $(go_math_files)
2283 math.lo: $(go_math_files)
2285 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
2286 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-pkgpath=math -o $@ $$files
2287 math/check: $(CHECK_DEPS)
2291 @go_include@ mime.lo.dep
2292 mime.lo.dep: $(go_mime_files)
2294 mime.lo: $(go_mime_files)
2296 mime/check: $(CHECK_DEPS)
2300 @go_include@ net.lo.dep
2301 net.lo.dep: $(go_net_files)
2303 net.lo: $(go_net_files)
2305 net/check: $(CHECK_DEPS)
2309 @go_include@ netgo.o.dep
2310 netgo.o.dep: $(go_netgo_files)
2312 netgo.o: $(go_netgo_files)
2315 @go_include@ os.lo.dep
2316 os.lo.dep: $(go_os_files)
2318 os.lo: $(go_os_files)
2320 os/check: $(CHECK_DEPS)
2324 @go_include@ path.lo.dep
2325 path.lo.dep: $(go_path_files)
2327 path.lo: $(go_path_files)
2329 path/check: $(CHECK_DEPS)
2333 @go_include@ reflect-go.lo.dep
2334 reflect-go.lo.dep: $(go_reflect_files)
2336 reflect-go.lo: $(go_reflect_files)
2338 reflect/check: $(CHECK_DEPS)
2340 reflect/makefunc_ffi_c.lo: $(go_reflect_makefunc_c_file)
2342 $(LTCOMPILE) -c -o $@ $<
2343 .PHONY: reflect/check
2345 @go_include@ regexp.lo.dep
2346 regexp.lo.dep: $(go_regexp_files)
2348 regexp.lo: $(go_regexp_files)
2350 regexp/check: $(CHECK_DEPS)
2352 .PHONY: regexp/check
2354 @go_include@ runtime-go.lo.dep
2355 runtime-go.lo.dep: $(go_runtime_files)
2357 runtime-go.lo: $(go_runtime_files)
2359 runtime/check: $(CHECK_DEPS)
2361 .PHONY: runtime/check
2363 @go_include@ sort.lo.dep
2364 sort.lo.dep: $(go_sort_files)
2366 sort.lo: $(go_sort_files)
2368 sort/check: $(CHECK_DEPS)
2372 @go_include@ strconv.lo.dep
2373 strconv.lo.dep: $(go_strconv_files)
2375 strconv.lo: $(go_strconv_files)
2377 strconv/check: $(CHECK_DEPS)
2379 .PHONY: strconv/check
2381 @go_include@ strings.lo.dep
2382 strings.lo.dep: $(go_strings_files)
2384 strings.lo: $(go_strings_files)
2386 strings/index.lo: $(go_strings_c_files)
2388 $(LTCOMPILE) -c -o strings/index.lo $(srcdir)/go/strings/indexbyte.c
2389 strings/check: $(CHECK_DEPS)
2391 .PHONY: strings/check
2393 @go_include@ sync.lo.dep
2394 sync.lo.dep: $(go_sync_files)
2396 sync.lo: $(go_sync_files)
2398 sync/check: $(CHECK_DEPS)
2402 @go_include@ testing.lo.dep
2403 testing.lo.dep: $(go_testing_files)
2405 testing.lo: $(go_testing_files)
2407 testing/check: $(CHECK_DEPS)
2409 .PHONY: testing/check
2411 @go_include@ time-go.lo.dep
2412 time-go.lo.dep: $(go_time_files)
2414 time-go.lo: $(go_time_files)
2416 time/check: $(CHECK_DEPS)
2420 @go_include@ unicode.lo.dep
2421 unicode.lo.dep: $(go_unicode_files)
2423 unicode.lo: $(go_unicode_files)
2425 unicode/check: $(CHECK_DEPS)
2427 .PHONY: unicode/check
2429 @go_include@ archive/tar.lo.dep
2430 archive/tar.lo.dep: $(go_archive_tar_files)
2432 archive/tar.lo: $(go_archive_tar_files)
2434 archive/tar/check: $(CHECK_DEPS)
2436 .PHONY: archive/tar/check
2438 @go_include@ archive/zip.lo.dep
2439 archive/zip.lo.dep: $(go_archive_zip_files)
2441 archive/zip.lo: $(go_archive_zip_files)
2443 archive/zip/check: $(CHECK_DEPS)
2445 .PHONY: archive/zip/check
2447 @go_include@ compress/bzip2.lo.dep
2448 compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2450 compress/bzip2.lo: $(go_compress_bzip2_files)
2452 compress/bzip2/check: $(CHECK_DEPS)
2454 .PHONY: compress/bzip2/check
2456 @go_include@ compress/flate.lo.dep
2457 compress/flate.lo.dep: $(go_compress_flate_files)
2459 compress/flate.lo: $(go_compress_flate_files)
2461 compress/flate/check: $(CHECK_DEPS)
2463 .PHONY: compress/flate/check
2465 @go_include@ compress/gzip.lo.dep
2466 compress/gzip.lo.dep: $(go_compress_gzip_files)
2468 compress/gzip.lo: $(go_compress_gzip_files)
2470 compress/gzip/check: $(CHECK_DEPS)
2472 .PHONY: compress/gzip/check
2474 @go_include@ compress/lzw.lo.dep
2475 compress/lzw.lo.dep: $(go_compress_lzw_files)
2477 compress/lzw.lo: $(go_compress_lzw_files)
2479 compress/lzw/check: $(CHECK_DEPS)
2481 .PHONY: compress/lzw/check
2483 @go_include@ compress/zlib.lo.dep
2484 compress/zlib.lo.dep: $(go_compress_zlib_files)
2486 compress/zlib.lo: $(go_compress_zlib_files)
2488 compress/zlib/check: $(CHECK_DEPS)
2490 .PHONY: compress/zlib/check
2492 @go_include@ container/heap.lo.dep
2493 container/heap.lo.dep: $(go_container_heap_files)
2495 container/heap.lo: $(go_container_heap_files)
2497 container/heap/check: $(CHECK_DEPS)
2499 .PHONY: container/heap/check
2501 @go_include@ container/list.lo.dep
2502 container/list.lo.dep: $(go_container_list_files)
2504 container/list.lo: $(go_container_list_files)
2506 container/list/check: $(CHECK_DEPS)
2508 .PHONY: container/list/check
2510 @go_include@ container/ring.lo.dep
2511 container/ring.lo.dep: $(go_container_ring_files)
2513 container/ring.lo: $(go_container_ring_files)
2515 container/ring/check: $(CHECK_DEPS)
2517 .PHONY: container/ring/check
2519 @go_include@ crypto/aes.lo.dep
2520 crypto/aes.lo.dep: $(go_crypto_aes_files)
2522 crypto/aes.lo: $(go_crypto_aes_files)
2524 crypto/aes/check: $(CHECK_DEPS)
2526 .PHONY: crypto/aes/check
2528 @go_include@ crypto/cipher.lo.dep
2529 crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2531 crypto/cipher.lo: $(go_crypto_cipher_files)
2533 crypto/cipher/check: $(CHECK_DEPS)
2535 .PHONY: crypto/cipher/check
2537 @go_include@ crypto/des.lo.dep
2538 crypto/des.lo.dep: $(go_crypto_des_files)
2540 crypto/des.lo: $(go_crypto_des_files)
2542 crypto/des/check: $(CHECK_DEPS)
2544 .PHONY: crypto/des/check
2546 @go_include@ crypto/dsa.lo.dep
2547 crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2549 crypto/dsa.lo: $(go_crypto_dsa_files)
2551 crypto/dsa/check: $(CHECK_DEPS)
2553 .PHONY: crypto/dsa/check
2555 @go_include@ crypto/ecdsa.lo.dep
2556 crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2558 crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
2560 crypto/ecdsa/check: $(CHECK_DEPS)
2562 .PHONY: crypto/ecdsa/check
2564 @go_include@ crypto/elliptic.lo.dep
2565 crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2567 crypto/elliptic.lo: $(go_crypto_elliptic_files)
2569 crypto/elliptic/check: $(CHECK_DEPS)
2571 .PHONY: crypto/elliptic/check
2573 @go_include@ crypto/hmac.lo.dep
2574 crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2576 crypto/hmac.lo: $(go_crypto_hmac_files)
2578 crypto/hmac/check: $(CHECK_DEPS)
2580 .PHONY: crypto/hmac/check
2582 @go_include@ crypto/md5.lo.dep
2583 crypto/md5.lo.dep: $(go_crypto_md5_files)
2585 crypto/md5.lo: $(go_crypto_md5_files)
2587 crypto/md5/check: $(CHECK_DEPS)
2589 .PHONY: crypto/md5/check
2591 @go_include@ crypto/rand.lo.dep
2592 crypto/rand.lo.dep: $(go_crypto_rand_files)
2594 crypto/rand.lo: $(go_crypto_rand_files)
2596 crypto/rand/check: $(CHECK_DEPS)
2598 .PHONY: crypto/rand/check
2600 @go_include@ crypto/rc4.lo.dep
2601 crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2603 crypto/rc4.lo: $(go_crypto_rc4_files)
2605 crypto/rc4/check: $(CHECK_DEPS)
2607 .PHONY: crypto/rc4/check
2609 @go_include@ crypto/rsa.lo.dep
2610 crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2612 crypto/rsa.lo: $(go_crypto_rsa_files)
2614 crypto/rsa/check: $(CHECK_DEPS)
2616 .PHONY: crypto/rsa/check
2618 @go_include@ crypto/sha1.lo.dep
2619 crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2621 crypto/sha1.lo: $(go_crypto_sha1_files)
2623 crypto/sha1/check: $(CHECK_DEPS)
2625 .PHONY: crypto/sha1/check
2627 @go_include@ crypto/sha256.lo.dep
2628 crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2630 crypto/sha256.lo: $(go_crypto_sha256_files)
2632 crypto/sha256/check: $(CHECK_DEPS)
2634 .PHONY: crypto/sha256/check
2636 @go_include@ crypto/sha512.lo.dep
2637 crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2639 crypto/sha512.lo: $(go_crypto_sha512_files)
2641 crypto/sha512/check: $(CHECK_DEPS)
2643 .PHONY: crypto/sha512/check
2645 @go_include@ crypto/subtle.lo.dep
2646 crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2648 crypto/subtle.lo: $(go_crypto_subtle_files)
2650 crypto/subtle/check: $(CHECK_DEPS)
2652 .PHONY: crypto/subtle/check
2654 @go_include@ crypto/tls.lo.dep
2655 crypto/tls.lo.dep: $(go_crypto_tls_files)
2657 crypto/tls.lo: $(go_crypto_tls_files)
2659 crypto/tls/check: $(CHECK_DEPS)
2661 .PHONY: crypto/tls/check
2663 @go_include@ crypto/x509.lo.dep
2664 crypto/x509.lo.dep: $(go_crypto_x509_files)
2666 crypto/x509.lo: $(go_crypto_x509_files)
2668 crypto/x509/check: $(CHECK_DEPS)
2670 .PHONY: crypto/x509/check
2672 @go_include@ crypto/x509/pkix.lo.dep
2673 crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2675 crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
2677 crypto/x509/pkix/check: $(CHECK_DEPS)
2679 .PHONY: crypto/x509/pkix/check
2681 @go_include@ database/sql.lo.dep
2682 database/sql.lo.dep: $(go_database_sql_files)
2684 database/sql.lo: $(go_database_sql_files)
2686 database/sql/check: $(CHECK_DEPS)
2688 .PHONY: database/sql/check
2690 @go_include@ database/sql/driver.lo.dep
2691 database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2693 database/sql/driver.lo: $(go_database_sql_driver_files)
2695 database/sql/driver/check: $(CHECK_DEPS)
2697 .PHONY: database/sql/driver/check
2699 @go_include@ debug/dwarf.lo.dep
2700 debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2702 debug/dwarf.lo: $(go_debug_dwarf_files)
2704 debug/dwarf/check: $(CHECK_DEPS)
2706 .PHONY: debug/dwarf/check
2708 @go_include@ debug/elf.lo.dep
2709 debug/elf.lo.dep: $(go_debug_elf_files)
2711 debug/elf.lo: $(go_debug_elf_files)
2713 debug/elf/check: $(CHECK_DEPS)
2715 .PHONY: debug/elf/check
2717 @go_include@ debug/gosym.lo.dep
2718 debug/gosym.lo.dep: $(go_debug_gosym_files)
2720 debug/gosym.lo: $(go_debug_gosym_files)
2722 debug/gosym/check: $(CHECK_DEPS)
2724 .PHONY: debug/gosym/check
2726 @go_include@ debug/macho.lo.dep
2727 debug/macho.lo.dep: $(go_debug_macho_files)
2729 debug/macho.lo: $(go_debug_macho_files)
2731 debug/macho/check: $(CHECK_DEPS)
2733 .PHONY: debug/macho/check
2735 @go_include@ debug/pe.lo.dep
2736 debug/pe.lo.dep: $(go_debug_pe_files)
2738 debug/pe.lo: $(go_debug_pe_files)
2740 debug/pe/check: $(CHECK_DEPS)
2742 .PHONY: debug/pe/check
2744 @go_include@ debug/plan9obj.lo.dep
2745 debug/plan9obj.lo.dep: $(go_debug_plan9obj_files)
2747 debug/plan9obj.lo: $(go_debug_plan9obj_files)
2749 debug/plan9obj/check: $(CHECK_DEPS)
2751 .PHONY: debug/plan9obj/check
2753 @go_include@ encoding/asn1.lo.dep
2754 encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2756 encoding/asn1.lo: $(go_encoding_asn1_files)
2758 encoding/asn1/check: $(CHECK_DEPS)
2760 .PHONY: encoding/asn1/check
2762 @go_include@ encoding/ascii85.lo.dep
2763 encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2765 encoding/ascii85.lo: $(go_encoding_ascii85_files)
2767 encoding/ascii85/check: $(CHECK_DEPS)
2769 .PHONY: encoding/ascii85/check
2771 @go_include@ encoding/base32.lo.dep
2772 encoding/base32.lo.dep: $(go_encoding_base32_files)
2774 encoding/base32.lo: $(go_encoding_base32_files)
2776 encoding/base32/check: $(CHECK_DEPS)
2778 .PHONY: encoding/base32/check
2780 @go_include@ encoding/base64.lo.dep
2781 encoding/base64.lo.dep: $(go_encoding_base64_files)
2783 encoding/base64.lo: $(go_encoding_base64_files)
2785 encoding/base64/check: $(CHECK_DEPS)
2787 .PHONY: encoding/base64/check
2789 @go_include@ encoding/binary.lo.dep
2790 encoding/binary.lo.dep: $(go_encoding_binary_files)
2792 encoding/binary.lo: $(go_encoding_binary_files)
2794 encoding/binary/check: $(CHECK_DEPS)
2796 .PHONY: encoding/binary/check
2798 @go_include@ encoding/csv.lo.dep
2799 encoding/csv.lo.dep: $(go_encoding_csv_files)
2801 encoding/csv.lo: $(go_encoding_csv_files)
2803 encoding/csv/check: $(CHECK_DEPS)
2805 .PHONY: encoding/csv/check
2807 @go_include@ encoding/gob.lo.dep
2808 encoding/gob.lo.dep: $(go_encoding_gob_files)
2810 encoding/gob.lo: $(go_encoding_gob_files)
2812 encoding/gob/check: $(CHECK_DEPS)
2814 .PHONY: encoding/gob/check
2816 @go_include@ encoding/hex.lo.dep
2817 encoding/hex.lo.dep: $(go_encoding_hex_files)
2819 encoding/hex.lo: $(go_encoding_hex_files)
2821 encoding/hex/check: $(CHECK_DEPS)
2823 .PHONY: encoding/hex/check
2825 @go_include@ encoding/json.lo.dep
2826 encoding/json.lo.dep: $(go_encoding_json_files)
2828 encoding/json.lo: $(go_encoding_json_files)
2830 encoding/json/check: $(CHECK_DEPS)
2832 .PHONY: encoding/json/check
2834 @go_include@ encoding/pem.lo.dep
2835 encoding/pem.lo.dep: $(go_encoding_pem_files)
2837 encoding/pem.lo: $(go_encoding_pem_files)
2839 encoding/pem/check: $(CHECK_DEPS)
2841 .PHONY: encoding/pem/check
2843 @go_include@ encoding/xml.lo.dep
2844 encoding/xml.lo.dep: $(go_encoding_xml_files)
2846 encoding/xml.lo: $(go_encoding_xml_files)
2848 encoding/xml/check: $(CHECK_DEPS)
2850 .PHONY: encoding/xml/check
2852 @go_include@ exp/proxy.lo.dep
2853 exp/proxy.lo.dep: $(go_exp_proxy_files)
2855 exp/proxy.lo: $(go_exp_proxy_files)
2857 exp/proxy/check: $(CHECK_DEPS)
2859 .PHONY: exp/proxy/check
2861 @go_include@ exp/terminal.lo.dep
2862 exp/terminal.lo.dep: $(go_exp_terminal_files)
2864 exp/terminal.lo: $(go_exp_terminal_files)
2866 exp/terminal/check: $(CHECK_DEPS)
2868 .PHONY: exp/terminal/check
2870 @go_include@ html/template.lo.dep
2871 html/template.lo.dep: $(go_html_template_files)
2873 html/template.lo: $(go_html_template_files)
2875 html/template/check: $(CHECK_DEPS)
2877 .PHONY: html/template/check
2879 @go_include@ go/ast.lo.dep
2880 go/ast.lo.dep: $(go_go_ast_files)
2882 go/ast.lo: $(go_go_ast_files)
2884 go/ast/check: $(CHECK_DEPS)
2886 .PHONY: go/ast/check
2888 @go_include@ go/build.lo.dep
2889 go/build.lo.dep: $(go_go_build_files)
2891 go/build.lo: $(go_go_build_files)
2893 go/build/check: $(CHECK_DEPS)
2895 .PHONY: go/build/check
2897 @go_include@ go/doc.lo.dep
2898 go/doc.lo.dep: $(go_go_doc_files)
2900 go/doc.lo: $(go_go_doc_files)
2902 go/doc/check: $(CHECK_DEPS)
2904 .PHONY: go/doc/check
2906 @go_include@ go/format.lo.dep
2907 go/format.lo.dep: $(go_go_format_files)
2909 go/format.lo: $(go_go_format_files)
2911 go/format/check: $(CHECK_DEPS)
2913 .PHONY: go/format/check
2915 @go_include@ go/parser.lo.dep
2916 go/parser.lo.dep: $(go_go_parser_files)
2918 go/parser.lo: $(go_go_parser_files)
2920 go/parser/check: $(CHECK_DEPS)
2922 .PHONY: go/parser/check
2924 @go_include@ go/printer.lo.dep
2925 go/printer.lo.dep: $(go_go_printer_files)
2927 go/printer.lo: $(go_go_printer_files)
2929 go/printer/check: $(CHECK_DEPS)
2931 .PHONY: go/printer/check
2933 @go_include@ go/scanner.lo.dep
2934 go/scanner.lo.dep: $(go_go_scanner_files)
2936 go/scanner.lo: $(go_go_scanner_files)
2938 go/scanner/check: $(CHECK_DEPS)
2940 .PHONY: go/scanner/check
2942 @go_include@ go/token.lo.dep
2943 go/token.lo.dep: $(go_go_token_files)
2945 go/token.lo: $(go_go_token_files)
2947 go/token/check: $(CHECK_DEPS)
2949 .PHONY: go/token/check
2951 @go_include@ hash/adler32.lo.dep
2952 hash/adler32.lo.dep: $(go_hash_adler32_files)
2954 hash/adler32.lo: $(go_hash_adler32_files)
2956 hash/adler32/check: $(CHECK_DEPS)
2958 .PHONY: hash/adler32/check
2960 @go_include@ hash/crc32.lo.dep
2961 hash/crc32.lo.dep: $(go_hash_crc32_files)
2963 hash/crc32.lo: $(go_hash_crc32_files)
2965 hash/crc32/check: $(CHECK_DEPS)
2967 .PHONY: hash/crc32/check
2969 @go_include@ hash/crc64.lo.dep
2970 hash/crc64.lo.dep: $(go_hash_crc64_files)
2972 hash/crc64.lo: $(go_hash_crc64_files)
2974 hash/crc64/check: $(CHECK_DEPS)
2976 .PHONY: hash/crc64/check
2978 @go_include@ hash/fnv.lo.dep
2979 hash/fnv.lo.dep: $(go_hash_fnv_files)
2981 hash/fnv.lo: $(go_hash_fnv_files)
2983 hash/fnv/check: $(CHECK_DEPS)
2985 .PHONY: hash/fnv/check
2987 @go_include@ image/color.lo.dep
2988 image/color.lo.dep: $(go_image_color_files)
2990 image/color.lo: $(go_image_color_files)
2992 image/color/check: $(CHECK_DEPS)
2994 .PHONY: image/color/check
2996 @go_include@ image/color/palette.lo.dep
2997 image/color/palette.lo.dep: $(go_image_color_palette_files)
2999 image/color/palette.lo: $(go_image_color_palette_files)
3001 image/color/palette/check: $(CHECK_DEPS)
3003 .PHONY: image/color/palette/check
3005 @go_include@ image/draw.lo.dep
3006 image/draw.lo.dep: $(go_image_draw_files)
3008 image/draw.lo: $(go_image_draw_files)
3010 image/draw/check: $(CHECK_DEPS)
3012 .PHONY: image/draw/check
3014 @go_include@ image/gif.lo.dep
3015 image/gif.lo.dep: $(go_image_gif_files)
3017 image/gif.lo: $(go_image_gif_files)
3019 image/gif/check: $(CHECK_DEPS)
3021 .PHONY: image/gif/check
3023 @go_include@ image/jpeg.lo.dep
3024 image/jpeg.lo.dep: $(go_image_jpeg_files)
3026 image/jpeg.lo: $(go_image_jpeg_files)
3028 image/jpeg/check: $(CHECK_DEPS)
3030 .PHONY: image/jpeg/check
3032 @go_include@ image/png.lo.dep
3033 image/png.lo.dep: $(go_image_png_files)
3035 image/png.lo: $(go_image_png_files)
3037 image/png/check: $(CHECK_DEPS)
3039 .PHONY: image/png/check
3041 @go_include@ index/suffixarray.lo.dep
3042 index/suffixarray.lo.dep: $(go_index_suffixarray_files)
3044 index/suffixarray.lo: $(go_index_suffixarray_files)
3046 index/suffixarray/check: $(CHECK_DEPS)
3048 .PHONY: index/suffixarray/check
3050 @go_include@ io/ioutil.lo.dep
3051 io/ioutil.lo.dep: $(go_io_ioutil_files)
3053 io/ioutil.lo: $(go_io_ioutil_files)
3055 io/ioutil/check: $(CHECK_DEPS)
3057 .PHONY: io/ioutil/check
3059 @go_include@ log/syslog.lo.dep
3060 log/syslog.lo.dep: $(go_log_syslog_files)
3062 log/syslog.lo: $(go_log_syslog_files)
3064 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
3065 @$(MKDIR_P) log/syslog
3066 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
3067 log/syslog/check: $(CHECK_DEPS)
3069 .PHONY: log/syslog/check
3071 @go_include@ math/big.lo.dep
3072 math/big.lo.dep: $(go_math_big_files)
3074 math/big.lo: $(go_math_big_files)
3076 math/big/check: $(CHECK_DEPS)
3078 .PHONY: math/big/check
3080 @go_include@ math/cmplx.lo.dep
3081 math/cmplx.lo.dep: $(go_math_cmplx_files)
3083 math/cmplx.lo: $(go_math_cmplx_files)
3085 math/cmplx/check: $(CHECK_DEPS)
3087 .PHONY: math/cmplx/check
3089 @go_include@ math/rand.lo.dep
3090 math/rand.lo.dep: $(go_math_rand_files)
3092 math/rand.lo: $(go_math_rand_files)
3094 math/rand/check: $(CHECK_DEPS)
3096 .PHONY: math/rand/check
3098 @go_include@ mime/multipart.lo.dep
3099 mime/multipart.lo.dep: $(go_mime_multipart_files)
3101 mime/multipart.lo: $(go_mime_multipart_files)
3103 mime/multipart/check: $(CHECK_DEPS)
3105 .PHONY: mime/multipart/check
3107 @go_include@ net/http.lo.dep
3108 net/http.lo.dep: $(go_net_http_files)
3110 net/http.lo: $(go_net_http_files)
3112 net/http/check: $(CHECK_DEPS)
3114 .PHONY: net/http/check
3116 @go_include@ net/mail.lo.dep
3117 net/mail.lo.dep: $(go_net_mail_files)
3119 net/mail.lo: $(go_net_mail_files)
3121 net/mail/check: $(CHECK_DEPS)
3123 .PHONY: net/mail/check
3125 @go_include@ net/rpc.lo.dep
3126 net/rpc.lo.dep: $(go_net_rpc_files)
3128 net/rpc.lo: $(go_net_rpc_files)
3130 net/rpc/check: $(CHECK_DEPS)
3132 .PHONY: net/rpc/check
3134 @go_include@ net/smtp.lo.dep
3135 net/smtp.lo.dep: $(go_net_smtp_files)
3137 net/smtp.lo: $(go_net_smtp_files)
3139 net/smtp/check: $(CHECK_DEPS)
3141 .PHONY: net/smtp/check
3143 @go_include@ net/url.lo.dep
3144 net/url.lo.dep: $(go_net_url_files)
3146 net/url.lo: $(go_net_url_files)
3148 net/url/check: $(CHECK_DEPS)
3150 .PHONY: net/url/check
3152 @go_include@ net/textproto.lo.dep
3153 net/textproto.lo.dep: $(go_net_textproto_files)
3155 net/textproto.lo: $(go_net_textproto_files)
3157 net/textproto/check: $(CHECK_DEPS)
3159 .PHONY: net/textproto/check
3161 @go_include@ net/http/cgi.lo.dep
3162 net/http/cgi.lo.dep: $(go_net_http_cgi_files)
3164 net/http/cgi.lo: $(go_net_http_cgi_files)
3166 net/http/cgi/check: $(CHECK_DEPS)
3168 .PHONY: net/http/cgi/check
3170 @go_include@ net/http/cookiejar.lo.dep
3171 net/http/cookiejar.lo.dep: $(go_net_http_cookiejar_files)
3173 net/http/cookiejar.lo: $(go_net_http_cookiejar_files)
3175 net/http/cookiejar/check: $(CHECK_DEPS)
3177 .PHONY: net/http/cookiejar/check
3179 @go_include@ net/http/fcgi.lo.dep
3180 net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
3182 net/http/fcgi.lo: $(go_net_http_fcgi_files)
3184 net/http/fcgi/check: $(CHECK_DEPS)
3186 .PHONY: net/http/fcgi/check
3188 @go_include@ net/http/httptest.lo.dep
3189 net/http/httptest.lo.dep: $(go_net_http_httptest_files)
3191 net/http/httptest.lo: $(go_net_http_httptest_files)
3193 net/http/httptest/check: $(check_deps)
3195 .PHONY: net/http/httptest/check
3197 @go_include@ net/http/httputil.lo.dep
3198 net/http/httputil.lo.dep: $(go_net_http_httputil_files)
3200 net/http/httputil.lo: $(go_net_http_httputil_files)
3202 net/http/httputil/check: $(check_deps)
3204 .PHONY: net/http/httputil/check
3206 @go_include@ net/http/internal.lo.dep
3207 net/http/internal.lo.dep: $(go_net_http_internal_files)
3209 net/http/internal.lo: $(go_net_http_internal_files)
3211 net/http/internal/check: $(CHECK_DEPS)
3213 .PHONY: net/http/internal/check
3215 @go_include@ net/http/pprof.lo.dep
3216 net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3218 net/http/pprof.lo: $(go_net_http_pprof_files)
3220 net/http/pprof/check: $(CHECK_DEPS)
3222 .PHONY: net/http/pprof/check
3224 @go_include@ net/rpc/jsonrpc.lo.dep
3225 net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3227 net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3229 net/rpc/jsonrpc/check: $(CHECK_DEPS)
3231 .PHONY: net/rpc/jsonrpc/check
3233 @go_include@ old/regexp.lo.dep
3234 old/regexp.lo.dep: $(go_old_regexp_files)
3236 old/regexp.lo: $(go_old_regexp_files)
3238 old/regexp/check: $(CHECK_DEPS)
3240 .PHONY: old/regexp/check
3242 @go_include@ old/template.lo.dep
3243 old/template.lo.dep: $(go_old_template_files)
3245 old/template.lo: $(go_old_template_files)
3247 old/template/check: $(CHECK_DEPS)
3249 .PHONY: old/template/check
3251 @go_include@ os/exec.lo.dep
3252 os/exec.lo.dep: $(go_os_exec_files)
3254 os/exec.lo: $(go_os_exec_files)
3256 os/exec/check: $(CHECK_DEPS)
3258 .PHONY: os/exec/check
3260 @go_include@ os/signal.lo.dep
3261 os/signal.lo.dep: $(go_os_signal_files)
3263 os/signal.lo: $(go_os_signal_files)
3265 os/signal/check: $(CHECK_DEPS)
3267 .PHONY: os/signal/check
3269 @go_include@ os/user.lo.dep
3270 os/user.lo.dep: $(go_os_user_files)
3272 os/user.lo: $(go_os_user_files)
3274 os/user/check: $(CHECK_DEPS)
3276 .PHONY: os/user/check
3278 @go_include@ path/filepath.lo.dep
3279 path/filepath.lo.dep: $(go_path_filepath_files)
3281 path/filepath.lo: $(go_path_filepath_files)
3283 path/filepath/check: $(CHECK_DEPS)
3285 .PHONY: path/filepath/check
3287 @go_include@ regexp/syntax.lo.dep
3288 regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3290 regexp/syntax.lo: $(go_regexp_syntax_files)
3292 regexp/syntax/check: $(CHECK_DEPS)
3294 .PHONY: regexp/syntax/check
3296 @go_include@ runtime/debug.lo.dep
3297 runtime/debug.lo.dep: $(go_runtime_debug_files)
3299 runtime/debug.lo: $(go_runtime_debug_files)
3301 runtime/debug/check: $(CHECK_DEPS)
3303 .PHONY: runtime/debug/check
3305 @go_include@ runtime/pprof.lo.dep
3306 runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3308 runtime/pprof.lo: $(go_runtime_pprof_files)
3310 runtime/pprof/check: $(CHECK_DEPS)
3312 .PHONY: runtime/pprof/check
3313 # At least for now, we need -static-libgo for this test, because
3314 # otherwise we can't get the line numbers.
3315 # Also use -fno-inline to get better results from the memory profiler.
3316 runtime_pprof_check_GOCFLAGS = -static-libgo -fno-inline
3318 @go_include@ sync/atomic.lo.dep
3319 sync/atomic.lo.dep: $(go_sync_atomic_files)
3321 sync/atomic.lo: $(go_sync_atomic_files)
3323 sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3324 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3325 sync/atomic/check: $(CHECK_DEPS)
3327 .PHONY: sync/atomic/check
3329 @go_include@ text/scanner.lo.dep
3330 text/scanner.lo.dep: $(go_text_scanner_files)
3332 text/scanner.lo: $(go_text_scanner_files)
3334 text/scanner/check: $(CHECK_DEPS)
3336 .PHONY: text/scanner/check
3338 @go_include@ text/tabwriter.lo.dep
3339 text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3341 text/tabwriter.lo: $(go_text_tabwriter_files)
3343 text/tabwriter/check: $(CHECK_DEPS)
3345 .PHONY: text/tabwriter/check
3347 @go_include@ text/template.lo.dep
3348 text/template.lo.dep: $(go_text_template_files)
3350 text/template.lo: $(go_text_template_files)
3352 text/template/check: $(CHECK_DEPS)
3354 .PHONY: text/template/check
3356 @go_include@ text/template/parse.lo.dep
3357 text/template/parse.lo.dep: $(go_text_template_parse_files)
3359 text/template/parse.lo: $(go_text_template_parse_files)
3361 text/template/parse/check: $(CHECK_DEPS)
3363 .PHONY: text/template/parse/check
3365 @go_include@ testing/iotest.lo.dep
3366 testing/iotest.lo.dep: $(go_testing_iotest_files)
3368 testing/iotest.lo: $(go_testing_iotest_files)
3370 testing/iotest/check: $(CHECK_DEPS)
3372 .PHONY: testing/iotest/check
3374 @go_include@ testing/quick.lo.dep
3375 testing/quick.lo.dep: $(go_testing_quick_files)
3377 testing/quick.lo: $(go_testing_quick_files)
3379 testing/quick/check: $(CHECK_DEPS)
3381 .PHONY: testing/quick/check
3383 @go_include@ unicode/utf16.lo.dep
3384 unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3386 unicode/utf16.lo: $(go_unicode_utf16_files)
3388 unicode/utf16/check: $(CHECK_DEPS)
3390 .PHONY: unicode/utf16/check
3392 @go_include@ unicode/utf8.lo.dep
3393 unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3395 unicode/utf8.lo: $(go_unicode_utf8_files)
3397 unicode/utf8/check: $(CHECK_DEPS)
3399 .PHONY: unicode/utf8/check
3401 @go_include@ syscall.lo.dep
3402 syscall.lo.dep: $(go_syscall_files)
3404 syscall.lo: $(go_syscall_files)
3406 syscall/errno.lo: go/syscall/errno.c
3408 $(LTCOMPILE) -c -o $@ $<
3409 syscall/signame.lo: go/syscall/signame.c
3411 $(LTCOMPILE) -c -o $@ $<
3412 syscall/wait.lo: go/syscall/wait.c
3414 $(LTCOMPILE) -c -o $@ $<
3415 syscall/check: $(CHECK_DEPS)
3417 .PHONY: syscall/check
3419 @go_include@ internal/syscall.lo.dep
3420 internal/syscall.lo.dep: $(go_internal_syscall_files)
3422 internal/syscall.lo: $(go_internal_syscall_files)
3424 internal/syscall/check: $(CHECK_DEPS)
3426 .PHONY: internal/syscall/check
3428 # How to build a .gox file from a .lo file.
3430 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3431 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
3437 crypto.gox: crypto.lo
3439 encoding.gox: encoding.lo
3441 errors.gox: errors.lo
3443 expvar.gox: expvar.lo
3469 reflect.gox: reflect-go.lo
3471 regexp.gox: regexp.lo
3473 runtime.gox: runtime-go.lo
3477 strconv.gox: strconv.lo
3479 strings.gox: strings.lo
3483 syscall.gox: syscall.lo
3485 testing.gox: testing.lo
3487 time.gox: time-go.lo
3489 unicode.gox: unicode.lo
3492 archive/tar.gox: archive/tar.lo
3494 archive/zip.gox: archive/zip.lo
3497 compress/bzip2.gox: compress/bzip2.lo
3499 compress/flate.gox: compress/flate.lo
3501 compress/gzip.gox: compress/gzip.lo
3503 compress/lzw.gox: compress/lzw.lo
3505 compress/zlib.gox: compress/zlib.lo
3508 container/heap.gox: container/heap.lo
3510 container/list.gox: container/list.lo
3512 container/ring.gox: container/ring.lo
3515 crypto/aes.gox: crypto/aes.lo
3517 crypto/cipher.gox: crypto/cipher.lo
3519 crypto/des.gox: crypto/des.lo
3521 crypto/dsa.gox: crypto/dsa.lo
3523 crypto/ecdsa.gox: crypto/ecdsa.lo
3525 crypto/elliptic.gox: crypto/elliptic.lo
3527 crypto/hmac.gox: crypto/hmac.lo
3529 crypto/md5.gox: crypto/md5.lo
3531 crypto/rand.gox: crypto/rand.lo
3533 crypto/rc4.gox: crypto/rc4.lo
3535 crypto/rsa.gox: crypto/rsa.lo
3537 crypto/sha1.gox: crypto/sha1.lo
3539 crypto/sha256.gox: crypto/sha256.lo
3541 crypto/sha512.gox: crypto/sha512.lo
3543 crypto/subtle.gox: crypto/subtle.lo
3545 crypto/tls.gox: crypto/tls.lo
3547 crypto/x509.gox: crypto/x509.lo
3550 crypto/x509/pkix.gox: crypto/x509/pkix.lo
3553 database/sql.gox: database/sql.lo
3556 database/sql/driver.gox: database/sql/driver.lo
3559 debug/dwarf.gox: debug/dwarf.lo
3561 debug/elf.gox: debug/elf.lo
3563 debug/gosym.gox: debug/gosym.lo
3565 debug/macho.gox: debug/macho.lo
3567 debug/pe.gox: debug/pe.lo
3569 debug/plan9obj.gox: debug/plan9obj.lo
3572 encoding/ascii85.gox: encoding/ascii85.lo
3574 encoding/asn1.gox: encoding/asn1.lo
3576 encoding/base32.gox: encoding/base32.lo
3578 encoding/base64.gox: encoding/base64.lo
3580 encoding/binary.gox: encoding/binary.lo
3582 encoding/csv.gox: encoding/csv.lo
3584 encoding/gob.gox: encoding/gob.lo
3586 encoding/hex.gox: encoding/hex.lo
3588 encoding/json.gox: encoding/json.lo
3590 encoding/pem.gox: encoding/pem.lo
3592 encoding/xml.gox: encoding/xml.lo
3595 exp/proxy.gox: exp/proxy.lo
3597 exp/terminal.gox: exp/terminal.lo
3600 html/template.gox: html/template.lo
3603 go/ast.gox: go/ast.lo
3605 go/build.gox: go/build.lo
3607 go/doc.gox: go/doc.lo
3609 go/format.gox: go/format.lo
3611 go/parser.gox: go/parser.lo
3613 go/printer.gox: go/printer.lo
3615 go/scanner.gox: go/scanner.lo
3617 go/token.gox: go/token.lo
3620 hash/adler32.gox: hash/adler32.lo
3622 hash/crc32.gox: hash/crc32.lo
3624 hash/crc64.gox: hash/crc64.lo
3626 hash/fnv.gox: hash/fnv.lo
3629 image/color.gox: image/color.lo
3631 image/draw.gox: image/draw.lo
3633 image/gif.gox: image/gif.lo
3635 image/jpeg.gox: image/jpeg.lo
3637 image/png.gox: image/png.lo
3640 image/color/palette.gox: image/color/palette.lo
3643 index/suffixarray.gox: index/suffixarray.lo
3646 io/ioutil.gox: io/ioutil.lo
3649 log/syslog.gox: log/syslog.lo
3652 math/big.gox: math/big.lo
3654 math/cmplx.gox: math/cmplx.lo
3656 math/rand.gox: math/rand.lo
3659 mime/multipart.gox: mime/multipart.lo
3662 net/http.gox: net/http.lo
3664 net/mail.gox: net/mail.lo
3666 net/rpc.gox: net/rpc.lo
3668 net/smtp.gox: net/smtp.lo
3670 net/textproto.gox: net/textproto.lo
3672 net/url.gox: net/url.lo
3675 net/http/cgi.gox: net/http/cgi.lo
3677 net/http/cookiejar.gox: net/http/cookiejar.lo
3679 net/http/fcgi.gox: net/http/fcgi.lo
3681 net/http/httptest.gox: net/http/httptest.lo
3683 net/http/httputil.gox: net/http/httputil.lo
3685 net/http/pprof.gox: net/http/pprof.lo
3688 net/http/internal.gox: net/http/internal.lo
3691 net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3694 old/regexp.gox: old/regexp.lo
3696 old/template.gox: old/template.lo
3699 os/exec.gox: os/exec.lo
3701 os/signal.gox: os/signal.lo
3703 os/user.gox: os/user.lo
3706 path/filepath.gox: path/filepath.lo
3709 regexp/syntax.gox: regexp/syntax.lo
3712 runtime/debug.gox: runtime/debug.lo
3714 runtime/pprof.gox: runtime/pprof.lo
3717 sync/atomic.gox: sync/atomic.lo
3720 internal/syscall.gox: internal/syscall.lo
3723 text/scanner.gox: text/scanner.lo
3725 text/tabwriter.gox: text/tabwriter.lo
3727 text/template.gox: text/template.lo
3729 text/template/parse.gox: text/template/parse.lo
3732 testing/iotest.gox: testing/iotest.lo
3734 testing/quick.gox: testing/quick.lo
3737 unicode/utf16.gox: unicode/utf16.lo
3739 unicode/utf8.gox: unicode/utf8.lo
3770 compress/bzip2/check \
3771 compress/flate/check \
3772 compress/gzip/check \
3773 compress/lzw/check \
3774 compress/zlib/check \
3775 container/heap/check \
3776 container/list/check \
3777 container/ring/check \
3779 crypto/cipher/check \
3782 crypto/ecdsa/check \
3783 crypto/elliptic/check \
3790 crypto/sha256/check \
3791 crypto/sha512/check \
3792 crypto/subtle/check \
3795 database/sql/check \
3796 database/sql/driver/check \
3801 debug/plan9obj/check \
3802 encoding/ascii85/check \
3803 encoding/asn1/check \
3804 encoding/base32/check \
3805 encoding/base64/check \
3806 encoding/binary/check \
3807 encoding/csv/check \
3808 encoding/gob/check \
3809 encoding/hex/check \
3810 encoding/json/check \
3811 encoding/pem/check \
3812 encoding/xml/check \
3814 exp/terminal/check \
3815 html/template/check \
3817 $(go_build_check_omitted_since_it_calls_6g) \
3824 hash/adler32/check \
3832 index/suffixarray/check \
3838 mime/multipart/check \
3840 net/http/cgi/check \
3841 net/http/cookiejar/check \
3842 net/http/fcgi/check \
3843 net/http/httptest/check \
3844 net/http/httputil/check \
3845 net/http/internal/check \
3849 net/textproto/check \
3851 net/rpc/jsonrpc/check \
3853 old/template/check \
3857 path/filepath/check \
3858 regexp/syntax/check \
3859 runtime/pprof/check \
3861 text/scanner/check \
3862 text/tabwriter/check \
3863 text/template/check \
3864 text/template/parse/check \
3865 testing/quick/check \
3866 unicode/utf16/check \
3870 check-recursive: check-head
3873 @echo "Test Run By $${USER} on `date`" > libgo.head
3874 @echo "Native configuration is $(host_triplet)" >> libgo.head
3876 @echo " === libgo tests ===" >> libgo.head
3879 check-tail: check-recursive check-multi
3880 @if test "$(USE_DEJAGNU)" = "yes"; then \
3883 lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3884 for dir in . $(MULTIDIRS); do \
3885 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3886 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3888 mv libgo.head libgo.sum; \
3889 cp libgo.sum libgo.log; \
3890 echo "Schedule of variations:" >> libgo.sum; \
3891 for dir in . $(MULTIDIRS); do \
3892 multidir=../$${dir}/$${lib}; \
3893 multivar=`cat $${multidir}/libgo.var`; \
3894 echo " $${multivar}" >> libgo.sum; \
3896 echo >> libgo.sum; \
3897 pass=0; fail=0; untested=0; \
3898 for dir in . $(MULTIDIRS); do \
3899 multidir=../$${dir}/$${lib}; \
3900 multivar=`cat $${multidir}/libgo.var`; \
3901 echo "Running target $${multivar}" >> libgo.sum; \
3902 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3903 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3904 cat $${multidir}/libgo.log.sep >> libgo.log; \
3905 if test -n "${MULTIDIRS}"; then \
3906 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3907 echo >> libgo.sum; \
3909 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3910 pass=`expr $$pass + $$p`; \
3911 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3912 echo "# of expected passes $$p" >> libgo.sum; \
3914 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3915 fail=`expr $$fail + $$p`; \
3916 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3917 echo "# of unexpected failures $$p" >> libgo.sum; \
3919 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3920 untested=`expr $$untested + $$p`; \
3921 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3922 echo "# of untested testcases $$p" >> libgo.sum; \
3925 echo >> libgo.sum; \
3926 echo " === libgo Summary ===" >> libgo.sum; \
3927 echo >> libgo.sum; \
3928 if test "$$pass" -ne "0"; then \
3929 echo "# of expected passes $$pass" >> libgo.sum; \
3931 if test "$$fail" -ne "0"; then \
3932 echo "# of unexpected failures $$fail" >> libgo.sum; \
3934 if test "$$untested" -ne "0"; then \
3935 echo "# of untested testcases $$untested" >> libgo.sum; \
3937 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3938 echo >> libgo.log; \
3939 echo "runtest completed at `date`" >> libgo.log; \
3940 if test "$$fail" -ne "0"; then \
3948 @rm -f libgo.sum libgo.log libgo.tail
3950 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3951 echo "$${multivar}" > libgo.var
3952 @for f in $(TEST_PACKAGES); do \
3953 rm -f $$f-testsum $$f-testlog; \
3955 -@$(MAKE) -k $(TEST_PACKAGES)
3956 @for f in $(TEST_PACKAGES); do \
3957 if test -f $$f-testsum; then \
3958 cat $$f-testsum >> libgo.sum; \
3960 if test -f $$f-testlog; then \
3961 cat $$f-testlog >> libgo.log; \
3966 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
3969 -@$(MAKE) -k $(TEST_PACKAGES) GOBENCH=.
3971 MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
3974 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3975 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3976 find . -name '*-testsum' -print | xargs rm -f
3977 find . -name '*-testlog' -print | xargs rm -f
3979 CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
3982 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3983 find . -name '*.a' -print | xargs rm -f