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 \
661 go_os_sys_file = go/os/sys_linux.go
664 go_os_sys_file = go/os/sys_uname.go
667 go_os_sys_file = go/os/sys_uname.go
669 go_os_sys_file = go/os/sys_bsd.go
709 go/reflect/deepequal.go \
722 go/runtime/debug.go \
723 go/runtime/error.go \
724 go/runtime/extern.go \
725 go/runtime/malloc_defs.go \
726 go/runtime/runtime_defs.go \
728 go/runtime/softfloat64.go \
732 version.go: s-version; @true
735 echo "package runtime" > version.go.tmp
736 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
737 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
738 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
739 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
740 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
744 go/scanner/scanner.go
758 go/strconv/decimal.go \
764 go/strings/reader.go \
765 go/strings/strings.go
777 go_tabwriter_files = \
778 go/tabwriter/tabwriter.go
780 go_template_files = \
781 go/template/format.go \
782 go/template/template.go
785 go/testing/benchmark.go \
786 go/testing/testing.go
793 go/time/zoneinfo_unix.go
799 go/unicode/casetables.go \
800 go/unicode/digit.go \
801 go/unicode/letter.go \
811 go_websocket_files = \
812 go/websocket/client.go \
813 go/websocket/server.go \
814 go/websocket/websocket.go
820 go_archive_tar_files = \
821 go/archive/tar/common.go \
822 go/archive/tar/reader.go \
823 go/archive/tar/writer.go
825 go_archive_zip_files = \
826 go/archive/zip/reader.go \
827 go/archive/zip/struct.go
829 go_compress_flate_files = \
830 go/compress/flate/deflate.go \
831 go/compress/flate/huffman_bit_writer.go \
832 go/compress/flate/huffman_code.go \
833 go/compress/flate/inflate.go \
834 go/compress/flate/reverse_bits.go \
835 go/compress/flate/token.go \
836 go/compress/flate/util.go
838 go_compress_gzip_files = \
839 go/compress/gzip/gzip.go \
840 go/compress/gzip/gunzip.go
842 go_compress_zlib_files = \
843 go/compress/zlib/reader.go \
844 go/compress/zlib/writer.go
846 go_container_heap_files = \
847 go/container/heap/heap.go
849 go_container_list_files = \
850 go/container/list/list.go
852 go_container_ring_files = \
853 go/container/ring/ring.go
855 go_container_vector_files = \
856 go/container/vector/defs.go \
857 go/container/vector/intvector.go \
858 go/container/vector/stringvector.go \
859 go/container/vector/vector.go
861 go_crypto_aes_files = \
862 go/crypto/aes/block.go \
863 go/crypto/aes/cipher.go \
864 go/crypto/aes/const.go
865 go_crypto_block_files = \
866 go/crypto/block/cbc.go \
867 go/crypto/block/cfb.go \
868 go/crypto/block/cmac.go \
869 go/crypto/block/cipher.go \
870 go/crypto/block/ctr.go \
871 go/crypto/block/eax.go \
872 go/crypto/block/ecb.go \
873 go/crypto/block/ofb.go \
874 go/crypto/block/xor.go
875 go_crypto_blowfish_files = \
876 go/crypto/blowfish/block.go \
877 go/crypto/blowfish/const.go \
878 go/crypto/blowfish/cipher.go
879 go_crypto_cast5_files = \
880 go/crypto/cast5/cast5.go
881 go_crypto_cipher_files = \
882 go/crypto/cipher/cbc.go \
883 go/crypto/cipher/cfb.go \
884 go/crypto/cipher/cipher.go \
885 go/crypto/cipher/ctr.go \
886 go/crypto/cipher/io.go \
887 go/crypto/cipher/ocfb.go \
888 go/crypto/cipher/ofb.go
889 go_crypto_elliptic_files = \
890 go/crypto/elliptic/elliptic.go
891 go_crypto_hmac_files = \
892 go/crypto/hmac/hmac.go
893 go_crypto_md4_files = \
894 go/crypto/md4/md4.go \
895 go/crypto/md4/md4block.go
896 go_crypto_md5_files = \
897 go/crypto/md5/md5.go \
898 go/crypto/md5/md5block.go
899 go_crypto_ocsp_files = \
900 go/crypto/ocsp/ocsp.go
901 go_crypto_rand_files = \
902 go/crypto/rand/rand.go \
903 go/crypto/rand/rand_unix.go
904 go_crypto_rc4_files = \
906 go_crypto_ripemd160_files = \
907 go/crypto/ripemd160/ripemd160.go \
908 go/crypto/ripemd160/ripemd160block.go
909 go_crypto_rsa_files = \
910 go/crypto/rsa/pkcs1v15.go \
912 go_crypto_sha1_files = \
913 go/crypto/sha1/sha1.go \
914 go/crypto/sha1/sha1block.go
915 go_crypto_sha256_files = \
916 go/crypto/sha256/sha256.go \
917 go/crypto/sha256/sha256block.go
918 go_crypto_sha512_files = \
919 go/crypto/sha512/sha512.go \
920 go/crypto/sha512/sha512block.go
921 go_crypto_subtle_files = \
922 go/crypto/subtle/constant_time.go
923 go_crypto_tls_files = \
924 go/crypto/tls/alert.go \
925 go/crypto/tls/ca_set.go \
926 go/crypto/tls/cipher_suites.go \
927 go/crypto/tls/common.go \
928 go/crypto/tls/conn.go \
929 go/crypto/tls/handshake_client.go \
930 go/crypto/tls/handshake_messages.go \
931 go/crypto/tls/handshake_server.go \
932 go/crypto/tls/key_agreement.go \
933 go/crypto/tls/prf.go \
935 go_crypto_twofish_files = \
936 go/crypto/twofish/twofish.go
937 go_crypto_x509_files = \
938 go/crypto/x509/x509.go
939 go_crypto_xtea_files = \
940 go/crypto/xtea/block.go \
941 go/crypto/xtea/cipher.go
943 go_crypto_openpgp_armor_files = \
944 go/crypto/openpgp/armor/armor.go \
945 go/crypto/openpgp/armor/encode.go
946 go_crypto_openpgp_error_files = \
947 go/crypto/openpgp/error/error.go
948 go_crypto_openpgp_s2k_files = \
949 go/crypto/openpgp/s2k/s2k.go
951 go_debug_dwarf_files = \
952 go/debug/dwarf/buf.go \
953 go/debug/dwarf/const.go \
954 go/debug/dwarf/entry.go \
955 go/debug/dwarf/open.go \
956 go/debug/dwarf/type.go \
957 go/debug/dwarf/unit.go
958 go_debug_elf_files = \
959 go/debug/elf/elf.go \
961 go_debug_gosym_files = \
962 go/debug/gosym/pclntab.go \
963 go/debug/gosym/symtab.go
964 go_debug_macho_files = \
965 go/debug/macho/file.go \
966 go/debug/macho/macho.go
967 go_debug_pe_files = \
968 go/debug/pe/file.go \
971 go_debug_proc_files = \
972 go/debug/proc/proc.go \
973 go/debug/proc/proc_$(GOOS).go \
974 $(GO_DEBUG_PROC_REGS_OS_ARCH_FILE)
976 go_encoding_ascii85_files = \
977 go/encoding/ascii85/ascii85.go
978 go_encoding_base32_files = \
979 go/encoding/base32/base32.go
980 go_encoding_base64_files = \
981 go/encoding/base64/base64.go
982 go_encoding_binary_files = \
983 go/encoding/binary/binary.go
984 go_encoding_git85_files = \
985 go/encoding/git85/git.go
986 go_encoding_hex_files = \
987 go/encoding/hex/hex.go
988 go_encoding_line_files = \
989 go/encoding/line/line.go
990 go_encoding_pem_files = \
991 go/encoding/pem/pem.go
993 go_exp_datafmt_files = \
994 go/exp/datafmt/datafmt.go \
995 go/exp/datafmt/parser.go
996 go_exp_draw_files = \
997 go/exp/draw/draw.go \
999 go_exp_eval_files = \
1000 go/exp/eval/abort.go \
1001 go/exp/eval/bridge.go \
1002 go/exp/eval/compiler.go \
1003 go/exp/eval/expr.go \
1004 go/exp/eval/expr1.go \
1005 go/exp/eval/func.go \
1006 go/exp/eval/scope.go \
1007 go/exp/eval/stmt.go \
1008 go/exp/eval/type.go \
1009 go/exp/eval/typec.go \
1010 go/exp/eval/value.go \
1011 go/exp/eval/world.go
1015 go/go/ast/filter.go \
1016 go/go/ast/print.go \
1017 go/go/ast/scope.go \
1020 go/go/doc/comment.go \
1022 go_go_parser_files = \
1023 go/go/parser/interface.go \
1024 go/go/parser/parser.go
1025 go_go_printer_files = \
1026 go/go/printer/nodes.go \
1027 go/go/printer/printer.go
1028 go_go_scanner_files = \
1029 go/go/scanner/errors.go \
1030 go/go/scanner/scanner.go
1031 go_go_token_files = \
1032 go/go/token/position.go \
1033 go/go/token/token.go
1034 go_go_typechecker_files = \
1035 go/go/typechecker/scope.go \
1036 go/go/typechecker/typechecker.go \
1037 go/go/typechecker/universe.go
1039 go_hash_adler32_files = \
1040 go/hash/adler32/adler32.go
1041 go_hash_crc32_files = \
1042 go/hash/crc32/crc32.go
1043 go_hash_crc64_files = \
1044 go/hash/crc64/crc64.go
1046 go_http_pprof_files = \
1047 go/http/pprof/pprof.go
1049 go_image_jpeg_files = \
1050 go/image/jpeg/huffman.go \
1051 go/image/jpeg/idct.go \
1052 go/image/jpeg/reader.go
1054 go_image_png_files = \
1055 go/image/png/reader.go \
1056 go/image/png/writer.go
1058 go_index_suffixarray_files = \
1059 go/index/suffixarray/qsufsort.go \
1060 go/index/suffixarray/suffixarray.go
1062 go_io_ioutil_files = \
1063 go/io/ioutil/ioutil.go \
1064 go/io/ioutil/tempfile.go
1066 go_mime_multipart_files = \
1067 go/mime/multipart/multipart.go
1069 go_net_dict_files = \
1072 go_net_textproto_files = \
1073 go/net/textproto/pipeline.go \
1074 go/net/textproto/reader.go \
1075 go/net/textproto/textproto.go \
1076 go/net/textproto/writer.go
1078 go_os_inotify_files = \
1079 go/os/inotify/inotify_linux.go
1081 go_os_signal_files = \
1082 go/os/signal/signal.go \
1085 go_rpc_jsonrpc_files = \
1086 go/rpc/jsonrpc/client.go \
1087 go/rpc/jsonrpc/server.go
1089 go_runtime_debug_files = \
1090 go/runtime/debug/stack.go
1091 go_runtime_pprof_files = \
1092 go/runtime/pprof/pprof.go
1094 go_testing_iotest_files = \
1095 go/testing/iotest/logger.go \
1096 go/testing/iotest/reader.go \
1097 go/testing/iotest/writer.go
1098 go_testing_quick_files = \
1099 go/testing/quick/quick.go
1100 go_testing_script_files = \
1101 go/testing/script/script.go
1103 # Define Syscall and Syscall6.
1105 syscall_syscall_file = syscalls/syscall_stubs.go
1107 syscall_syscall_file = syscalls/syscall.go
1110 # Declare libc functions that vary for largefile systems.
1112 # Always use lseek64 on GNU/Linux.
1113 syscall_filesize_file = syscalls/sysfile_largefile.go
1114 else # !LIBGO_IS_LINUX
1117 # Use lseek64 on 386 Solaris.
1118 syscall_filesize_file = syscalls/sysfile_largefile.go
1119 else # !LIBGO_IS_LINUX && LIBGO_IS_SOLARIS && !LIBGO_IS_386
1120 # Use lseek on amd64 Solaris.
1121 syscall_filesize_file = syscalls/sysfile_regfile.go
1122 endif # !LIBGO_IS_386
1123 else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1124 # Use lseek by default.
1125 syscall_filesize_file = syscalls/sysfile_regfile.go
1126 endif # !LIBGO_IS_SOLARIS
1127 endif # !LIBGO_IS_LINUX
1130 # Define ForkExec, PtraceForkExec, Exec, and Wait4.
1132 syscall_exec_os_file = syscalls/exec_stubs.go
1134 syscall_exec_os_file = syscalls/exec.go
1139 syscall_sleep_file = syscalls/sleep_rtems.go
1141 syscall_sleep_file = syscalls/sleep_select.go
1146 syscall_errstr_file = syscalls/errstr_rtems.go
1148 syscall_errstr_file = syscalls/errstr.go
1151 # Declare libc_strerror_r which is the Go name for strerror_r.
1153 # RTEMS uses newlib in which strerror_r returns char *.
1154 syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go
1157 # In Linux the POSIX strerror_r is called __xpg_strerror_r.
1158 syscall_errstr_decl_file = syscalls/errstr_decl_linux.go
1160 # On other systems we hope strerror_r is just strerror_r.
1161 syscall_errstr_decl_file = syscalls/errstr_decl.go
1165 # Define socket sizes and types.
1167 syscall_socket_os_file = syscalls/socket_linux.go
1170 syscall_socket_os_file = syscalls/socket_solaris.go
1172 syscall_socket_os_file = syscalls/socket_bsd.go
1176 # Support for epoll.
1178 syscall_socket_epoll_file = syscalls/socket_epoll.go
1180 syscall_socket_epoll_file =
1183 syscall_arch.go: s-syscall_arch; @true
1184 s-syscall_arch: Makefile
1185 rm -f syscall_arch.go.tmp
1186 echo "package syscall" > syscall_arch.go.tmp
1187 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
1188 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
1189 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1192 go_syscall_files = \
1193 $(syscall_errstr_file) \
1194 $(syscall_errstr_decl_file) \
1195 syscalls/exec_helpers.go \
1196 $(syscall_exec_os_file) \
1197 $(syscall_filesize_file) \
1198 $(syscall_sleep_file) \
1199 syscalls/socket.go \
1200 $(syscall_socket_os_file) \
1201 $(syscall_socket_epoll_file) \
1202 $(syscall_syscall_file) \
1203 syscalls/syscall_unix.go \
1204 syscalls/stringbyte.go \
1205 syscalls/syscall_$(GOOS).go \
1206 $(GO_SYSCALLS_SYSCALL_OS_ARCH_FILE) \
1207 syscalls/sysfile_posix.go \
1210 go_syscall_c_files = \
1214 # os_lib_inotify_la = os/libinotify.la
1228 expvar/libexpvar.la \
1242 netchan/libnetchan.la \
1247 reflect/libreflect.la \
1248 regexp/libregexp.la \
1250 runtime/libruntime.la \
1251 scanner/libscanner.la \
1254 strconv/libstrconv.la \
1255 strings/libstrings.la \
1257 syslog/libsyslog.la \
1258 tabwriter/libtabwriter.la \
1259 template/libtemplate.la \
1262 unicode/libunicode.la \
1265 websocket/libwebsocket.la \
1269 compress/libflate.la \
1270 compress/libgzip.la \
1271 compress/libzlib.la \
1272 container/libheap.la \
1273 container/liblist.la \
1274 container/libring.la \
1275 container/libvector.la \
1277 crypto/libblock.la \
1278 crypto/libblowfish.la \
1279 crypto/libcast5.la \
1280 crypto/libcipher.la \
1281 crypto/libelliptic.la \
1288 crypto/libripemd160.la \
1291 crypto/libsha256.la \
1292 crypto/libsha512.la \
1293 crypto/libsubtle.la \
1295 crypto/libtwofish.la \
1298 crypto/openpgp/libarmor.la \
1299 crypto/openpgp/liberror.la \
1300 crypto/openpgp/libs2k.la \
1307 encoding/libascii85.la \
1308 encoding/libbase32.la \
1309 encoding/libbase64.la \
1310 encoding/libbinary.la \
1311 encoding/libgit85.la \
1312 encoding/libhex.la \
1313 encoding/libline.la \
1314 encoding/libpem.la \
1324 go/libtypechecker.la \
1325 hash/libadler32.la \
1331 index/libsuffixarray.la \
1333 mime/libmultipart.la \
1335 net/libtextproto.la \
1336 $(os_lib_inotify_la) \
1339 runtime/libdebug.la \
1340 runtime/libpprof.la \
1341 syscalls/libsyscall.la \
1342 testing/libtesting.la \
1343 testing/libiotest.la \
1344 testing/libquick.la \
1345 testing/libscript.la
1347 libgo_la_SOURCES = $(runtime_files)
1350 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
1352 libgobegin_a_SOURCES = \
1355 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1357 GOCFLAGS = $(CFLAGS)
1358 AM_GOCFLAGS = $(STRINGOPS_FLAG)
1359 GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1361 LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1362 $(AM_GOCFLAGS) $(GOCFLAGS)
1364 GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
1365 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
1367 # Build a package. This builds a .o and a .lo.
1369 rm -f `echo $@ | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; \
1370 test -d $(@D) || $(MKDIR_P) $(@D); \
1372 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1373 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
1375 # Build a .la file from a .lo file.
1387 @GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs -Wl,-R,`${PWD_COMMAND}`/.libs"; \
1389 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1390 export RUNTESTFLAGS; \
1394 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1395 test "$${prefix}" != "." || prefix="$(@D)"; \
1396 if test "$(use_dejagnu)" = "yes"; then \
1397 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
1399 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
1400 echo "PASS: $(@D)"; \
1402 echo "FAIL: $(@D)"; \
1408 # Build all packages before checking any.
1409 CHECK_DEPS = libgo.la libgobegin.a \
1410 $(toolexeclib_DATA) \
1411 $(toolexeclibarchive_DATA) \
1412 $(toolexeclibcompress_DATA) \
1413 $(toolexeclibcontainer_DATA) \
1414 $(toolexeclibcrypto_DATA) \
1415 $(toolexeclibdebug_DATA) \
1416 $(toolexeclibencoding_DATA) \
1417 $(toolexeclibexp_DATA) \
1418 $(toolexeclibgo_DATA) \
1419 $(toolexeclibhash_DATA) \
1420 $(toolexeclibhttp_DATA) \
1421 $(toolexeclibimage_DATA) \
1422 $(toolexeclibio_DATA) \
1423 $(toolexeclibos_DATA) \
1424 $(toolexeclibrpc_DATA) \
1425 $(toolexeclibruntime_DATA) \
1426 $(toolexeclibtesting_DATA)
1428 asn1/libasn1.$(OBJEXT): $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox \
1429 reflect.gox strconv.gox strings.gox time.gox
1431 asn1/libasn1.lo: asn1/libasn1.$(OBJEXT)
1432 asn1/libasn1.la: asn1/libasn1.lo
1433 asn1/check: $(CHECK_DEPS)
1437 big/libbig.$(OBJEXT): $(go_big_files) fmt.gox rand.gox strings.gox
1439 big/libbig.lo: big/libbig.$(OBJEXT)
1440 big/libbig.la: big/libbig.lo
1441 big/check: $(CHECK_DEPS)
1445 bufio/libbufio.$(OBJEXT): $(go_bufio_files) bytes.gox io.gox os.gox \
1446 strconv.gox utf8.gox
1448 bufio/libbufio.lo: bufio/libbufio.$(OBJEXT)
1449 bufio/libbufio.la: bufio/libbufio.lo
1450 bufio/check: $(CHECK_DEPS)
1454 bytes/bytes.$(OBJEXT): $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \
1455 unicode.gox utf8.gox
1456 test -d bytes || $(MKDIR_P) bytes
1457 $(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
1458 bytes/index.$(OBJEXT): go/bytes/indexbyte.c bytes/bytes.$(OBJEXT)
1459 $(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c
1460 bytes/libbytes.la: bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT)
1461 $(LINK) bytes/bytes.lo bytes/index.lo
1462 bytes/check: $(CHECK_DEPS)
1466 cmath/libcmath.$(OBJEXT): $(go_cmath_files) math.gox
1468 cmath/libcmath.lo: cmath/libcmath.$(OBJEXT)
1469 cmath/libcmath.la: cmath/libcmath.lo
1470 cmath/check: $(CHECK_DEPS)
1474 ebnf/libebnf.$(OBJEXT): $(go_ebnf_files) container/vector.gox go/scanner.gox \
1475 go/token.gox os.gox strconv.gox unicode.gox utf8.gox
1477 ebnf/libebnf.lo: ebnf/libebnf.$(OBJEXT)
1478 ebnf/libebnf.la: ebnf/libebnf.lo
1479 ebnf/check: $(CHECK_DEPS)
1483 exec/libexec.$(OBJEXT): $(go_exec_files) os.gox strings.gox
1485 exec/libexec.lo: exec/libexec.$(OBJEXT)
1486 exec/libexec.la: exec/libexec.lo
1487 exec/check: $(CHECK_DEPS)
1491 expvar/libexpvar.$(OBJEXT): $(go_expvar_files) bytes.gox fmt.gox http.gox \
1492 json.gox log.gox os.gox runtime.gox strconv.gox sync.gox
1494 expvar/libexpvar.lo: expvar/libexpvar.$(OBJEXT)
1495 expvar/libexpvar.la: expvar/libexpvar.lo
1496 expvar/check: $(CHECK_DEPS)
1498 .PHONY: expvar/check
1500 flag/libflag.$(OBJEXT): $(go_flag_files) fmt.gox os.gox strconv.gox
1502 flag/libflag.lo: flag/libflag.$(OBJEXT)
1503 flag/libflag.la: flag/libflag.lo
1504 flag/check: $(CHECK_DEPS)
1508 fmt/libfmt.$(OBJEXT): $(go_fmt_files) bytes.gox io.gox os.gox reflect.gox \
1509 strconv.gox strings.gox unicode.gox utf8.gox
1511 fmt/libfmt.lo: fmt/libfmt.$(OBJEXT)
1512 fmt/libfmt.la: fmt/libfmt.lo
1513 fmt/check: $(CHECK_DEPS)
1517 gob/libgob.$(OBJEXT): $(go_gob_files) bytes.gox fmt.gox io.gox math.gox \
1518 os.gox reflect.gox runtime.gox strings.gox sync.gox \
1519 unicode.gox utf8.gox
1521 gob/libgob.lo: gob/libgob.$(OBJEXT)
1522 gob/libgob.la: gob/libgob.lo
1523 gob/check: $(CHECK_DEPS)
1527 hash/libhash.$(OBJEXT): $(go_hash_files) io.gox
1529 hash/libhash.lo: hash/libhash.$(OBJEXT)
1530 hash/libhash.la: hash/libhash.lo
1531 hash/check: $(CHECK_DEPS)
1535 html/libhtml.$(OBJEXT): $(go_html_files) bytes.gox io.gox os.gox strconv.gox \
1536 strings.gox utf8.gox
1538 html/libhtml.lo: html/libhtml.$(OBJEXT)
1539 html/libhtml.la: html/libhtml.lo
1540 html/check: $(CHECK_DEPS)
1544 http/libhttp.$(OBJEXT): $(go_http_files) bufio.gox bytes.gox \
1545 container/list.gox container/vector.gox crypto/rand.gox \
1546 crypto/tls.gox encoding/base64.gox fmt.gox io.gox \
1547 io/ioutil.gox log.gox mime.gox mime/multipart.gox net.gox \
1548 os.gox path.gox sort.gox strconv.gox strings.gox sync.gox \
1551 http/libhttp.lo: http/libhttp.$(OBJEXT)
1552 http/libhttp.la: http/libhttp.lo
1553 http/check: $(CHECK_DEPS)
1557 image/libimage.$(OBJEXT): $(go_image_files) bufio.gox io.gox os.gox strconv.gox
1559 image/libimage.lo: image/libimage.$(OBJEXT)
1560 image/libimage.la: image/libimage.lo
1561 image/check: $(CHECK_DEPS)
1565 io/libio.$(OBJEXT): $(go_io_files) os.gox runtime.gox sync.gox
1567 io/libio.lo: io/libio.$(OBJEXT)
1568 io/libio.la: io/libio.lo
1569 io/check: $(CHECK_DEPS)
1573 json/libjson.$(OBJEXT): $(go_json_files) bytes.gox container/vector.gox \
1574 fmt.gox io.gox math.gox os.gox reflect.gox runtime.gox \
1575 strconv.gox strings.gox unicode.gox utf16.gox utf8.gox
1577 json/libjson.lo: json/libjson.$(OBJEXT)
1578 json/libjson.la: json/libjson.lo
1579 json/check: $(CHECK_DEPS)
1583 log/liblog.$(OBJEXT): $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox \
1584 os.gox sync.gox time.gox
1586 log/liblog.lo: log/liblog.$(OBJEXT)
1587 log/liblog.la: log/liblog.lo
1588 log/check: $(CHECK_DEPS)
1592 math/libmath.$(OBJEXT): $(go_math_files)
1594 math/libmath.lo: math/libmath.$(OBJEXT)
1595 math/libmath.la: math/libmath.lo
1596 math/check: $(CHECK_DEPS)
1600 mime/libmime.$(OBJEXT): $(go_mime_files) bufio.gox bytes.gox os.gox \
1601 strings.gox sync.gox unicode.gox
1603 mime/libmime.lo: mime/libmime.$(OBJEXT)
1604 mime/libmime.la: mime/libmime.lo
1605 mime/check: $(CHECK_DEPS)
1609 net/libnet.$(OBJEXT): $(go_net_files) bytes.gox fmt.gox io.gox os.gox \
1610 reflect.gox strconv.gox strings.gox sync.gox syscall.gox
1612 net/libnet.lo: net/libnet.$(OBJEXT)
1613 net/libnet.la: net/libnet.lo
1614 net/check: $(CHECK_DEPS)
1618 netchan/libnetchan.$(OBJEXT): $(go_netchan_files) gob.gox log.gox net.gox \
1619 os.gox reflect.gox strconv.gox sync.gox time.gox
1621 netchan/libnetchan.lo: netchan/libnetchan.$(OBJEXT)
1622 netchan/libnetchan.la: netchan/libnetchan.lo
1623 netchan/check: $(CHECK_DEPS)
1625 .PHONY: netchan/check
1627 os/libos.$(OBJEXT): $(go_os_files) sync.gox syscall.gox
1629 os/libos.lo: os/libos.$(OBJEXT)
1630 os/libos.la: os/libos.lo
1631 os/check: $(CHECK_DEPS)
1635 patch/libpatch.$(OBJEXT): $(go_patch_files) bytes.gox compress/zlib.gox \
1636 crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \
1637 path.gox strings.gox
1639 patch/libpatch.lo: patch/libpatch.$(OBJEXT)
1640 patch/libpatch.la: patch/libpatch.lo
1641 patch/check: $(CHECK_DEPS)
1645 path/libpath.$(OBJEXT): $(go_path_files) io/ioutil.gox os.gox sort.gox \
1646 strings.gox utf8.gox
1648 path/libpath.lo: path/libpath.$(OBJEXT)
1649 path/libpath.la: path/libpath.lo
1650 path/check: $(CHECK_DEPS)
1654 rand/librand.$(OBJEXT): $(go_rand_files) math.gox sync.gox
1656 rand/librand.lo: rand/librand.$(OBJEXT)
1657 rand/librand.la: rand/librand.lo
1658 rand/check: $(CHECK_DEPS)
1662 reflect/libreflect.$(OBJEXT): $(go_reflect_files) math.gox runtime.gox \
1663 strconv.gox sync.gox
1665 reflect/libreflect.lo: reflect/libreflect.$(OBJEXT)
1666 reflect/libreflect.la: reflect/libreflect.lo
1667 reflect/check: $(CHECK_DEPS)
1669 .PHONY: reflect/check
1671 regexp/libregexp.$(OBJEXT): $(go_regexp_files) bytes.gox io.gox os.gox \
1672 strings.gox utf8.gox
1674 regexp/libregexp.lo: regexp/libregexp.$(OBJEXT)
1675 regexp/libregexp.la: regexp/libregexp.lo
1676 regexp/check: $(CHECK_DEPS)
1678 .PHONY: regexp/check
1680 rpc/librpc.$(OBJEXT): $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox \
1681 io.gox log.gox net.gox os.gox reflect.gox sort.gox \
1682 strings.gox strconv.gox sync.gox template.gox unicode.gox \
1685 rpc/librpc.lo: rpc/librpc.$(OBJEXT)
1686 rpc/librpc.la: rpc/librpc.lo
1687 rpc/check: $(CHECK_DEPS)
1691 runtime/libruntime.$(OBJEXT): $(go_runtime_files)
1693 runtime/libruntime.lo: runtime/libruntime.$(OBJEXT)
1694 runtime/libruntime.la: runtime/libruntime.lo
1695 runtime/check: $(CHECK_DEPS)
1697 .PHONY: runtime/check
1699 scanner/libscanner.$(OBJEXT): $(go_scanner_files) bytes.gox fmt.gox io.gox \
1700 os.gox unicode.gox utf8.gox
1702 scanner/libscanner.lo: scanner/libscanner.$(OBJEXT)
1703 scanner/libscanner.la: scanner/libscanner.lo
1704 scanner/check: $(CHECK_DEPS)
1706 .PHONY: scanner/check
1708 smtp/libsmtp.$(OBJEXT): $(go_smtp_files) crypto/tls.gox encoding/base64.gox \
1709 io.gox net.gox net/textproto.gox os.gox strings.gox
1711 smtp/libsmtp.lo: smtp/libsmtp.$(OBJEXT)
1712 smtp/libsmtp.la: smtp/libsmtp.lo
1713 smtp/check: $(CHECK_DEPS)
1717 sort/libsort.$(OBJEXT): $(go_sort_files)
1719 sort/libsort.lo: sort/libsort.$(OBJEXT)
1720 sort/libsort.la: sort/libsort.lo
1721 sort/check: $(CHECK_DEPS)
1725 strconv/libstrconv.$(OBJEXT): $(go_strconv_files) bytes.gox math.gox os.gox \
1726 strings.gox unicode.gox utf8.gox
1728 strconv/libstrconv.lo: strconv/libstrconv.$(OBJEXT)
1729 strconv/libstrconv.la: strconv/libstrconv.lo
1730 strconv/check: $(CHECK_DEPS)
1732 .PHONY: strconv/check
1734 strings/libstrings.$(OBJEXT): $(go_strings_files) os.gox unicode.gox utf8.gox
1736 strings/libstrings.lo: strings/libstrings.$(OBJEXT)
1737 strings/libstrings.la: strings/libstrings.lo
1738 strings/check: $(CHECK_DEPS)
1740 .PHONY: strings/check
1742 sync/mutex.$(OBJEXT): $(go_sync_files) $(go_sync_c_files) runtime.gox
1743 test -d sync || $(MKDIR_P) sync
1744 $(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
1745 sync/cas.$(OBJEXT): $(srcdir)/go/sync/cas.c sync/mutex.$(OBJEXT)
1746 $(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c
1747 sync/libsync.la: sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT)
1748 $(LINK) sync/mutex.lo sync/cas.lo
1749 sync/check: $(CHECK_DEPS)
1753 syslog/libsyslog.$(OBJEXT): $(go_syslog_files) fmt.gox log.gox net.gox os.gox
1755 syslog/libsyslog.lo: syslog/libsyslog.$(OBJEXT)
1756 syslog/libsyslog.la: syslog/libsyslog.lo
1757 syslog/check: $(CHECK_DEPS)
1759 .PHONY: syslog/check
1761 tabwriter/libtabwriter.$(OBJEXT): $(go_tabwriter_files) bytes.gox io.gox \
1764 tabwriter/libtabwriter.lo: tabwriter/libtabwriter.$(OBJEXT)
1765 tabwriter/libtabwriter.la: tabwriter/libtabwriter.lo
1766 tabwriter/check: $(CHECK_DEPS)
1768 .PHONY: tabwriter/check
1770 template/libtemplate.$(OBJEXT): $(go_template_files) bytes.gox fmt.gox io.gox \
1771 os.gox reflect.gox runtime.gox strings.gox container/vector.gox
1773 template/libtemplate.lo: template/libtemplate.$(OBJEXT)
1774 template/libtemplate.la: template/libtemplate.lo
1775 template/check: $(CHECK_DEPS)
1777 .PHONY: template/check
1779 testing/libtesting.$(OBJEXT): $(go_testing_files) flag.gox fmt.gox os.gox \
1780 regexp.gox runtime.gox time.gox
1782 testing/libtesting.lo: testing/libtesting.$(OBJEXT)
1783 testing/libtesting.la: testing/libtesting.lo
1784 testing/check: $(CHECK_DEPS)
1786 .PHONY: testing/check
1788 time/libtime.$(OBJEXT): $(go_time_files) bytes.gox container/heap.gox \
1789 io/ioutil.gox os.gox strconv.gox sync.gox syscall.gox
1791 time/libtime.lo: time/libtime.$(OBJEXT)
1792 time/libtime.la: time/libtime.lo
1793 time/check: $(CHECK_DEPS)
1797 try/libtry.$(OBJEXT): $(go_try_files) fmt.gox io.gox os.gox reflect.gox \
1800 try/libtry.lo: try/libtry.$(OBJEXT)
1801 try/libtry.la: try/libtry.lo
1802 try/check: $(CHECK_DEPS)
1806 unicode/libunicode.$(OBJEXT): $(go_unicode_files)
1808 unicode/libunicode.lo: unicode/libunicode.$(OBJEXT)
1809 unicode/libunicode.la: unicode/libunicode.lo
1810 unicode/check: $(CHECK_DEPS)
1812 .PHONY: unicode/check
1814 utf16/libutf16.$(OBJEXT): $(go_utf16_files) unicode.gox
1816 utf16/libutf16.lo: utf16/libutf16.$(OBJEXT)
1817 utf16/libutf16.la: utf16/libutf16.lo
1818 utf16/check: $(CHECK_DEPS)
1822 utf8/libutf8.$(OBJEXT): $(go_utf8_files) unicode.gox
1824 utf8/libutf8.lo: utf8/libutf8.$(OBJEXT)
1825 utf8/libutf8.la: utf8/libutf8.lo
1826 utf8/check: $(CHECK_DEPS)
1830 websocket/libwebsocket.$(OBJEXT): $(go_websocket_files) bufio.gox bytes.gox \
1831 container/vector.gox crypto/md5.gox crypto/tls.gox \
1832 encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \
1833 rand.gox strings.gox
1835 websocket/libwebsocket.lo: websocket/libwebsocket.$(OBJEXT)
1836 websocket/libwebsocket.la: websocket/libwebsocket.lo
1837 websocket/check: $(CHECK_DEPS)
1839 .PHONY: websocket/check
1841 xml/libxml.$(OBJEXT): $(go_xml_files) bufio.gox bytes.gox fmt.gox io.gox \
1842 os.gox reflect.gox strconv.gox strings.gox unicode.gox utf8.gox
1844 xml/libxml.lo: xml/libxml.$(OBJEXT)
1845 xml/libxml.la: xml/libxml.lo
1846 xml/check: $(CHECK_DEPS)
1850 archive/libtar.$(OBJEXT): $(go_archive_tar_files) bytes.gox io.gox os.gox \
1851 strconv.gox strings.gox
1853 archive/libtar.lo: archive/libtar.$(OBJEXT)
1854 archive/libtar.la: archive/libtar.lo
1855 archive/tar/check: $(CHECK_DEPS)
1856 @$(MKDIR_P) archive/tar
1858 .PHONY: archive/tar/check
1860 archive/libzip.$(OBJEXT): $(go_archive_zip_files) bufio.gox bytes.gox \
1861 compress/flate.gox hash.gox hash/crc32.gox \
1862 encoding/binary.gox io.gox os.gox
1864 archive/libzip.lo: archive/libzip.$(OBJEXT)
1865 archive/libzip.la: archive/libzip.lo
1866 archive/zip/check: $(CHECK_DEPS)
1867 @$(MKDIR_P) archive/zip
1869 .PHONY: archive/zip/check
1871 compress/libflate.$(OBJEXT): $(go_compress_flate_files) bufio.gox io.gox \
1872 math.gox os.gox sort.gox strconv.gox
1874 compress/libflate.lo: compress/libflate.$(OBJEXT)
1875 compress/libflate.la: compress/libflate.lo
1876 compress/flate/check: $(CHECK_DEPS)
1877 @$(MKDIR_P) compress/flate
1879 .PHONY: compress/flate/check
1881 compress/libgzip.$(OBJEXT): $(go_compress_gzip_files) bufio.gox \
1882 compress/flate.gox hash.gox hash/crc32.gox io.gox os.gox
1884 compress/libgzip.lo: compress/libgzip.$(OBJEXT)
1885 compress/libgzip.la: compress/libgzip.lo
1886 compress/gzip/check: $(CHECK_DEPS)
1887 @$(MKDIR_P) compress/gzip
1889 .PHONY: compress/gzip/check
1891 compress/libzlib.$(OBJEXT): $(go_compress_zlib_files) bufio.gox \
1892 compress/flate.gox hash.gox hash/adler32.gox io.gox os.gox
1894 compress/libzlib.lo: compress/libzlib.$(OBJEXT)
1895 compress/libzlib.la: compress/libzlib.lo
1896 compress/zlib/check: $(CHECK_DEPS)
1897 @$(MKDIR_P) compress/zlib
1899 .PHONY: compress/zlib/check
1901 container/libheap.$(OBJEXT): $(go_container_heap_files) sort.gox
1903 container/libheap.lo: container/libheap.$(OBJEXT)
1904 container/libheap.la: container/libheap.lo
1905 container/heap/check: $(CHECK_DEPS)
1906 @$(MKDIR_P) container/heap
1908 .PHONY: container/heap/check
1910 container/liblist.$(OBJEXT): $(go_container_list_files)
1912 container/liblist.lo: container/liblist.$(OBJEXT)
1913 container/liblist.la: container/liblist.lo
1914 container/list/check: $(CHECK_DEPS)
1915 @$(MKDIR_P) container/list
1917 .PHONY: container/list/check
1919 container/libring.$(OBJEXT): $(go_container_ring_files)
1921 container/libring.lo: container/libring.$(OBJEXT)
1922 container/libring.la: container/libring.lo
1923 container/ring/check: $(CHECK_DEPS)
1924 @$(MKDIR_P) container/ring
1926 .PHONY: container/ring/check
1928 container/libvector.$(OBJEXT): $(go_container_vector_files)
1930 container/libvector.lo: container/libvector.$(OBJEXT)
1931 container/libvector.la: container/libvector.lo
1932 container/vector/check: $(CHECK_DEPS)
1933 @$(MKDIR_P) container/vector
1935 .PHONY: container/vector/check
1937 crypto/libaes.$(OBJEXT): $(go_crypto_aes_files) os.gox strconv.gox
1939 crypto/libaes.lo: crypto/libaes.$(OBJEXT)
1940 crypto/libaes.la: crypto/libaes.lo
1941 crypto/aes/check: $(CHECK_DEPS)
1942 @$(MKDIR_P) crypto/aes
1944 .PHONY: crypto/aes/check
1946 crypto/libblock.$(OBJEXT): $(go_crypto_block_files) fmt.gox io.gox os.gox \
1949 crypto/libblock.lo: crypto/libblock.$(OBJEXT)
1950 crypto/libblock.la: crypto/libblock.lo
1951 crypto/block/check: $(CHECK_DEPS)
1952 @$(MKDIR_P) crypto/block
1954 .PHONY: crypto/block/check
1956 crypto/libblowfish.$(OBJEXT): $(go_crypto_blowfish_files) os.gox strconv.gox
1958 crypto/libblowfish.lo: crypto/libblowfish.$(OBJEXT)
1959 crypto/libblowfish.la: crypto/libblowfish.lo
1960 crypto/blowfish/check: $(CHECK_DEPS)
1961 @$(MKDIR_P) crypto/blowfish
1963 .PHONY: crypto/blowfish/check
1965 crypto/libcast5.$(OBJEXT): $(go_crypto_cast5_files) os.gox
1967 crypto/libcast5.lo: crypto/libcast5.$(OBJEXT)
1968 crypto/libcast5.la: crypto/libcast5.lo
1969 crypt/cast5/check: $(CHECK_DEPS)
1970 @$(MKDIR_P) crypto/cast5
1972 .PHONY: crypto/cast5/check
1974 crypto/libcipher.$(OBJEXT): $(go_crypto_cipher_files) io.gox os.gox
1976 crypto/libcipher.lo: crypto/libcipher.$(OBJEXT)
1977 crypto/libcipher.la: crypto/libcipher.lo
1978 crypto/cipher/check: $(CHECK_DEPS)
1979 @$(MKDIR_P) crypto/cipher
1981 .PHONY: crypto/cipher/check
1983 crypto/libelliptic.$(OBJEXT): $(go_crypto_elliptic_files) big.gox io.gox \
1986 crypto/libelliptic.lo: crypto/libelliptic.$(OBJEXT)
1987 crypto/libelliptic.la: crypto/libelliptic.lo
1988 crypto/elliptic/check: $(CHECK_DEPS)
1989 @$(MKDIR_P) crypto/elliptic
1991 .PHONY: crypto/elliptic/check
1993 crypto/libhmac.$(OBJEXT): $(go_crypto_hmac_files) crypto/md5.gox \
1994 crypto/sha1.gox crypto/sha256.gox hash.gox os.gox
1996 crypto/libhmac.lo: crypto/libhmac.$(OBJEXT)
1997 crypto/libhmac.la: crypto/libhmac.lo
1998 crypto/hmac/check: $(CHECK_DEPS)
1999 @$(MKDIR_P) crypto/hmac
2001 .PHONY: crypto/hmac/check
2003 crypto/libmd4.$(OBJEXT): $(go_crypto_md4_files) hash.gox os.gox
2005 crypto/libmd4.lo: crypto/libmd4.$(OBJEXT)
2006 crypto/libmd4.la: crypto/libmd4.lo
2007 crypto/md4/check: $(CHECK_DEPS)
2008 @$(MKDIR_P) crypto/md4
2010 .PHONY: crypto/md4/check
2012 crypto/libmd5.$(OBJEXT): $(go_crypto_md5_files) hash.gox os.gox
2014 crypto/libmd5.lo: crypto/libmd5.$(OBJEXT)
2015 crypto/libmd5.la: crypto/libmd5.lo
2016 crypto/md5/check: $(CHECK_DEPS)
2017 @$(MKDIR_P) crypto/md5
2019 .PHONY: crypto/md5/check
2021 crypto/libocsp.$(OBJEXT): $(go_crypto_ocsp_files) asn1.gox crypto/rsa.gox \
2022 crypto/sha1.gox crypto/x509.gox os.gox time.gox
2024 crypto/libocsp.lo: crypto/libocsp.$(OBJEXT)
2025 crypto/libocsp.la: crypto/libocsp.lo
2026 crypto/ocsp/check: $(CHECK_DEPS)
2027 @$(MKDIR_P) crypto/ocsp
2029 .PHONY: crypto/ocsp/check
2031 crypto/librand.$(OBJEXT): $(go_crypto_rand_files) crypto/aes.gox io.gox os.gox \
2034 crypto/librand.lo: crypto/librand.$(OBJEXT)
2035 crypto/librand.la: crypto/librand.lo
2036 crypto/rand/check: $(CHECK_DEPS)
2037 @$(MKDIR_P) crypto/rand
2039 .PHONY: crypto/rand/check
2041 crypto/librc4.$(OBJEXT): $(go_crypto_rc4_files) os.gox strconv.gox
2043 crypto/librc4.lo: crypto/librc4.$(OBJEXT)
2044 crypto/librc4.la: crypto/librc4.lo
2045 crypto/rc4/check: $(CHECK_DEPS)
2046 @$(MKDIR_P) crypto/rc4
2048 .PHONY: crypto/rc4/check
2050 crypto/libripemd160.$(OBJEXT): $(go_crypto_ripemd160_files) hash.gox os.gox
2052 crypto/libripemd160.lo: crypto/libripemd160.$(OBJEXT)
2053 crypto/libripemd160.la: crypto/libripemd160.lo
2054 crypto/ripemd160/check: $(CHECK_DEPS)
2055 @$(MKDIR_P) crypto/ripemd160
2057 .PHONY: crypto/ripemd160/check
2059 crypto/librsa.$(OBJEXT): $(go_crypto_rsa_files) big.gox crypto/sha1.gox \
2060 crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox
2062 crypto/librsa.lo: crypto/librsa.$(OBJEXT)
2063 crypto/librsa.la: crypto/librsa.lo
2064 crypto/rsa/check: $(CHECK_DEPS)
2065 @$(MKDIR_P) crypto/rsa
2067 .PHONY: crypto/rsa/check
2069 crypto/libsha1.$(OBJEXT): $(go_crypto_sha1_files) hash.gox os.gox
2071 crypto/libsha1.lo: crypto/libsha1.$(OBJEXT)
2072 crypto/libsha1.la: crypto/libsha1.lo
2073 crypto/sha1/check: $(CHECK_DEPS)
2074 @$(MKDIR_P) crypto/sha1
2076 .PHONY: crypto/sha1/check
2078 crypto/libsha256.$(OBJEXT): $(go_crypto_sha256_files) hash.gox os.gox
2080 crypto/libsha256.lo: crypto/libsha256.$(OBJEXT)
2081 crypto/libsha256.la: crypto/libsha256.lo
2082 crypto/sha256/check: $(CHECK_DEPS)
2083 @$(MKDIR_P) crypto/sha256
2085 .PHONY: crypto/sha256/check
2087 crypto/libsha512.$(OBJEXT): $(go_crypto_sha512_files) hash.gox os.gox
2089 crypto/libsha512.lo: crypto/libsha512.$(OBJEXT)
2090 crypto/libsha512.la: crypto/libsha512.lo
2091 crypto/sha512/check: $(CHECK_DEPS)
2092 @$(MKDIR_P) crypto/sha512
2094 .PHONY: crypto/sha512/check
2096 crypto/libsubtle.$(OBJEXT): $(go_crypto_subtle_files)
2098 crypto/libsubtle.lo: crypto/libsubtle.$(OBJEXT)
2099 crypto/libsubtle.la: crypto/libsubtle.lo
2100 crypto/subtle/check: $(CHECK_DEPS)
2101 @$(MKDIR_P) crypto/subtle
2103 .PHONY: crypto/subtle/check
2105 crypto/libtls.$(OBJEXT): $(go_crypto_tls_files) big.gox bufio.gox bytes.gox \
2106 container/list.gox crypto/aes.gox crypto/cipher.gox \
2107 crypto/elliptic.gox crypto/hmac.gox crypto/md5.gox \
2108 crypto/rc4.gox crypto/rand.gox crypto/rsa.gox crypto/sha1.gox \
2109 crypto/subtle.gox crypto/rsa.gox crypto/sha1.gox \
2110 crypto/x509.gox encoding/pem.gox fmt.gox hash.gox io.gox \
2111 io/ioutil.gox net.gox os.gox strings.gox sync.gox time.gox
2113 crypto/libtls.lo: crypto/libtls.$(OBJEXT)
2114 crypto/libtls.la: crypto/libtls.lo
2115 crypto/tls/check: $(CHECK_DEPS)
2116 @$(MKDIR_P) crypto/tls
2118 .PHONY: crypto/tls/check
2120 crypto/libtwofish.$(OBJEXT): $(go_crypto_twofish_files) os.gox strconv.gox
2122 crypto/libtwofish.lo: crypto/libtwofish.$(OBJEXT)
2123 crypto/libtwofish.la: crypto/libtwofish.lo
2124 crypto/twofish/check: $(CHECK_DEPS)
2125 @$(MKDIR_P) crypto/twofish
2127 .PHONY: crypto/twofish/check
2129 crypto/libx509.$(OBJEXT): $(go_crypto_x509_files) asn1.gox big.gox \
2130 container/vector.gox crypto/rsa.gox crypto/sha1.gox hash.gox \
2131 os.gox strings.gox time.gox
2133 crypto/libx509.lo: crypto/libx509.$(OBJEXT)
2134 crypto/libx509.la: crypto/libx509.lo
2135 crypto/x509/check: $(CHECK_DEPS)
2136 @$(MKDIR_P) crypto/x509
2138 .PHONY: crypto/x509/check
2140 crypto/libxtea.$(OBJEXT): $(go_crypto_xtea_files) os.gox strconv.gox
2142 crypto/libxtea.lo: crypto/libxtea.$(OBJEXT)
2143 crypto/libxtea.la: crypto/libxtea.lo
2144 crypto/xtea/check: $(CHECK_DEPS)
2145 @$(MKDIR_P) crypto/xtea
2147 .PHONY: crypto/xtea/check
2149 crypto/openpgp/libarmor.$(OBJEXT): $(go_crypto_openpgp_armor_files) bytes.gox \
2150 crypto/openpgp/error.gox encoding/base64.gox \
2151 encoding/line.gox io.gox os.gox
2153 crypto/openpgp/libarmor.lo: crypto/openpgp/libarmor.$(OBJEXT)
2154 crypto/openpgp/libarmor.la: crypto/openpgp/libarmor.lo
2155 crypto/openpgp/armor/check: $(CHECK_DEPS)
2156 @$(MKDIR_P) crypto/openpgp/armor
2158 .PHONY: crypto/openpgp/armor/check
2160 crypto/openpgp/liberror.$(OBJEXT): $(go_crypto_openpgp_error_files)
2162 crypto/openpgp/liberror.lo: crypto/openpgp/liberror.$(OBJEXT)
2163 crypto/openpgp/liberror.la: crypto/openpgp/liberror.lo
2164 crypto/openpgp/error/check: $(CHECK_DEPS)
2165 @$(MKDIR_P) crypto/openpgp/error
2167 .PHONY: crypto/openpgp/error/check
2169 crypto/openpgp/libs2k.$(OBJEXT): $(go_crypto_openpgp_s2k_files) crypto/md5.gox \
2170 crypto/openpgp/error.gox crypto/ripemd160.gox crypto/sha1.gox \
2171 crypto/sha256.gox crypto/sha512.gox hash.gox io.gox os.gox
2173 crypto/openpgp/libs2k.lo: crypto/openpgp/libs2k.$(OBJEXT)
2174 crypto/openpgp/libs2k.la: crypto/openpgp/libs2k.lo
2175 crypto/openpgp/s2k/check: $(CHECK_DEPS)
2176 @$(MKDIR_P) crypto/openpgp/s2k
2178 .PHONY: crypto/openpgp/s2k/check
2180 debug/libdwarf.$(OBJEXT): $(go_debug_dwarf_files) encoding/binary.gox os.gox \
2183 debug/libdwarf.lo: debug/libdwarf.$(OBJEXT)
2184 debug/libdwarf.la: debug/libdwarf.lo
2185 debug/dwarf/check: $(CHECK_DEPS)
2186 @$(MKDIR_P) debug/dwarf
2188 .PHONY: debug/dwarf/check
2190 debug/libelf.$(OBJEXT): $(go_debug_elf_files) bytes.gox debug/dwarf.gox \
2191 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2193 debug/libelf.lo: debug/libelf.$(OBJEXT)
2194 debug/libelf.la: debug/libelf.lo
2195 debug/elf/check: $(CHECK_DEPS)
2196 @$(MKDIR_P) debug/elf
2198 .PHONY: debug/elf/check
2200 debug/libgosym.$(OBJEXT): $(go_debug_gosym_files) encoding/binary.gox fmt.gox \
2201 os.gox strconv.gox strings.gox
2203 debug/libgosym.lo: debug/libgosym.$(OBJEXT)
2204 debug/libgosym.la: debug/libgosym.lo
2205 debug/gosym/check: $(CHECK_DEPS)
2206 @$(MKDIR_P) debug/gosym
2208 .PHONY: debug/gosym/check
2210 debug/libmacho.$(OBJEXT): $(go_debug_macho_files) bytes.gox debug/dwarf.gox \
2211 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2213 debug/libmacho.lo: debug/libmacho.$(OBJEXT)
2214 debug/libmacho.la: debug/libmacho.lo
2215 debug/macho/check: $(CHECK_DEPS)
2216 @$(MKDIR_P) debug/macho
2218 .PHONY: debug/macho/check
2220 debug/libpe.$(OBJEXT): $(go_debug_pe_files) debug/dwarf.gox \
2221 encoding/binary.gox fmt.gox io.gox os.gox strconv.gox
2223 debug/libpe.lo: debug/libpe.$(OBJEXT)
2224 debug/libpe.la: debug/libpe.lo
2225 debug/pe/check: $(CHECK_DEPS)
2226 @$(MKDIR_P) debug/pe
2228 .PHONY: debug/pe/check
2230 debug/libproc.$(OBJEXT): $(go_debug_proc_files) container/vector.gox fmt.gox \
2231 io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \
2232 sync.gox syscall.gox
2234 debug/libproc.lo: debug/libproc.$(OBJEXT)
2235 debug/libproc.la: debug/libproc.lo
2236 debug/proc/check: $(CHECK_DEPS)
2237 @$(MKDIR_P) debug/proc
2239 .PHONY: debug/proc/check
2241 encoding/libascii85.$(OBJEXT): $(go_encoding_ascii85_files) io.gox os.gox \
2244 encoding/libascii85.lo: encoding/libascii85.$(OBJEXT)
2245 encoding/libascii85.la: encoding/libascii85.lo
2246 encoding/ascii85/check: $(CHECK_DEPS)
2247 @$(MKDIR_P) encoding/ascii85
2249 .PHONY: encoding/ascii85/check
2251 encoding/libbase32.$(OBJEXT): $(go_encoding_base32_files) io.gox os.gox \
2254 encoding/libbase32.lo: encoding/libbase32.$(OBJEXT)
2255 encoding/libbase32.la: encoding/libbase32.lo
2256 encoding/base32/check: $(CHECK_DEPS)
2257 @$(MKDIR_P) encoding/base32
2259 .PHONY: encoding/base32/check
2261 encoding/libbase64.$(OBJEXT): $(go_encoding_base64_files) io.gox os.gox \
2264 encoding/libbase64.lo: encoding/libbase64.$(OBJEXT)
2265 encoding/libbase64.la: encoding/libbase64.lo
2266 encoding/base64/check: $(CHECK_DEPS)
2267 @$(MKDIR_P) encoding/base64
2269 .PHONY: encoding/base64/check
2271 encoding/libbinary.$(OBJEXT): $(go_encoding_binary_files) io.gox math.gox \
2274 encoding/libbinary.lo: encoding/libbinary.$(OBJEXT)
2275 encoding/libbinary.la: encoding/libbinary.lo
2276 encoding/binary/check: $(CHECK_DEPS)
2277 @$(MKDIR_P) encoding/binary
2279 .PHONY: encoding/binary/check
2281 encoding/libgit85.$(OBJEXT): $(go_encoding_git85_files) bytes.gox io.gox \
2284 encoding/libgit85.lo: encoding/libgit85.$(OBJEXT)
2285 encoding/libgit85.la: encoding/libgit85.lo
2286 encoding/git85/check: $(CHECK_DEPS)
2287 @$(MKDIR_P) encoding/git85
2289 .PHONY: encoding/git85/check
2291 encoding/libhex.$(OBJEXT): $(go_encoding_hex_files) os.gox strconv.gox
2293 encoding/libhex.lo: encoding/libhex.$(OBJEXT)
2294 encoding/libhex.la: encoding/libhex.lo
2295 encoding/hex/check: $(CHECK_DEPS)
2296 @$(MKDIR_P) encoding/hex
2298 .PHONY: encoding/hex/check
2300 encoding/libline.$(OBJEXT): $(go_encoding_line_files) io.gox os.gox
2302 encoding/libline.lo: encoding/libline.$(OBJEXT)
2303 encoding/libline.la: encoding/libline.lo
2304 encoding/line/check: $(CHECK_DEPS)
2305 @$(MKDIR_P) encoding/line
2307 .PHONY: encoding/line/check
2309 encoding/libpem.$(OBJEXT): $(go_encoding_pem_files) bytes.gox \
2312 encoding/libpem.lo: encoding/libpem.$(OBJEXT)
2313 encoding/libpem.la: encoding/libpem.lo
2314 encoding/pem/check: $(CHECK_DEPS)
2315 @$(MKDIR_P) encoding/pem
2317 .PHONY: encoding/pem/check
2319 exp/libdatafmt.$(OBJEXT): $(go_exp_datafmt_files) bytes.gox \
2320 container/vector.gox fmt.gox go/scanner.gox go/token.gox \
2321 io.gox os.gox reflect.gox runtime.gox strconv.gox strings.gox
2323 exp/libdatafmt.lo: exp/libdatafmt.$(OBJEXT)
2324 exp/libdatafmt.la: exp/libdatafmt.lo
2325 exp/datafmt/check: $(CHECK_DEPS)
2326 @$(MKDIR_P) exp/datafmt
2328 .PHONY: exp/datafmt/check
2330 exp/libdraw.$(OBJEXT): $(go_exp_draw_files) image.gox os.gox
2332 exp/libdraw.lo: exp/libdraw.$(OBJEXT)
2333 exp/libdraw.la: exp/libdraw.lo
2334 exp/draw/check: $(CHECK_DEPS)
2335 @$(MKDIR_P) exp/draw
2337 .PHONY: exp/draw/check
2339 exp/libeval.$(OBJEXT): $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \
2340 go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \
2341 strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox
2343 exp/libeval.lo: exp/libeval.$(OBJEXT)
2344 exp/libeval.la: exp/libeval.lo
2345 exp/eval/check: $(CHECK_DEPS)
2346 @$(MKDIR_P) exp/eval
2348 .PHONY: exp/eval/check
2350 go/libast.$(OBJEXT): $(go_go_ast_files) fmt.gox go/token.gox io.gox os.gox \
2351 reflect.gox unicode.gox utf8.gox
2353 go/libast.lo: go/libast.$(OBJEXT)
2354 go/libast.la: go/libast.lo
2355 go/ast/check: $(CHECK_DEPS)
2358 .PHONY: go/ast/check
2360 go/libdoc.$(OBJEXT): $(go_go_doc_files) go/ast.gox go/token.gox io.gox \
2361 regexp.gox sort.gox strings.gox template.gox
2363 go/libdoc.lo: go/libdoc.$(OBJEXT)
2364 go/libdoc.la: go/libdoc.lo
2365 go/doc/check: $(CHECK_DEPS)
2368 .PHONY: go/doc/check
2370 go/libparser.$(OBJEXT): $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \
2371 go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \
2372 path.gox strings.gox
2374 go/libparser.lo: go/libparser.$(OBJEXT)
2375 go/libparser.la: go/libparser.lo
2376 go/parser/check: $(CHECK_DEPS)
2377 @$(MKDIR_P) go/parser
2379 .PHONY: go/parser/check
2381 go/libprinter.$(OBJEXT): $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \
2382 go/token.gox io.gox os.gox reflect.gox runtime.gox \
2383 strings.gox tabwriter.gox
2385 go/libprinter.lo: go/libprinter.$(OBJEXT)
2386 go/libprinter.la: go/libprinter.lo
2387 go/printer/check: $(CHECK_DEPS)
2388 @$(MKDIR_P) go/printer
2390 .PHONY: go/printer/check
2392 go/libscanner.$(OBJEXT): $(go_go_scanner_files) bytes.gox \
2393 container/vector.gox fmt.gox go/token.gox io.gox os.gox \
2394 path.gox sort.gox strconv.gox unicode.gox utf8.gox
2396 go/libscanner.lo: go/libscanner.$(OBJEXT)
2397 go/libscanner.la: go/libscanner.lo
2398 go/scanner/check: $(CHECK_DEPS)
2399 @$(MKDIR_P) go/scanner
2401 .PHONY: go/scanner/check
2403 go/libtoken.$(OBJEXT): $(go_go_token_files) fmt.gox strconv.gox
2405 go/libtoken.lo: go/libtoken.$(OBJEXT)
2406 go/libtoken.la: go/libtoken.lo
2407 go/token/check: $(CHECK_DEPS)
2408 @$(MKDIR_P) go/token
2410 .PHONY: go/token/check
2412 go/libtypechecker.$(OBJEXT): $(go_go_typechecker_files) fmt.gox go/ast.gox \
2413 go/token.gox go/scanner.gox os.gox
2415 go/libtypechecker.lo: go/libtypechecker.$(OBJEXT)
2416 go/libtypechecker.la: go/libtypechecker.lo
2417 go/typechecker/check: $(CHECK_DEPS)
2418 @$(MKDIR_P) go/typechecker
2420 .PHONY: go/typechecker/check
2422 hash/libadler32.$(OBJEXT): $(go_hash_adler32_files) hash.gox os.gox
2424 hash/libadler32.lo: hash/libadler32.$(OBJEXT)
2425 hash/libadler32.la: hash/libadler32.lo
2426 hash/adler32/check: $(CHECK_DEPS)
2427 @$(MKDIR_P) hash/adler32
2429 .PHONY: hash/adler32/check
2431 hash/libcrc32.$(OBJEXT): $(go_hash_crc32_files) hash.gox os.gox
2433 hash/libcrc32.lo: hash/libcrc32.$(OBJEXT)
2434 hash/libcrc32.la: hash/libcrc32.lo
2435 hash/crc32/check: $(CHECK_DEPS)
2436 @$(MKDIR_P) hash/crc32
2438 .PHONY: hash/crc32/check
2440 hash/libcrc64.$(OBJEXT): $(go_hash_crc64_files) hash.gox os.gox
2442 hash/libcrc64.lo: hash/libcrc64.$(OBJEXT)
2443 hash/libcrc64.la: hash/libcrc64.lo
2444 hash/crc64/check: $(CHECK_DEPS)
2445 @$(MKDIR_P) hash/crc64
2447 .PHONY: hash/crc64/check
2449 http/libpprof.$(OBJEXT): $(go_http_pprof_files) bufio.gox fmt.gox http.gox \
2450 os.gox runtime.gox runtime/pprof.gox strconv.gox strings.gox
2452 http/libpprof.lo: http/libpprof.$(OBJEXT)
2453 http/libpprof.la: http/libpprof.lo
2454 http/pprof/check: $(CHECK_DEPS)
2455 @$(MKDIR_P) http/pprof
2457 .PHONY: http/pprof/check
2459 image/libjpeg.$(OBJEXT): $(go_image_jpeg_files) bufio.gox image.gox io.gox \
2462 image/libjpeg.lo: image/libjpeg.$(OBJEXT)
2463 image/libjpeg.la: image/libjpeg.lo
2464 image/jpeg/check: $(CHECK_DEPS)
2465 @$(MKDIR_P) image/jpeg
2467 .PHONY: image/jpeg/check
2469 image/libpng.$(OBJEXT): $(go_image_png_files) bufio.gox compress/zlib.gox \
2470 fmt.gox hash.gox hash/crc32.gox image.gox io.gox os.gox \
2473 image/libpng.lo: image/libpng.$(OBJEXT)
2474 image/libpng.la: image/libpng.lo
2475 image/png/check: $(CHECK_DEPS)
2476 @$(MKDIR_P) image/png
2478 .PHONY: image/png/check
2480 index/libsuffixarray.$(OBJEXT): $(go_index_suffixarray_files) bytes.gox \
2483 index/libsuffixarray.lo: index/libsuffixarray.$(OBJEXT)
2484 index/libsuffixarray.la: index/libsuffixarray.lo
2485 index/suffixarray/check: $(CHECK_DEPS)
2486 @$(MKDIR_P) index/suffixarray
2488 .PHONY: index/suffixarray/check
2490 io/libioutil.$(OBJEXT): $(go_io_ioutil_files) bytes.gox io.gox os.gox sort.gox \
2493 io/libioutil.lo: io/libioutil.$(OBJEXT)
2494 io/libioutil.la: io/libioutil.lo
2495 io/ioutil/check: $(CHECK_DEPS)
2496 @$(MKDIR_P) io/ioutil
2498 .PHONY: io/ioutil/check
2500 mime/libmultipart.$(OBJEXT): $(go_mime_multipart_files) bufio.gox bytes.gox \
2501 io.gox mime.gox os.gox regexp.gox strings.gox
2503 mime/libmultipart.lo: mime/libmultipart.$(OBJEXT)
2504 mime/libmultipart.la: mime/libmultipart.lo
2505 mime/multipart/check: $(CHECK_DEPS)
2506 @$(MKDIR_P) mime/multipart
2508 .PHONY: mime/multipart/check
2510 net/libdict.$(OBJEXT): $(go_net_dict_files) container/vector.gox \
2511 net/textproto.gox os.gox strconv.gox strings.gox
2513 net/libdict.lo: net/libdict.$(OBJEXT)
2514 net/libdict.la: net/libdict.lo
2516 net/libtextproto.$(OBJEXT): $(go_net_textproto_files) bufio.gox bytes.gox \
2517 container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \
2518 os.gox strconv.gox sync.gox
2520 net/libtextproto.lo: net/libtextproto.$(OBJEXT)
2521 net/libtextproto.la: net/libtextproto.lo
2522 net/textproto/check: $(CHECK_DEPS)
2523 @$(MKDIR_P) net/textproto
2525 .PHONY: net/textproto/check
2527 os/libinotify.$(OBJEXT): $(go_os_inotify_files) fmt.gox os.gox strings.gox \
2530 os/libinotify.lo: os/libinotify.$(OBJEXT)
2531 os/libinotify.la: os/libinotify.lo
2532 os/inotify/check: $(CHECK_DEPS)
2533 @$(MKDIR_P) os/inotify
2535 .PHONY: os/inotify/check
2537 os/libsignal.$(OBJEXT): $(go_os_signal_files) runtime.gox strconv.gox
2539 os/libsignal.lo: os/libsignal.$(OBJEXT)
2540 os/libsignal.la: os/libsignal.lo
2541 os/signal/check: $(CHECK_DEPS)
2542 @$(MKDIR_P) os/signal
2544 .PHONY: os/signal/check
2546 unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go
2547 $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp
2550 rpc/libjsonrpc.$(OBJEXT): $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox \
2551 net.gox os.gox rpc.gox sync.gox
2553 rpc/libjsonrpc.lo: rpc/libjsonrpc.$(OBJEXT)
2554 rpc/libjsonrpc.la: rpc/libjsonrpc.lo
2555 rpc/jsonrpc/check: $(CHECK_DEPS)
2556 @$(MKDIR_P) rpc/jsonrpc
2558 .PHONY: rpc/jsonrpc/check
2560 runtime/libdebug.$(OBJEXT): $(go_runtime_debug_files) bytes.gox fmt.gox \
2561 io/ioutil.gox os.gox runtime.gox
2563 runtime/libdebug.lo: runtime/libdebug.$(OBJEXT)
2564 runtime/libdebug.la: runtime/libdebug.lo
2565 runtime/debug/check: $(CHECK_DEPS)
2566 @$(MKDIR_P) runtime/debug
2568 .PHONY: runtime/debug/check
2570 runtime/libpprof.$(OBJEXT): $(go_runtime_pprof_files) bufio.gox fmt.gox \
2571 io.gox os.gox runtime.gox
2573 runtime/libpprof.lo: runtime/libpprof.$(OBJEXT)
2574 runtime/libpprof.la: runtime/libpprof.lo
2575 runtime/pprof/check: $(CHECK_DEPS)
2576 @$(MKDIR_P) runtime/pprof
2578 .PHONY: runtime/pprof/check
2580 testing/libiotest.$(OBJEXT): $(go_testing_iotest_files) io.gox log.gox os.gox
2582 testing/libiotest.lo: testing/libiotest.$(OBJEXT)
2583 testing/libiotest.la: testing/libiotest.lo
2584 testing/iotest/check: $(CHECK_DEPS)
2585 @$(MKDIR_P) testing/iotest
2587 .PHONY: testing/iotest/check
2589 testing/libquick.$(OBJEXT): $(go_testing_quick_files) flag.gox fmt.gox \
2590 math.gox os.gox rand.gox reflect.gox strings.gox
2592 testing/libquick.lo: testing/libquick.$(OBJEXT)
2593 testing/libquick.la: testing/libquick.lo
2594 testing/quick/check: $(CHECK_DEPS)
2595 @$(MKDIR_P) testing/quick
2597 .PHONY: testing/quick/check
2599 testing/libscript.$(OBJEXT): $(go_testing_script_files) fmt.gox os.gox \
2600 rand.gox reflect.gox strings.gox
2602 testing/libscript.lo: testing/libscript.$(OBJEXT)
2603 testing/libscript.la: testing/libscript.lo
2604 testing/script/check: $(CHECK_DEPS)
2605 @$(MKDIR_P) testing/script
2607 .PHONY: testing/script/check
2609 sysinfo.go: s-sysinfo; @true
2610 s-sysinfo: $(srcdir)/mksysinfo.sh config.h
2611 CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh
2612 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
2615 syscalls/syscall.$(OBJEXT): $(go_syscall_files) $(go_syscall_c_files) sync.gox
2616 rm -f syscall.gox syscalls/libsyscall.a
2617 test -d syscalls || $(MKDIR_P) syscalls
2618 files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
2619 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
2620 syscalls/errno.$(OBJEXT): $(srcdir)/syscalls/errno.c syscalls/syscall.$(OBJEXT)
2621 $(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c
2622 syscalls/libsyscall.la: syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT)
2623 $(LINK) syscalls/syscall.lo syscalls/errno.lo
2625 # How to build a .gox file from a .a file.
2627 $(OBJCOPY) -j .go_export $< $@.tmp && mv -f $@.tmp $@
2629 asn1.gox: asn1/libasn1.$(OBJEXT)
2631 big.gox: big/libbig.$(OBJEXT)
2633 bufio.gox: bufio/libbufio.$(OBJEXT)
2635 bytes.gox: bytes/bytes.$(OBJEXT)
2637 cmath.gox: cmath/libcmath.$(OBJEXT)
2639 ebnf.gox: ebnf/libebnf.$(OBJEXT)
2641 exec.gox: exec/libexec.$(OBJEXT)
2643 expvar.gox: expvar/libexpvar.$(OBJEXT)
2645 flag.gox: flag/libflag.$(OBJEXT)
2647 fmt.gox: fmt/libfmt.$(OBJEXT)
2649 gob.gox: gob/libgob.$(OBJEXT)
2651 hash.gox: hash/libhash.$(OBJEXT)
2653 html.gox: html/libhtml.$(OBJEXT)
2655 http.gox: http/libhttp.$(OBJEXT)
2657 image.gox: image/libimage.$(OBJEXT)
2659 io.gox: io/libio.$(OBJEXT)
2661 json.gox: json/libjson.$(OBJEXT)
2663 log.gox: log/liblog.$(OBJEXT)
2665 math.gox: math/libmath.$(OBJEXT)
2667 mime.gox: mime/libmime.$(OBJEXT)
2669 net.gox: net/libnet.$(OBJEXT)
2671 netchan.gox: netchan/libnetchan.$(OBJEXT)
2673 os.gox: os/libos.$(OBJEXT)
2675 patch.gox: patch/libpatch.$(OBJEXT)
2677 path.gox: path/libpath.$(OBJEXT)
2679 rand.gox: rand/librand.$(OBJEXT)
2681 reflect.gox: reflect/libreflect.$(OBJEXT)
2683 regexp.gox: regexp/libregexp.$(OBJEXT)
2685 rpc.gox: rpc/librpc.$(OBJEXT)
2687 runtime.gox: runtime/libruntime.$(OBJEXT)
2689 scanner.gox: scanner/libscanner.$(OBJEXT)
2691 smtp.gox: smtp/libsmtp.$(OBJEXT)
2693 sort.gox: sort/libsort.$(OBJEXT)
2695 strconv.gox: strconv/libstrconv.$(OBJEXT)
2697 strings.gox: strings/libstrings.$(OBJEXT)
2699 sync.gox: sync/mutex.$(OBJEXT)
2701 syslog.gox: syslog/libsyslog.$(OBJEXT)
2703 syscall.gox: syscalls/syscall.$(OBJEXT)
2705 tabwriter.gox: tabwriter/libtabwriter.$(OBJEXT)
2707 template.gox: template/libtemplate.$(OBJEXT)
2709 testing.gox: testing/libtesting.$(OBJEXT)
2711 time.gox: time/libtime.$(OBJEXT)
2713 try.gox: try/libtry.$(OBJEXT)
2715 unicode.gox: unicode/libunicode.$(OBJEXT)
2717 utf16.gox: utf16/libutf16.$(OBJEXT)
2719 utf8.gox: utf8/libutf8.$(OBJEXT)
2721 websocket.gox: websocket/libwebsocket.$(OBJEXT)
2723 xml.gox: xml/libxml.$(OBJEXT)
2726 archive/tar.gox: archive/libtar.$(OBJEXT)
2728 archive/zip.gox: archive/libzip.$(OBJEXT)
2731 compress/flate.gox: compress/libflate.$(OBJEXT)
2733 compress/gzip.gox: compress/libgzip.$(OBJEXT)
2735 compress/zlib.gox: compress/libzlib.$(OBJEXT)
2738 container/heap.gox: container/libheap.$(OBJEXT)
2740 container/list.gox: container/liblist.$(OBJEXT)
2742 container/ring.gox: container/libring.$(OBJEXT)
2744 container/vector.gox: container/libvector.$(OBJEXT)
2747 crypto/aes.gox: crypto/libaes.$(OBJEXT)
2749 crypto/block.gox: crypto/libblock.$(OBJEXT)
2751 crypto/blowfish.gox: crypto/libblowfish.$(OBJEXT)
2753 crypto/cast5.gox: crypto/libcast5.$(OBJEXT)
2755 crypto/cipher.gox: crypto/libcipher.$(OBJEXT)
2757 crypto/elliptic.gox: crypto/libelliptic.$(OBJEXT)
2759 crypto/hmac.gox: crypto/libhmac.$(OBJEXT)
2761 crypto/md4.gox: crypto/libmd4.$(OBJEXT)
2763 crypto/md5.gox: crypto/libmd5.$(OBJEXT)
2765 crypto/ocsp.gox: crypto/libocsp.$(OBJEXT)
2767 crypto/rand.gox: crypto/librand.$(OBJEXT)
2769 crypto/rc4.gox: crypto/librc4.$(OBJEXT)
2771 crypto/ripemd160.gox: crypto/libripemd160.$(OBJEXT)
2773 crypto/rsa.gox: crypto/librsa.$(OBJEXT)
2775 crypto/sha1.gox: crypto/libsha1.$(OBJEXT)
2777 crypto/sha256.gox: crypto/libsha256.$(OBJEXT)
2779 crypto/sha512.gox: crypto/libsha512.$(OBJEXT)
2781 crypto/subtle.gox: crypto/libsubtle.$(OBJEXT)
2783 crypto/tls.gox: crypto/libtls.$(OBJEXT)
2785 crypto/twofish.gox: crypto/libtwofish.$(OBJEXT)
2787 crypto/x509.gox: crypto/libx509.$(OBJEXT)
2789 crypto/xtea.gox: crypto/libxtea.$(OBJEXT)
2792 crypto/openpgp/armor.gox: crypto/openpgp/libarmor.$(OBJEXT)
2794 crypto/openpgp/error.gox: crypto/openpgp/liberror.$(OBJEXT)
2796 crypto/openpgp/s2k.gox: crypto/openpgp/libs2k.$(OBJEXT)
2799 debug/dwarf.gox: debug/libdwarf.$(OBJEXT)
2801 debug/elf.gox: debug/libelf.$(OBJEXT)
2803 debug/gosym.gox: debug/libgosym.$(OBJEXT)
2805 debug/macho.gox: debug/libmacho.$(OBJEXT)
2807 debug/pe.gox: debug/libpe.$(OBJEXT)
2809 debug/proc.gox: debug/libproc.$(OBJEXT)
2812 encoding/ascii85.gox: encoding/libascii85.$(OBJEXT)
2814 encoding/base32.gox: encoding/libbase32.$(OBJEXT)
2816 encoding/base64.gox: encoding/libbase64.$(OBJEXT)
2818 encoding/binary.gox: encoding/libbinary.$(OBJEXT)
2820 encoding/git85.gox: encoding/libgit85.$(OBJEXT)
2822 encoding/hex.gox: encoding/libhex.$(OBJEXT)
2824 encoding/line.gox: encoding/libline.$(OBJEXT)
2826 encoding/pem.gox: encoding/libpem.$(OBJEXT)
2829 exp/datafmt.gox: exp/libdatafmt.$(OBJEXT)
2831 exp/draw.gox: exp/libdraw.$(OBJEXT)
2833 exp/eval.gox: exp/libeval.$(OBJEXT)
2836 go/ast.gox: go/libast.$(OBJEXT)
2838 go/doc.gox: go/libdoc.$(OBJEXT)
2840 go/parser.gox: go/libparser.$(OBJEXT)
2842 go/printer.gox: go/libprinter.$(OBJEXT)
2844 go/scanner.gox: go/libscanner.$(OBJEXT)
2846 go/token.gox: go/libtoken.$(OBJEXT)
2848 go/typechecker.gox: go/libtypechecker.$(OBJEXT)
2851 hash/adler32.gox: hash/libadler32.$(OBJEXT)
2853 hash/crc32.gox: hash/libcrc32.$(OBJEXT)
2855 hash/crc64.gox: hash/libcrc64.$(OBJEXT)
2858 http/pprof.gox: http/libpprof.$(OBJEXT)
2861 image/jpeg.gox: image/libjpeg.$(OBJEXT)
2863 image/png.gox: image/libpng.$(OBJEXT)
2866 index/suffixarray.gox: index/libsuffixarray.$(OBJEXT)
2869 io/ioutil.gox: io/libioutil.$(OBJEXT)
2872 mime/multipart.gox: mime/libmultipart.$(OBJEXT)
2875 net/dict.gox: net/libdict.$(OBJEXT)
2877 net/textproto.gox: net/libtextproto.$(OBJEXT)
2880 os/inotify.gox: os/libinotify.$(OBJEXT)
2882 os/signal.gox: os/libsignal.$(OBJEXT)
2885 rpc/jsonrpc.gox: rpc/libjsonrpc.$(OBJEXT)
2888 runtime/debug.gox: runtime/libdebug.$(OBJEXT)
2890 runtime/pprof.gox: runtime/libpprof.$(OBJEXT)
2893 testing/iotest.gox: testing/libiotest.$(OBJEXT)
2895 testing/quick.gox: testing/libquick.$(OBJEXT)
2897 testing/script.gox: testing/libscript.$(OBJEXT)
2901 # os_inotify_check = os/inotify/check
2954 compress/flate/check \
2955 compress/gzip/check \
2956 compress/zlib/check \
2957 container/heap/check \
2958 container/list/check \
2959 container/ring/check \
2960 container/vector/check \
2962 crypto/block/check \
2963 crypto/blowfish/check \
2964 crypto/cast5/check \
2965 crypto/cipher/check \
2966 crypto/elliptic/check \
2973 crypto/ripemd160/check \
2976 crypto/sha256/check \
2977 crypto/sha512/check \
2978 crypto/subtle/check \
2980 crypto/twofish/check \
2983 crypto/openpgp/armor/check \
2984 crypto/openpgp/s2k/check \
2989 encoding/ascii85/check \
2990 encoding/base32/check \
2991 encoding/base64/check \
2992 encoding/binary/check \
2993 encoding/git85/check \
2994 encoding/hex/check \
2995 encoding/line/check \
2996 encoding/pem/check \
3004 go/typechecker/check \
3005 hash/adler32/check \
3009 index/suffixarray/check \
3011 mime/multipart/check \
3012 net/textproto/check \
3013 $(os_inotify_check) \
3016 testing/quick/check \
3017 testing/script/check
3019 check-recursive: $(TEST_PACKAGES)
3022 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3023 find . -name '*.$(OBJEXT)' -print | xargs rm -f
3026 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3027 find . -name '*.a' -print | xargs rm -f
3029 CLEANFILES = *.go *.gox goc2c *.c s-version