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-val-compare.c \
356 runtime/go-lock-os-thread.c \
357 runtime/go-map-delete.c \
358 runtime/go-map-index.c \
359 runtime/go-map-len.c \
360 runtime/go-map-range.c \
361 runtime/go-nanotime.c \
362 runtime/go-new-channel.c \
363 runtime/go-new-map.c \
367 runtime/go-panic-defer.c \
369 runtime/go-rec-big.c \
370 runtime/go-rec-nb-big.c \
371 runtime/go-rec-nb-small.c \
372 runtime/go-rec-small.c \
373 runtime/go-recover.c \
374 runtime/go-reflect.c \
375 runtime/go-reflect-call.c \
376 runtime/go-reflect-chan.c \
377 runtime/go-reflect-map.c \
379 runtime/go-runtime-error.c \
381 runtime/go-select.c \
382 runtime/go-semacquire.c \
383 runtime/go-send-big.c \
384 runtime/go-send-nb-big.c \
385 runtime/go-send-nb-small.c \
386 runtime/go-send-small.c \
387 runtime/go-signal.c \
388 runtime/go-strcmp.c \
389 runtime/go-string-to-byte-array.c \
390 runtime/go-string-to-int-array.c \
391 runtime/go-strplus.c \
392 runtime/go-strslice.c \
393 runtime/go-trampoline.c \
394 runtime/go-type-eface.c \
395 runtime/go-type-error.c \
396 runtime/go-type-identity.c \
397 runtime/go-type-interface.c \
398 runtime/go-type-string.c \
399 runtime/go-typedesc-equal.c \
400 runtime/go-typestring.c \
401 runtime/go-unreflect.c \
402 runtime/go-unsafe-new.c \
403 runtime/go-unsafe-newarray.c \
404 runtime/go-unsafe-pointer.c \
405 runtime/go-unwind.c \
408 $(runtime_mem_file) \
410 runtime/mfixalloc.c \
413 runtime/mheapmap32.c \
414 runtime/mheapmap64.c \
418 $(rtems_task_variable_add_file) \
428 goc2c.$(OBJEXT): runtime/goc2c.c
429 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
431 goc2c: goc2c.$(OBJEXT)
432 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
434 malloc.c: $(srcdir)/runtime/malloc.goc goc2c
435 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
438 mprof.c: $(srcdir)/runtime/mprof.goc goc2c
439 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
442 reflect.c: $(srcdir)/runtime/reflect.goc goc2c
443 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
446 sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
447 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
450 %.c: $(srcdir)/runtime/%.goc goc2c
451 ./goc2c --gcc $< > $@.tmp
471 go/bytes/bytes_decl.go
538 go/http/response.go \
541 go/http/transfer.go \
576 go/math/copysign.go \
579 go/math/exp_port.go \
589 go/math/hypot_port.go \
600 go/math/nextafter.go \
603 go/math/remainder.go \
609 go/math/sqrt_port.go \
616 go/mime/mediatype.go \
620 go_net_fd_os_file = go/net/fd_rtems.go
621 go_net_newpollserver_file = go/net/newpollserver_rtems.go
622 else # !LIBGO_IS_RTEMS
624 go_net_fd_os_file = go/net/fd_linux.go
625 go_net_newpollserver_file = go/net/newpollserver.go
626 else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
627 # By default use select with pipes. Most systems should have
629 go_net_fd_os_file = go/net/fd_rtems.go
630 go_net_newpollserver_file = go/net/newpollserver.go
631 endif # !LIBGO_IS_LINUX
632 endif # !LIBGO_IS_RTEMS
636 go/net/dnsclient.go \
637 go/net/dnsconfig.go \
639 $(go_net_newpollserver_file) \
641 $(go_net_fd_os_file) \
644 go/net/iprawsock.go \
656 go/netchan/common.go \
657 go/netchan/export.go \
695 go/reflect/deepequal.go \
708 go/runtime/debug.go \
709 go/runtime/error.go \
710 go/runtime/extern.go \
711 go/runtime/malloc_defs.go \
712 go/runtime/runtime_defs.go \
714 go/runtime/softfloat64.go \
718 version.go: s-version; @true
721 echo "package runtime" > version.go.tmp
722 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
723 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
724 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
725 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
726 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
730 go/scanner/scanner.go
744 go/strconv/decimal.go \
750 go/strings/reader.go \
751 go/strings/strings.go
763 go_tabwriter_files = \
764 go/tabwriter/tabwriter.go
766 go_template_files = \
767 go/template/format.go \
768 go/template/template.go
771 go/testing/benchmark.go \
772 go/testing/testing.go
779 go/time/zoneinfo_unix.go
785 go/unicode/casetables.go \
786 go/unicode/digit.go \
787 go/unicode/letter.go \
797 go_websocket_files = \
798 go/websocket/client.go \
799 go/websocket/server.go \
800 go/websocket/websocket.go
806 go_archive_tar_files = \
807 go/archive/tar/common.go \
808 go/archive/tar/reader.go \
809 go/archive/tar/writer.go
811 go_archive_zip_files = \
812 go/archive/zip/reader.go \
813 go/archive/zip/struct.go
815 go_compress_flate_files = \
816 go/compress/flate/deflate.go \
817 go/compress/flate/huffman_bit_writer.go \
818 go/compress/flate/huffman_code.go \
819 go/compress/flate/inflate.go \
820 go/compress/flate/reverse_bits.go \
821 go/compress/flate/token.go \
822 go/compress/flate/util.go
824 go_compress_gzip_files = \
825 go/compress/gzip/gzip.go \
826 go/compress/gzip/gunzip.go
828 go_compress_zlib_files = \
829 go/compress/zlib/reader.go \
830 go/compress/zlib/writer.go
832 go_container_heap_files = \
833 go/container/heap/heap.go
835 go_container_list_files = \
836 go/container/list/list.go
838 go_container_ring_files = \
839 go/container/ring/ring.go
841 go_container_vector_files = \
842 go/container/vector/defs.go \
843 go/container/vector/intvector.go \
844 go/container/vector/stringvector.go \
845 go/container/vector/vector.go
847 go_crypto_aes_files = \
848 go/crypto/aes/block.go \
849 go/crypto/aes/cipher.go \
850 go/crypto/aes/const.go
851 go_crypto_block_files = \
852 go/crypto/block/cbc.go \
853 go/crypto/block/cfb.go \
854 go/crypto/block/cmac.go \
855 go/crypto/block/cipher.go \
856 go/crypto/block/ctr.go \
857 go/crypto/block/eax.go \
858 go/crypto/block/ecb.go \
859 go/crypto/block/ofb.go \
860 go/crypto/block/xor.go
861 go_crypto_blowfish_files = \
862 go/crypto/blowfish/block.go \
863 go/crypto/blowfish/const.go \
864 go/crypto/blowfish/cipher.go
865 go_crypto_cast5_files = \
866 go/crypto/cast5/cast5.go
867 go_crypto_cipher_files = \
868 go/crypto/cipher/cbc.go \
869 go/crypto/cipher/cfb.go \
870 go/crypto/cipher/cipher.go \
871 go/crypto/cipher/ctr.go \
872 go/crypto/cipher/io.go \
873 go/crypto/cipher/ocfb.go \
874 go/crypto/cipher/ofb.go
875 go_crypto_elliptic_files = \
876 go/crypto/elliptic/elliptic.go
877 go_crypto_hmac_files = \
878 go/crypto/hmac/hmac.go
879 go_crypto_md4_files = \
880 go/crypto/md4/md4.go \
881 go/crypto/md4/md4block.go
882 go_crypto_md5_files = \
883 go/crypto/md5/md5.go \
884 go/crypto/md5/md5block.go
885 go_crypto_ocsp_files = \
886 go/crypto/ocsp/ocsp.go
887 go_crypto_rand_files = \
888 go/crypto/rand/rand.go \
889 go/crypto/rand/rand_unix.go
890 go_crypto_rc4_files = \
892 go_crypto_ripemd160_files = \
893 go/crypto/ripemd160/ripemd160.go \
894 go/crypto/ripemd160/ripemd160block.go
895 go_crypto_rsa_files = \
896 go/crypto/rsa/pkcs1v15.go \
898 go_crypto_sha1_files = \
899 go/crypto/sha1/sha1.go \
900 go/crypto/sha1/sha1block.go
901 go_crypto_sha256_files = \
902 go/crypto/sha256/sha256.go \
903 go/crypto/sha256/sha256block.go
904 go_crypto_sha512_files = \
905 go/crypto/sha512/sha512.go \
906 go/crypto/sha512/sha512block.go
907 go_crypto_subtle_files = \
908 go/crypto/subtle/constant_time.go
909 go_crypto_tls_files = \
910 go/crypto/tls/alert.go \
911 go/crypto/tls/ca_set.go \
912 go/crypto/tls/cipher_suites.go \
913 go/crypto/tls/common.go \
914 go/crypto/tls/conn.go \
915 go/crypto/tls/handshake_client.go \
916 go/crypto/tls/handshake_messages.go \
917 go/crypto/tls/handshake_server.go \
918 go/crypto/tls/key_agreement.go \
919 go/crypto/tls/prf.go \
921 go_crypto_twofish_files = \
922 go/crypto/twofish/twofish.go
923 go_crypto_x509_files = \
924 go/crypto/x509/x509.go
925 go_crypto_xtea_files = \
926 go/crypto/xtea/block.go \
927 go/crypto/xtea/cipher.go
929 go_crypto_openpgp_armor_files = \
930 go/crypto/openpgp/armor/armor.go \
931 go/crypto/openpgp/armor/encode.go
932 go_crypto_openpgp_error_files = \
933 go/crypto/openpgp/error/error.go
934 go_crypto_openpgp_s2k_files = \
935 go/crypto/openpgp/s2k/s2k.go
937 go_debug_dwarf_files = \
938 go/debug/dwarf/buf.go \
939 go/debug/dwarf/const.go \
940 go/debug/dwarf/entry.go \
941 go/debug/dwarf/open.go \
942 go/debug/dwarf/type.go \
943 go/debug/dwarf/unit.go
944 go_debug_elf_files = \
945 go/debug/elf/elf.go \
947 go_debug_gosym_files = \
948 go/debug/gosym/pclntab.go \
949 go/debug/gosym/symtab.go
950 go_debug_macho_files = \
951 go/debug/macho/file.go \
952 go/debug/macho/macho.go
953 go_debug_pe_files = \
954 go/debug/pe/file.go \
957 go_debug_proc_files = \
958 go/debug/proc/proc.go \
959 go/debug/proc/proc_$(GOOS).go \
960 $(GO_DEBUG_PROC_REGS_OS_ARCH_FILE)
962 go_encoding_ascii85_files = \
963 go/encoding/ascii85/ascii85.go
964 go_encoding_base32_files = \
965 go/encoding/base32/base32.go
966 go_encoding_base64_files = \
967 go/encoding/base64/base64.go
968 go_encoding_binary_files = \
969 go/encoding/binary/binary.go
970 go_encoding_git85_files = \
971 go/encoding/git85/git.go
972 go_encoding_hex_files = \
973 go/encoding/hex/hex.go
974 go_encoding_line_files = \
975 go/encoding/line/line.go
976 go_encoding_pem_files = \
977 go/encoding/pem/pem.go
979 go_exp_datafmt_files = \
980 go/exp/datafmt/datafmt.go \
981 go/exp/datafmt/parser.go
982 go_exp_draw_files = \
983 go/exp/draw/draw.go \
985 go_exp_eval_files = \
986 go/exp/eval/abort.go \
987 go/exp/eval/bridge.go \
988 go/exp/eval/compiler.go \
989 go/exp/eval/expr.go \
990 go/exp/eval/expr1.go \
991 go/exp/eval/func.go \
992 go/exp/eval/scope.go \
993 go/exp/eval/stmt.go \
994 go/exp/eval/type.go \
995 go/exp/eval/typec.go \
996 go/exp/eval/value.go \
1001 go/go/ast/filter.go \
1002 go/go/ast/print.go \
1003 go/go/ast/scope.go \
1006 go/go/doc/comment.go \
1008 go_go_parser_files = \
1009 go/go/parser/interface.go \
1010 go/go/parser/parser.go
1011 go_go_printer_files = \
1012 go/go/printer/nodes.go \
1013 go/go/printer/printer.go
1014 go_go_scanner_files = \
1015 go/go/scanner/errors.go \
1016 go/go/scanner/scanner.go
1017 go_go_token_files = \
1018 go/go/token/position.go \
1019 go/go/token/token.go
1020 go_go_typechecker_files = \
1021 go/go/typechecker/scope.go \
1022 go/go/typechecker/typechecker.go \
1023 go/go/typechecker/universe.go
1025 go_hash_adler32_files = \
1026 go/hash/adler32/adler32.go
1027 go_hash_crc32_files = \
1028 go/hash/crc32/crc32.go
1029 go_hash_crc64_files = \
1030 go/hash/crc64/crc64.go
1032 go_http_pprof_files = \
1033 go/http/pprof/pprof.go
1035 go_image_jpeg_files = \
1036 go/image/jpeg/huffman.go \
1037 go/image/jpeg/idct.go \
1038 go/image/jpeg/reader.go
1040 go_image_png_files = \
1041 go/image/png/reader.go \
1042 go/image/png/writer.go
1044 go_index_suffixarray_files = \
1045 go/index/suffixarray/qsufsort.go \
1046 go/index/suffixarray/suffixarray.go
1048 go_io_ioutil_files = \
1049 go/io/ioutil/ioutil.go \
1050 go/io/ioutil/tempfile.go
1052 go_mime_multipart_files = \
1053 go/mime/multipart/multipart.go
1055 go_net_dict_files = \
1058 go_net_textproto_files = \
1059 go/net/textproto/pipeline.go \
1060 go/net/textproto/reader.go \
1061 go/net/textproto/textproto.go \
1062 go/net/textproto/writer.go
1064 go_os_inotify_files = \
1065 go/os/inotify/inotify_linux.go
1067 go_os_signal_files = \
1068 go/os/signal/signal.go \
1071 go_rpc_jsonrpc_files = \
1072 go/rpc/jsonrpc/client.go \
1073 go/rpc/jsonrpc/server.go
1075 go_runtime_debug_files = \
1076 go/runtime/debug/stack.go
1077 go_runtime_pprof_files = \
1078 go/runtime/pprof/pprof.go
1080 go_testing_iotest_files = \
1081 go/testing/iotest/logger.go \
1082 go/testing/iotest/reader.go \
1083 go/testing/iotest/writer.go
1084 go_testing_quick_files = \
1085 go/testing/quick/quick.go
1086 go_testing_script_files = \
1087 go/testing/script/script.go
1089 # Define Syscall and Syscall6.
1091 syscall_syscall_file = syscalls/syscall_stubs.go
1093 syscall_syscall_file = syscalls/syscall.go
1096 # Declare libc functions that vary for largefile systems.
1098 # Always use lseek64 on GNU/Linux.
1099 syscall_filesize_file = syscalls/sysfile_largefile.go
1100 else # !LIBGO_IS_LINUX
1103 # Use lseek64 on 386 Solaris.
1104 syscall_filesize_file = syscalls/sysfile_largefile.go
1105 else # !LIBGO_IS_LINUX && LIBGO_IS_SOLARIS && !LIBGO_IS_386
1106 # Use lseek on amd64 Solaris.
1107 syscall_filesize_file = syscalls/sysfile_regfile.go
1108 endif # !LIBGO_IS_386
1109 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1110 # Use lseek by default.
1111 syscall_filesize_file = syscalls/sysfile_regfile.go
1112 endif # !LIBGO_IS_SOLARIS
1113 endif # !LIBGO_IS_LINUX
1116 # Define ForkExec, PtraceForkExec, Exec, and Wait4.
1118 syscall_exec_os_file = syscalls/exec_stubs.go
1120 syscall_exec_os_file = syscalls/exec.go
1125 syscall_sleep_file = syscalls/sleep_rtems.go
1127 syscall_sleep_file = syscalls/sleep_select.go
1132 syscall_errstr_file = syscalls/errstr_rtems.go
1134 syscall_errstr_file = syscalls/errstr.go
1137 # Declare libc_strerror_r which is the Go name for strerror_r.
1139 # RTEMS uses newlib in which strerror_r returns char *.
1140 syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go
1143 # In Linux the POSIX strerror_r is called __xpg_strerror_r.
1144 syscall_errstr_decl_file = syscalls/errstr_decl_linux.go
1146 # On other systems we hope strerror_r is just strerror_r.
1147 syscall_errstr_decl_file = syscalls/errstr_decl.go
1151 # Define socket sizes and types.
1153 syscall_socket_os_file = syscalls/socket_linux.go
1156 syscall_socket_os_file = syscalls/socket_solaris.go
1158 syscall_socket_os_file = syscalls/socket_bsd.go
1162 # Support for epoll.
1164 syscall_socket_epoll_file = syscalls/socket_epoll.go
1166 syscall_socket_epoll_file =
1169 syscall_arch.go: s-syscall_arch; @true
1170 s-syscall_arch: Makefile
1171 rm -f syscall_arch.go.tmp
1172 echo "package syscall" > syscall_arch.go.tmp
1173 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1174 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1175 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1178 go_syscall_files = \
1179 $(syscall_errstr_file) \
1180 $(syscall_errstr_decl_file) \
1181 syscalls/exec_helpers.go \
1182 $(syscall_exec_os_file) \
1183 $(syscall_filesize_file) \
1184 $(syscall_sleep_file) \
1185 syscalls/socket.go \
1186 $(syscall_socket_os_file) \
1187 $(syscall_socket_epoll_file) \
1188 $(syscall_syscall_file) \
1189 syscalls/syscall_unix.go \
1190 syscalls/stringbyte.go \
1191 syscalls/syscall_$(GOOS).go \
1192 $(GO_SYSCALLS_SYSCALL_OS_ARCH_FILE) \
1193 syscalls/sysfile_posix.go \
1196 go_syscall_c_files = \
1200 # os_lib_inotify_la = os/libinotify.la
1214 expvar/libexpvar.la \
1228 netchan/libnetchan.la \
1233 reflect/libreflect.la \
1234 regexp/libregexp.la \
1236 runtime/libruntime.la \
1237 scanner/libscanner.la \
1240 strconv/libstrconv.la \
1241 strings/libstrings.la \
1243 syslog/libsyslog.la \
1244 tabwriter/libtabwriter.la \
1245 template/libtemplate.la \
1248 unicode/libunicode.la \
1251 websocket/libwebsocket.la \
1255 compress/libflate.la \
1256 compress/libgzip.la \
1257 compress/libzlib.la \
1258 container/libheap.la \
1259 container/liblist.la \
1260 container/libring.la \
1261 container/libvector.la \
1263 crypto/libblock.la \
1264 crypto/libblowfish.la \
1265 crypto/libcast5.la \
1266 crypto/libcipher.la \
1267 crypto/libelliptic.la \
1274 crypto/libripemd160.la \
1277 crypto/libsha256.la \
1278 crypto/libsha512.la \
1279 crypto/libsubtle.la \
1281 crypto/libtwofish.la \
1284 crypto/openpgp/libarmor.la \
1285 crypto/openpgp/liberror.la \
1286 crypto/openpgp/libs2k.la \
1293 encoding/libascii85.la \
1294 encoding/libbase32.la \
1295 encoding/libbase64.la \
1296 encoding/libbinary.la \
1297 encoding/libgit85.la \
1298 encoding/libhex.la \
1299 encoding/libline.la \
1300 encoding/libpem.la \
1310 go/libtypechecker.la \
1311 hash/libadler32.la \
1317 index/libsuffixarray.la \
1319 mime/libmultipart.la \
1321 net/libtextproto.la \
1322 $(os_lib_inotify_la) \
1325 runtime/libdebug.la \
1326 runtime/libpprof.la \
1327 syscalls/libsyscall.la \
1328 testing/libtesting.la \
1329 testing/libiotest.la \
1330 testing/libquick.la \
1331 testing/libscript.la
1333 libgo_la_SOURCES = $(runtime_files)
1336 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1338 libgobegin_a_SOURCES = \
1341 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1343 GOCFLAGS = $(CFLAGS)
1344 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1345 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1347 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1348 $(AM_GOCFLAGS) $(GOCFLAGS)
1350 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1351 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1355 rm -f `echo $@ | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; \
1356 test -d $(@D) || $(MKDIR_P) $(@D); \
1358 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1359 if $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \
1360 $(AR) rc $@ $@.$(OBJEXT); \
1363 # Build a .la file from a .a file.
1375 @GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs -Wl,-R,`${PWD_COMMAND}`/.libs"; \
1377 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1378 export RUNTESTFLAGS; \
1382 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1383 test "$${prefix}" != "." || prefix="$(@D)"; \
1384 if test "$(use_dejagnu)" = "yes"; then \
1385 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
1387 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
1388 echo "PASS: $(@D)"; \
1390 echo "FAIL: $(@D)"; \
1396 # Build all packages before checking any.
1397 CHECK_DEPS = libgo.la libgobegin.a \
1398 $(toolexeclib_DATA) \
1399 $(toolexeclibarchive_DATA) \
1400 $(toolexeclibcompress_DATA) \
1401 $(toolexeclibcontainer_DATA) \
1402 $(toolexeclibcrypto_DATA) \
1403 $(toolexeclibdebug_DATA) \
1404 $(toolexeclibencoding_DATA) \
1405 $(toolexeclibexp_DATA) \
1406 $(toolexeclibgo_DATA) \
1407 $(toolexeclibhash_DATA) \
1408 $(toolexeclibhttp_DATA) \
1409 $(toolexeclibimage_DATA) \
1410 $(toolexeclibio_DATA) \
1411 $(toolexeclibos_DATA) \
1412 $(toolexeclibrpc_DATA) \
1413 $(toolexeclibruntime_DATA) \
1414 $(toolexeclibtesting_DATA)
1416 asn1/libasn1.a: $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1417 strconv.gox strings.gox time.gox
1419 asn1/libasn1.la: asn1/libasn1.a
1420 asn1/check: $(CHECK_DEPS)
1424 big/libbig.a: $(go_big_files) fmt.gox rand.gox strings.gox
1426 big/libbig.la: big/libbig.a
1427 big/check: $(CHECK_DEPS)
1431 bufio/libbufio.a: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox \
1434 bufio/libbufio.la: bufio/libbufio.a
1435 bufio/check: $(CHECK_DEPS)
1439 bytes/libbytes.a: $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \
1440 unicode.gox utf8.gox
1441 test -d bytes || $(MKDIR_P) bytes
1442 $(LTGOCOMPILE) -I . -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
1443 $(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c
1445 $(AR) rc $@ bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT)
1446 bytes/libbytes.la: bytes/libbytes.a
1447 $(LINK) bytes/bytes.lo bytes/index.lo
1448 bytes/check: $(CHECK_DEPS)
1452 cmath/libcmath.a: $(go_cmath_files) math.gox
1454 cmath/libcmath.la: cmath/libcmath.a
1455 cmath/check: $(CHECK_DEPS)
1459 ebnf/libebnf.a: $(go_ebnf_files) container/vector.gox go/scanner.gox \
1460 go/token.gox os.gox strconv.gox unicode.gox utf8.gox
1462 ebnf/libebnf.la: ebnf/libebnf.a
1463 ebnf/check: $(CHECK_DEPS)
1467 exec/libexec.a: $(go_exec_files) os.gox strings.gox
1469 exec/libexec.la: exec/libexec.a
1470 exec/check: $(CHECK_DEPS)
1474 expvar/libexpvar.a: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \
1475 log.gox os.gox runtime.gox strconv.gox sync.gox
1477 expvar/libexpvar.la: expvar/libexpvar.a
1478 expvar/check: $(CHECK_DEPS)
1480 .PHONY: expvar/check
1482 flag/libflag.a: $(go_flag_files) fmt.gox os.gox strconv.gox
1484 flag/libflag.la: flag/libflag.a
1485 flag/check: $(CHECK_DEPS)
1489 fmt/libfmt.a: $(go_fmt_files) bytes.gox io.gox os.gox reflect.gox strconv.gox \
1490 strings.gox unicode.gox utf8.gox
1492 fmt/libfmt.la: fmt/libfmt.a
1493 fmt/check: $(CHECK_DEPS)
1497 gob/libgob.a: $(go_gob_files) bytes.gox fmt.gox io.gox math.gox os.gox \
1498 reflect.gox runtime.gox strings.gox sync.gox unicode.gox \
1501 gob/libgob.la: gob/libgob.a
1502 gob/check: $(CHECK_DEPS)
1506 hash/libhash.a: $(go_hash_files) io.gox
1508 hash/libhash.la: hash/libhash.a
1509 hash/check: $(CHECK_DEPS)
1513 html/libhtml.a: $(go_html_files) bytes.gox io.gox os.gox strconv.gox \
1514 strings.gox utf8.gox
1516 html/libhtml.la: html/libhtml.a
1517 html/check: $(CHECK_DEPS)
1521 http/libhttp.a: $(go_http_files) bufio.gox bytes.gox container/list.gox \
1522 container/vector.gox crypto/rand.gox crypto/tls.gox \
1523 encoding/base64.gox fmt.gox io.gox io/ioutil.gox log.gox \
1524 mime.gox mime/multipart.gox net.gox os.gox path.gox sort.gox \
1525 strconv.gox strings.gox sync.gox time.gox utf8.gox
1527 http/libhttp.la: http/libhttp.a
1528 http/check: $(CHECK_DEPS)
1532 image/libimage.a: $(go_image_files) bufio.gox io.gox os.gox strconv.gox
1534 image/libimage.la: image/libimage.a
1535 image/check: $(CHECK_DEPS)
1539 io/libio.a: $(go_io_files) os.gox runtime.gox sync.gox
1541 io/libio.la: io/libio.a
1542 io/check: $(CHECK_DEPS)
1546 json/libjson.a: $(go_json_files) bytes.gox container/vector.gox fmt.gox \
1547 io.gox math.gox os.gox reflect.gox runtime.gox strconv.gox \
1548 strings.gox unicode.gox utf16.gox utf8.gox
1550 json/libjson.la: json/libjson.a
1551 json/check: $(CHECK_DEPS)
1555 log/liblog.a: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \
1558 log/liblog.la: log/liblog.a
1559 log/check: $(CHECK_DEPS)
1563 math/libmath.a: $(go_math_files)
1565 math/libmath.la: math/libmath.a
1566 math/check: $(CHECK_DEPS)
1570 mime/libmime.a: $(go_mime_files) bufio.gox bytes.gox os.gox strings.gox \
1571 sync.gox unicode.gox
1573 mime/libmime.la: mime/libmime.a
1574 mime/check: $(CHECK_DEPS)
1578 net/libnet.a: $(go_net_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
1579 strconv.gox strings.gox sync.gox syscall.gox
1581 net/libnet.la: net/libnet.a
1582 net/check: $(CHECK_DEPS)
1586 netchan/libnetchan.a: $(go_netchan_files) gob.gox log.gox net.gox os.gox \
1587 reflect.gox strconv.gox sync.gox time.gox
1589 netchan/libnetchan.la: netchan/libnetchan.a
1590 netchan/check: $(CHECK_DEPS)
1592 .PHONY: netchan/check
1594 os/libos.a: $(go_os_files) sync.gox syscall.gox
1596 os/libos.la: os/libos.a
1597 os/check: $(CHECK_DEPS)
1601 patch/libpatch.a: $(go_patch_files) bytes.gox compress/zlib.gox \
1602 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
1603 path.gox strings.gox
1605 patch/libpatch.la: patch/libpatch.a
1606 patch/check: $(CHECK_DEPS)
1610 path/libpath.a: $(go_path_files) io/ioutil.gox os.gox sort.gox strings.gox \
1613 path/libpath.la: path/libpath.a
1614 path/check: $(CHECK_DEPS)
1618 rand/librand.a: $(go_rand_files) math.gox sync.gox
1620 rand/librand.la: rand/librand.a
1621 rand/check: $(CHECK_DEPS)
1625 reflect/libreflect.a: $(go_reflect_files) math.gox runtime.gox strconv.gox \
1628 reflect/libreflect.la: reflect/libreflect.a
1629 reflect/check: $(CHECK_DEPS)
1631 .PHONY: reflect/check
1633 regexp/libregexp.a: $(go_regexp_files) bytes.gox io.gox os.gox strings.gox \
1636 regexp/libregexp.la: regexp/libregexp.a
1637 regexp/check: $(CHECK_DEPS)
1639 .PHONY: regexp/check
1641 rpc/librpc.a: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox \
1642 log.gox net.gox os.gox reflect.gox sort.gox strings.gox \
1643 strconv.gox sync.gox template.gox unicode.gox utf8.gox
1645 rpc/librpc.la: rpc/librpc.a
1646 rpc/check: $(CHECK_DEPS)
1650 runtime/libruntime.a: $(go_runtime_files)
1652 runtime/libruntime.la: runtime/libruntime.a
1653 runtime/check: $(CHECK_DEPS)
1655 .PHONY: runtime/check
1657 scanner/libscanner.a: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \
1658 unicode.gox utf8.gox
1660 scanner/libscanner.la: scanner/libscanner.a
1661 scanner/check: $(CHECK_DEPS)
1663 .PHONY: scanner/check
1665 smtp/libsmtp.a: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \
1666 net.gox net/textproto.gox os.gox strings.gox
1668 smtp/libsmtp.la: smtp/libsmtp.a
1669 smtp/check: $(CHECK_DEPS)
1673 sort/libsort.a: $(go_sort_files)
1675 sort/libsort.la: sort/libsort.a
1676 sort/check: $(CHECK_DEPS)
1680 strconv/libstrconv.a: $(go_strconv_files) bytes.gox math.gox os.gox \
1681 strings.gox unicode.gox utf8.gox
1683 strconv/libstrconv.la: strconv/libstrconv.a
1684 strconv/check: $(CHECK_DEPS)
1686 .PHONY: strconv/check
1688 strings/libstrings.a: $(go_strings_files) os.gox unicode.gox utf8.gox
1690 strings/libstrings.la: strings/libstrings.a
1691 strings/check: $(CHECK_DEPS)
1693 .PHONY: strings/check
1695 sync/libsync.a: $(go_sync_files) $(go_sync_c_files) runtime.gox
1696 test -d sync || $(MKDIR_P) sync
1697 $(LTGOCOMPILE) -I . -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
1698 $(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c
1700 $(AR) rc $@ sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT)
1701 sync/libsync.la: sync/libsync.a
1702 $(LINK) sync/mutex.lo sync/cas.lo
1703 sync/check: $(CHECK_DEPS)
1707 syslog/libsyslog.a: $(go_syslog_files) fmt.gox log.gox net.gox os.gox
1709 syslog/libsyslog.la: syslog/libsyslog.a
1710 syslog/check: $(CHECK_DEPS)
1712 .PHONY: syslog/check
1714 tabwriter/libtabwriter.a: $(go_tabwriter_files) bytes.gox io.gox os.gox \
1717 tabwriter/libtabwriter.la: tabwriter/libtabwriter.a
1718 tabwriter/check: $(CHECK_DEPS)
1720 .PHONY: tabwriter/check
1722 template/libtemplate.a: $(go_template_files) bytes.gox fmt.gox io.gox os.gox \
1723 reflect.gox runtime.gox strings.gox container/vector.gox
1725 template/libtemplate.la: template/libtemplate.a
1726 template/check: $(CHECK_DEPS)
1728 .PHONY: template/check
1730 testing/libtesting.a: $(go_testing_files) flag.gox fmt.gox os.gox regexp.gox \
1731 runtime.gox time.gox
1733 testing/libtesting.la: testing/libtesting.a
1734 testing/check: $(CHECK_DEPS)
1736 .PHONY: testing/check
1738 time/libtime.a: $(go_time_files) bytes.gox container/heap.gox io/ioutil.gox \
1739 os.gox strconv.gox sync.gox syscall.gox
1741 time/libtime.la: time/libtime.a
1742 time/check: $(CHECK_DEPS)
1746 try/libtry.a: $(go_try_files) fmt.gox io.gox os.gox reflect.gox unicode.gox
1748 try/libtry.la: try/libtry.a
1749 try/check: $(CHECK_DEPS)
1753 unicode/libunicode.a: $(go_unicode_files)
1755 unicode/libunicode.la: unicode/libunicode.a
1756 unicode/check: $(CHECK_DEPS)
1758 .PHONY: unicode/check
1760 utf16/libutf16.a: $(go_utf16_files) unicode.gox
1762 utf16/libutf16.la: utf16/libutf16.a
1763 utf16/check: $(CHECK_DEPS)
1767 utf8/libutf8.a: $(go_utf8_files) unicode.gox
1769 utf8/libutf8.la: utf8/libutf8.a
1770 utf8/check: $(CHECK_DEPS)
1774 websocket/libwebsocket.a: $(go_websocket_files) bufio.gox bytes.gox \
1775 container/vector.gox crypto/md5.gox crypto/tls.gox \
1776 encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \
1777 rand.gox strings.gox
1779 websocket/libwebsocket.la: websocket/libwebsocket.a
1780 websocket/check: $(CHECK_DEPS)
1782 .PHONY: websocket/check
1784 xml/libxml.a: $(go_xml_files) bufio.gox bytes.gox fmt.gox io.gox os.gox \
1785 reflect.gox strconv.gox strings.gox unicode.gox utf8.gox
1787 xml/libxml.la: xml/libxml.a
1788 xml/check: $(CHECK_DEPS)
1792 archive/libtar.a: $(go_archive_tar_files) bytes.gox io.gox os.gox strconv.gox \
1795 archive/libtar.la: archive/libtar.a
1796 archive/tar/check: $(CHECK_DEPS)
1797 @$(MKDIR_P) archive/tar
1799 .PHONY: archive/tar/check
1801 archive/libzip.a: $(go_archive_zip_files) bufio.gox bytes.gox \
1802 compress/flate.gox hash.gox hash/crc32.gox \
1803 encoding/binary.gox io.gox os.gox
1805 archive/libzip.la: archive/libzip.a
1806 archive/zip/check: $(CHECK_DEPS)
1807 @$(MKDIR_P) archive/zip
1809 .PHONY: archive/zip/check
1811 compress/libflate.a: $(go_compress_flate_files) bufio.gox io.gox math.gox \
1812 os.gox sort.gox strconv.gox
1814 compress/libflate.la: compress/libflate.a
1815 compress/flate/check: $(CHECK_DEPS)
1816 @$(MKDIR_P) compress/flate
1818 .PHONY: compress/flate/check
1820 compress/libgzip.a: $(go_compress_gzip_files) bufio.gox compress/flate.gox \
1821 hash.gox hash/crc32.gox io.gox os.gox
1823 compress/libgzip.la: compress/libgzip.a
1824 compress/gzip/check: $(CHECK_DEPS)
1825 @$(MKDIR_P) compress/gzip
1827 .PHONY: compress/gzip/check
1829 compress/libzlib.a: $(go_compress_zlib_files) bufio.gox compress/flate.gox \
1830 hash.gox hash/adler32.gox io.gox os.gox
1832 compress/libzlib.la: compress/libzlib.a
1833 compress/zlib/check: $(CHECK_DEPS)
1834 @$(MKDIR_P) compress/zlib
1836 .PHONY: compress/zlib/check
1838 container/libheap.a: $(go_container_heap_files) sort.gox
1840 container/libheap.la: container/libheap.a
1841 container/heap/check: $(CHECK_DEPS)
1842 @$(MKDIR_P) container/heap
1844 .PHONY: container/heap/check
1846 container/liblist.a: $(go_container_list_files)
1848 container/liblist.la: container/liblist.a
1849 container/list/check: $(CHECK_DEPS)
1850 @$(MKDIR_P) container/list
1852 .PHONY: container/list/check
1854 container/libring.a: $(go_container_ring_files)
1856 container/libring.la: container/libring.a
1857 container/ring/check: $(CHECK_DEPS)
1858 @$(MKDIR_P) container/ring
1860 .PHONY: container/ring/check
1862 container/libvector.a: $(go_container_vector_files)
1864 container/libvector.la: container/libvector.a
1865 container/vector/check: $(CHECK_DEPS)
1866 @$(MKDIR_P) container/vector
1868 .PHONY: container/vector/check
1870 crypto/libaes.a: $(go_crypto_aes_files) os.gox strconv.gox
1872 crypto/libaes.la: crypto/libaes.a
1873 crypto/aes/check: $(CHECK_DEPS)
1874 @$(MKDIR_P) crypto/aes
1876 .PHONY: crypto/aes/check
1878 crypto/libblock.a: $(go_crypto_block_files) fmt.gox io.gox os.gox strconv.gox
1880 crypto/libblock.la: crypto/libblock.a
1881 crypto/block/check: $(CHECK_DEPS)
1882 @$(MKDIR_P) crypto/block
1884 .PHONY: crypto/block/check
1886 crypto/libblowfish.a: $(go_crypto_blowfish_files) os.gox strconv.gox
1888 crypto/libblowfish.la: crypto/libblowfish.a
1889 crypto/blowfish/check: $(CHECK_DEPS)
1890 @$(MKDIR_P) crypto/blowfish
1892 .PHONY: crypto/blowfish/check
1894 crypto/libcast5.a: $(go_crypto_cast5_files) os.gox
1896 crypto/libcast5.la: crypto/libcast5.a
1897 crypt/cast5/check: $(CHECK_DEPS)
1898 @$(MKDIR_P) crypto/cast5
1900 .PHONY: crypto/cast5/check
1902 crypto/libcipher.a: $(go_crypto_cipher_files) io.gox os.gox
1904 crypto/libcipher.la: crypto/libcipher.a
1905 crypto/cipher/check: $(CHECK_DEPS)
1906 @$(MKDIR_P) crypto/cipher
1908 .PHONY: crypto/cipher/check
1910 crypto/libelliptic.a: $(go_crypto_elliptic_files) big.gox io.gox os.gox \
1913 crypto/libelliptic.la: crypto/libelliptic.a
1914 crypto/elliptic/check: $(CHECK_DEPS)
1915 @$(MKDIR_P) crypto/elliptic
1917 .PHONY: crypto/elliptic/check
1919 crypto/libhmac.a: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \
1920 crypto/sha256.gox hash.gox os.gox
1922 crypto/libhmac.la: crypto/libhmac.a
1923 crypto/hmac/check: $(CHECK_DEPS)
1924 @$(MKDIR_P) crypto/hmac
1926 .PHONY: crypto/hmac/check
1928 crypto/libmd4.a: $(go_crypto_md4_files) hash.gox os.gox
1930 crypto/libmd4.la: crypto/libmd4.a
1931 crypto/md4/check: $(CHECK_DEPS)
1932 @$(MKDIR_P) crypto/md4
1934 .PHONY: crypto/md4/check
1936 crypto/libmd5.a: $(go_crypto_md5_files) hash.gox os.gox
1938 crypto/libmd5.la: crypto/libmd5.a
1939 crypto/md5/check: $(CHECK_DEPS)
1940 @$(MKDIR_P) crypto/md5
1942 .PHONY: crypto/md5/check
1944 crypto/libocsp.a: $(go_crypto_ocsp_files) asn1.gox crypto/rsa.gox \
1945 crypto/sha1.gox crypto/x509.gox os.gox time.gox
1947 crypto/libocsp.la: crypto/libocsp.a
1948 crypto/ocsp/check: $(CHECK_DEPS)
1949 @$(MKDIR_P) crypto/ocsp
1951 .PHONY: crypto/ocsp/check
1953 crypto/librand.a: $(go_crypto_rand_files) crypto/aes.gox io.gox os.gox \
1956 crypto/librand.la: crypto/librand.a
1957 crypto/rand/check: $(CHECK_DEPS)
1958 @$(MKDIR_P) crypto/rand
1960 .PHONY: crypto/rand/check
1962 crypto/librc4.a: $(go_crypto_rc4_files) os.gox strconv.gox
1964 crypto/librc4.la: crypto/librc4.a
1965 crypto/rc4/check: $(CHECK_DEPS)
1966 @$(MKDIR_P) crypto/rc4
1968 .PHONY: crypto/rc4/check
1970 crypto/libripemd160.a: $(go_crypto_ripemd160_files) hash.gox os.gox
1972 crypto/libripemd160.la: crypto/libripemd160.a
1973 crypto/ripemd160/check: $(CHECK_DEPS)
1974 @$(MKDIR_P) crypto/ripemd160
1976 .PHONY: crypto/ripemd160/check
1978 crypto/librsa.a: $(go_crypto_rsa_files) big.gox crypto/sha1.gox \
1979 crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox
1981 crypto/librsa.la: crypto/librsa.a
1982 crypto/rsa/check: $(CHECK_DEPS)
1983 @$(MKDIR_P) crypto/rsa
1985 .PHONY: crypto/rsa/check
1987 crypto/libsha1.a: $(go_crypto_sha1_files) hash.gox os.gox
1989 crypto/libsha1.la: crypto/libsha1.a
1990 crypto/sha1/check: $(CHECK_DEPS)
1991 @$(MKDIR_P) crypto/sha1
1993 .PHONY: crypto/sha1/check
1995 crypto/libsha256.a: $(go_crypto_sha256_files) hash.gox os.gox
1997 crypto/libsha256.la: crypto/libsha256.a
1998 crypto/sha256/check: $(CHECK_DEPS)
1999 @$(MKDIR_P) crypto/sha256
2001 .PHONY: crypto/sha256/check
2003 crypto/libsha512.a: $(go_crypto_sha512_files) hash.gox os.gox
2005 crypto/libsha512.la: crypto/libsha512.a
2006 crypto/sha512/check: $(CHECK_DEPS)
2007 @$(MKDIR_P) crypto/sha512
2009 .PHONY: crypto/sha512/check
2011 crypto/libsubtle.a: $(go_crypto_subtle_files)
2013 crypto/libsubtle.la: crypto/libsubtle.a
2014 crypto/subtle/check: $(CHECK_DEPS)
2015 @$(MKDIR_P) crypto/subtle
2017 .PHONY: crypto/subtle/check
2019 crypto/libtls.a: $(go_crypto_tls_files) big.gox bufio.gox bytes.gox \
2020 container/list.gox crypto/aes.gox crypto/cipher.gox \
2021 crypto/elliptic.gox crypto/hmac.gox crypto/md5.gox \
2022 crypto/rc4.gox crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
2023 crypto/subtle.gox crypto/rsa.gox crypto/sha1.gox \
2024 crypto/x509.gox encoding/pem.gox fmt.gox hash.gox io.gox \
2025 io/ioutil.gox net.gox os.gox strings.gox sync.gox time.gox
2027 crypto/libtls.la: crypto/libtls.a
2028 crypto/tls/check: $(CHECK_DEPS)
2029 @$(MKDIR_P) crypto/tls
2031 .PHONY: crypto/tls/check
2033 crypto/libtwofish.a: $(go_crypto_twofish_files) os.gox strconv.gox
2035 crypto/libtwofish.la: crypto/libtwofish.a
2036 crypto/twofish/check: $(CHECK_DEPS)
2037 @$(MKDIR_P) crypto/twofish
2039 .PHONY: crypto/twofish/check
2041 crypto/libx509.a: $(go_crypto_x509_files) asn1.gox big.gox \
2042 container/vector.gox crypto/rsa.gox crypto/sha1.gox hash.gox \
2043 os.gox strings.gox time.gox
2045 crypto/libx509.la: crypto/libx509.a
2046 crypto/x509/check: $(CHECK_DEPS)
2047 @$(MKDIR_P) crypto/x509
2049 .PHONY: crypto/x509/check
2051 crypto/libxtea.a: $(go_crypto_xtea_files) os.gox strconv.gox
2053 crypto/libxtea.la: crypto/libxtea.a
2054 crypto/xtea/check: $(CHECK_DEPS)
2055 @$(MKDIR_P) crypto/xtea
2057 .PHONY: crypto/xtea/check
2059 crypto/openpgp/libarmor.a: $(go_crypto_openpgp_armor_files) bytes.gox \
2060 crypto/openpgp/error.gox encoding/base64.gox \
2061 encoding/line.gox io.gox os.gox
2063 crypto/openpgp/libarmor.la: crypto/openpgp/libarmor.a
2064 crypto/openpgp/armor/check: $(CHECK_DEPS)
2065 @$(MKDIR_P) crypto/openpgp/armor
2067 .PHONY: crypto/openpgp/armor/check
2069 crypto/openpgp/liberror.a: $(go_crypto_openpgp_error_files)
2071 crypto/openpgp/liberror.la: crypto/openpgp/liberror.a
2072 crypto/openpgp/error/check: $(CHECK_DEPS)
2073 @$(MKDIR_P) crypto/openpgp/error
2075 .PHONY: crypto/openpgp/error/check
2077 crypto/openpgp/libs2k.a: $(go_crypto_openpgp_s2k_files) crypto/md5.gox \
2078 crypto/openpgp/error.gox crypto/ripemd160.gox crypto/sha1.gox \
2079 crypto/sha256.gox crypto/sha512.gox hash.gox io.gox os.gox
2081 crypto/openpgp/libs2k.la: crypto/openpgp/libs2k.a
2082 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2083 @$(MKDIR_P) crypto/openpgp/s2k
2085 .PHONY: crypto/openpgp/s2k/check
2087 debug/libdwarf.a: $(go_debug_dwarf_files) encoding/binary.gox os.gox \
2090 debug/libdwarf.la: debug/libdwarf.a
2091 debug/dwarf/check: $(CHECK_DEPS)
2092 @$(MKDIR_P) debug/dwarf
2094 .PHONY: debug/dwarf/check
2096 debug/libelf.a: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
2097 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2099 debug/libelf.la: debug/libelf.a
2100 debug/elf/check: $(CHECK_DEPS)
2101 @$(MKDIR_P) debug/elf
2103 .PHONY: debug/elf/check
2105 debug/libgosym.a: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \
2106 strconv.gox strings.gox
2108 debug/libgosym.la: debug/libgosym.a
2109 debug/gosym/check: $(CHECK_DEPS)
2110 @$(MKDIR_P) debug/gosym
2112 .PHONY: debug/gosym/check
2114 debug/libmacho.a: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
2115 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2117 debug/libmacho.la: debug/libmacho.a
2118 debug/macho/check: $(CHECK_DEPS)
2119 @$(MKDIR_P) debug/macho
2121 .PHONY: debug/macho/check
2123 debug/libpe.a: $(go_debug_pe_files) debug/dwarf.gox encoding/binary.gox \
2124 fmt.gox io.gox os.gox strconv.gox
2126 debug/libpe.la: debug/libpe.a
2127 debug/pe/check: $(CHECK_DEPS)
2128 @$(MKDIR_P) debug/pe
2130 .PHONY: debug/pe/check
2132 debug/libproc.a: $(go_debug_proc_files) container/vector.gox fmt.gox \
2133 io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \
2134 sync.gox syscall.gox
2136 debug/libproc.la: debug/libproc.a
2137 debug/proc/check: $(CHECK_DEPS)
2138 @$(MKDIR_P) debug/proc
2140 .PHONY: debug/proc/check
2142 encoding/libascii85.a: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox
2144 encoding/libascii85.la: encoding/libascii85.a
2145 encoding/ascii85/check: $(CHECK_DEPS)
2146 @$(MKDIR_P) encoding/ascii85
2148 .PHONY: encoding/ascii85/check
2150 encoding/libbase32.a: $(go_encoding_base32_files) io.gox os.gox strconv.gox
2152 encoding/libbase32.la: encoding/libbase32.a
2153 encoding/base32/check: $(CHECK_DEPS)
2154 @$(MKDIR_P) encoding/base32
2156 .PHONY: encoding/base32/check
2158 encoding/libbase64.a: $(go_encoding_base64_files) io.gox os.gox strconv.gox
2160 encoding/libbase64.la: encoding/libbase64.a
2161 encoding/base64/check: $(CHECK_DEPS)
2162 @$(MKDIR_P) encoding/base64
2164 .PHONY: encoding/base64/check
2166 encoding/libbinary.a: $(go_encoding_binary_files) io.gox math.gox os.gox \
2169 encoding/libbinary.la: encoding/libbinary.a
2170 encoding/binary/check: $(CHECK_DEPS)
2171 @$(MKDIR_P) encoding/binary
2173 .PHONY: encoding/binary/check
2175 encoding/libgit85.a: $(go_encoding_git85_files) bytes.gox io.gox os.gox \
2178 encoding/libgit85.la: encoding/libgit85.a
2179 encoding/git85/check: $(CHECK_DEPS)
2180 @$(MKDIR_P) encoding/git85
2182 .PHONY: encoding/git85/check
2184 encoding/libhex.a: $(go_encoding_hex_files) os.gox strconv.gox
2186 encoding/libhex.la: encoding/libhex.a
2187 encoding/hex/check: $(CHECK_DEPS)
2188 @$(MKDIR_P) encoding/hex
2190 .PHONY: encoding/hex/check
2192 encoding/libline.a: $(go_encoding_line_files) io.gox os.gox
2194 encoding/libline.la: encoding/libline.a
2195 encoding/line/check: $(CHECK_DEPS)
2196 @$(MKDIR_P) encoding/line
2198 .PHONY: encoding/line/check
2200 encoding/libpem.a: $(go_encoding_pem_files) bytes.gox encoding/base64.gox
2202 encoding/libpem.la: encoding/libpem.a
2203 encoding/pem/check: $(CHECK_DEPS)
2204 @$(MKDIR_P) encoding/pem
2206 .PHONY: encoding/pem/check
2208 exp/libdatafmt.a: $(go_exp_datafmt_files) bytes.gox container/vector.gox \
2209 fmt.gox go/scanner.gox go/token.gox io.gox os.gox reflect.gox \
2210 runtime.gox strconv.gox strings.gox
2212 exp/libdatafmt.la: exp/libdatafmt.a
2213 exp/datafmt/check: $(CHECK_DEPS)
2214 @$(MKDIR_P) exp/datafmt
2216 .PHONY: exp/datafmt/check
2218 exp/libdraw.a: $(go_exp_draw_files) image.gox os.gox
2220 exp/libdraw.la: exp/libdraw.a
2221 exp/draw/check: $(CHECK_DEPS)
2222 @$(MKDIR_P) exp/draw
2224 .PHONY: exp/draw/check
2226 exp/libeval.a: $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \
2227 go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \
2228 strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox
2230 exp/libeval.la: exp/libeval.a
2231 exp/eval/check: $(CHECK_DEPS)
2232 @$(MKDIR_P) exp/eval
2234 .PHONY: exp/eval/check
2236 go/libast.a: $(go_go_ast_files) fmt.gox go/token.gox io.gox os.gox \
2237 reflect.gox unicode.gox utf8.gox
2239 go/libast.la: go/libast.a
2240 go/ast/check: $(CHECK_DEPS)
2243 .PHONY: go/ast/check
2245 go/libdoc.a: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \
2246 sort.gox strings.gox template.gox
2248 go/libdoc.la: go/libdoc.a
2249 go/doc/check: $(CHECK_DEPS)
2252 .PHONY: go/doc/check
2254 go/libparser.a: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2255 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2256 path.gox strings.gox
2258 go/libparser.la: go/libparser.a
2259 go/parser/check: $(CHECK_DEPS)
2260 @$(MKDIR_P) go/parser
2262 .PHONY: go/parser/check
2264 go/libprinter.a: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2265 go/token.gox io.gox os.gox reflect.gox runtime.gox \
2266 strings.gox tabwriter.gox
2268 go/libprinter.la: go/libprinter.a
2269 go/printer/check: $(CHECK_DEPS)
2270 @$(MKDIR_P) go/printer
2272 .PHONY: go/printer/check
2274 go/libscanner.a: $(go_go_scanner_files) bytes.gox container/vector.gox fmt.gox \
2275 go/token.gox io.gox os.gox path.gox sort.gox strconv.gox \
2276 unicode.gox utf8.gox
2278 go/libscanner.la: go/libscanner.a
2279 go/scanner/check: $(CHECK_DEPS)
2280 @$(MKDIR_P) go/scanner
2282 .PHONY: go/scanner/check
2284 go/libtoken.a: $(go_go_token_files) fmt.gox strconv.gox
2286 go/libtoken.la: go/libtoken.a
2287 go/token/check: $(CHECK_DEPS)
2288 @$(MKDIR_P) go/token
2290 .PHONY: go/token/check
2292 go/libtypechecker.a: $(go_go_typechecker_files) fmt.gox go/ast.gox \
2293 go/token.gox go/scanner.gox os.gox
2295 go/libtypechecker.la: go/libtypechecker.a
2296 go/typechecker/check: $(CHECK_DEPS)
2297 @$(MKDIR_P) go/typechecker
2299 .PHONY: go/typechecker/check
2301 hash/libadler32.a: $(go_hash_adler32_files) hash.gox os.gox
2303 hash/libadler32.la: hash/libadler32.a
2304 hash/adler32/check: $(CHECK_DEPS)
2305 @$(MKDIR_P) hash/adler32
2307 .PHONY: hash/adler32/check
2309 hash/libcrc32.a: $(go_hash_crc32_files) hash.gox os.gox
2311 hash/libcrc32.la: hash/libcrc32.a
2312 hash/crc32/check: $(CHECK_DEPS)
2313 @$(MKDIR_P) hash/crc32
2315 .PHONY: hash/crc32/check
2317 hash/libcrc64.a: $(go_hash_crc64_files) hash.gox os.gox
2319 hash/libcrc64.la: hash/libcrc64.a
2320 hash/crc64/check: $(CHECK_DEPS)
2321 @$(MKDIR_P) hash/crc64
2323 .PHONY: hash/crc64/check
2325 http/libpprof.a: $(go_http_pprof_files) bufio.gox fmt.gox http.gox os.gox \
2326 runtime.gox runtime/pprof.gox strconv.gox strings.gox
2328 http/libpprof.la: http/libpprof.a
2329 http/pprof/check: $(CHECK_DEPS)
2330 @$(MKDIR_P) http/pprof
2332 .PHONY: http/pprof/check
2334 image/libjpeg.a: $(go_image_jpeg_files) bufio.gox image.gox io.gox os.gox
2336 image/libjpeg.la: image/libjpeg.a
2337 image/jpeg/check: $(CHECK_DEPS)
2338 @$(MKDIR_P) image/jpeg
2340 .PHONY: image/jpeg/check
2342 image/libpng.a: $(go_image_png_files) bufio.gox compress/zlib.gox fmt.gox \
2343 hash.gox hash/crc32.gox image.gox io.gox os.gox strconv.gox
2345 image/libpng.la: image/libpng.a
2346 image/png/check: $(CHECK_DEPS)
2347 @$(MKDIR_P) image/png
2349 .PHONY: image/png/check
2351 index/libsuffixarray.a: $(go_index_suffixarray_files) bytes.gox regexp.gox \
2354 index/libsuffixarray.la: index/libsuffixarray.a
2355 index/suffixarray/check: $(CHECK_DEPS)
2356 @$(MKDIR_P) index/suffixarray
2358 .PHONY: index/suffixarray/check
2360 io/libioutil.a: $(go_io_ioutil_files) bytes.gox io.gox os.gox sort.gox \
2363 io/libioutil.la: io/libioutil.a
2364 io/ioutil/check: $(CHECK_DEPS)
2365 @$(MKDIR_P) io/ioutil
2367 .PHONY: io/ioutil/check
2369 mime/libmultipart.a: $(go_mime_multipart_files) bufio.gox bytes.gox io.gox \
2370 mime.gox os.gox regexp.gox strings.gox
2372 mime/libmultipart.la: mime/libmultipart.a
2373 mime/multipart/check: $(CHECK_DEPS)
2374 @$(MKDIR_P) mime/multipart
2376 .PHONY: mime/multipart/check
2378 net/libdict.a: $(go_net_dict_files) container/vector.gox net/textproto.gox \
2379 os.gox strconv.gox strings.gox
2381 net/libdict.la: net/libdict.a
2383 net/libtextproto.a: $(go_net_textproto_files) bufio.gox bytes.gox \
2384 container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \
2385 os.gox strconv.gox sync.gox
2387 net/libtextproto.la: net/libtextproto.a
2388 net/textproto/check: $(CHECK_DEPS)
2389 @$(MKDIR_P) net/textproto
2391 .PHONY: net/textproto/check
2393 os/libinotify.a: $(go_os_inotify_files) fmt.gox os.gox strings.gox \
2396 os/libinotify.la: os/libinotify.a
2397 os/inotify/check: $(CHECK_DEPS)
2398 @$(MKDIR_P) os/inotify
2400 .PHONY: os/inotify/check
2402 os/libsignal.a: $(go_os_signal_files) runtime.gox strconv.gox
2404 os/libsignal.la: os/libsignal.a
2405 os/signal/check: $(CHECK_DEPS)
2406 @$(MKDIR_P) os/signal
2408 .PHONY: os/signal/check
2410 unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go
2411 $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp
2414 rpc/libjsonrpc.a: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \
2415 os.gox rpc.gox sync.gox
2417 rpc/libjsonrpc.la: rpc/libjsonrpc.a
2418 rpc/jsonrpc/check: $(CHECK_DEPS)
2419 @$(MKDIR_P) rpc/jsonrpc
2421 .PHONY: rpc/jsonrpc/check
2423 runtime/libdebug.a: $(go_runtime_debug_files) bytes.gox fmt.gox io/ioutil.gox \
2426 runtime/libdebug.la: runtime/libdebug.a
2427 runtime/debug/check: $(CHECK_DEPS)
2428 @$(MKDIR_P) runtime/debug
2430 .PHONY: runtime/debug/check
2432 runtime/libpprof.a: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \
2435 runtime/libpprof.la: runtime/libpprof.a
2436 runtime/pprof/check: $(CHECK_DEPS)
2437 @$(MKDIR_P) runtime/pprof
2439 .PHONY: runtime/pprof/check
2441 testing/libiotest.a: $(go_testing_iotest_files) io.gox log.gox os.gox
2443 testing/libiotest.la: testing/libiotest.a
2444 testing/iotest/check: $(CHECK_DEPS)
2445 @$(MKDIR_P) testing/iotest
2447 .PHONY: testing/iotest/check
2449 testing/libquick.a: $(go_testing_quick_files) flag.gox fmt.gox math.gox \
2450 os.gox rand.gox reflect.gox strings.gox
2452 testing/libquick.la: testing/libquick.a
2453 testing/quick/check: $(CHECK_DEPS)
2454 @$(MKDIR_P) testing/quick
2456 .PHONY: testing/quick/check
2458 testing/libscript.a: $(go_testing_script_files) fmt.gox os.gox rand.gox \
2459 reflect.gox strings.gox
2461 testing/libscript.la: testing/libscript.a
2462 testing/script/check: $(CHECK_DEPS)
2463 @$(MKDIR_P) testing/script
2465 .PHONY: testing/script/check
2467 sysinfo.go: s-sysinfo; @true
2468 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
2469 CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh
2470 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
2473 syscalls/libsyscall.a: $(go_syscall_files) $(go_syscall_c_files) sync.gox
2474 rm -f syscall.gox syscalls/libsyscall.a
2475 test -d syscalls || $(MKDIR_P) syscalls
2476 files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
2477 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
2478 $(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c
2479 $(AR) rc syscalls/libsyscall.a syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT)
2480 syscalls/libsyscall.la: syscalls/libsyscall.a
2481 $(LINK) syscalls/syscall.lo syscalls/errno.lo
2483 # How to build a .gox file from a .a file.
2486 rm -f $@.$(OBJEXT); \
2487 $(CC) -r -nostdlib -o $@.$(OBJEXT) -Wl,--whole-archive $<; \
2488 $(OBJCOPY) -j .go_export $@.$(OBJEXT) $@.tmp; \
2492 asn1.gox: asn1/libasn1.a
2494 big.gox: big/libbig.a
2496 bufio.gox: bufio/libbufio.a
2498 bytes.gox: bytes/libbytes.a
2500 cmath.gox: cmath/libcmath.a
2502 ebnf.gox: ebnf/libebnf.a
2504 exec.gox: exec/libexec.a
2506 expvar.gox: expvar/libexpvar.a
2508 flag.gox: flag/libflag.a
2510 fmt.gox: fmt/libfmt.a
2512 gob.gox: gob/libgob.a
2514 hash.gox: hash/libhash.a
2516 html.gox: html/libhtml.a
2518 http.gox: http/libhttp.a
2520 image.gox: image/libimage.a
2524 json.gox: json/libjson.a
2526 log.gox: log/liblog.a
2528 math.gox: math/libmath.a
2530 mime.gox: mime/libmime.a
2532 net.gox: net/libnet.a
2534 netchan.gox: netchan/libnetchan.a
2538 patch.gox: patch/libpatch.a
2540 path.gox: path/libpath.a
2542 rand.gox: rand/librand.a
2544 reflect.gox: reflect/libreflect.a
2546 regexp.gox: regexp/libregexp.a
2548 rpc.gox: rpc/librpc.a
2550 runtime.gox: runtime/libruntime.a
2552 scanner.gox: scanner/libscanner.a
2554 smtp.gox: smtp/libsmtp.a
2556 sort.gox: sort/libsort.a
2558 strconv.gox: strconv/libstrconv.a
2560 strings.gox: strings/libstrings.a
2562 sync.gox: sync/libsync.a
2564 syslog.gox: syslog/libsyslog.a
2566 syscall.gox: syscalls/libsyscall.a
2568 tabwriter.gox: tabwriter/libtabwriter.a
2570 template.gox: template/libtemplate.a
2572 testing.gox: testing/libtesting.a
2574 time.gox: time/libtime.a
2576 try.gox: try/libtry.a
2578 unicode.gox: unicode/libunicode.a
2580 utf16.gox: utf16/libutf16.a
2582 utf8.gox: utf8/libutf8.a
2584 websocket.gox: websocket/libwebsocket.a
2586 xml.gox: xml/libxml.a
2589 archive/tar.gox: archive/libtar.a
2591 archive/zip.gox: archive/libzip.a
2594 compress/flate.gox: compress/libflate.a
2596 compress/gzip.gox: compress/libgzip.a
2598 compress/zlib.gox: compress/libzlib.a
2601 container/heap.gox: container/libheap.a
2603 container/list.gox: container/liblist.a
2605 container/ring.gox: container/libring.a
2607 container/vector.gox: container/libvector.a
2610 crypto/aes.gox: crypto/libaes.a
2612 crypto/block.gox: crypto/libblock.a
2614 crypto/blowfish.gox: crypto/libblowfish.a
2616 crypto/cast5.gox: crypto/libcast5.a
2618 crypto/cipher.gox: crypto/libcipher.a
2620 crypto/elliptic.gox: crypto/libelliptic.a
2622 crypto/hmac.gox: crypto/libhmac.a
2624 crypto/md4.gox: crypto/libmd4.a
2626 crypto/md5.gox: crypto/libmd5.a
2628 crypto/ocsp.gox: crypto/libocsp.a
2630 crypto/rand.gox: crypto/librand.a
2632 crypto/rc4.gox: crypto/librc4.a
2634 crypto/ripemd160.gox: crypto/libripemd160.a
2636 crypto/rsa.gox: crypto/librsa.a
2638 crypto/sha1.gox: crypto/libsha1.a
2640 crypto/sha256.gox: crypto/libsha256.a
2642 crypto/sha512.gox: crypto/libsha512.a
2644 crypto/subtle.gox: crypto/libsubtle.a
2646 crypto/tls.gox: crypto/libtls.a
2648 crypto/twofish.gox: crypto/libtwofish.a
2650 crypto/x509.gox: crypto/libx509.a
2652 crypto/xtea.gox: crypto/libxtea.a
2655 crypto/openpgp/armor.gox: crypto/openpgp/libarmor.a
2657 crypto/openpgp/error.gox: crypto/openpgp/liberror.a
2659 crypto/openpgp/s2k.gox: crypto/openpgp/libs2k.a
2662 debug/dwarf.gox: debug/libdwarf.a
2664 debug/elf.gox: debug/libelf.a
2666 debug/gosym.gox: debug/libgosym.a
2668 debug/macho.gox: debug/libmacho.a
2670 debug/pe.gox: debug/libpe.a
2672 debug/proc.gox: debug/libproc.a
2675 encoding/ascii85.gox: encoding/libascii85.a
2677 encoding/base32.gox: encoding/libbase32.a
2679 encoding/base64.gox: encoding/libbase64.a
2681 encoding/binary.gox: encoding/libbinary.a
2683 encoding/git85.gox: encoding/libgit85.a
2685 encoding/hex.gox: encoding/libhex.a
2687 encoding/line.gox: encoding/libline.a
2689 encoding/pem.gox: encoding/libpem.a
2692 exp/datafmt.gox: exp/libdatafmt.a
2694 exp/draw.gox: exp/libdraw.a
2696 exp/eval.gox: exp/libeval.a
2699 go/ast.gox: go/libast.a
2701 go/doc.gox: go/libdoc.a
2703 go/parser.gox: go/libparser.a
2705 go/printer.gox: go/libprinter.a
2707 go/scanner.gox: go/libscanner.a
2709 go/token.gox: go/libtoken.a
2711 go/typechecker.gox: go/libtypechecker.a
2714 hash/adler32.gox: hash/libadler32.a
2716 hash/crc32.gox: hash/libcrc32.a
2718 hash/crc64.gox: hash/libcrc64.a
2721 http/pprof.gox: http/libpprof.a
2724 image/jpeg.gox: image/libjpeg.a
2726 image/png.gox: image/libpng.a
2729 index/suffixarray.gox: index/libsuffixarray.a
2732 io/ioutil.gox: io/libioutil.a
2735 mime/multipart.gox: mime/libmultipart.a
2738 net/dict.gox: net/libdict.a
2740 net/textproto.gox: net/libtextproto.a
2743 os/inotify.gox: os/libinotify.a
2745 os/signal.gox: os/libsignal.a
2748 rpc/jsonrpc.gox: rpc/libjsonrpc.a
2751 runtime/debug.gox: runtime/libdebug.a
2753 runtime/pprof.gox: runtime/libpprof.a
2756 testing/iotest.gox: testing/libiotest.a
2758 testing/quick.gox: testing/libquick.a
2760 testing/script.gox: testing/libscript.a
2764 # os_inotify_check = os/inotify/check
2817 compress/flate/check \
2818 compress/gzip/check \
2819 compress/zlib/check \
2820 container/heap/check \
2821 container/list/check \
2822 container/ring/check \
2823 container/vector/check \
2825 crypto/block/check \
2826 crypto/blowfish/check \
2827 crypto/cast5/check \
2828 crypto/cipher/check \
2829 crypto/elliptic/check \
2836 crypto/ripemd160/check \
2839 crypto/sha256/check \
2840 crypto/sha512/check \
2841 crypto/subtle/check \
2843 crypto/twofish/check \
2846 crypto/openpgp/armor/check \
2847 crypto/openpgp/s2k/check \
2852 encoding/ascii85/check \
2853 encoding/base32/check \
2854 encoding/base64/check \
2855 encoding/binary/check \
2856 encoding/git85/check \
2857 encoding/hex/check \
2858 encoding/line/check \
2859 encoding/pem/check \
2867 go/typechecker/check \
2868 hash/adler32/check \
2872 index/suffixarray/check \
2874 mime/multipart/check \
2875 net/textproto/check \
2876 $(os_inotify_check) \
2879 testing/quick/check \
2880 testing/script/check
2882 check-recursive: $(TEST_PACKAGES)
2885 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
2886 find . -name '*.$(OBJEXT)' -print | xargs rm -f
2889 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
2890 find . -name '*.a' -print | xargs rm -f
2892 CLEANFILES = *.go *.gox goc2c *.c s-version