1 # Makefile.am -- Go library Makefile.
3 # Copyright 2009, 2010 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)
30 LIBFFIINCS = @LIBFFIINCS@
32 WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
34 # -I/-D flags to pass when compiling.
35 AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
37 ACLOCAL_AMFLAGS = -I ./config -I ../config
39 AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
41 -I $(srcdir)/../gcc -I $(MULTIBUILDTOP)../../gcc/include
44 AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
50 # Work around what appears to be a GNU make handling MAKEFLAGS
51 # values defined in terms of make variables, as is the case for CC and
52 # friends when we are called from the top level Makefile.
54 "AR_FLAGS=$(AR_FLAGS)" \
55 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
56 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
58 "CXXFLAGS=$(CXXFLAGS)" \
59 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
60 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
61 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
63 "GOCFLAGS=$(GOCFLAGS)" \
64 "INSTALL=$(INSTALL)" \
65 "INSTALL_DATA=$(INSTALL_DATA)" \
66 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
67 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
68 "LDFLAGS=$(LDFLAGS)" \
69 "LIBCFLAGS=$(LIBCFLAGS)" \
70 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
72 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
73 "PICFLAG=$(PICFLAG)" \
74 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
76 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
77 "exec_prefix=$(exec_prefix)" \
78 "infodir=$(infodir)" \
80 "includedir=$(includedir)" \
82 "tooldir=$(tooldir)" \
83 "gxx_include_dir=$(gxx_include_dir)" \
89 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
90 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
91 "DESTDIR=$(DESTDIR)" \
94 # Subdir rules rely on $(FLAGS_TO_PASS)
95 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
97 toolexeclib_LTLIBRARIES = libgo.la
98 toolexeclib_LIBRARIES = libgobegin.a
100 toolexeclibgodir = $(toolexeclibdir)/go/$(gcc_version)/$(target_alias)
102 toolexeclibgo_DATA = \
152 toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
154 toolexeclibgoarchive_DATA = \
158 toolexeclibgocompressdir = $(toolexeclibgodir)/compress
160 toolexeclibgocompress_DATA = \
165 toolexeclibgocontainerdir = $(toolexeclibgodir)/container
167 toolexeclibgocontainer_DATA = \
173 toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
175 toolexeclibgocrypto_DATA = \
178 crypto/blowfish.gox \
186 crypto/ripemd160.gox \
196 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
198 toolexeclibgodebug_DATA = \
206 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
208 toolexeclibgoencoding_DATA = \
209 encoding/ascii85.gox \
210 encoding/base64.gox \
211 encoding/binary.gox \
216 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
218 toolexeclibgoexp_DATA = \
223 toolexeclibgogodir = $(toolexeclibgodir)/go
225 toolexeclibgogo_DATA = \
234 toolexeclibgohashdir = $(toolexeclibgodir)/hash
236 toolexeclibgohash_DATA = \
241 toolexeclibgohttpdir = $(toolexeclibgodir)/http
243 toolexeclibgohttp_DATA = \
246 toolexeclibgoimagedir = $(toolexeclibgodir)/image
248 toolexeclibgoimage_DATA = \
252 toolexeclibgoindexdir = $(toolexeclibgodir)/index
254 toolexeclibgoindex_DATA = \
255 index/suffixarray.gox
257 toolexeclibgoiodir = $(toolexeclibgodir)/io
259 toolexeclibgoio_DATA = \
262 toolexeclibgomimedir = $(toolexeclibgodir)/mime
264 toolexeclibgomime_DATA = \
267 toolexeclibgonetdir = $(toolexeclibgodir)/net
269 toolexeclibgonet_DATA = \
273 toolexeclibgoosdir = $(toolexeclibgodir)/os
275 toolexeclibgoos_DATA = \
278 toolexeclibgorpcdir = $(toolexeclibgodir)/rpc
280 toolexeclibgorpc_DATA = \
283 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
285 toolexeclibgoruntime_DATA = \
288 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
290 toolexeclibgotesting_DATA = \
296 runtime_mem_file = runtime/mem.c
298 runtime_mem_file = runtime/mem_posix_memalign.c
302 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
304 rtems_task_variable_add_file =
308 runtime/go-append.c \
309 runtime/go-assert.c \
310 runtime/go-assert-interface.c \
311 runtime/go-byte-array-to-string.c \
312 runtime/go-breakpoint.c \
313 runtime/go-caller.c \
314 runtime/go-can-convert-interface.c \
316 runtime/go-chan-cap.c \
317 runtime/go-chan-len.c \
318 runtime/go-check-interface.c \
320 runtime/go-closed.c \
321 runtime/go-construct-map.c \
322 runtime/go-convert-interface.c \
325 runtime/go-deferred-recover.c \
326 runtime/go-eface-compare.c \
327 runtime/go-eface-val-compare.c \
328 runtime/go-getgoroot.c \
330 runtime/go-gomaxprocs.c \
331 runtime/go-int-array-to-string.c \
332 runtime/go-int-to-string.c \
333 runtime/go-interface-compare.c \
334 runtime/go-interface-val-compare.c \
335 runtime/go-lock-os-thread.c \
336 runtime/go-map-delete.c \
337 runtime/go-map-index.c \
338 runtime/go-map-len.c \
339 runtime/go-map-range.c \
340 runtime/go-nanotime.c \
341 runtime/go-new-channel.c \
342 runtime/go-new-map.c \
346 runtime/go-panic-defer.c \
348 runtime/go-rec-big.c \
349 runtime/go-rec-nb-big.c \
350 runtime/go-rec-nb-small.c \
351 runtime/go-rec-small.c \
352 runtime/go-recover.c \
353 runtime/go-reflect.c \
354 runtime/go-reflect-call.c \
355 runtime/go-reflect-chan.c \
356 runtime/go-reflect-map.c \
358 runtime/go-runtime-error.c \
360 runtime/go-select.c \
361 runtime/go-semacquire.c \
362 runtime/go-send-big.c \
363 runtime/go-send-nb-big.c \
364 runtime/go-send-nb-small.c \
365 runtime/go-send-small.c \
366 runtime/go-signal.c \
367 runtime/go-strcmp.c \
368 runtime/go-string-to-byte-array.c \
369 runtime/go-string-to-int-array.c \
370 runtime/go-strplus.c \
371 runtime/go-strslice.c \
372 runtime/go-trampoline.c \
373 runtime/go-type-eface.c \
374 runtime/go-type-error.c \
375 runtime/go-type-identity.c \
376 runtime/go-type-interface.c \
377 runtime/go-type-string.c \
378 runtime/go-typedesc-equal.c \
379 runtime/go-typestring.c \
380 runtime/go-unreflect.c \
381 runtime/go-unsafe-new.c \
382 runtime/go-unsafe-newarray.c \
383 runtime/go-unsafe-pointer.c \
384 runtime/go-unwind.c \
387 $(runtime_mem_file) \
389 runtime/mfixalloc.c \
392 runtime/mheapmap32.c \
393 runtime/mheapmap64.c \
397 $(rtems_task_variable_add_file) \
407 goc2c.$(OBJEXT): runtime/goc2c.c
408 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
410 goc2c: goc2c.$(OBJEXT)
411 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
413 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
414 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
417 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
418 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
421 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
422 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
425 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
426 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
429 %.c: $(srcdir)/runtime/%.goc goc2c
430 ./goc2c --gcc $< > $@.tmp
450 go/bytes/bytes_decl.go
516 go/http/response.go \
519 go/http/transfer.go \
554 go/math/copysign.go \
566 go/math/hypot_port.go \
577 go/math/nextafter.go \
580 go/math/remainder.go \
586 go/math/sqrt_port.go \
593 go/mime/mediatype.go \
597 go_net_fd_os_file = go/net/fd_rtems.go
598 go_net_newpollserver_file = go/net/newpollserver_rtems.go
599 else # !LIBGO_IS_RTEMS
601 go_net_fd_os_file = go/net/fd_linux.go
602 go_net_newpollserver_file = go/net/newpollserver.go
603 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
604 # By default use select with pipes. Most systems should have
606 go_net_fd_os_file = go/net/fd_rtems.go
607 go_net_newpollserver_file = go/net/newpollserver.go
608 endif # !LIBGO_IS_LINUX
609 endif # !LIBGO_IS_RTEMS
613 go/net/dnsclient.go \
614 go/net/dnsconfig.go \
616 $(go_net_newpollserver_file) \
618 $(go_net_fd_os_file) \
621 go/net/iprawsock.go \
633 go/netchan/common.go \
634 go/netchan/export.go \
671 go/reflect/deepequal.go \
684 go/runtime/debug.go \
685 go/runtime/error.go \
686 go/runtime/extern.go \
688 go/runtime/softfloat64.go \
692 version.go: s-version; @true
695 echo "package runtime" > version.go.tmp
696 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
697 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
698 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
699 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
700 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
704 go/scanner/scanner.go
717 go/strconv/decimal.go \
723 go/strings/reader.go \
724 go/strings/strings.go
736 go_tabwriter_files = \
737 go/tabwriter/tabwriter.go
739 go_template_files = \
740 go/template/format.go \
741 go/template/template.go
744 go/testing/benchmark.go \
745 go/testing/testing.go
752 go/time/zoneinfo_unix.go
758 go/unicode/casetables.go \
759 go/unicode/digit.go \
760 go/unicode/letter.go \
770 go_websocket_files = \
771 go/websocket/client.go \
772 go/websocket/server.go \
773 go/websocket/websocket.go
779 go_archive_tar_files = \
780 go/archive/tar/common.go \
781 go/archive/tar/reader.go \
782 go/archive/tar/writer.go
784 go_archive_zip_files = \
785 go/archive/zip/reader.go \
786 go/archive/zip/struct.go
788 go_compress_flate_files = \
789 go/compress/flate/deflate.go \
790 go/compress/flate/huffman_bit_writer.go \
791 go/compress/flate/huffman_code.go \
792 go/compress/flate/inflate.go \
793 go/compress/flate/reverse_bits.go \
794 go/compress/flate/token.go \
795 go/compress/flate/util.go
797 go_compress_gzip_files = \
798 go/compress/gzip/gzip.go \
799 go/compress/gzip/gunzip.go
801 go_compress_zlib_files = \
802 go/compress/zlib/reader.go \
803 go/compress/zlib/writer.go
805 go_container_heap_files = \
806 go/container/heap/heap.go
808 go_container_list_files = \
809 go/container/list/list.go
811 go_container_ring_files = \
812 go/container/ring/ring.go
814 go_container_vector_files = \
815 go/container/vector/defs.go \
816 go/container/vector/intvector.go \
817 go/container/vector/stringvector.go \
818 go/container/vector/vector.go
820 go_crypto_aes_files = \
821 go/crypto/aes/block.go \
822 go/crypto/aes/cipher.go \
823 go/crypto/aes/const.go
824 go_crypto_block_files = \
825 go/crypto/block/cbc.go \
826 go/crypto/block/cfb.go \
827 go/crypto/block/cmac.go \
828 go/crypto/block/cipher.go \
829 go/crypto/block/ctr.go \
830 go/crypto/block/eax.go \
831 go/crypto/block/ecb.go \
832 go/crypto/block/ofb.go \
833 go/crypto/block/xor.go
834 go_crypto_blowfish_files = \
835 go/crypto/blowfish/block.go \
836 go/crypto/blowfish/const.go \
837 go/crypto/blowfish/cipher.go
838 go_crypto_cast5_files = \
839 go/crypto/cast5/cast5.go
840 go_crypto_hmac_files = \
841 go/crypto/hmac/hmac.go
842 go_crypto_md4_files = \
843 go/crypto/md4/md4.go \
844 go/crypto/md4/md4block.go
845 go_crypto_md5_files = \
846 go/crypto/md5/md5.go \
847 go/crypto/md5/md5block.go
848 go_crypto_ocsp_files = \
849 go/crypto/ocsp/ocsp.go
850 go_crypto_rand_files = \
851 go/crypto/rand/rand.go \
852 go/crypto/rand/rand_unix.go
853 go_crypto_rc4_files = \
855 go_crypto_ripemd160_files = \
856 go/crypto/ripemd160/ripemd160.go \
857 go/crypto/ripemd160/ripemd160block.go
858 go_crypto_rsa_files = \
859 go/crypto/rsa/pkcs1v15.go \
861 go_crypto_sha1_files = \
862 go/crypto/sha1/sha1.go \
863 go/crypto/sha1/sha1block.go
864 go_crypto_sha256_files = \
865 go/crypto/sha256/sha256.go \
866 go/crypto/sha256/sha256block.go
867 go_crypto_sha512_files = \
868 go/crypto/sha512/sha512.go \
869 go/crypto/sha512/sha512block.go
870 go_crypto_subtle_files = \
871 go/crypto/subtle/constant_time.go
872 go_crypto_tls_files = \
873 go/crypto/tls/alert.go \
874 go/crypto/tls/ca_set.go \
875 go/crypto/tls/common.go \
876 go/crypto/tls/conn.go \
877 go/crypto/tls/handshake_client.go \
878 go/crypto/tls/handshake_messages.go \
879 go/crypto/tls/handshake_server.go \
880 go/crypto/tls/prf.go \
882 go_crypto_x509_files = \
883 go/crypto/x509/x509.go
884 go_crypto_xtea_files = \
885 go/crypto/xtea/block.go \
886 go/crypto/xtea/cipher.go
888 go_debug_dwarf_files = \
889 go/debug/dwarf/buf.go \
890 go/debug/dwarf/const.go \
891 go/debug/dwarf/entry.go \
892 go/debug/dwarf/open.go \
893 go/debug/dwarf/type.go \
894 go/debug/dwarf/unit.go
895 go_debug_elf_files = \
896 go/debug/elf/elf.go \
898 go_debug_gosym_files = \
899 go/debug/gosym/pclntab.go \
900 go/debug/gosym/symtab.go
901 go_debug_macho_files = \
902 go/debug/macho/file.go \
903 go/debug/macho/macho.go
904 go_debug_pe_files = \
905 go/debug/pe/file.go \
908 go_debug_proc_files = \
909 go/debug/proc/proc.go \
910 go/debug/proc/proc_$(GOOS).go \
911 go/debug/proc/regs_$(GOOS)_$(GOARCH).go
913 go_encoding_ascii85_files = \
914 go/encoding/ascii85/ascii85.go
915 go_encoding_base64_files = \
916 go/encoding/base64/base64.go
917 go_encoding_binary_files = \
918 go/encoding/binary/binary.go
919 go_encoding_git85_files = \
920 go/encoding/git85/git.go
921 go_encoding_hex_files = \
922 go/encoding/hex/hex.go
923 go_encoding_pem_files = \
924 go/encoding/pem/pem.go
926 go_exp_datafmt_files = \
927 go/exp/datafmt/datafmt.go \
928 go/exp/datafmt/parser.go
929 go_exp_draw_files = \
930 go/exp/draw/draw.go \
932 go_exp_eval_files = \
933 go/exp/eval/abort.go \
934 go/exp/eval/bridge.go \
935 go/exp/eval/compiler.go \
936 go/exp/eval/expr.go \
937 go/exp/eval/expr1.go \
938 go/exp/eval/func.go \
939 go/exp/eval/scope.go \
940 go/exp/eval/stmt.go \
941 go/exp/eval/type.go \
942 go/exp/eval/typec.go \
943 go/exp/eval/value.go \
948 go/go/ast/filter.go \
953 go/go/doc/comment.go \
955 go_go_parser_files = \
956 go/go/parser/interface.go \
957 go/go/parser/parser.go
958 go_go_printer_files = \
959 go/go/printer/nodes.go \
960 go/go/printer/printer.go
961 go_go_scanner_files = \
962 go/go/scanner/errors.go \
963 go/go/scanner/scanner.go
964 go_go_token_files = \
966 go_go_typechecker_files = \
967 go/go/typechecker/scope.go \
968 go/go/typechecker/typechecker.go \
969 go/go/typechecker/universe.go
971 go_hash_adler32_files = \
972 go/hash/adler32/adler32.go
973 go_hash_crc32_files = \
974 go/hash/crc32/crc32.go
975 go_hash_crc64_files = \
976 go/hash/crc64/crc64.go
978 go_http_pprof_files = \
979 go/http/pprof/pprof.go
981 go_image_jpeg_files = \
982 go/image/jpeg/huffman.go \
983 go/image/jpeg/idct.go \
984 go/image/jpeg/reader.go
986 go_image_png_files = \
987 go/image/png/reader.go \
988 go/image/png/writer.go
990 go_index_suffixarray_files = \
991 go/index/suffixarray/suffixarray.go
993 go_io_ioutil_files = \
994 go/io/ioutil/ioutil.go \
995 go/io/ioutil/tempfile.go
997 go_mime_multipart_files = \
998 go/mime/multipart/multipart.go
1000 go_net_dict_files = \
1003 go_net_textproto_files = \
1004 go/net/textproto/pipeline.go \
1005 go/net/textproto/reader.go \
1006 go/net/textproto/textproto.go \
1007 go/net/textproto/writer.go
1009 go_os_signal_files = \
1010 go/os/signal/signal.go \
1013 go_rpc_jsonrpc_files = \
1014 go/rpc/jsonrpc/client.go \
1015 go/rpc/jsonrpc/server.go
1017 go_runtime_pprof_files = \
1018 go/runtime/pprof/pprof.go
1020 go_testing_iotest_files = \
1021 go/testing/iotest/logger.go \
1022 go/testing/iotest/reader.go \
1023 go/testing/iotest/writer.go
1024 go_testing_quick_files = \
1025 go/testing/quick/quick.go
1026 go_testing_script_files = \
1027 go/testing/script/script.go
1029 # Define Syscall and Syscall6.
1031 syscall_syscall_file = syscalls/syscall_stubs.go
1033 syscall_syscall_file = syscalls/syscall.go
1036 # Declare libc functions that vary for largefile systems.
1038 # Always use lseek64 on GNU/Linux.
1039 syscall_filesize_file = syscalls/sysfile_largefile.go
1040 else # !LIBGO_IS_LINUX
1043 # Use lseek64 on 386 Solaris.
1044 syscall_filesize_flie = syscalls/sysfile_largefile.go
1045 else # !LIBGO_IS_LINUX && LIBGO_IS_SOLARIS && !LIBGO_IS_386
1046 # Use lseek on amd64 Solaris.
1047 syscall_filesize_flie = syscalls/sysfile_regfile.go
1048 endif # !LIBGO_IS_386
1049 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1050 # Use lseek by default.
1051 syscall_filesize_file = syscalls/sysfile_regfile.go
1052 endif # !LIBGO_IS_SOLARIS
1053 endif # !LIBGO_IS_LINUX
1056 # Define ForkExec, PtraceForkExec, Exec, and Wait4.
1058 syscall_exec_os_file = syscalls/exec_stubs.go
1060 syscall_exec_os_file = syscalls/exec.go
1065 syscall_sleep_file = syscalls/sleep_rtems.go
1067 syscall_sleep_file = syscalls/sleep_select.go
1072 syscall_errstr_file = syscalls/errstr_rtems.go
1074 syscall_errstr_file = syscalls/errstr.go
1077 # Declare libc_strerror_r which is the Go name for strerror_r.
1079 # RTEMS uses newlib in which strerror_r returns char *.
1080 syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go
1083 # In Linux the POSIX strerror_r is called __xpg_strerror_r.
1084 syscall_errstr_decl_file = syscalls/errstr_decl_linux.go
1086 # On other systems we hope strerror_r is just strerror_r.
1087 syscall_errstr_decl_file = syscalls/errstr_decl.go
1091 # Define socket sizes and types.
1093 syscall_socket_os_file = syscalls/socket_linux.go
1096 syscall_socket_os_file = syscalls/socket_solaris.go
1098 syscall_socket_os_file = syscalls_socket_bsd.go
1102 # Support for epoll.
1104 syscall_socket_epoll_file = syscalls/socket_epoll.go
1106 syscall_socket_epoll_file =
1109 syscall_arch.go: s-syscall_arch; @true
1110 s-syscall_arch: Makefile
1111 rm -f syscall_arch.go.tmp
1112 echo "package syscall" > syscall_arch.go.tmp
1113 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1114 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1115 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1118 go_syscall_files = \
1119 $(syscall_errstr_file) \
1120 $(syscall_errstr_decl_file) \
1121 syscalls/exec_helpers.go \
1122 $(syscall_exec_os_file) \
1123 $(syscall_filesize_file) \
1124 $(syscall_sleep_file) \
1125 syscalls/socket.go \
1126 $(syscall_socket_os_file) \
1127 $(syscall_socket_epoll_file) \
1128 $(syscall_syscall_file) \
1129 syscalls/syscall_unix.go \
1130 syscalls/stringbyte.go \
1131 syscalls/syscall_$(GOOS).go \
1132 syscalls/syscall_$(GOOS)_$(GOARCH).go \
1133 syscalls/sysfile_posix.go \
1136 go_syscall_c_files = \
1147 expvar/libexpvar.la \
1161 netchan/libnetchan.la \
1166 reflect/libreflect.la \
1167 regexp/libregexp.la \
1169 runtime/libruntime.la \
1170 scanner/libscanner.la \
1173 strconv/libstrconv.la \
1174 strings/libstrings.la \
1176 syslog/libsyslog.la \
1177 tabwriter/libtabwriter.la \
1178 template/libtemplate.la \
1181 unicode/libunicode.la \
1184 websocket/libwebsocket.la \
1188 compress/libflate.la \
1189 compress/libgzip.la \
1190 compress/libzlib.la \
1191 container/libheap.la \
1192 container/liblist.la \
1193 container/libring.la \
1194 container/libvector.la \
1196 crypto/libblock.la \
1197 crypto/libblowfish.la \
1198 crypto/libcast5.la \
1205 crypto/libripemd160.la \
1208 crypto/libsha256.la \
1209 crypto/libsha512.la \
1210 crypto/libsubtle.la \
1220 encoding/libascii85.la \
1221 encoding/libbase64.la \
1222 encoding/libbinary.la \
1223 encoding/libgit85.la \
1224 encoding/libhex.la \
1225 encoding/libpem.la \
1235 go/libtypechecker.la \
1236 hash/libadler32.la \
1242 index/libsuffixarray.la \
1244 mime/libmultipart.la \
1246 net/libtextproto.la \
1249 runtime/libpprof.la \
1250 syscalls/libsyscall.la \
1251 testing/libtesting.la \
1252 testing/libiotest.la \
1253 testing/libquick.la \
1254 testing/libscript.la
1256 libgo_la_SOURCES = $(runtime_files)
1259 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1261 libgobegin_a_SOURCES = \
1264 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1266 GOCFLAGS = $(CFLAGS)
1267 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1268 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1270 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1271 $(AM_GOCFLAGS) $(GOCFLAGS)
1273 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1274 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1278 rm -f `echo $@ | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; \
1279 test -d $(@D) || $(MKDIR_P) $(@D); \
1281 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1282 if $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
1283 $(AR) rc $@ $@.$(OBJEXT); \
1286 # Build a .la file from a .a file.
1298 @GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs -Wl,-R,`${PWD_COMMAND}`/.libs"; \
1300 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1301 export RUNTESTFLAGS; \
1305 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1306 test "$${prefix}" != "." || prefix="$(@D)"; \
1307 if test "$(use_dejagnu)" = "yes"; then \
1308 $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
1310 if $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
1311 echo "PASS: $(@D)"; \
1313 echo "FAIL: $(@D)"; \
1319 # Build all packages before checking any.
1320 CHECK_DEPS = libgo.la libgobegin.a \
1321 $(toolexeclib_DATA) \
1322 $(toolexeclibarchive_DATA) \
1323 $(toolexeclibcompress_DATA) \
1324 $(toolexeclibcontainer_DATA) \
1325 $(toolexeclibcrypto_DATA) \
1326 $(toolexeclibdebug_DATA) \
1327 $(toolexeclibencoding_DATA) \
1328 $(toolexeclibexp_DATA) \
1329 $(toolexeclibgo_DATA) \
1330 $(toolexeclibhash_DATA) \
1331 $(toolexeclibhttp_DATA) \
1332 $(toolexeclibimage_DATA) \
1333 $(toolexeclibio_DATA) \
1334 $(toolexeclibos_DATA) \
1335 $(toolexeclibrpc_DATA) \
1336 $(toolexeclibruntime_DATA) \
1337 $(toolexeclibtesting_DATA)
1339 asn1/libasn1.a: $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1340 strconv.gox strings.gox time.gox
1342 asn1/libasn1.la: asn1/libasn1.a
1343 asn1/check: $(CHECK_DEPS)
1347 big/libbig.a: $(go_big_files) fmt.gox rand.gox strings.gox
1349 big/libbig.la: big/libbig.a
1350 big/check: $(CHECK_DEPS)
1354 bufio/libbufio.a: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox \
1357 bufio/libbufio.la: bufio/libbufio.a
1358 bufio/check: $(CHECK_DEPS)
1362 bytes/libbytes.a: $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \
1363 unicode.gox utf8.gox
1364 test -d bytes || $(MKDIR_P) bytes
1365 $(LTGOCOMPILE) -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go
1366 $(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c
1368 $(AR) rc $@ bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT)
1369 bytes/libbytes.la: bytes/libbytes.a
1370 $(LINK) bytes/bytes.lo bytes/index.lo
1371 bytes/check: $(CHECK_DEPS)
1375 cmath/libcmath.a: $(go_cmath_files) math.gox
1377 cmath/libcmath.la: cmath/libcmath.a
1378 cmath/check: $(CHECK_DEPS)
1382 ebnf/libebnf.a: $(go_ebnf_files) container/vector.gox go/scanner.gox \
1383 go/token.gox os.gox strconv.gox unicode.gox utf8.gox
1385 ebnf/libebnf.la: ebnf/libebnf.a
1386 ebnf/check: $(CHECK_DEPS)
1390 exec/libexec.a: $(go_exec_files) os.gox strings.gox
1392 exec/libexec.la: exec/libexec.a
1393 exec/check: $(CHECK_DEPS)
1397 expvar/libexpvar.a: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \
1398 log.gox os.gox runtime.gox strconv.gox sync.gox
1400 expvar/libexpvar.la: expvar/libexpvar.a
1401 expvar/check: $(CHECK_DEPS)
1403 .PHONY: expvar/check
1405 flag/libflag.a: $(go_flag_files) fmt.gox os.gox strconv.gox
1407 flag/libflag.la: flag/libflag.a
1408 flag/check: $(CHECK_DEPS)
1412 fmt/libfmt.a: $(go_fmt_files) bytes.gox io.gox os.gox reflect.gox strconv.gox \
1413 strings.gox unicode.gox utf8.gox
1415 fmt/libfmt.la: fmt/libfmt.a
1416 fmt/check: $(CHECK_DEPS)
1420 gob/libgob.a: $(go_gob_files) bytes.gox fmt.gox io.gox math.gox os.gox \
1421 reflect.gox runtime.gox strings.gox sync.gox unicode.gox
1423 gob/libgob.la: gob/libgob.a
1424 gob/check: $(CHECK_DEPS)
1428 hash/libhash.a: $(go_hash_files) io.gox
1430 hash/libhash.la: hash/libhash.a
1431 hash/check: $(CHECK_DEPS)
1435 html/libhtml.a: $(go_html_files) bytes.gox io.gox os.gox strconv.gox \
1436 strings.gox utf8.gox
1438 html/libhtml.la: html/libhtml.a
1439 html/check: $(CHECK_DEPS)
1443 http/libhttp.a: $(go_http_files) bufio.gox bytes.gox container/list.gox \
1444 container/vector.gox crypto/rand.gox crypto/tls.gox \
1445 encoding/base64.gox fmt.gox io.gox io/ioutil.gox log.gox \
1446 mime.gox mime/multipart.gox net.gox os.gox path.gox sort.gox \
1447 strconv.gox strings.gox sync.gox time.gox utf8.gox
1449 http/libhttp.la: http/libhttp.a
1450 http/check: $(CHECK_DEPS)
1454 image/libimage.a: $(go_image_files) bufio.gox io.gox os.gox strconv.gox
1456 image/libimage.la: image/libimage.a
1457 image/check: $(CHECK_DEPS)
1461 io/libio.a: $(go_io_files) os.gox runtime.gox sync.gox
1463 io/libio.la: io/libio.a
1464 io/check: $(CHECK_DEPS)
1468 json/libjson.a: $(go_json_files) bytes.gox container/vector.gox fmt.gox \
1469 io.gox math.gox os.gox reflect.gox runtime.gox strconv.gox \
1470 strings.gox unicode.gox utf16.gox utf8.gox
1472 json/libjson.la: json/libjson.a
1473 json/check: $(CHECK_DEPS)
1477 log/liblog.a: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \
1480 log/liblog.la: log/liblog.a
1481 log/check: $(CHECK_DEPS)
1485 math/libmath.a: $(go_math_files)
1487 math/libmath.la: math/libmath.a
1488 math/check: $(CHECK_DEPS)
1492 mime/libmime.a: $(go_mime_files) bufio.gox bytes.gox os.gox strings.gox \
1493 sync.gox unicode.gox
1495 mime/libmime.la: mime/libmime.a
1496 mime/check: $(CHECK_DEPS)
1500 net/libnet.a: $(go_net_files) fmt.gox io.gox os.gox reflect.gox strconv.gox \
1501 strings.gox sync.gox syscall.gox
1503 net/libnet.la: net/libnet.a
1504 net/check: $(CHECK_DEPS)
1508 netchan/libnetchan.a: $(go_netchan_files) gob.gox log.gox net.gox os.gox \
1509 reflect.gox sync.gox time.gox
1511 netchan/libnetchan.la: netchan/libnetchan.a
1512 netchan/check: $(CHECK_DEPS)
1514 .PHONY: netchan/check
1516 os/libos.a: $(go_os_files) sync.gox syscall.gox
1518 os/libos.la: os/libos.a
1519 os/check: $(CHECK_DEPS)
1523 patch/libpatch.a: $(go_patch_files) bytes.gox compress/zlib.gox \
1524 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
1525 path.gox strings.gox
1527 patch/libpatch.la: patch/libpatch.a
1528 patch/check: $(CHECK_DEPS)
1532 path/libpath.a: $(go_path_files) io/ioutil.gox os.gox sort.gox strings.gox \
1535 path/libpath.la: path/libpath.a
1536 path/check: $(CHECK_DEPS)
1540 rand/librand.a: $(go_rand_files) math.gox sync.gox
1542 rand/librand.la: rand/librand.a
1543 rand/check: $(CHECK_DEPS)
1547 reflect/libreflect.a: $(go_reflect_files) math.gox runtime.gox strconv.gox \
1550 reflect/libreflect.la: reflect/libreflect.a
1551 reflect/check: $(CHECK_DEPS)
1553 .PHONY: reflect/check
1555 regexp/libregexp.a: $(go_regexp_files) bytes.gox io.gox os.gox strings.gox \
1558 regexp/libregexp.la: regexp/libregexp.a
1559 regexp/check: $(CHECK_DEPS)
1561 .PHONY: regexp/check
1563 rpc/librpc.a: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox \
1564 log.gox net.gox os.gox reflect.gox sort.gox strings.gox \
1565 strconv.gox sync.gox template.gox unicode.gox utf8.gox
1567 rpc/librpc.la: rpc/librpc.a
1568 rpc/check: $(CHECK_DEPS)
1572 runtime/libruntime.a: $(go_runtime_files)
1574 runtime/libruntime.la: runtime/libruntime.a
1575 runtime/check: $(CHECK_DEPS)
1577 .PHONY: runtime/check
1579 scanner/libscanner.a: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \
1580 unicode.gox utf8.gox
1582 scanner/libscanner.la: scanner/libscanner.a
1583 scanner/check: $(CHECK_DEPS)
1585 .PHONY: scanner/check
1587 smtp/libsmtp.a: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \
1588 net.gox net/textproto.gox os.gox strings.gox
1590 smtp/libsmtp.la: smtp/libsmtp.a
1591 smtp/check: $(CHECK_DEPS)
1595 sort/libsort.a: $(go_sort_files)
1597 sort/libsort.la: sort/libsort.a
1598 sort/check: $(CHECK_DEPS)
1602 strconv/libstrconv.a: $(go_strconv_files) bytes.gox math.gox os.gox \
1603 strings.gox unicode.gox utf8.gox
1605 strconv/libstrconv.la: strconv/libstrconv.a
1606 strconv/check: $(CHECK_DEPS)
1608 .PHONY: strconv/check
1610 strings/libstrings.a: $(go_strings_files) os.gox unicode.gox utf8.gox
1612 strings/libstrings.la: strings/libstrings.a
1613 strings/check: $(CHECK_DEPS)
1615 .PHONY: strings/check
1617 sync/libsync.a: $(go_sync_files) $(go_sync_c_files) runtime.gox
1618 test -d sync || $(MKDIR_P) sync
1619 $(LTGOCOMPILE) -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
1620 $(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c
1622 $(AR) rc $@ sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT)
1623 sync/libsync.la: sync/libsync.a
1624 $(LINK) sync/mutex.lo sync/cas.lo
1625 sync/check: $(CHECK_DEPS)
1629 syslog/libsyslog.a: $(go_syslog_files) fmt.gox log.gox net.gox os.gox
1631 syslog/libsyslog.la: syslog/libsyslog.a
1632 syslog/check: $(CHECK_DEPS)
1634 .PHONY: syslog/check
1636 tabwriter/libtabwriter.a: $(go_tabwriter_files) bytes.gox io.gox os.gox \
1639 tabwriter/libtabwriter.la: tabwriter/libtabwriter.a
1640 tabwriter/check: $(CHECK_DEPS)
1642 .PHONY: tabwriter/check
1644 template/libtemplate.a: $(go_template_files) bytes.gox fmt.gox io.gox os.gox \
1645 reflect.gox runtime.gox strings.gox container/vector.gox
1647 template/libtemplate.la: template/libtemplate.a
1648 template/check: $(CHECK_DEPS)
1650 .PHONY: template/check
1652 testing/libtesting.a: $(go_testing_files) flag.gox fmt.gox os.gox regexp.gox \
1653 runtime.gox time.gox
1655 testing/libtesting.la: testing/libtesting.a
1656 testing/check: $(CHECK_DEPS)
1658 .PHONY: testing/check
1660 time/libtime.a: $(go_time_files) bytes.gox io/ioutil.gox os.gox strconv.gox \
1661 sync.gox syscall.gox
1663 time/libtime.la: time/libtime.a
1664 time/check: $(CHECK_DEPS)
1668 try/libtry.a: $(go_try_files) fmt.gox io.gox os.gox reflect.gox unicode.gox
1670 try/libtry.la: try/libtry.a
1671 try/check: $(CHECK_DEPS)
1675 unicode/libunicode.a: $(go_unicode_files)
1677 unicode/libunicode.la: unicode/libunicode.a
1678 unicode/check: $(CHECK_DEPS)
1680 .PHONY: unicode/check
1682 utf16/libutf16.a: $(go_utf16_files) unicode.gox
1684 utf16/libutf16.la: utf16/libutf16.a
1685 utf16/check: $(CHECK_DEPS)
1689 utf8/libutf8.a: $(go_utf8_files) unicode.gox
1691 utf8/libutf8.la: utf8/libutf8.a
1692 utf8/check: $(CHECK_DEPS)
1696 websocket/libwebsocket.a: $(go_websocket_files) bufio.gox bytes.gox \
1697 container/vector.gox crypto/md5.gox crypto/tls.gox \
1698 encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \
1699 rand.gox strings.gox
1701 websocket/libwebsocket.la: websocket/libwebsocket.a
1702 websocket/check: $(CHECK_DEPS)
1704 .PHONY: websocket/check
1706 xml/libxml.a: $(go_xml_files) bufio.gox bytes.gox io.gox os.gox reflect.gox \
1707 strconv.gox strings.gox unicode.gox utf8.gox
1709 xml/libxml.la: xml/libxml.a
1710 xml/check: $(CHECK_DEPS)
1714 archive/libtar.a: $(go_archive_tar_files) bytes.gox io.gox os.gox strconv.gox \
1717 archive/libtar.la: archive/libtar.a
1718 archive/tar/check: $(CHECK_DEPS)
1719 @$(MKDIR_P) archive/tar
1721 .PHONY: archive/tar/check
1723 archive/libzip.a: $(go_archive_zip_files) bufio.gox bytes.gox \
1724 compress/flate.gox hash.gox hash/crc32.gox \
1725 encoding/binary.gox io.gox os.gox
1727 archive/libzip.la: archive/libzip.a
1728 archive/zip/check: $(CHECK_DEPS)
1729 @$(MKDIR_P) archive/zip
1731 .PHONY: archive/zip/check
1733 compress/libflate.a: $(go_compress_flate_files) bufio.gox io.gox math.gox \
1734 os.gox sort.gox strconv.gox
1736 compress/libflate.la: compress/libflate.a
1737 compress/flate/check: $(CHECK_DEPS)
1738 @$(MKDIR_P) compress/flate
1740 .PHONY: compress/flate/check
1742 compress/libgzip.a: $(go_compress_gzip_files) bufio.gox compress/flate.gox \
1743 hash.gox hash/crc32.gox io.gox os.gox
1745 compress/libgzip.la: compress/libgzip.a
1746 compress/gzip/check: $(CHECK_DEPS)
1747 @$(MKDIR_P) compress/gzip
1749 .PHONY: compress/gzip/check
1751 compress/libzlib.a: $(go_compress_zlib_files) bufio.gox compress/flate.gox \
1752 hash.gox hash/adler32.gox io.gox os.gox
1754 compress/libzlib.la: compress/libzlib.a
1755 compress/zlib/check: $(CHECK_DEPS)
1756 @$(MKDIR_P) compress/zlib
1758 .PHONY: compress/zlib/check
1760 container/libheap.a: $(go_container_heap_files) sort.gox
1762 container/libheap.la: container/libheap.a
1763 container/heap/check: $(CHECK_DEPS)
1764 @$(MKDIR_P) container/heap
1766 .PHONY: container/heap/check
1768 container/liblist.a: $(go_container_list_files)
1770 container/liblist.la: container/liblist.a
1771 container/list/check: $(CHECK_DEPS)
1772 @$(MKDIR_P) container/list
1774 .PHONY: container/list/check
1776 container/libring.a: $(go_container_ring_files)
1778 container/libring.la: container/libring.a
1779 container/ring/check: $(CHECK_DEPS)
1780 @$(MKDIR_P) container/ring
1782 .PHONY: container/ring/check
1784 container/libvector.a: $(go_container_vector_files)
1786 container/libvector.la: container/libvector.a
1787 container/vector/check: $(CHECK_DEPS)
1788 @$(MKDIR_P) container/vector
1790 .PHONY: container/vector/check
1792 crypto/libaes.a: $(go_crypto_aes_files) os.gox strconv.gox
1794 crypto/libaes.la: crypto/libaes.a
1795 crypto/aes/check: $(CHECK_DEPS)
1796 @$(MKDIR_P) crypto/aes
1798 .PHONY: crypto/aes/check
1800 crypto/libblock.a: $(go_crypto_block_files) fmt.gox io.gox os.gox strconv.gox
1802 crypto/libblock.la: crypto/libblock.a
1803 crypto/block/check: $(CHECK_DEPS)
1804 @$(MKDIR_P) crypto/block
1806 .PHONY: crypto/block/check
1808 crypto/libblowfish.a: $(go_crypto_blowfish_files) os.gox strconv.gox
1810 crypto/libblowfish.la: crypto/libblowfish.a
1811 crypto/blowfish/check: $(CHECK_DEPS)
1812 @$(MKDIR_P) crypto/blowfish
1814 .PHONY: crypto/blowfish/check
1816 crypto/libcast5.a: $(go_crypto_cast5_files) os.gox
1818 crypto/libcast5.la: crypto/libcast5.a
1819 crypt/cast5/check: $(CHECK_DEPS)
1820 @$(MKDIR_P) crypto/cast5
1822 .PHONY: crypto/cast5/check
1824 crypto/libhmac.a: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \
1827 crypto/libhmac.la: crypto/libhmac.a
1828 crypto/hmac/check: $(CHECK_DEPS)
1829 @$(MKDIR_P) crypto/hmac
1831 .PHONY: crypto/hmac/check
1833 crypto/libmd4.a: $(go_crypto_md4_files) hash.gox os.gox
1835 crypto/libmd4.la: crypto/libmd4.a
1836 crypto/md4/check: $(CHECK_DEPS)
1837 @$(MKDIR_P) crypto/md4
1839 .PHONY: crypto/md4/check
1841 crypto/libmd5.a: $(go_crypto_md5_files) hash.gox os.gox
1843 crypto/libmd5.la: crypto/libmd5.a
1844 crypto/md5/check: $(CHECK_DEPS)
1845 @$(MKDIR_P) crypto/md5
1847 .PHONY: crypto/md5/check
1849 crypto/libocsp.a: $(go_crypto_ocsp_files) asn1.gox crypto/rsa.gox \
1850 crypto/sha1.gox crypto/x509.gox os.gox time.gox
1852 crypto/libocsp.la: crypto/libocsp.a
1853 crypto/ocsp/check: $(CHECK_DEPS)
1854 @$(MKDIR_P) crypto/ocsp
1856 .PHONY: crypto/ocsp/check
1858 crypto/librand.a: $(go_crypto_rand_files) crypto/aes.gox io.gox os.gox \
1861 crypto/librand.la: crypto/librand.a
1862 crypto/rand/check: $(CHECK_DEPS)
1863 @$(MKDIR_P) crypto/rand
1865 .PHONY: crypto/rand/check
1867 crypto/librc4.a: $(go_crypto_rc4_files) os.gox strconv.gox
1869 crypto/librc4.la: crypto/librc4.a
1870 crypto/rc4/check: $(CHECK_DEPS)
1871 @$(MKDIR_P) crypto/rc4
1873 .PHONY: crypto/rc4/check
1875 crypto/libripemd160.a: $(go_crypto_ripemd160_files) hash.gox os.gox
1877 crypto/libripemd160.la: crypto/libripemd160.a
1878 crypto/ripemd160/check: $(CHECK_DEPS)
1879 @$(MKDIR_P) crypto/ripemd160
1881 .PHONY: crypto/ripemd160/check
1883 crypto/librsa.a: $(go_crypto_rsa_files) big.gox crypto/sha1.gox \
1884 crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox
1886 crypto/librsa.la: crypto/librsa.a
1887 crypto/rsa/check: $(CHECK_DEPS)
1888 @$(MKDIR_P) crypto/rsa
1890 .PHONY: crypto/rsa/check
1892 crypto/libsha1.a: $(go_crypto_sha1_files) hash.gox os.gox
1894 crypto/libsha1.la: crypto/libsha1.a
1895 crypto/sha1/check: $(CHECK_DEPS)
1896 @$(MKDIR_P) crypto/sha1
1898 .PHONY: crypto/sha1/check
1900 crypto/libsha256.a: $(go_crypto_sha256_files) hash.gox os.gox
1902 crypto/libsha256.la: crypto/libsha256.a
1903 crypto/sha256/check: $(CHECK_DEPS)
1904 @$(MKDIR_P) crypto/sha256
1906 .PHONY: crypto/sha256/check
1908 crypto/libsha512.a: $(go_crypto_sha512_files) hash.gox os.gox
1910 crypto/libsha512.la: crypto/libsha512.a
1911 crypto/sha512/check: $(CHECK_DEPS)
1912 @$(MKDIR_P) crypto/sha512
1914 .PHONY: crypto/sha512/check
1916 crypto/libsubtle.a: $(go_crypto_subtle_files)
1918 crypto/libsubtle.la: crypto/libsubtle.a
1919 crypto/subtle/check: $(CHECK_DEPS)
1920 @$(MKDIR_P) crypto/subtle
1922 .PHONY: crypto/subtle/check
1924 crypto/libtls.a: $(go_crypto_tls_files) bufio.gox bytes.gox container/list.gox \
1925 crypto/hmac.gox crypto/md5.gox crypto/rc4.gox crypto/rand.gox \
1926 crypto/rsa.gox crypto/sha1.gox crypto/subtle.gox \
1927 crypto/rsa.gox crypto/x509.gox encoding/pem.gox fmt.gox \
1928 hash.gox io.gox io/ioutil.gox net.gox os.gox strings.gox \
1931 crypto/libtls.la: crypto/libtls.a
1932 crypto/tls/check: $(CHECK_DEPS)
1933 @$(MKDIR_P) crypto/tls
1935 .PHONY: crypto/tls/check
1937 crypto/libx509.a: $(go_crypto_x509_files) asn1.gox big.gox \
1938 container/vector.gox crypto/rsa.gox crypto/sha1.gox hash.gox \
1939 os.gox strings.gox time.gox
1941 crypto/libx509.la: crypto/libx509.a
1942 crypto/x509/check: $(CHECK_DEPS)
1943 @$(MKDIR_P) crypto/x509
1945 .PHONY: crypto/x509/check
1947 crypto/libxtea.a: $(go_crypto_xtea_files) os.gox strconv.gox
1949 crypto/libxtea.la: crypto/libxtea.a
1950 crypto/xtea/check: $(CHECK_DEPS)
1951 @$(MKDIR_P) crypto/xtea
1953 .PHONY: crypto/xtea/check
1955 debug/libdwarf.a: $(go_debug_dwarf_files) encoding/binary.gox os.gox \
1958 debug/libdwarf.la: debug/libdwarf.a
1959 debug/dwarf/check: $(CHECK_DEPS)
1960 @$(MKDIR_P) debug/dwarf
1962 .PHONY: debug/dwarf/check
1964 debug/libelf.a: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
1965 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
1967 debug/libelf.la: debug/libelf.a
1968 debug/elf/check: $(CHECK_DEPS)
1969 @$(MKDIR_P) debug/elf
1971 .PHONY: debug/elf/check
1973 debug/libgosym.a: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \
1974 strconv.gox strings.gox
1976 debug/libgosym.la: debug/libgosym.a
1977 debug/gosym/check: $(CHECK_DEPS)
1978 @$(MKDIR_P) debug/gosym
1980 .PHONY: debug/gosym/check
1982 debug/libmacho.a: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
1983 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
1985 debug/libmacho.la: debug/libmacho.a
1986 debug/macho/check: $(CHECK_DEPS)
1987 @$(MKDIR_P) debug/macho
1989 .PHONY: debug/macho/check
1991 debug/libpe.a: $(go_debug_pe_files) debug/dwarf.gox encoding/binary.gox \
1992 fmt.gox io.gox os.gox strconv.gox
1994 debug/libpe.la: debug/libpe.a
1995 debug/pe/check: $(CHECK_DEPS)
1996 @$(MKDIR_P) debug/pe
1998 .PHONY: debug/pe/check
2000 debug/libproc.a: $(go_debug_proc_files) container/vector.gox fmt.gox \
2001 io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \
2002 sync.gox syscall.gox
2004 debug/libproc.la: debug/libproc.a
2005 debug/proc/check: $(CHECK_DEPS)
2006 @$(MKDIR_P) debug/proc
2008 .PHONY: debug/proc/check
2010 encoding/libascii85.a: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox
2012 encoding/libascii85.la: encoding/libascii85.a
2013 encoding/ascii85/check: $(CHECK_DEPS)
2014 @$(MKDIR_P) encoding/ascii85
2016 .PHONY: encoding/ascii85/check
2018 encoding/libbase64.a: $(go_encoding_base64_files) io.gox os.gox strconv.gox
2020 encoding/libbase64.la: encoding/libbase64.a
2021 encoding/base64/check: $(CHECK_DEPS)
2022 @$(MKDIR_P) encoding/base64
2024 .PHONY: encoding/base64/check
2026 encoding/libbinary.a: $(go_encoding_binary_files) io.gox math.gox os.gox \
2029 encoding/libbinary.la: encoding/libbinary.a
2030 encoding/binary/check: $(CHECK_DEPS)
2031 @$(MKDIR_P) encoding/binary
2033 .PHONY: encoding/binary/check
2035 encoding/libgit85.a: $(go_encoding_git85_files) bytes.gox io.gox os.gox \
2038 encoding/libgit85.la: encoding/libgit85.a
2039 encoding/git85/check: $(CHECK_DEPS)
2040 @$(MKDIR_P) encoding/git85
2042 .PHONY: encoding/git85/check
2044 encoding/libhex.a: $(go_encoding_hex_files) os.gox strconv.gox
2046 encoding/libhex.la: encoding/libhex.a
2047 encoding/hex/check: $(CHECK_DEPS)
2048 @$(MKDIR_P) encoding/hex
2050 .PHONY: encoding/hex/check
2052 encoding/libpem.a: $(go_encoding_pem_files) bytes.gox encoding/base64.gox
2054 encoding/libpem.la: encoding/libpem.a
2055 encoding/pem/check: $(CHECK_DEPS)
2056 @$(MKDIR_P) encoding/pem
2058 .PHONY: encoding/pem/check
2060 exp/libdatafmt.a: $(go_exp_datafmt_files) bytes.gox container/vector.gox \
2061 fmt.gox go/scanner.gox go/token.gox io.gox os.gox reflect.gox \
2062 runtime.gox strconv.gox strings.gox
2064 exp/libdatafmt.la: exp/libdatafmt.a
2065 exp/datafmt/check: $(CHECK_DEPS)
2066 @$(MKDIR_P) exp/datafmt
2068 .PHONY: exp/datafmt/check
2070 exp/libdraw.a: $(go_exp_draw_files) image.gox os.gox
2072 exp/libdraw.la: exp/libdraw.a
2073 exp/draw/check: $(CHECK_DEPS)
2074 @$(MKDIR_P) exp/draw
2076 .PHONY: exp/draw/check
2078 exp/libeval.a: $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \
2079 go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \
2080 strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox
2082 exp/libeval.la: exp/libeval.a
2083 exp/eval/check: $(CHECK_DEPS)
2084 @$(MKDIR_P) exp/eval
2086 .PHONY: exp/eval/check
2088 go/libast.a: $(go_go_ast_files) fmt.gox go/token.gox io.gox os.gox \
2089 reflect.gox unicode.gox utf8.gox
2091 go/libast.la: go/libast.a
2092 go/ast/check: $(CHECK_DEPS)
2095 .PHONY: go/ast/check
2097 go/libdoc.a: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \
2098 sort.gox strings.gox template.gox
2100 go/libdoc.la: go/libdoc.a
2101 go/doc/check: $(CHECK_DEPS)
2104 .PHONY: go/doc/check
2106 go/libparser.a: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2107 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2108 path.gox strings.gox
2110 go/libparser.la: go/libparser.a
2111 go/parser/check: $(CHECK_DEPS)
2112 @$(MKDIR_P) go/parser
2114 .PHONY: go/parser/check
2116 go/libprinter.a: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2117 go/token.gox io.gox os.gox reflect.gox runtime.gox \
2118 strings.gox tabwriter.gox
2120 go/libprinter.la: go/libprinter.a
2121 go/printer/check: $(CHECK_DEPS)
2122 @$(MKDIR_P) go/printer
2124 .PHONY: go/printer/check
2126 go/libscanner.a: $(go_go_scanner_files) bytes.gox container/vector.gox fmt.gox \
2127 go/token.gox io.gox os.gox sort.gox strconv.gox unicode.gox \
2130 go/libscanner.la: go/libscanner.a
2131 go/scanner/check: $(CHECK_DEPS)
2132 @$(MKDIR_P) go/scanner
2134 .PHONY: go/scanner/check
2136 go/libtoken.a: $(go_go_token_files) fmt.gox strconv.gox
2138 go/libtoken.la: go/libtoken.a
2139 go/token/check: $(CHECK_DEPS)
2140 @$(MKDIR_P) go/token
2142 .PHONY: go/token/check
2144 go/libtypechecker.a: $(go_go_typechecker_files) fmt.gox go/ast.gox \
2145 go/token.gox go/scanner.gox os.gox
2147 go/libtypechecker.la: go/libtypechecker.a
2148 go/typechecker/check: $(CHECK_DEPS)
2149 @$(MKDIR_P) go/typechecker
2151 .PHONY: go/typechecker/check
2153 hash/libadler32.a: $(go_hash_adler32_files) hash.gox os.gox
2155 hash/libadler32.la: hash/libadler32.a
2156 hash/adler32/check: $(CHECK_DEPS)
2157 @$(MKDIR_P) hash/adler32
2159 .PHONY: hash/adler32/check
2161 hash/libcrc32.a: $(go_hash_crc32_files) hash.gox os.gox
2163 hash/libcrc32.la: hash/libcrc32.a
2164 hash/crc32/check: $(CHECK_DEPS)
2165 @$(MKDIR_P) hash/crc32
2167 .PHONY: hash/crc32/check
2169 hash/libcrc64.a: $(go_hash_crc64_files) hash.gox os.gox
2171 hash/libcrc64.la: hash/libcrc64.a
2172 hash/crc64/check: $(CHECK_DEPS)
2173 @$(MKDIR_P) hash/crc64
2175 .PHONY: hash/crc64/check
2177 http/libpprof.a: $(go_http_pprof_files) bufio.gox fmt.gox http.gox os.gox \
2178 runtime.gox runtime/pprof.gox strconv.gox strings.gox
2180 http/libpprof.la: http/libpprof.a
2181 http/pprof/check: $(CHECK_DEPS)
2182 @$(MKDIR_P) http/pprof
2184 .PHONY: http/pprof/check
2186 image/libjpeg.a: $(go_image_jpeg_files) bufio.gox image.gox io.gox os.gox
2188 image/libjpeg.la: image/libjpeg.a
2189 image/jpeg/check: $(CHECK_DEPS)
2190 @$(MKDIR_P) image/jpeg
2192 .PHONY: image/jpeg/check
2194 image/libpng.a: $(go_image_png_files) bufio.gox compress/zlib.gox fmt.gox \
2195 hash.gox hash/crc32.gox image.gox io.gox os.gox strconv.gox
2197 image/libpng.la: image/libpng.a
2198 image/png/check: $(CHECK_DEPS)
2199 @$(MKDIR_P) image/png
2201 .PHONY: image/png/check
2203 index/libsuffixarray.a: $(go_index_suffixarray_files) bytes.gox \
2204 container/vector.gox sort.gox
2206 index/libsuffixarray.la: index/libsuffixarray.a
2207 index/suffixarray/check: $(CHECK_DEPS)
2208 @$(MKDIR_P) index/suffixarray
2210 .PHONY: index/suffixarray/check
2212 io/libioutil.a: $(go_io_ioutil_files) bytes.gox io.gox os.gox sort.gox \
2215 io/libioutil.la: io/libioutil.a
2216 io/ioutil/check: $(CHECK_DEPS)
2217 @$(MKDIR_P) io/ioutil
2219 .PHONY: io/ioutil/check
2221 mime/libmultipart.a: $(go_mime_multipart_files) bufio.gox bytes.gox io.gox \
2222 mime.gox os.gox regexp.gox strings.gox
2224 mime/libmultipart.la: mime/libmultipart.a
2225 mime/multipart/check: $(CHECK_DEPS)
2226 @$(MKDIR_P) mime/multipart
2228 .PHONY: mime/multipart/check
2230 net/libdict.a: $(go_net_dict_files) container/vector.gox net/textproto.gox \
2231 os.gox strconv.gox strings.gox
2233 net/libdict.la: net/libdict.a
2235 net/libtextproto.a: $(go_net_textproto_files) bufio.gox bytes.gox \
2236 container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \
2237 os.gox strconv.gox sync.gox
2239 net/libtextproto.la: net/libtextproto.a
2240 net/textproto/check: $(CHECK_DEPS)
2241 @$(MKDIR_P) net/textproto
2243 .PHONY: net/textproto/check
2245 os/libsignal.a: $(go_os_signal_files) runtime.gox strconv.gox
2247 os/libsignal.la: os/libsignal.a
2248 os/signal/check: $(CHECK_DEPS)
2249 @$(MKDIR_P) os/signal
2251 .PHONY: os/signal/check
2253 unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go
2254 $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp
2257 rpc/libjsonrpc.a: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \
2258 os.gox rpc.gox sync.gox
2260 rpc/libjsonrpc.la: rpc/libjsonrpc.a
2261 rpc/jsonrpc/check: $(CHECK_DEPS)
2262 @$(MKDIR_P) rpc/jsonrpc
2264 .PHONY: rpc/jsonrpc/check
2266 runtime/libpprof.a: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \
2269 runtime/libpprof.la: runtime/libpprof.a
2270 runtime/pprof/check: $(CHECK_DEPS)
2271 @$(MKDIR_P) runtime/pprof
2273 .PHONY: runtime/pprof/check
2275 testing/libiotest.a: $(go_testing_iotest_files) io.gox log.gox os.gox
2277 testing/libiotest.la: testing/libiotest.a
2278 testing/iotest/check: $(CHECK_DEPS)
2279 @$(MKDIR_P) testing/iotest
2281 .PHONY: testing/iotest/check
2283 testing/libquick.a: $(go_testing_quick_files) flag.gox fmt.gox math.gox \
2284 os.gox rand.gox reflect.gox strings.gox
2286 testing/libquick.la: testing/libquick.a
2287 testing/quick/check: $(CHECK_DEPS)
2288 @$(MKDIR_P) testing/quick
2290 .PHONY: testing/quick/check
2292 testing/libscript.a: $(go_testing_script_files) fmt.gox os.gox rand.gox \
2293 reflect.gox strings.gox
2295 testing/libscript.la: testing/libscript.a
2296 testing/script/check: $(CHECK_DEPS)
2297 @$(MKDIR_P) testing/script
2299 .PHONY: testing/script/check
2301 sysinfo.go: $(srcdir)/mksysinfo.sh config.h
2302 CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh
2303 syscalls/libsyscall.a: $(go_syscall_files) $(go_syscall_c_files) sync.gox
2304 rm -f syscall.gox syscalls/libsyscall.a
2305 test -d syscalls || $(MKDIR_P) syscalls
2306 files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
2307 $(LTGOCOMPILE) -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
2308 $(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c
2309 $(AR) rc syscalls/libsyscall.a syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT)
2310 syscalls/libsyscall.la: syscalls/libsyscall.a
2311 $(LINK) syscalls/syscall.lo syscalls/errno.lo
2313 # How to build a .gox file from a .a file.
2316 rm -f $@.$(OBJEXT); \
2317 $(CC) -r -nostdlib -o $@.$(OBJEXT) -Wl,--whole-archive $<; \
2318 $(OBJCOPY) -j .go_export $@.$(OBJEXT) $@.tmp; \
2322 asn1.gox: asn1/libasn1.a
2324 big.gox: big/libbig.a
2326 bufio.gox: bufio/libbufio.a
2328 bytes.gox: bytes/libbytes.a
2330 cmath.gox: cmath/libcmath.a
2332 ebnf.gox: ebnf/libebnf.a
2334 exec.gox: exec/libexec.a
2336 expvar.gox: expvar/libexpvar.a
2338 flag.gox: flag/libflag.a
2340 fmt.gox: fmt/libfmt.a
2342 gob.gox: gob/libgob.a
2344 hash.gox: hash/libhash.a
2346 html.gox: html/libhtml.a
2348 http.gox: http/libhttp.a
2350 image.gox: image/libimage.a
2354 json.gox: json/libjson.a
2356 log.gox: log/liblog.a
2358 math.gox: math/libmath.a
2360 mime.gox: mime/libmime.a
2362 net.gox: net/libnet.a
2364 netchan.gox: netchan/libnetchan.a
2368 patch.gox: patch/libpatch.a
2370 path.gox: path/libpath.a
2372 rand.gox: rand/librand.a
2374 reflect.gox: reflect/libreflect.a
2376 regexp.gox: regexp/libregexp.a
2378 rpc.gox: rpc/librpc.a
2380 runtime.gox: runtime/libruntime.a
2382 scanner.gox: scanner/libscanner.a
2384 smtp.gox: smtp/libsmtp.a
2386 sort.gox: sort/libsort.a
2388 strconv.gox: strconv/libstrconv.a
2390 strings.gox: strings/libstrings.a
2392 sync.gox: sync/libsync.a
2394 syslog.gox: syslog/libsyslog.a
2396 syscall.gox: syscalls/libsyscall.a
2398 tabwriter.gox: tabwriter/libtabwriter.a
2400 template.gox: template/libtemplate.a
2402 testing.gox: testing/libtesting.a
2404 time.gox: time/libtime.a
2406 try.gox: try/libtry.a
2408 unicode.gox: unicode/libunicode.a
2410 utf16.gox: utf16/libutf16.a
2412 utf8.gox: utf8/libutf8.a
2414 websocket.gox: websocket/libwebsocket.a
2416 xml.gox: xml/libxml.a
2419 archive/tar.gox: archive/libtar.a
2421 archive/zip.gox: archive/libzip.a
2424 compress/flate.gox: compress/libflate.a
2426 compress/gzip.gox: compress/libgzip.a
2428 compress/zlib.gox: compress/libzlib.a
2431 container/heap.gox: container/libheap.a
2433 container/list.gox: container/liblist.a
2435 container/ring.gox: container/libring.a
2437 container/vector.gox: container/libvector.a
2440 crypto/aes.gox: crypto/libaes.a
2442 crypto/block.gox: crypto/libblock.a
2444 crypto/blowfish.gox: crypto/libblowfish.a
2446 crypto/cast5.gox: crypto/libcast5.a
2448 crypto/hmac.gox: crypto/libhmac.a
2450 crypto/md4.gox: crypto/libmd4.a
2452 crypto/md5.gox: crypto/libmd5.a
2454 crypto/ocsp.gox: crypto/libocsp.a
2456 crypto/rand.gox: crypto/librand.a
2458 crypto/rc4.gox: crypto/librc4.a
2460 crypto/ripemd160.gox: crypto/libripemd160.a
2462 crypto/rsa.gox: crypto/librsa.a
2464 crypto/sha1.gox: crypto/libsha1.a
2466 crypto/sha256.gox: crypto/libsha256.a
2468 crypto/sha512.gox: crypto/libsha512.a
2470 crypto/subtle.gox: crypto/libsubtle.a
2472 crypto/tls.gox: crypto/libtls.a
2474 crypto/x509.gox: crypto/libx509.a
2476 crypto/xtea.gox: crypto/libxtea.a
2479 debug/dwarf.gox: debug/libdwarf.a
2481 debug/elf.gox: debug/libelf.a
2483 debug/gosym.gox: debug/libgosym.a
2485 debug/macho.gox: debug/libmacho.a
2487 debug/pe.gox: debug/libpe.a
2489 debug/proc.gox: debug/libproc.a
2492 encoding/ascii85.gox: encoding/libascii85.a
2494 encoding/base64.gox: encoding/libbase64.a
2496 encoding/binary.gox: encoding/libbinary.a
2498 encoding/git85.gox: encoding/libgit85.a
2500 encoding/hex.gox: encoding/libhex.a
2502 encoding/pem.gox: encoding/libpem.a
2505 exp/datafmt.gox: exp/libdatafmt.a
2507 exp/draw.gox: exp/libdraw.a
2509 exp/eval.gox: exp/libeval.a
2512 go/ast.gox: go/libast.a
2514 go/doc.gox: go/libdoc.a
2516 go/parser.gox: go/libparser.a
2518 go/printer.gox: go/libprinter.a
2520 go/scanner.gox: go/libscanner.a
2522 go/token.gox: go/libtoken.a
2524 go/typechecker.gox: go/libtypechecker.a
2527 hash/adler32.gox: hash/libadler32.a
2529 hash/crc32.gox: hash/libcrc32.a
2531 hash/crc64.gox: hash/libcrc64.a
2534 http/pprof.gox: http/libpprof.a
2537 image/jpeg.gox: image/libjpeg.a
2539 image/png.gox: image/libpng.a
2542 index/suffixarray.gox: index/libsuffixarray.a
2545 io/ioutil.gox: io/libioutil.a
2548 mime/multipart.gox: mime/libmultipart.a
2551 net/dict.gox: net/libdict.a
2553 net/textproto.gox: net/libtextproto.a
2556 os/signal.gox: os/libsignal.a
2559 rpc/jsonrpc.gox: rpc/libjsonrpc.a
2562 runtime/pprof.gox: runtime/libpprof.a
2565 testing/iotest.gox: testing/libiotest.a
2567 testing/quick.gox: testing/libquick.a
2569 testing/script.gox: testing/libscript.a
2619 compress/flate/check \
2620 compress/gzip/check \
2621 compress/zlib/check \
2622 container/heap/check \
2623 container/list/check \
2624 container/ring/check \
2625 container/vector/check \
2627 crypto/block/check \
2628 crypto/blowfish/check \
2629 crypto/cast5/check \
2636 crypto/ripemd160/check \
2639 crypto/sha256/check \
2640 crypto/sha512/check \
2641 crypto/subtle/check \
2649 encoding/ascii85/check \
2650 encoding/base64/check \
2651 encoding/binary/check \
2652 encoding/git85/check \
2653 encoding/hex/check \
2654 encoding/pem/check \
2661 go/typechecker/check \
2662 hash/adler32/check \
2666 index/suffixarray/check \
2668 mime/multipart/check \
2669 net/textproto/check \
2672 testing/quick/check \
2673 testing/script/check
2675 check-recursive: $(TEST_PACKAGES)
2678 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
2679 find . -name '*.$(OBJEXT)' -print | xargs rm -f
2682 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
2683 find . -name '*.a' -print | xargs rm -f
2685 CLEANFILES = *.go *.gox goc2c *.c s-version