1 # Makefile.am -- Go library Makefile.
3 # Copyright 2009 The Go Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
7 # Process this file with autoreconf to produce Makefile.in.
10 SUFFIXES = .c .go .gox .o .obj .lo .a
18 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
20 MAINT_CHARSET = latin1
22 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
23 PWD_COMMAND = $${PWDCMD-pwd}
24 STAMP = echo timestamp >
26 toolexecdir = $(glibgo_toolexecdir)
27 toolexeclibdir = $(glibgo_toolexeclibdir)
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 \
181 crypto/elliptic.gox \
188 crypto/ripemd160.gox \
199 toolexeclibgocryptoopenpgpdir = $(toolexeclibgocryptodir)/openpgp
201 toolexeclibgocryptoopenpgp_DATA = \
202 crypto/openpgp/armor.gox \
203 crypto/openpgp/error.gox \
204 crypto/openpgp/s2k.gox
206 toolexeclibgodebugdir = $(toolexeclibgodir)/debug
208 toolexeclibgodebug_DATA = \
216 toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
218 toolexeclibgoencoding_DATA = \
219 encoding/ascii85.gox \
220 encoding/base32.gox \
221 encoding/base64.gox \
222 encoding/binary.gox \
228 toolexeclibgoexpdir = $(toolexeclibgodir)/exp
230 toolexeclibgoexp_DATA = \
235 toolexeclibgogodir = $(toolexeclibgodir)/go
237 toolexeclibgogo_DATA = \
246 toolexeclibgohashdir = $(toolexeclibgodir)/hash
248 toolexeclibgohash_DATA = \
253 toolexeclibgohttpdir = $(toolexeclibgodir)/http
255 toolexeclibgohttp_DATA = \
258 toolexeclibgoimagedir = $(toolexeclibgodir)/image
260 toolexeclibgoimage_DATA = \
264 toolexeclibgoindexdir = $(toolexeclibgodir)/index
266 toolexeclibgoindex_DATA = \
267 index/suffixarray.gox
269 toolexeclibgoiodir = $(toolexeclibgodir)/io
271 toolexeclibgoio_DATA = \
274 toolexeclibgomimedir = $(toolexeclibgodir)/mime
276 toolexeclibgomime_DATA = \
279 toolexeclibgonetdir = $(toolexeclibgodir)/net
281 toolexeclibgonet_DATA = \
285 toolexeclibgoosdir = $(toolexeclibgodir)/os
288 # os_inotify_gox = os/inotify.gox
294 toolexeclibgoos_DATA = \
298 toolexeclibgorpcdir = $(toolexeclibgodir)/rpc
300 toolexeclibgorpc_DATA = \
303 toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
305 toolexeclibgoruntime_DATA = \
309 toolexeclibgotestingdir = $(toolexeclibgodir)/testing
311 toolexeclibgotesting_DATA = \
317 runtime_mem_file = runtime/mem.c
319 runtime_mem_file = runtime/mem_posix_memalign.c
323 rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
325 rtems_task_variable_add_file =
329 runtime/go-append.c \
330 runtime/go-assert.c \
331 runtime/go-assert-interface.c \
332 runtime/go-byte-array-to-string.c \
333 runtime/go-breakpoint.c \
334 runtime/go-caller.c \
335 runtime/go-can-convert-interface.c \
337 runtime/go-chan-cap.c \
338 runtime/go-chan-len.c \
339 runtime/go-check-interface.c \
341 runtime/go-closed.c \
342 runtime/go-construct-map.c \
343 runtime/go-convert-interface.c \
346 runtime/go-deferred-recover.c \
347 runtime/go-eface-compare.c \
348 runtime/go-eface-val-compare.c \
349 runtime/go-getgoroot.c \
351 runtime/go-gomaxprocs.c \
352 runtime/go-int-array-to-string.c \
353 runtime/go-int-to-string.c \
354 runtime/go-interface-compare.c \
355 runtime/go-interface-eface-compare.c \
356 runtime/go-interface-val-compare.c \
357 runtime/go-lock-os-thread.c \
358 runtime/go-map-delete.c \
359 runtime/go-map-index.c \
360 runtime/go-map-len.c \
361 runtime/go-map-range.c \
362 runtime/go-nanotime.c \
363 runtime/go-new-channel.c \
364 runtime/go-new-map.c \
368 runtime/go-panic-defer.c \
370 runtime/go-rec-big.c \
371 runtime/go-rec-nb-big.c \
372 runtime/go-rec-nb-small.c \
373 runtime/go-rec-small.c \
374 runtime/go-recover.c \
375 runtime/go-reflect.c \
376 runtime/go-reflect-call.c \
377 runtime/go-reflect-chan.c \
378 runtime/go-reflect-map.c \
380 runtime/go-runtime-error.c \
382 runtime/go-select.c \
383 runtime/go-semacquire.c \
384 runtime/go-send-big.c \
385 runtime/go-send-nb-big.c \
386 runtime/go-send-nb-small.c \
387 runtime/go-send-small.c \
388 runtime/go-signal.c \
389 runtime/go-strcmp.c \
390 runtime/go-string-to-byte-array.c \
391 runtime/go-string-to-int-array.c \
392 runtime/go-strplus.c \
393 runtime/go-strslice.c \
394 runtime/go-trampoline.c \
395 runtime/go-type-eface.c \
396 runtime/go-type-error.c \
397 runtime/go-type-identity.c \
398 runtime/go-type-interface.c \
399 runtime/go-type-string.c \
400 runtime/go-typedesc-equal.c \
401 runtime/go-typestring.c \
402 runtime/go-unreflect.c \
403 runtime/go-unsafe-new.c \
404 runtime/go-unsafe-newarray.c \
405 runtime/go-unsafe-pointer.c \
406 runtime/go-unwind.c \
409 $(runtime_mem_file) \
411 runtime/mfixalloc.c \
414 runtime/mheapmap32.c \
415 runtime/mheapmap64.c \
419 $(rtems_task_variable_add_file) \
429 goc2c.$(OBJEXT): runtime/goc2c.c
430 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
432 goc2c: goc2c.$(OBJEXT)
433 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
435 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
436 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
439 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
440 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
443 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
444 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
447 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
448 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
451 %.c: $(srcdir)/runtime/%.goc goc2c
452 ./goc2c --gcc $< > $@.tmp
472 go/bytes/bytes_decl.go
539 go/http/response.go \
542 go/http/transfer.go \
577 go/math/copysign.go \
580 go/math/exp_port.go \
590 go/math/hypot_port.go \
601 go/math/nextafter.go \
604 go/math/remainder.go \
610 go/math/sqrt_port.go \
617 go/mime/mediatype.go \
621 go_net_fd_os_file = go/net/fd_rtems.go
622 go_net_newpollserver_file = go/net/newpollserver_rtems.go
623 else # !LIBGO_IS_RTEMS
625 go_net_fd_os_file = go/net/fd_linux.go
626 go_net_newpollserver_file = go/net/newpollserver.go
627 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
628 # By default use select with pipes. Most systems should have
630 go_net_fd_os_file = go/net/fd_rtems.go
631 go_net_newpollserver_file = go/net/newpollserver.go
632 endif # !LIBGO_IS_LINUX
633 endif # !LIBGO_IS_RTEMS
637 go/net/dnsclient.go \
638 go/net/dnsconfig.go \
640 $(go_net_newpollserver_file) \
642 $(go_net_fd_os_file) \
645 go/net/iprawsock.go \
657 go/netchan/common.go \
658 go/netchan/export.go \
663 go_os_dir_file = go/os/dir_largefile.go
665 go_os_dir_file = go/os/dir_regfile.go
669 go_os_dir_file = go/os/dir_largefile.go
671 go_os_dir_file = go/os/dir_regfile.go
676 go_os_sys_file = go/os/sys_linux.go
679 go_os_sys_file = go/os/sys_uname.go
682 go_os_sys_file = go/os/sys_uname.go
684 go_os_sys_file = go/os/sys_bsd.go
725 go/reflect/deepequal.go \
738 go/runtime/debug.go \
739 go/runtime/error.go \
740 go/runtime/extern.go \
741 go/runtime/malloc_defs.go \
742 go/runtime/runtime_defs.go \
744 go/runtime/softfloat64.go \
748 version.go: s-version; @true
751 echo "package runtime" > version.go.tmp
752 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
753 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
754 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
755 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
756 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
760 go/scanner/scanner.go
774 go/strconv/decimal.go \
780 go/strings/reader.go \
781 go/strings/strings.go
791 go_syslog_file = go/syslog/syslog_solaris.go
793 go_syslog_file = go/syslog/syslog_unix.go
797 go/syslog/syslog.go \
799 go_syslog_c_files = \
802 go_tabwriter_files = \
803 go/tabwriter/tabwriter.go
805 go_template_files = \
806 go/template/format.go \
807 go/template/template.go
810 go/testing/benchmark.go \
811 go/testing/testing.go
818 go/time/zoneinfo_unix.go
824 go/unicode/casetables.go \
825 go/unicode/digit.go \
826 go/unicode/letter.go \
836 go_websocket_files = \
837 go/websocket/client.go \
838 go/websocket/server.go \
839 go/websocket/websocket.go
845 go_archive_tar_files = \
846 go/archive/tar/common.go \
847 go/archive/tar/reader.go \
848 go/archive/tar/writer.go
850 go_archive_zip_files = \
851 go/archive/zip/reader.go \
852 go/archive/zip/struct.go
854 go_compress_flate_files = \
855 go/compress/flate/deflate.go \
856 go/compress/flate/huffman_bit_writer.go \
857 go/compress/flate/huffman_code.go \
858 go/compress/flate/inflate.go \
859 go/compress/flate/reverse_bits.go \
860 go/compress/flate/token.go \
861 go/compress/flate/util.go
863 go_compress_gzip_files = \
864 go/compress/gzip/gzip.go \
865 go/compress/gzip/gunzip.go
867 go_compress_zlib_files = \
868 go/compress/zlib/reader.go \
869 go/compress/zlib/writer.go
871 go_container_heap_files = \
872 go/container/heap/heap.go
874 go_container_list_files = \
875 go/container/list/list.go
877 go_container_ring_files = \
878 go/container/ring/ring.go
880 go_container_vector_files = \
881 go/container/vector/defs.go \
882 go/container/vector/intvector.go \
883 go/container/vector/stringvector.go \
884 go/container/vector/vector.go
886 go_crypto_aes_files = \
887 go/crypto/aes/block.go \
888 go/crypto/aes/cipher.go \
889 go/crypto/aes/const.go
890 go_crypto_block_files = \
891 go/crypto/block/cbc.go \
892 go/crypto/block/cfb.go \
893 go/crypto/block/cmac.go \
894 go/crypto/block/cipher.go \
895 go/crypto/block/ctr.go \
896 go/crypto/block/eax.go \
897 go/crypto/block/ecb.go \
898 go/crypto/block/ofb.go \
899 go/crypto/block/xor.go
900 go_crypto_blowfish_files = \
901 go/crypto/blowfish/block.go \
902 go/crypto/blowfish/const.go \
903 go/crypto/blowfish/cipher.go
904 go_crypto_cast5_files = \
905 go/crypto/cast5/cast5.go
906 go_crypto_cipher_files = \
907 go/crypto/cipher/cbc.go \
908 go/crypto/cipher/cfb.go \
909 go/crypto/cipher/cipher.go \
910 go/crypto/cipher/ctr.go \
911 go/crypto/cipher/io.go \
912 go/crypto/cipher/ocfb.go \
913 go/crypto/cipher/ofb.go
914 go_crypto_elliptic_files = \
915 go/crypto/elliptic/elliptic.go
916 go_crypto_hmac_files = \
917 go/crypto/hmac/hmac.go
918 go_crypto_md4_files = \
919 go/crypto/md4/md4.go \
920 go/crypto/md4/md4block.go
921 go_crypto_md5_files = \
922 go/crypto/md5/md5.go \
923 go/crypto/md5/md5block.go
924 go_crypto_ocsp_files = \
925 go/crypto/ocsp/ocsp.go
926 go_crypto_rand_files = \
927 go/crypto/rand/rand.go \
928 go/crypto/rand/rand_unix.go
929 go_crypto_rc4_files = \
931 go_crypto_ripemd160_files = \
932 go/crypto/ripemd160/ripemd160.go \
933 go/crypto/ripemd160/ripemd160block.go
934 go_crypto_rsa_files = \
935 go/crypto/rsa/pkcs1v15.go \
937 go_crypto_sha1_files = \
938 go/crypto/sha1/sha1.go \
939 go/crypto/sha1/sha1block.go
940 go_crypto_sha256_files = \
941 go/crypto/sha256/sha256.go \
942 go/crypto/sha256/sha256block.go
943 go_crypto_sha512_files = \
944 go/crypto/sha512/sha512.go \
945 go/crypto/sha512/sha512block.go
946 go_crypto_subtle_files = \
947 go/crypto/subtle/constant_time.go
948 go_crypto_tls_files = \
949 go/crypto/tls/alert.go \
950 go/crypto/tls/ca_set.go \
951 go/crypto/tls/cipher_suites.go \
952 go/crypto/tls/common.go \
953 go/crypto/tls/conn.go \
954 go/crypto/tls/handshake_client.go \
955 go/crypto/tls/handshake_messages.go \
956 go/crypto/tls/handshake_server.go \
957 go/crypto/tls/key_agreement.go \
958 go/crypto/tls/prf.go \
960 go_crypto_twofish_files = \
961 go/crypto/twofish/twofish.go
962 go_crypto_x509_files = \
963 go/crypto/x509/x509.go
964 go_crypto_xtea_files = \
965 go/crypto/xtea/block.go \
966 go/crypto/xtea/cipher.go
968 go_crypto_openpgp_armor_files = \
969 go/crypto/openpgp/armor/armor.go \
970 go/crypto/openpgp/armor/encode.go
971 go_crypto_openpgp_error_files = \
972 go/crypto/openpgp/error/error.go
973 go_crypto_openpgp_s2k_files = \
974 go/crypto/openpgp/s2k/s2k.go
976 go_debug_dwarf_files = \
977 go/debug/dwarf/buf.go \
978 go/debug/dwarf/const.go \
979 go/debug/dwarf/entry.go \
980 go/debug/dwarf/open.go \
981 go/debug/dwarf/type.go \
982 go/debug/dwarf/unit.go
983 go_debug_elf_files = \
984 go/debug/elf/elf.go \
986 go_debug_gosym_files = \
987 go/debug/gosym/pclntab.go \
988 go/debug/gosym/symtab.go
989 go_debug_macho_files = \
990 go/debug/macho/file.go \
991 go/debug/macho/macho.go
992 go_debug_pe_files = \
993 go/debug/pe/file.go \
996 go_debug_proc_files = \
997 go/debug/proc/proc.go \
998 go/debug/proc/proc_$(GOOS).go \
999 $(GO_DEBUG_PROC_REGS_OS_ARCH_FILE)
1001 go_encoding_ascii85_files = \
1002 go/encoding/ascii85/ascii85.go
1003 go_encoding_base32_files = \
1004 go/encoding/base32/base32.go
1005 go_encoding_base64_files = \
1006 go/encoding/base64/base64.go
1007 go_encoding_binary_files = \
1008 go/encoding/binary/binary.go
1009 go_encoding_git85_files = \
1010 go/encoding/git85/git.go
1011 go_encoding_hex_files = \
1012 go/encoding/hex/hex.go
1013 go_encoding_line_files = \
1014 go/encoding/line/line.go
1015 go_encoding_pem_files = \
1016 go/encoding/pem/pem.go
1018 go_exp_datafmt_files = \
1019 go/exp/datafmt/datafmt.go \
1020 go/exp/datafmt/parser.go
1021 go_exp_draw_files = \
1022 go/exp/draw/draw.go \
1023 go/exp/draw/event.go
1024 go_exp_eval_files = \
1025 go/exp/eval/abort.go \
1026 go/exp/eval/bridge.go \
1027 go/exp/eval/compiler.go \
1028 go/exp/eval/expr.go \
1029 go/exp/eval/expr1.go \
1030 go/exp/eval/func.go \
1031 go/exp/eval/scope.go \
1032 go/exp/eval/stmt.go \
1033 go/exp/eval/type.go \
1034 go/exp/eval/typec.go \
1035 go/exp/eval/value.go \
1036 go/exp/eval/world.go
1040 go/go/ast/filter.go \
1041 go/go/ast/print.go \
1042 go/go/ast/scope.go \
1045 go/go/doc/comment.go \
1047 go_go_parser_files = \
1048 go/go/parser/interface.go \
1049 go/go/parser/parser.go
1050 go_go_printer_files = \
1051 go/go/printer/nodes.go \
1052 go/go/printer/printer.go
1053 go_go_scanner_files = \
1054 go/go/scanner/errors.go \
1055 go/go/scanner/scanner.go
1056 go_go_token_files = \
1057 go/go/token/position.go \
1058 go/go/token/token.go
1059 go_go_typechecker_files = \
1060 go/go/typechecker/scope.go \
1061 go/go/typechecker/typechecker.go \
1062 go/go/typechecker/universe.go
1064 go_hash_adler32_files = \
1065 go/hash/adler32/adler32.go
1066 go_hash_crc32_files = \
1067 go/hash/crc32/crc32.go
1068 go_hash_crc64_files = \
1069 go/hash/crc64/crc64.go
1071 go_http_pprof_files = \
1072 go/http/pprof/pprof.go
1074 go_image_jpeg_files = \
1075 go/image/jpeg/huffman.go \
1076 go/image/jpeg/idct.go \
1077 go/image/jpeg/reader.go
1079 go_image_png_files = \
1080 go/image/png/reader.go \
1081 go/image/png/writer.go
1083 go_index_suffixarray_files = \
1084 go/index/suffixarray/qsufsort.go \
1085 go/index/suffixarray/suffixarray.go
1087 go_io_ioutil_files = \
1088 go/io/ioutil/ioutil.go \
1089 go/io/ioutil/tempfile.go
1091 go_mime_multipart_files = \
1092 go/mime/multipart/multipart.go
1094 go_net_dict_files = \
1097 go_net_textproto_files = \
1098 go/net/textproto/pipeline.go \
1099 go/net/textproto/reader.go \
1100 go/net/textproto/textproto.go \
1101 go/net/textproto/writer.go
1103 go_os_inotify_files = \
1104 go/os/inotify/inotify_linux.go
1106 go_os_signal_files = \
1107 go/os/signal/signal.go \
1110 go_rpc_jsonrpc_files = \
1111 go/rpc/jsonrpc/client.go \
1112 go/rpc/jsonrpc/server.go
1114 go_runtime_debug_files = \
1115 go/runtime/debug/stack.go
1116 go_runtime_pprof_files = \
1117 go/runtime/pprof/pprof.go
1119 go_testing_iotest_files = \
1120 go/testing/iotest/logger.go \
1121 go/testing/iotest/reader.go \
1122 go/testing/iotest/writer.go
1123 go_testing_quick_files = \
1124 go/testing/quick/quick.go
1125 go_testing_script_files = \
1126 go/testing/script/script.go
1128 # Define Syscall and Syscall6.
1130 syscall_syscall_file = syscalls/syscall_stubs.go
1132 syscall_syscall_file = syscalls/syscall.go
1135 # Declare libc functions that vary for largefile systems.
1137 # Always use lseek64 on GNU/Linux.
1138 syscall_filesize_file = syscalls/sysfile_largefile.go
1139 syscall_stat_file = syscalls/sysfile_stat_largefile.go
1140 else # !LIBGO_IS_LINUX
1142 # FIXME: Same for sparc vs. sparc64. Introduce new/additional conditional?
1144 # Use lseek64 on 386 Solaris.
1145 syscall_filesize_file = syscalls/sysfile_largefile.go
1146 syscall_stat_file = syscalls/sysfile_stat_largefile.go
1147 else # !LIBGO_IS_LINUX && LIBGO_IS_SOLARIS && !LIBGO_IS_386
1148 # Use lseek on amd64 Solaris.
1149 syscall_filesize_file = syscalls/sysfile_regfile.go
1150 syscall_stat_file = syscalls/sysfile_stat_regfile.go
1151 endif # !LIBGO_IS_386
1152 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1153 # Use lseek by default.
1154 syscall_filesize_file = syscalls/sysfile_regfile.go
1155 syscall_stat_file = syscalls/sysfile_stat_regfile.go
1156 endif # !LIBGO_IS_SOLARIS
1157 endif # !LIBGO_IS_LINUX
1160 # Define ForkExec, PtraceForkExec, Exec, and Wait4.
1162 syscall_exec_os_file = syscalls/exec_stubs.go
1164 syscall_exec_os_file = syscalls/exec.go
1169 syscall_sleep_file = syscalls/sleep_rtems.go
1171 syscall_sleep_file = syscalls/sleep_select.go
1176 syscall_errstr_file = syscalls/errstr_rtems.go
1178 syscall_errstr_file = syscalls/errstr.go
1181 # Declare libc_strerror_r which is the Go name for strerror_r.
1183 # RTEMS uses newlib in which strerror_r returns char *.
1184 syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go
1187 # In Linux the POSIX strerror_r is called __xpg_strerror_r.
1188 syscall_errstr_decl_file = syscalls/errstr_decl_linux.go
1190 # On other systems we hope strerror_r is just strerror_r.
1191 syscall_errstr_decl_file = syscalls/errstr_decl.go
1195 # Define socket sizes and types.
1197 syscall_socket_os_file = syscalls/socket_linux.go
1200 syscall_socket_os_file = syscalls/socket_solaris.go
1202 syscall_socket_os_file = syscalls/socket_bsd.go
1206 # Support for epoll.
1208 syscall_socket_epoll_file = syscalls/socket_epoll.go
1210 syscall_socket_epoll_file =
1213 # Support for uname.
1216 # 32-bit Solaris 2/x86 needs _nuname, handled in syscall_solaris_386.go.
1217 syscall_uname_file =
1218 else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
1219 syscall_uname_file = syscalls/syscall_uname.go
1221 else # !LIBGO_IS_SOLARIS
1222 syscall_uname_file = syscalls/syscall_uname.go
1225 syscall_arch.go: s-syscall_arch; @true
1226 s-syscall_arch: Makefile
1227 rm -f syscall_arch.go.tmp
1228 echo "package syscall" > syscall_arch.go.tmp
1229 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1230 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1231 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1234 go_syscall_files = \
1235 $(syscall_errstr_file) \
1236 $(syscall_errstr_decl_file) \
1237 syscalls/exec_helpers.go \
1238 $(syscall_exec_os_file) \
1239 $(syscall_filesize_file) \
1240 $(syscall_stat_file) \
1241 $(syscall_sleep_file) \
1242 syscalls/socket.go \
1243 $(syscall_socket_os_file) \
1244 $(syscall_socket_epoll_file) \
1245 $(syscall_syscall_file) \
1246 $(syscall_uname_file) \
1247 syscalls/syscall_unix.go \
1248 syscalls/stringbyte.go \
1249 syscalls/syscall_$(GOOS).go \
1250 $(GO_SYSCALLS_SYSCALL_OS_ARCH_FILE) \
1251 syscalls/sysfile_posix.go \
1254 go_syscall_c_files = \
1258 # os_lib_inotify_lo = os/inotify.lo
1287 netchan/netchan.lo \
1292 reflect/reflect.lo \
1295 runtime/runtime.lo \
1296 scanner/scanner.lo \
1299 strconv/strconv.lo \
1300 strings/strings.lo \
1304 syslog/syslog_c.lo \
1305 tabwriter/tabwriter.lo \
1306 template/template.lo \
1309 unicode/unicode.lo \
1312 websocket/websocket.lo \
1322 container/vector.lo \
1325 crypto/blowfish.lo \
1328 crypto/elliptic.lo \
1335 crypto/ripemd160.lo \
1345 crypto/openpgp/armor.lo \
1346 crypto/openpgp/error.lo \
1347 crypto/openpgp/s2k.lo \
1354 encoding/ascii85.lo \
1355 encoding/base32.lo \
1356 encoding/base64.lo \
1357 encoding/binary.lo \
1378 index/suffixarray.lo \
1383 $(os_lib_inotify_lo) \
1388 syscalls/syscall.lo \
1390 testing/testing.lo \
1395 libgo_la_SOURCES = $(runtime_files)
1398 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1400 libgobegin_a_SOURCES = \
1403 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1405 GOCFLAGS = $(CFLAGS)
1406 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1407 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1409 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1410 $(AM_GOCFLAGS) $(GOCFLAGS)
1412 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1413 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1415 # Build the .go files for a package, generating a .lo file.
1418 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1419 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1429 @GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs -Wl,-R,`${PWD_COMMAND}`/.libs"; \
1431 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1432 export RUNTESTFLAGS; \
1436 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1437 test "$${prefix}" != "." || prefix="$(@D)"; \
1438 if test "$(use_dejagnu)" = "yes"; then \
1439 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
1441 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
1442 echo "PASS: $(@D)"; \
1444 echo "FAIL: $(@D)"; \
1450 # Build all packages before checking any.
1451 CHECK_DEPS = libgo.la libgobegin.a \
1452 $(toolexeclib_DATA) \
1453 $(toolexeclibarchive_DATA) \
1454 $(toolexeclibcompress_DATA) \
1455 $(toolexeclibcontainer_DATA) \
1456 $(toolexeclibcrypto_DATA) \
1457 $(toolexeclibdebug_DATA) \
1458 $(toolexeclibencoding_DATA) \
1459 $(toolexeclibexp_DATA) \
1460 $(toolexeclibgo_DATA) \
1461 $(toolexeclibhash_DATA) \
1462 $(toolexeclibhttp_DATA) \
1463 $(toolexeclibimage_DATA) \
1464 $(toolexeclibio_DATA) \
1465 $(toolexeclibos_DATA) \
1466 $(toolexeclibrpc_DATA) \
1467 $(toolexeclibruntime_DATA) \
1468 $(toolexeclibtesting_DATA)
1470 asn1/asn1.lo: $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1471 strconv.gox strings.gox time.gox
1473 asn1/check: $(CHECK_DEPS)
1477 big/big.lo: $(go_big_files) fmt.gox rand.gox strings.gox
1479 big/check: $(CHECK_DEPS)
1483 bufio/bufio.lo: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox utf8.gox
1485 bufio/check: $(CHECK_DEPS)
1489 bytes/bytes.lo: $(go_bytes_files) io.gox os.gox unicode.gox utf8.gox
1491 bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1492 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
1493 bytes/check: $(CHECK_DEPS)
1497 cmath/cmath.lo: $(go_cmath_files) math.gox
1499 cmath/check: $(CHECK_DEPS)
1503 ebnf/ebnf.lo: $(go_ebnf_files) container/vector.gox go/scanner.gox \
1504 go/token.gox os.gox strconv.gox unicode.gox utf8.gox
1506 ebnf/check: $(CHECK_DEPS)
1510 exec/exec.lo: $(go_exec_files) os.gox strings.gox
1512 exec/check: $(CHECK_DEPS)
1516 expvar/expvar.lo: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \
1517 log.gox os.gox runtime.gox strconv.gox sync.gox
1519 expvar/check: $(CHECK_DEPS)
1521 .PHONY: expvar/check
1523 flag/flag.lo: $(go_flag_files) fmt.gox os.gox strconv.gox
1525 flag/check: $(CHECK_DEPS)
1529 fmt/fmt.lo: $(go_fmt_files) bytes.gox io.gox os.gox reflect.gox strconv.gox \
1530 strings.gox unicode.gox utf8.gox
1532 fmt/check: $(CHECK_DEPS)
1536 gob/gob.lo: $(go_gob_files) bytes.gox fmt.gox io.gox math.gox os.gox \
1537 reflect.gox runtime.gox strings.gox sync.gox unicode.gox \
1540 gob/check: $(CHECK_DEPS)
1544 hash/hash.lo: $(go_hash_files) io.gox
1546 hash/check: $(CHECK_DEPS)
1550 html/html.lo: $(go_html_files) bytes.gox io.gox os.gox strconv.gox strings.gox \
1553 html/check: $(CHECK_DEPS)
1557 http/http.lo: $(go_http_files) bufio.gox bytes.gox container/list.gox \
1558 container/vector.gox crypto/rand.gox crypto/tls.gox \
1559 encoding/base64.gox fmt.gox io.gox io/ioutil.gox log.gox \
1560 mime.gox mime/multipart.gox net.gox os.gox path.gox sort.gox \
1561 strconv.gox strings.gox sync.gox time.gox utf8.gox
1563 http/check: $(CHECK_DEPS)
1567 image/image.lo: $(go_image_files) bufio.gox io.gox os.gox strconv.gox
1569 image/check: $(CHECK_DEPS)
1573 io/io.lo: $(go_io_files) os.gox runtime.gox sync.gox
1575 io/check: $(CHECK_DEPS)
1579 json/json.lo: $(go_json_files) bytes.gox container/vector.gox fmt.gox io.gox \
1580 math.gox os.gox reflect.gox runtime.gox strconv.gox \
1581 strings.gox unicode.gox utf16.gox utf8.gox
1583 json/check: $(CHECK_DEPS)
1587 log/log.lo: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \
1590 log/check: $(CHECK_DEPS)
1594 math/math.lo: $(go_math_files)
1596 math/check: $(CHECK_DEPS)
1600 mime/mime.lo: $(go_mime_files) bufio.gox bytes.gox os.gox strings.gox \
1601 sync.gox unicode.gox
1603 mime/check: $(CHECK_DEPS)
1607 net/net.lo: $(go_net_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1608 strconv.gox strings.gox sync.gox syscall.gox
1610 net/check: $(CHECK_DEPS)
1614 netchan/netchan.lo: $(go_netchan_files) gob.gox log.gox net.gox os.gox \
1615 reflect.gox strconv.gox sync.gox time.gox
1617 netchan/check: $(CHECK_DEPS)
1619 .PHONY: netchan/check
1621 os/os.lo: $(go_os_files) sync.gox syscall.gox
1623 os/check: $(CHECK_DEPS)
1627 patch/patch.lo: $(go_patch_files) bytes.gox compress/zlib.gox \
1628 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
1629 path.gox strings.gox
1631 patch/check: $(CHECK_DEPS)
1635 path/path.lo: $(go_path_files) io/ioutil.gox os.gox sort.gox strings.gox \
1638 path/check: $(CHECK_DEPS)
1642 rand/rand.lo: $(go_rand_files) math.gox sync.gox
1644 rand/check: $(CHECK_DEPS)
1648 reflect/reflect.lo: $(go_reflect_files) math.gox runtime.gox strconv.gox \
1651 reflect/check: $(CHECK_DEPS)
1653 .PHONY: reflect/check
1655 regexp/regexp.lo: $(go_regexp_files) bytes.gox io.gox os.gox strings.gox \
1658 regexp/check: $(CHECK_DEPS)
1660 .PHONY: regexp/check
1662 rpc/rpc.lo: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox log.gox \
1663 net.gox os.gox reflect.gox sort.gox strings.gox strconv.gox \
1664 sync.gox template.gox unicode.gox utf8.gox
1666 rpc/check: $(CHECK_DEPS)
1670 runtime/runtime.lo: $(go_runtime_files)
1672 runtime/check: $(CHECK_DEPS)
1674 .PHONY: runtime/check
1676 scanner/scanner.lo: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \
1677 unicode.gox utf8.gox
1679 scanner/check: $(CHECK_DEPS)
1681 .PHONY: scanner/check
1683 smtp/smtp.lo: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \
1684 net.gox net/textproto.gox os.gox strings.gox
1686 smtp/check: $(CHECK_DEPS)
1690 sort/sort.lo: $(go_sort_files)
1692 sort/check: $(CHECK_DEPS)
1696 strconv/strconv.lo: $(go_strconv_files) bytes.gox math.gox os.gox strings.gox \
1697 unicode.gox utf8.gox
1699 strconv/check: $(CHECK_DEPS)
1701 .PHONY: strconv/check
1703 strings/strings.lo: $(go_strings_files) os.gox unicode.gox utf8.gox
1705 strings/check: $(CHECK_DEPS)
1707 .PHONY: strings/check
1709 sync/mutex.lo: $(go_sync_files) runtime.gox
1711 sync/cas.lo: $(go_sync_c_files) sync/mutex.lo
1712 $(LTCOMPILE) -c -o sync/cas.lo $(srcdir)/go/sync/cas.c
1713 sync/check: $(CHECK_DEPS)
1717 syslog/syslog.lo: $(go_syslog_files) fmt.gox log.gox net.gox os.gox syscall.gox
1719 syslog/syslog_c.lo: $(go_syslog_c_files) syslog/syslog.lo
1720 $(LTCOMPILE) -c -o $@ $(srcdir)/go/syslog/syslog_c.c
1721 syslog/check: $(CHECK_DEPS)
1723 .PHONY: syslog/check
1725 tabwriter/tabwriter.lo: $(go_tabwriter_files) bytes.gox io.gox os.gox utf8.gox
1727 tabwriter/check: $(CHECK_DEPS)
1729 .PHONY: tabwriter/check
1731 template/template.lo: $(go_template_files) bytes.gox fmt.gox io.gox os.gox \
1732 reflect.gox runtime.gox strings.gox container/vector.gox
1734 template/check: $(CHECK_DEPS)
1736 .PHONY: template/check
1738 testing/testing.lo: $(go_testing_files) flag.gox fmt.gox os.gox regexp.gox \
1739 runtime.gox time.gox
1741 testing/check: $(CHECK_DEPS)
1743 .PHONY: testing/check
1745 time/time.lo: $(go_time_files) bytes.gox container/heap.gox io/ioutil.gox \
1746 os.gox strconv.gox sync.gox syscall.gox
1748 time/check: $(CHECK_DEPS)
1752 try/try.lo: $(go_try_files) fmt.gox io.gox os.gox reflect.gox unicode.gox
1754 try/check: $(CHECK_DEPS)
1758 unicode/unicode.lo: $(go_unicode_files)
1760 unicode/check: $(CHECK_DEPS)
1762 .PHONY: unicode/check
1764 utf16/utf16.lo: $(go_utf16_files) unicode.gox
1766 utf16/check: $(CHECK_DEPS)
1770 utf8/utf8.lo: $(go_utf8_files) unicode.gox
1772 utf8/check: $(CHECK_DEPS)
1776 websocket/websocket.lo: $(go_websocket_files) bufio.gox bytes.gox \
1777 container/vector.gox crypto/md5.gox crypto/tls.gox \
1778 encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \
1779 rand.gox strings.gox
1781 websocket/check: $(CHECK_DEPS)
1783 .PHONY: websocket/check
1785 xml/xml.lo: $(go_xml_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
1786 reflect.gox strconv.gox strings.gox unicode.gox utf8.gox
1788 xml/check: $(CHECK_DEPS)
1792 archive/tar.lo: $(go_archive_tar_files) bytes.gox io.gox os.gox strconv.gox \
1795 archive/tar/check: $(CHECK_DEPS)
1796 @$(MKDIR_P) archive/tar
1798 .PHONY: archive/tar/check
1800 archive/zip.lo: $(go_archive_zip_files) bufio.gox bytes.gox \
1801 compress/flate.gox hash.gox hash/crc32.gox \
1802 encoding/binary.gox io.gox os.gox
1804 archive/zip/check: $(CHECK_DEPS)
1805 @$(MKDIR_P) archive/zip
1807 .PHONY: archive/zip/check
1809 compress/flate.lo: $(go_compress_flate_files) bufio.gox io.gox math.gox \
1810 os.gox sort.gox strconv.gox
1812 compress/flate/check: $(CHECK_DEPS)
1813 @$(MKDIR_P) compress/flate
1815 .PHONY: compress/flate/check
1817 compress/gzip.lo: $(go_compress_gzip_files) bufio.gox compress/flate.gox \
1818 hash.gox hash/crc32.gox io.gox os.gox
1820 compress/gzip/check: $(CHECK_DEPS)
1821 @$(MKDIR_P) compress/gzip
1823 .PHONY: compress/gzip/check
1825 compress/zlib.lo: $(go_compress_zlib_files) bufio.gox compress/flate.gox \
1826 hash.gox hash/adler32.gox io.gox os.gox
1828 compress/zlib/check: $(CHECK_DEPS)
1829 @$(MKDIR_P) compress/zlib
1831 .PHONY: compress/zlib/check
1833 container/heap.lo: $(go_container_heap_files) sort.gox
1835 container/heap/check: $(CHECK_DEPS)
1836 @$(MKDIR_P) container/heap
1838 .PHONY: container/heap/check
1840 container/list.lo: $(go_container_list_files)
1842 container/list/check: $(CHECK_DEPS)
1843 @$(MKDIR_P) container/list
1845 .PHONY: container/list/check
1847 container/ring.lo: $(go_container_ring_files)
1849 container/ring/check: $(CHECK_DEPS)
1850 @$(MKDIR_P) container/ring
1852 .PHONY: container/ring/check
1854 container/vector.lo: $(go_container_vector_files)
1856 container/vector/check: $(CHECK_DEPS)
1857 @$(MKDIR_P) container/vector
1859 .PHONY: container/vector/check
1861 crypto/aes.lo: $(go_crypto_aes_files) os.gox strconv.gox
1863 crypto/aes/check: $(CHECK_DEPS)
1864 @$(MKDIR_P) crypto/aes
1866 .PHONY: crypto/aes/check
1868 crypto/block.lo: $(go_crypto_block_files) fmt.gox io.gox os.gox strconv.gox
1870 crypto/block/check: $(CHECK_DEPS)
1871 @$(MKDIR_P) crypto/block
1873 .PHONY: crypto/block/check
1875 crypto/blowfish.lo: $(go_crypto_blowfish_files) os.gox strconv.gox
1877 crypto/blowfish/check: $(CHECK_DEPS)
1878 @$(MKDIR_P) crypto/blowfish
1880 .PHONY: crypto/blowfish/check
1882 crypto/cast5.lo: $(go_crypto_cast5_files) os.gox
1884 crypt/cast5/check: $(CHECK_DEPS)
1885 @$(MKDIR_P) crypto/cast5
1887 .PHONY: crypto/cast5/check
1889 crypto/cipher.lo: $(go_crypto_cipher_files) io.gox os.gox
1891 crypto/cipher/check: $(CHECK_DEPS)
1892 @$(MKDIR_P) crypto/cipher
1894 .PHONY: crypto/cipher/check
1896 crypto/elliptic.lo: $(go_crypto_elliptic_files) big.gox io.gox os.gox sync.gox
1898 crypto/elliptic/check: $(CHECK_DEPS)
1899 @$(MKDIR_P) crypto/elliptic
1901 .PHONY: crypto/elliptic/check
1903 crypto/hmac.lo: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \
1904 crypto/sha256.gox hash.gox os.gox
1906 crypto/hmac/check: $(CHECK_DEPS)
1907 @$(MKDIR_P) crypto/hmac
1909 .PHONY: crypto/hmac/check
1911 crypto/md4.lo: $(go_crypto_md4_files) hash.gox os.gox
1913 crypto/md4/check: $(CHECK_DEPS)
1914 @$(MKDIR_P) crypto/md4
1916 .PHONY: crypto/md4/check
1918 crypto/md5.lo: $(go_crypto_md5_files) hash.gox os.gox
1920 crypto/md5/check: $(CHECK_DEPS)
1921 @$(MKDIR_P) crypto/md5
1923 .PHONY: crypto/md5/check
1925 crypto/ocsp.lo: $(go_crypto_ocsp_files) asn1.gox crypto/rsa.gox \
1926 crypto/sha1.gox crypto/x509.gox os.gox time.gox
1928 crypto/ocsp/check: $(CHECK_DEPS)
1929 @$(MKDIR_P) crypto/ocsp
1931 .PHONY: crypto/ocsp/check
1933 crypto/rand.lo: $(go_crypto_rand_files) crypto/aes.gox io.gox os.gox sync.gox \
1936 crypto/rand/check: $(CHECK_DEPS)
1937 @$(MKDIR_P) crypto/rand
1939 .PHONY: crypto/rand/check
1941 crypto/rc4.lo: $(go_crypto_rc4_files) os.gox strconv.gox
1943 crypto/rc4/check: $(CHECK_DEPS)
1944 @$(MKDIR_P) crypto/rc4
1946 .PHONY: crypto/rc4/check
1948 crypto/ripemd160.lo: $(go_crypto_ripemd160_files) hash.gox os.gox
1950 crypto/ripemd160/check: $(CHECK_DEPS)
1951 @$(MKDIR_P) crypto/ripemd160
1953 .PHONY: crypto/ripemd160/check
1955 crypto/rsa.lo: $(go_crypto_rsa_files) big.gox crypto/sha1.gox \
1956 crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox
1958 crypto/rsa/check: $(CHECK_DEPS)
1959 @$(MKDIR_P) crypto/rsa
1961 .PHONY: crypto/rsa/check
1963 crypto/sha1.lo: $(go_crypto_sha1_files) hash.gox os.gox
1965 crypto/sha1/check: $(CHECK_DEPS)
1966 @$(MKDIR_P) crypto/sha1
1968 .PHONY: crypto/sha1/check
1970 crypto/sha256.lo: $(go_crypto_sha256_files) hash.gox os.gox
1972 crypto/sha256/check: $(CHECK_DEPS)
1973 @$(MKDIR_P) crypto/sha256
1975 .PHONY: crypto/sha256/check
1977 crypto/sha512.lo: $(go_crypto_sha512_files) hash.gox os.gox
1979 crypto/sha512/check: $(CHECK_DEPS)
1980 @$(MKDIR_P) crypto/sha512
1982 .PHONY: crypto/sha512/check
1984 crypto/subtle.lo: $(go_crypto_subtle_files)
1986 crypto/subtle/check: $(CHECK_DEPS)
1987 @$(MKDIR_P) crypto/subtle
1989 .PHONY: crypto/subtle/check
1991 crypto/tls.lo: $(go_crypto_tls_files) big.gox bufio.gox bytes.gox \
1992 container/list.gox crypto/aes.gox crypto/cipher.gox \
1993 crypto/elliptic.gox crypto/hmac.gox crypto/md5.gox \
1994 crypto/rc4.gox crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
1995 crypto/subtle.gox crypto/rsa.gox crypto/sha1.gox \
1996 crypto/x509.gox encoding/pem.gox fmt.gox hash.gox io.gox \
1997 io/ioutil.gox net.gox os.gox strings.gox sync.gox time.gox
1999 crypto/tls/check: $(CHECK_DEPS)
2000 @$(MKDIR_P) crypto/tls
2002 .PHONY: crypto/tls/check
2004 crypto/twofish.lo: $(go_crypto_twofish_files) os.gox strconv.gox
2006 crypto/twofish/check: $(CHECK_DEPS)
2007 @$(MKDIR_P) crypto/twofish
2009 .PHONY: crypto/twofish/check
2011 crypto/x509.lo: $(go_crypto_x509_files) asn1.gox big.gox container/vector.gox \
2012 crypto/rsa.gox crypto/sha1.gox hash.gox os.gox strings.gox \
2015 crypto/x509/check: $(CHECK_DEPS)
2016 @$(MKDIR_P) crypto/x509
2018 .PHONY: crypto/x509/check
2020 crypto/xtea.lo: $(go_crypto_xtea_files) os.gox strconv.gox
2022 crypto/xtea/check: $(CHECK_DEPS)
2023 @$(MKDIR_P) crypto/xtea
2025 .PHONY: crypto/xtea/check
2027 crypto/openpgp/armor.lo: $(go_crypto_openpgp_armor_files) bytes.gox \
2028 crypto/openpgp/error.gox encoding/base64.gox \
2029 encoding/line.gox io.gox os.gox
2031 crypto/openpgp/armor/check: $(CHECK_DEPS)
2032 @$(MKDIR_P) crypto/openpgp/armor
2034 .PHONY: crypto/openpgp/armor/check
2036 crypto/openpgp/error.lo: $(go_crypto_openpgp_error_files)
2038 crypto/openpgp/error/check: $(CHECK_DEPS)
2039 @$(MKDIR_P) crypto/openpgp/error
2041 .PHONY: crypto/openpgp/error/check
2043 crypto/openpgp/s2k.lo: $(go_crypto_openpgp_s2k_files) crypto/md5.gox \
2044 crypto/openpgp/error.gox crypto/ripemd160.gox crypto/sha1.gox \
2045 crypto/sha256.gox crypto/sha512.gox hash.gox io.gox os.gox
2047 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2048 @$(MKDIR_P) crypto/openpgp/s2k
2050 .PHONY: crypto/openpgp/s2k/check
2052 debug/dwarf.lo: $(go_debug_dwarf_files) encoding/binary.gox os.gox strconv.gox
2054 debug/dwarf/check: $(CHECK_DEPS)
2055 @$(MKDIR_P) debug/dwarf
2057 .PHONY: debug/dwarf/check
2059 debug/elf.lo: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
2060 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2062 debug/elf/check: $(CHECK_DEPS)
2063 @$(MKDIR_P) debug/elf
2065 .PHONY: debug/elf/check
2067 debug/gosym.lo: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \
2068 strconv.gox strings.gox
2070 debug/gosym/check: $(CHECK_DEPS)
2071 @$(MKDIR_P) debug/gosym
2073 .PHONY: debug/gosym/check
2075 debug/macho.lo: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
2076 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2078 debug/macho/check: $(CHECK_DEPS)
2079 @$(MKDIR_P) debug/macho
2081 .PHONY: debug/macho/check
2083 debug/pe.lo: $(go_debug_pe_files) debug/dwarf.gox \
2084 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2086 debug/pe/check: $(CHECK_DEPS)
2087 @$(MKDIR_P) debug/pe
2089 .PHONY: debug/pe/check
2091 debug/proc.lo: $(go_debug_proc_files) container/vector.gox fmt.gox \
2092 io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \
2093 sync.gox syscall.gox
2095 debug/proc/check: $(CHECK_DEPS)
2096 @$(MKDIR_P) debug/proc
2098 .PHONY: debug/proc/check
2100 encoding/ascii85.lo: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox
2102 encoding/ascii85/check: $(CHECK_DEPS)
2103 @$(MKDIR_P) encoding/ascii85
2105 .PHONY: encoding/ascii85/check
2107 encoding/base32.lo: $(go_encoding_base32_files) io.gox os.gox strconv.gox
2109 encoding/base32/check: $(CHECK_DEPS)
2110 @$(MKDIR_P) encoding/base32
2112 .PHONY: encoding/base32/check
2114 encoding/base64.lo: $(go_encoding_base64_files) io.gox os.gox strconv.gox
2116 encoding/base64/check: $(CHECK_DEPS)
2117 @$(MKDIR_P) encoding/base64
2119 .PHONY: encoding/base64/check
2121 encoding/binary.lo: $(go_encoding_binary_files) io.gox math.gox os.gox \
2124 encoding/binary/check: $(CHECK_DEPS)
2125 @$(MKDIR_P) encoding/binary
2127 .PHONY: encoding/binary/check
2129 encoding/git85.lo: $(go_encoding_git85_files) bytes.gox io.gox os.gox \
2132 encoding/git85/check: $(CHECK_DEPS)
2133 @$(MKDIR_P) encoding/git85
2135 .PHONY: encoding/git85/check
2137 encoding/hex.lo: $(go_encoding_hex_files) os.gox strconv.gox
2139 encoding/hex/check: $(CHECK_DEPS)
2140 @$(MKDIR_P) encoding/hex
2142 .PHONY: encoding/hex/check
2144 encoding/line.lo: $(go_encoding_line_files) io.gox os.gox
2146 encoding/line/check: $(CHECK_DEPS)
2147 @$(MKDIR_P) encoding/line
2149 .PHONY: encoding/line/check
2151 encoding/pem.lo: $(go_encoding_pem_files) bytes.gox encoding/base64.gox
2153 encoding/pem/check: $(CHECK_DEPS)
2154 @$(MKDIR_P) encoding/pem
2156 .PHONY: encoding/pem/check
2158 exp/datafmt.lo: $(go_exp_datafmt_files) bytes.gox container/vector.gox \
2159 fmt.gox go/scanner.gox go/token.gox io.gox os.gox reflect.gox \
2160 runtime.gox strconv.gox strings.gox
2162 exp/datafmt/check: $(CHECK_DEPS)
2163 @$(MKDIR_P) exp/datafmt
2165 .PHONY: exp/datafmt/check
2167 exp/draw.lo: $(go_exp_draw_files) image.gox os.gox
2169 exp/draw/check: $(CHECK_DEPS)
2170 @$(MKDIR_P) exp/draw
2172 .PHONY: exp/draw/check
2174 exp/eval.lo: $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \
2175 go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \
2176 strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox
2178 exp/eval/check: $(CHECK_DEPS)
2179 @$(MKDIR_P) exp/eval
2181 .PHONY: exp/eval/check
2183 go/ast.lo: $(go_go_ast_files) fmt.gox go/token.gox io.gox os.gox reflect.gox \
2184 unicode.gox utf8.gox
2186 go/ast/check: $(CHECK_DEPS)
2189 .PHONY: go/ast/check
2191 go/doc.lo: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \
2192 sort.gox strings.gox template.gox
2194 go/doc/check: $(CHECK_DEPS)
2197 .PHONY: go/doc/check
2199 go/parser.lo: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2200 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2201 path.gox strings.gox
2203 go/parser/check: $(CHECK_DEPS)
2204 @$(MKDIR_P) go/parser
2206 .PHONY: go/parser/check
2208 go/printer.lo: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2209 go/token.gox io.gox os.gox reflect.gox runtime.gox \
2210 strings.gox tabwriter.gox
2212 go/printer/check: $(CHECK_DEPS)
2213 @$(MKDIR_P) go/printer
2215 .PHONY: go/printer/check
2217 go/scanner.lo: $(go_go_scanner_files) bytes.gox container/vector.gox fmt.gox \
2218 go/token.gox io.gox os.gox path.gox sort.gox strconv.gox \
2219 unicode.gox utf8.gox
2221 go/scanner/check: $(CHECK_DEPS)
2222 @$(MKDIR_P) go/scanner
2224 .PHONY: go/scanner/check
2226 go/token.lo: $(go_go_token_files) fmt.gox strconv.gox
2228 go/token/check: $(CHECK_DEPS)
2229 @$(MKDIR_P) go/token
2231 .PHONY: go/token/check
2233 go/typechecker.lo: $(go_go_typechecker_files) fmt.gox go/ast.gox go/token.gox \
2234 go/scanner.gox os.gox
2236 go/typechecker/check: $(CHECK_DEPS)
2237 @$(MKDIR_P) go/typechecker
2239 .PHONY: go/typechecker/check
2241 hash/adler32.lo: $(go_hash_adler32_files) hash.gox os.gox
2243 hash/adler32/check: $(CHECK_DEPS)
2244 @$(MKDIR_P) hash/adler32
2246 .PHONY: hash/adler32/check
2248 hash/crc32.lo: $(go_hash_crc32_files) hash.gox os.gox
2250 hash/crc32/check: $(CHECK_DEPS)
2251 @$(MKDIR_P) hash/crc32
2253 .PHONY: hash/crc32/check
2255 hash/crc64.lo: $(go_hash_crc64_files) hash.gox os.gox
2257 hash/crc64/check: $(CHECK_DEPS)
2258 @$(MKDIR_P) hash/crc64
2260 .PHONY: hash/crc64/check
2262 http/pprof.lo: $(go_http_pprof_files) bufio.gox fmt.gox http.gox os.gox \
2263 runtime.gox runtime/pprof.gox strconv.gox strings.gox
2265 http/pprof/check: $(CHECK_DEPS)
2266 @$(MKDIR_P) http/pprof
2268 .PHONY: http/pprof/check
2270 image/jpeg.lo: $(go_image_jpeg_files) bufio.gox image.gox io.gox os.gox
2272 image/jpeg/check: $(CHECK_DEPS)
2273 @$(MKDIR_P) image/jpeg
2275 .PHONY: image/jpeg/check
2277 image/png.lo: $(go_image_png_files) bufio.gox compress/zlib.gox fmt.gox \
2278 hash.gox hash/crc32.gox image.gox io.gox os.gox strconv.gox
2280 image/png/check: $(CHECK_DEPS)
2281 @$(MKDIR_P) image/png
2283 .PHONY: image/png/check
2285 index/suffixarray.lo: $(go_index_suffixarray_files) bytes.gox regexp.gox \
2288 index/suffixarray/check: $(CHECK_DEPS)
2289 @$(MKDIR_P) index/suffixarray
2291 .PHONY: index/suffixarray/check
2293 io/ioutil.lo: $(go_io_ioutil_files) bytes.gox io.gox os.gox sort.gox \
2296 io/ioutil/check: $(CHECK_DEPS)
2297 @$(MKDIR_P) io/ioutil
2299 .PHONY: io/ioutil/check
2301 mime/multipart.lo: $(go_mime_multipart_files) bufio.gox bytes.gox io.gox \
2302 mime.gox os.gox regexp.gox strings.gox
2304 mime/multipart/check: $(CHECK_DEPS)
2305 @$(MKDIR_P) mime/multipart
2307 .PHONY: mime/multipart/check
2309 net/dict.lo: $(go_net_dict_files) container/vector.gox net/textproto.gox \
2310 os.gox strconv.gox strings.gox
2313 net/textproto.lo: $(go_net_textproto_files) bufio.gox bytes.gox \
2314 container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \
2315 os.gox strconv.gox sync.gox
2317 net/textproto/check: $(CHECK_DEPS)
2318 @$(MKDIR_P) net/textproto
2320 .PHONY: net/textproto/check
2322 os/inotify.lo: $(go_os_inotify_files) fmt.gox os.gox strings.gox syscall.gox
2324 os/inotify/check: $(CHECK_DEPS)
2325 @$(MKDIR_P) os/inotify
2327 .PHONY: os/inotify/check
2329 os/signal.lo: $(go_os_signal_files) runtime.gox strconv.gox
2331 os/signal/check: $(CHECK_DEPS)
2332 @$(MKDIR_P) os/signal
2334 .PHONY: os/signal/check
2336 unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go
2337 $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp
2340 rpc/jsonrpc.lo: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \
2341 os.gox rpc.gox sync.gox
2343 rpc/jsonrpc/check: $(CHECK_DEPS)
2344 @$(MKDIR_P) rpc/jsonrpc
2346 .PHONY: rpc/jsonrpc/check
2348 runtime/debug.lo: $(go_runtime_debug_files) bytes.gox fmt.gox io/ioutil.gox \
2351 runtime/debug/check: $(CHECK_DEPS)
2352 @$(MKDIR_P) runtime/debug
2354 .PHONY: runtime/debug/check
2356 runtime/pprof.lo: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \
2359 runtime/pprof/check: $(CHECK_DEPS)
2360 @$(MKDIR_P) runtime/pprof
2362 .PHONY: runtime/pprof/check
2364 testing/iotest.lo: $(go_testing_iotest_files) io.gox log.gox os.gox
2366 testing/iotest/check: $(CHECK_DEPS)
2367 @$(MKDIR_P) testing/iotest
2369 .PHONY: testing/iotest/check
2371 testing/quick.lo: $(go_testing_quick_files) flag.gox fmt.gox math.gox os.gox \
2372 rand.gox reflect.gox strings.gox
2374 testing/quick/check: $(CHECK_DEPS)
2375 @$(MKDIR_P) testing/quick
2377 .PHONY: testing/quick/check
2379 testing/script.lo: $(go_testing_script_files) fmt.gox os.gox rand.gox \
2380 reflect.gox strings.gox
2382 testing/script/check: $(CHECK_DEPS)
2383 @$(MKDIR_P) testing/script
2385 .PHONY: testing/script/check
2387 sysinfo.go: s-sysinfo; @true
2388 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
2389 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
2390 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
2393 syscalls/syscall.lo: $(go_syscall_files) sync.gox
2395 syscalls/errno.lo: $(go_syscall_c_files) syscalls/syscall.lo
2396 $(LTCOMPILE) -c -o $@ $(srcdir)/syscalls/errno.c
2398 # How to build a .gox file from a .lo file.
2400 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
2401 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
2403 asn1.gox: asn1/asn1.lo
2407 bufio.gox: bufio/bufio.lo
2409 bytes.gox: bytes/bytes.lo
2411 cmath.gox: cmath/cmath.lo
2413 ebnf.gox: ebnf/ebnf.lo
2415 exec.gox: exec/exec.lo
2417 expvar.gox: expvar/expvar.lo
2419 flag.gox: flag/flag.lo
2425 hash.gox: hash/hash.lo
2427 html.gox: html/html.lo
2429 http.gox: http/http.lo
2431 image.gox: image/image.lo
2435 json.gox: json/json.lo
2439 math.gox: math/math.lo
2441 mime.gox: mime/mime.lo
2445 netchan.gox: netchan/netchan.lo
2449 patch.gox: patch/patch.lo
2451 path.gox: path/path.lo
2453 rand.gox: rand/rand.lo
2455 reflect.gox: reflect/reflect.lo
2457 regexp.gox: regexp/regexp.lo
2461 runtime.gox: runtime/runtime.lo
2463 scanner.gox: scanner/scanner.lo
2465 smtp.gox: smtp/smtp.lo
2467 sort.gox: sort/sort.lo
2469 strconv.gox: strconv/strconv.lo
2471 strings.gox: strings/strings.lo
2473 sync.gox: sync/mutex.lo
2475 syslog.gox: syslog/syslog.lo
2477 syscall.gox: syscalls/syscall.lo
2479 tabwriter.gox: tabwriter/tabwriter.lo
2481 template.gox: template/template.lo
2483 testing.gox: testing/testing.lo
2485 time.gox: time/time.lo
2489 unicode.gox: unicode/unicode.lo
2491 utf16.gox: utf16/utf16.lo
2493 utf8.gox: utf8/utf8.lo
2495 websocket.gox: websocket/websocket.lo
2500 archive/tar.gox: archive/tar.lo
2502 archive/zip.gox: archive/zip.lo
2505 compress/flate.gox: compress/flate.lo
2507 compress/gzip.gox: compress/gzip.lo
2509 compress/zlib.gox: compress/zlib.lo
2512 container/heap.gox: container/heap.lo
2514 container/list.gox: container/list.lo
2516 container/ring.gox: container/ring.lo
2518 container/vector.gox: container/vector.lo
2521 crypto/aes.gox: crypto/aes.lo
2523 crypto/block.gox: crypto/block.lo
2525 crypto/blowfish.gox: crypto/blowfish.lo
2527 crypto/cast5.gox: crypto/cast5.lo
2529 crypto/cipher.gox: crypto/cipher.lo
2531 crypto/elliptic.gox: crypto/elliptic.lo
2533 crypto/hmac.gox: crypto/hmac.lo
2535 crypto/md4.gox: crypto/md4.lo
2537 crypto/md5.gox: crypto/md5.lo
2539 crypto/ocsp.gox: crypto/ocsp.lo
2541 crypto/rand.gox: crypto/rand.lo
2543 crypto/rc4.gox: crypto/rc4.lo
2545 crypto/ripemd160.gox: crypto/ripemd160.lo
2547 crypto/rsa.gox: crypto/rsa.lo
2549 crypto/sha1.gox: crypto/sha1.lo
2551 crypto/sha256.gox: crypto/sha256.lo
2553 crypto/sha512.gox: crypto/sha512.lo
2555 crypto/subtle.gox: crypto/subtle.lo
2557 crypto/tls.gox: crypto/tls.lo
2559 crypto/twofish.gox: crypto/twofish.lo
2561 crypto/x509.gox: crypto/x509.lo
2563 crypto/xtea.gox: crypto/xtea.lo
2566 crypto/openpgp/armor.gox: crypto/openpgp/armor.lo
2568 crypto/openpgp/error.gox: crypto/openpgp/error.lo
2570 crypto/openpgp/s2k.gox: crypto/openpgp/s2k.lo
2573 debug/dwarf.gox: debug/dwarf.lo
2575 debug/elf.gox: debug/elf.lo
2577 debug/gosym.gox: debug/gosym.lo
2579 debug/macho.gox: debug/macho.lo
2581 debug/pe.gox: debug/pe.lo
2583 debug/proc.gox: debug/proc.lo
2586 encoding/ascii85.gox: encoding/ascii85.lo
2588 encoding/base32.gox: encoding/base32.lo
2590 encoding/base64.gox: encoding/base64.lo
2592 encoding/binary.gox: encoding/binary.lo
2594 encoding/git85.gox: encoding/git85.lo
2596 encoding/hex.gox: encoding/hex.lo
2598 encoding/line.gox: encoding/line.lo
2600 encoding/pem.gox: encoding/pem.lo
2603 exp/datafmt.gox: exp/datafmt.lo
2605 exp/draw.gox: exp/draw.lo
2607 exp/eval.gox: exp/eval.lo
2610 go/ast.gox: go/ast.lo
2612 go/doc.gox: go/doc.lo
2614 go/parser.gox: go/parser.lo
2616 go/printer.gox: go/printer.lo
2618 go/scanner.gox: go/scanner.lo
2620 go/token.gox: go/token.lo
2622 go/typechecker.gox: go/typechecker.lo
2625 hash/adler32.gox: hash/adler32.lo
2627 hash/crc32.gox: hash/crc32.lo
2629 hash/crc64.gox: hash/crc64.lo
2632 http/pprof.gox: http/pprof.lo
2635 image/jpeg.gox: image/jpeg.lo
2637 image/png.gox: image/png.lo
2640 index/suffixarray.gox: index/suffixarray.lo
2643 io/ioutil.gox: io/ioutil.lo
2646 mime/multipart.gox: mime/multipart.lo
2649 net/dict.gox: net/dict.lo
2651 net/textproto.gox: net/textproto.lo
2654 os/inotify.gox: os/inotify.lo
2656 os/signal.gox: os/signal.lo
2659 rpc/jsonrpc.gox: rpc/jsonrpc.lo
2662 runtime/debug.gox: runtime/debug.lo
2664 runtime/pprof.gox: runtime/pprof.lo
2667 testing/iotest.gox: testing/iotest.lo
2669 testing/quick.gox: testing/quick.lo
2671 testing/script.gox: testing/script.lo
2675 # os_inotify_check = os/inotify/check
2694 $(if $(GCCGO_RUN_ALL_TESTS),http/check) \
2700 $(if $(GCCGO_RUN_ALL_TESTS),net/check) \
2716 $(if $(GCCGO_RUN_ALL_TESTS),syslog/check) \
2728 compress/flate/check \
2729 compress/gzip/check \
2730 compress/zlib/check \
2731 container/heap/check \
2732 container/list/check \
2733 container/ring/check \
2734 container/vector/check \
2736 crypto/block/check \
2737 crypto/blowfish/check \
2738 crypto/cast5/check \
2739 crypto/cipher/check \
2740 crypto/elliptic/check \
2747 crypto/ripemd160/check \
2750 crypto/sha256/check \
2751 crypto/sha512/check \
2752 crypto/subtle/check \
2754 crypto/twofish/check \
2757 crypto/openpgp/armor/check \
2758 crypto/openpgp/s2k/check \
2763 encoding/ascii85/check \
2764 encoding/base32/check \
2765 encoding/base64/check \
2766 encoding/binary/check \
2767 encoding/git85/check \
2768 encoding/hex/check \
2769 encoding/line/check \
2770 encoding/pem/check \
2778 go/typechecker/check \
2779 hash/adler32/check \
2783 index/suffixarray/check \
2785 mime/multipart/check \
2786 net/textproto/check \
2787 $(os_inotify_check) \
2790 testing/quick/check \
2791 testing/script/check
2793 check-recursive: $(TEST_PACKAGES)
2796 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
2797 find . -name '*.$(OBJEXT)' -print | xargs rm -f
2800 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
2801 find . -name '*.a' -print | xargs rm -f
2803 CLEANFILES = *.go *.gox goc2c *.c s-version