]>
Commit | Line | Data |
---|---|---|
7a938933 ILT |
1 | # Makefile.am -- Go library Makefile. |
2 | ||
3 | # Copyright 2009, 2010 The Go Authors. All rights reserved. | |
4 | # Use of this source code is governed by a BSD-style | |
5 | # license that can be found in the LICENSE file. | |
6 | ||
7 | # Process this file with autoreconf to produce Makefile.in. | |
8 | ||
9 | # Go support. | |
10 | SUFFIXES = .c .go .gox .o .obj .lo .a | |
11 | ||
12 | if LIBGO_IS_RTEMS | |
13 | subdirs = testsuite | |
14 | endif | |
15 | ||
16 | SUBDIRS = ${subdirs} | |
17 | ||
ac819ba5 ILT |
18 | gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) |
19 | ||
7a938933 ILT |
20 | MAINT_CHARSET = latin1 |
21 | ||
22 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs | |
23 | PWD_COMMAND = $${PWDCMD-pwd} | |
24 | STAMP = echo timestamp > | |
25 | ||
26 | toolexecdir = $(glibgo_toolexecdir) | |
27 | toolexeclibdir = $(glibgo_toolexeclibdir) | |
28 | ||
29 | LIBFFI = @LIBFFI@ | |
30 | LIBFFIINCS = @LIBFFIINCS@ | |
31 | ||
32 | WARN_CFLAGS = $(WARN_FLAGS) $(WERROR) | |
33 | ||
34 | # -I/-D flags to pass when compiling. | |
6c94a9fa | 35 | AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS) |
7a938933 ILT |
36 | |
37 | ACLOCAL_AMFLAGS = -I ./config -I ../config | |
38 | ||
39 | AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \ | |
40 | $(STRINGOPS_FLAG) \ | |
41 | -I $(srcdir)/../gcc -I $(MULTIBUILDTOP)../../gcc/include | |
42 | ||
43 | if USING_SPLIT_STACK | |
44 | AM_LDFLAGS = -XCClinker $(SPLIT_STACK) | |
45 | endif | |
46 | ||
47 | # Multilib support. | |
48 | MAKEOVERRIDES= | |
49 | ||
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. | |
53 | AM_MAKEFLAGS = \ | |
54 | "AR_FLAGS=$(AR_FLAGS)" \ | |
55 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
56 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ | |
57 | "CFLAGS=$(CFLAGS)" \ | |
58 | "CXXFLAGS=$(CXXFLAGS)" \ | |
59 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ | |
60 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
61 | "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \ | |
62 | "GOC=$(GOC)" \ | |
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)" \ | |
71 | "MAKE=$(MAKE)" \ | |
72 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ | |
73 | "PICFLAG=$(PICFLAG)" \ | |
74 | "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ | |
75 | "SHELL=$(SHELL)" \ | |
76 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
77 | "exec_prefix=$(exec_prefix)" \ | |
78 | "infodir=$(infodir)" \ | |
79 | "libdir=$(libdir)" \ | |
80 | "includedir=$(includedir)" \ | |
81 | "prefix=$(prefix)" \ | |
82 | "tooldir=$(tooldir)" \ | |
83 | "gxx_include_dir=$(gxx_include_dir)" \ | |
84 | "AR=$(AR)" \ | |
85 | "AS=$(AS)" \ | |
86 | "LD=$(LD)" \ | |
87 | "RANLIB=$(RANLIB)" \ | |
88 | "NM=$(NM)" \ | |
89 | "NM_FOR_BUILD=$(NM_FOR_BUILD)" \ | |
90 | "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ | |
91 | "DESTDIR=$(DESTDIR)" \ | |
92 | "WERROR=$(WERROR)" | |
93 | ||
94 | # Subdir rules rely on $(FLAGS_TO_PASS) | |
95 | FLAGS_TO_PASS = $(AM_MAKEFLAGS) | |
96 | ||
97 | toolexeclib_LTLIBRARIES = libgo.la | |
98 | toolexeclib_LIBRARIES = libgobegin.a | |
99 | ||
ac819ba5 ILT |
100 | toolexeclibgodir = $(toolexeclibdir)/go/$(gcc_version)/$(target_alias) |
101 | ||
102 | toolexeclibgo_DATA = \ | |
7a938933 ILT |
103 | asn1.gox \ |
104 | big.gox \ | |
105 | bufio.gox \ | |
106 | bytes.gox \ | |
107 | cmath.gox \ | |
108 | ebnf.gox \ | |
109 | exec.gox \ | |
110 | expvar.gox \ | |
111 | flag.gox \ | |
112 | fmt.gox \ | |
113 | gob.gox \ | |
114 | hash.gox \ | |
115 | html.gox \ | |
116 | http.gox \ | |
117 | image.gox \ | |
118 | io.gox \ | |
119 | json.gox \ | |
120 | log.gox \ | |
121 | math.gox \ | |
122 | mime.gox \ | |
123 | net.gox \ | |
124 | netchan.gox \ | |
125 | os.gox \ | |
126 | patch.gox \ | |
127 | path.gox \ | |
128 | rand.gox \ | |
129 | reflect.gox \ | |
130 | regexp.gox \ | |
131 | rpc.gox \ | |
132 | runtime.gox \ | |
133 | scanner.gox \ | |
134 | smtp.gox \ | |
135 | sort.gox \ | |
136 | strconv.gox \ | |
137 | strings.gox \ | |
138 | sync.gox \ | |
139 | syscall.gox \ | |
140 | syslog.gox \ | |
141 | tabwriter.gox \ | |
142 | template.gox \ | |
143 | testing.gox \ | |
144 | time.gox \ | |
145 | try.gox \ | |
146 | unicode.gox \ | |
147 | utf16.gox \ | |
148 | utf8.gox \ | |
149 | websocket.gox \ | |
150 | xml.gox | |
151 | ||
ac819ba5 | 152 | toolexeclibgoarchivedir = $(toolexeclibgodir)/archive |
7a938933 | 153 | |
ac819ba5 | 154 | toolexeclibgoarchive_DATA = \ |
7a938933 ILT |
155 | archive/tar.gox \ |
156 | archive/zip.gox | |
157 | ||
ac819ba5 | 158 | toolexeclibgocompressdir = $(toolexeclibgodir)/compress |
7a938933 | 159 | |
ac819ba5 | 160 | toolexeclibgocompress_DATA = \ |
7a938933 ILT |
161 | compress/flate.gox \ |
162 | compress/gzip.gox \ | |
163 | compress/zlib.gox | |
164 | ||
ac819ba5 | 165 | toolexeclibgocontainerdir = $(toolexeclibgodir)/container |
7a938933 | 166 | |
ac819ba5 | 167 | toolexeclibgocontainer_DATA = \ |
7a938933 ILT |
168 | container/heap.gox \ |
169 | container/list.gox \ | |
170 | container/ring.gox \ | |
171 | container/vector.gox | |
172 | ||
ac819ba5 | 173 | toolexeclibgocryptodir = $(toolexeclibgodir)/crypto |
7a938933 | 174 | |
ac819ba5 | 175 | toolexeclibgocrypto_DATA = \ |
7a938933 ILT |
176 | crypto/aes.gox \ |
177 | crypto/block.gox \ | |
178 | crypto/blowfish.gox \ | |
179 | crypto/cast5.gox \ | |
180 | crypto/hmac.gox \ | |
181 | crypto/md4.gox \ | |
182 | crypto/md5.gox \ | |
183 | crypto/ocsp.gox \ | |
184 | crypto/rand.gox \ | |
185 | crypto/rc4.gox \ | |
186 | crypto/ripemd160.gox \ | |
187 | crypto/rsa.gox \ | |
188 | crypto/sha1.gox \ | |
189 | crypto/sha256.gox \ | |
190 | crypto/sha512.gox \ | |
191 | crypto/subtle.gox \ | |
192 | crypto/tls.gox \ | |
193 | crypto/x509.gox \ | |
194 | crypto/xtea.gox | |
195 | ||
ac819ba5 | 196 | toolexeclibgodebugdir = $(toolexeclibgodir)/debug |
7a938933 | 197 | |
ac819ba5 | 198 | toolexeclibgodebug_DATA = \ |
7a938933 ILT |
199 | debug/dwarf.gox \ |
200 | debug/elf.gox \ | |
201 | debug/gosym.gox \ | |
202 | debug/macho.gox \ | |
203 | debug/pe.gox \ | |
204 | debug/proc.gox | |
205 | ||
ac819ba5 | 206 | toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding |
7a938933 | 207 | |
ac819ba5 | 208 | toolexeclibgoencoding_DATA = \ |
7a938933 ILT |
209 | encoding/ascii85.gox \ |
210 | encoding/base64.gox \ | |
211 | encoding/binary.gox \ | |
212 | encoding/git85.gox \ | |
213 | encoding/hex.gox \ | |
214 | encoding/pem.gox | |
215 | ||
ac819ba5 | 216 | toolexeclibgoexpdir = $(toolexeclibgodir)/exp |
7a938933 | 217 | |
ac819ba5 | 218 | toolexeclibgoexp_DATA = \ |
7a938933 ILT |
219 | exp/datafmt.gox \ |
220 | exp/draw.gox \ | |
221 | exp/eval.gox | |
222 | ||
ac819ba5 | 223 | toolexeclibgogodir = $(toolexeclibgodir)/go |
7a938933 | 224 | |
ac819ba5 | 225 | toolexeclibgogo_DATA = \ |
7a938933 ILT |
226 | go/ast.gox \ |
227 | go/doc.gox \ | |
228 | go/parser.gox \ | |
229 | go/printer.gox \ | |
230 | go/scanner.gox \ | |
231 | go/token.gox \ | |
232 | go/typechecker.gox | |
233 | ||
ac819ba5 | 234 | toolexeclibgohashdir = $(toolexeclibgodir)/hash |
7a938933 | 235 | |
ac819ba5 | 236 | toolexeclibgohash_DATA = \ |
7a938933 ILT |
237 | hash/adler32.gox \ |
238 | hash/crc32.gox \ | |
239 | hash/crc64.gox | |
240 | ||
ac819ba5 | 241 | toolexeclibgohttpdir = $(toolexeclibgodir)/http |
7a938933 | 242 | |
ac819ba5 | 243 | toolexeclibgohttp_DATA = \ |
7a938933 ILT |
244 | http/pprof.gox |
245 | ||
ac819ba5 | 246 | toolexeclibgoimagedir = $(toolexeclibgodir)/image |
7a938933 | 247 | |
ac819ba5 | 248 | toolexeclibgoimage_DATA = \ |
7a938933 ILT |
249 | image/jpeg.gox \ |
250 | image/png.gox | |
251 | ||
ac819ba5 | 252 | toolexeclibgoindexdir = $(toolexeclibgodir)/index |
7a938933 | 253 | |
ac819ba5 | 254 | toolexeclibgoindex_DATA = \ |
7a938933 ILT |
255 | index/suffixarray.gox |
256 | ||
ac819ba5 | 257 | toolexeclibgoiodir = $(toolexeclibgodir)/io |
7a938933 | 258 | |
ac819ba5 | 259 | toolexeclibgoio_DATA = \ |
7a938933 ILT |
260 | io/ioutil.gox |
261 | ||
ac819ba5 | 262 | toolexeclibgomimedir = $(toolexeclibgodir)/mime |
7a938933 | 263 | |
ac819ba5 | 264 | toolexeclibgomime_DATA = \ |
7a938933 ILT |
265 | mime/multipart.gox |
266 | ||
ac819ba5 | 267 | toolexeclibgonetdir = $(toolexeclibgodir)/net |
7a938933 | 268 | |
ac819ba5 | 269 | toolexeclibgonet_DATA = \ |
7a938933 ILT |
270 | net/dict.gox \ |
271 | net/textproto.gox | |
272 | ||
ac819ba5 | 273 | toolexeclibgoosdir = $(toolexeclibgodir)/os |
7a938933 | 274 | |
ac819ba5 | 275 | toolexeclibgoos_DATA = \ |
7a938933 ILT |
276 | os/signal.gox |
277 | ||
ac819ba5 | 278 | toolexeclibgorpcdir = $(toolexeclibgodir)/rpc |
7a938933 | 279 | |
ac819ba5 | 280 | toolexeclibgorpc_DATA = \ |
7a938933 ILT |
281 | rpc/jsonrpc.gox |
282 | ||
ac819ba5 | 283 | toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime |
7a938933 | 284 | |
ac819ba5 | 285 | toolexeclibgoruntime_DATA = \ |
7a938933 ILT |
286 | runtime/pprof.gox |
287 | ||
ac819ba5 | 288 | toolexeclibgotestingdir = $(toolexeclibgodir)/testing |
7a938933 | 289 | |
ac819ba5 | 290 | toolexeclibgotesting_DATA = \ |
7a938933 ILT |
291 | testing/iotest.gox \ |
292 | testing/quick.gox \ | |
293 | testing/script.gox | |
294 | ||
295 | if HAVE_SYS_MMAN_H | |
296 | runtime_mem_file = runtime/mem.c | |
297 | else | |
298 | runtime_mem_file = runtime/mem_posix_memalign.c | |
299 | endif | |
300 | ||
301 | if LIBGO_IS_RTEMS | |
302 | rtems_task_variable_add_file = runtime/rtems-task-variable-add.c | |
303 | else | |
304 | rtems_task_variable_add_file = | |
305 | endif | |
306 | ||
307 | runtime_files = \ | |
308 | runtime/go-append.c \ | |
309 | runtime/go-assert.c \ | |
310 | runtime/go-assert-interface.c \ | |
311 | runtime/go-byte-array-to-string.c \ | |
312 | runtime/go-breakpoint.c \ | |
313 | runtime/go-caller.c \ | |
314 | runtime/go-can-convert-interface.c \ | |
9a270ad3 | 315 | runtime/go-cgo.c \ |
7a938933 ILT |
316 | runtime/go-chan-cap.c \ |
317 | runtime/go-chan-len.c \ | |
318 | runtime/go-check-interface.c \ | |
319 | runtime/go-close.c \ | |
320 | runtime/go-closed.c \ | |
321 | runtime/go-construct-map.c \ | |
322 | runtime/go-convert-interface.c \ | |
b5343013 | 323 | runtime/go-copy.c \ |
7a938933 ILT |
324 | runtime/go-defer.c \ |
325 | runtime/go-deferred-recover.c \ | |
326 | runtime/go-eface-compare.c \ | |
327 | runtime/go-eface-val-compare.c \ | |
328 | runtime/go-getgoroot.c \ | |
329 | runtime/go-go.c \ | |
330 | runtime/go-gomaxprocs.c \ | |
331 | runtime/go-int-array-to-string.c \ | |
332 | runtime/go-int-to-string.c \ | |
333 | runtime/go-interface-compare.c \ | |
334 | runtime/go-interface-val-compare.c \ | |
335 | runtime/go-lock-os-thread.c \ | |
336 | runtime/go-map-delete.c \ | |
337 | runtime/go-map-index.c \ | |
338 | runtime/go-map-len.c \ | |
339 | runtime/go-map-range.c \ | |
340 | runtime/go-nanotime.c \ | |
341 | runtime/go-new-channel.c \ | |
342 | runtime/go-new-map.c \ | |
343 | runtime/go-new.c \ | |
344 | runtime/go-note.c \ | |
345 | runtime/go-panic.c \ | |
346 | runtime/go-panic-defer.c \ | |
347 | runtime/go-print.c \ | |
348 | runtime/go-rec-big.c \ | |
349 | runtime/go-rec-nb-big.c \ | |
350 | runtime/go-rec-nb-small.c \ | |
351 | runtime/go-rec-small.c \ | |
352 | runtime/go-recover.c \ | |
353 | runtime/go-reflect.c \ | |
354 | runtime/go-reflect-call.c \ | |
355 | runtime/go-reflect-chan.c \ | |
356 | runtime/go-reflect-map.c \ | |
357 | runtime/go-rune.c \ | |
358 | runtime/go-runtime-error.c \ | |
359 | runtime/go-sched.c \ | |
360 | runtime/go-select.c \ | |
361 | runtime/go-semacquire.c \ | |
362 | runtime/go-send-big.c \ | |
363 | runtime/go-send-nb-big.c \ | |
364 | runtime/go-send-nb-small.c \ | |
365 | runtime/go-send-small.c \ | |
366 | runtime/go-signal.c \ | |
367 | runtime/go-strcmp.c \ | |
368 | runtime/go-string-to-byte-array.c \ | |
369 | runtime/go-string-to-int-array.c \ | |
370 | runtime/go-strplus.c \ | |
371 | runtime/go-strslice.c \ | |
372 | runtime/go-trampoline.c \ | |
373 | runtime/go-type-eface.c \ | |
374 | runtime/go-type-error.c \ | |
375 | runtime/go-type-identity.c \ | |
376 | runtime/go-type-interface.c \ | |
377 | runtime/go-type-string.c \ | |
378 | runtime/go-typedesc-equal.c \ | |
379 | runtime/go-typestring.c \ | |
380 | runtime/go-unreflect.c \ | |
381 | runtime/go-unsafe-new.c \ | |
382 | runtime/go-unsafe-newarray.c \ | |
383 | runtime/go-unsafe-pointer.c \ | |
384 | runtime/go-unwind.c \ | |
385 | runtime/mcache.c \ | |
386 | runtime/mcentral.c \ | |
387 | $(runtime_mem_file) \ | |
388 | runtime/mfinal.c \ | |
389 | runtime/mfixalloc.c \ | |
390 | runtime/mgc0.c \ | |
391 | runtime/mheap.c \ | |
392 | runtime/mheapmap32.c \ | |
393 | runtime/mheapmap64.c \ | |
394 | runtime/msize.c \ | |
395 | runtime/proc.c \ | |
396 | runtime/thread.c \ | |
397 | $(rtems_task_variable_add_file) \ | |
398 | chan.c \ | |
399 | iface.c \ | |
400 | malloc.c \ | |
401 | map.c \ | |
402 | mprof.c \ | |
403 | reflect.c \ | |
404 | sigqueue.c \ | |
405 | string.c | |
406 | ||
407 | goc2c.$(OBJEXT): runtime/goc2c.c | |
408 | $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $< | |
409 | ||
410 | goc2c: goc2c.$(OBJEXT) | |
411 | $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $< | |
412 | ||
413 | malloc.c: $(srcdir)/runtime/malloc.goc goc2c | |
414 | ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp | |
415 | mv -f $@.tmp $@ | |
416 | ||
417 | mprof.c: $(srcdir)/runtime/mprof.goc goc2c | |
418 | ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp | |
419 | mv -f $@.tmp $@ | |
420 | ||
421 | reflect.c: $(srcdir)/runtime/reflect.goc goc2c | |
422 | ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp | |
423 | mv -f $@.tmp $@ | |
424 | ||
425 | sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c | |
426 | ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp | |
427 | mv -f $@.tmp $@ | |
428 | ||
429 | %.c: $(srcdir)/runtime/%.goc goc2c | |
430 | ./goc2c --gcc $< > $@.tmp | |
431 | mv -f $@.tmp $@ | |
432 | ||
433 | go_asn1_files = \ | |
434 | go/asn1/asn1.go \ | |
435 | go/asn1/common.go \ | |
436 | go/asn1/marshal.go | |
437 | ||
438 | go_big_files = \ | |
439 | go/big/arith.go \ | |
440 | go/big/int.go \ | |
441 | go/big/nat.go \ | |
442 | go/big/rat.go | |
443 | ||
444 | go_bufio_files = \ | |
445 | go/bufio/bufio.go | |
446 | ||
447 | go_bytes_files = \ | |
448 | go/bytes/buffer.go \ | |
449 | go/bytes/bytes.go \ | |
450 | go/bytes/bytes_decl.go | |
451 | go_bytes_c_files = \ | |
452 | go/bytes/indexbyte.c | |
453 | ||
454 | go_cmath_files = \ | |
455 | go/cmath/abs.go \ | |
456 | go/cmath/asin.go \ | |
457 | go/cmath/conj.go \ | |
458 | go/cmath/exp.go \ | |
459 | go/cmath/isinf.go \ | |
460 | go/cmath/isnan.go \ | |
461 | go/cmath/log.go \ | |
462 | go/cmath/phase.go \ | |
463 | go/cmath/polar.go \ | |
464 | go/cmath/pow.go \ | |
465 | go/cmath/rect.go \ | |
466 | go/cmath/sin.go \ | |
467 | go/cmath/sqrt.go \ | |
468 | go/cmath/tan.go | |
469 | ||
470 | go_ebnf_files = \ | |
471 | go/ebnf/ebnf.go \ | |
472 | go/ebnf/parser.go | |
473 | ||
474 | go_exec_files = \ | |
475 | go/exec/exec.go \ | |
476 | go/exec/lp_unix.go | |
477 | ||
478 | go_expvar_files = \ | |
479 | go/expvar/expvar.go | |
480 | ||
481 | go_flag_files = \ | |
482 | go/flag/flag.go | |
483 | ||
484 | go_fmt_files = \ | |
485 | go/fmt/doc.go \ | |
486 | go/fmt/format.go \ | |
487 | go/fmt/print.go \ | |
488 | go/fmt/scan.go | |
489 | ||
490 | go_gob_files = \ | |
491 | go/gob/decode.go \ | |
492 | go/gob/decoder.go \ | |
493 | go/gob/doc.go \ | |
494 | go/gob/encode.go \ | |
495 | go/gob/encoder.go \ | |
496 | go/gob/error.go \ | |
497 | go/gob/type.go | |
498 | ||
499 | go_hash_files = \ | |
500 | go/hash/hash.go | |
501 | ||
502 | go_html_files = \ | |
503 | go/html/doc.go \ | |
504 | go/html/entity.go \ | |
505 | go/html/escape.go \ | |
506 | go/html/token.go | |
507 | ||
508 | go_http_files = \ | |
509 | go/http/chunked.go \ | |
510 | go/http/client.go \ | |
511 | go/http/dump.go \ | |
512 | go/http/fs.go \ | |
513 | go/http/lex.go \ | |
514 | go/http/persist.go \ | |
515 | go/http/request.go \ | |
516 | go/http/response.go \ | |
517 | go/http/server.go \ | |
518 | go/http/status.go \ | |
519 | go/http/transfer.go \ | |
520 | go/http/url.go | |
521 | ||
522 | go_image_files = \ | |
523 | go/image/color.go \ | |
524 | go/image/format.go \ | |
525 | go/image/geom.go \ | |
526 | go/image/image.go \ | |
527 | go/image/names.go | |
528 | ||
529 | go_io_files = \ | |
530 | go/io/multi.go \ | |
531 | go/io/io.go \ | |
532 | go/io/pipe.go | |
533 | ||
534 | go_json_files = \ | |
535 | go/json/decode.go \ | |
536 | go/json/encode.go \ | |
537 | go/json/indent.go \ | |
538 | go/json/scanner.go \ | |
539 | go/json/stream.go | |
540 | ||
541 | go_log_files = \ | |
542 | go/log/log.go | |
543 | ||
544 | go_math_files = \ | |
545 | go/math/acosh.go \ | |
546 | go/math/asin.go \ | |
547 | go/math/asinh.go \ | |
548 | go/math/atan.go \ | |
549 | go/math/atanh.go \ | |
550 | go/math/atan2.go \ | |
551 | go/math/bits.go \ | |
552 | go/math/cbrt.go \ | |
553 | go/math/const.go \ | |
554 | go/math/copysign.go \ | |
555 | go/math/erf.go \ | |
556 | go/math/exp.go \ | |
557 | go/math/exp2.go \ | |
558 | go/math/expm1.go \ | |
559 | go/math/fabs.go \ | |
560 | go/math/fdim.go \ | |
561 | go/math/floor.go \ | |
562 | go/math/fmod.go \ | |
563 | go/math/frexp.go \ | |
564 | go/math/gamma.go \ | |
565 | go/math/hypot.go \ | |
566 | go/math/hypot_port.go \ | |
567 | go/math/j0.go \ | |
568 | go/math/j1.go \ | |
569 | go/math/jn.go \ | |
570 | go/math/ldexp.go \ | |
571 | go/math/lgamma.go \ | |
572 | go/math/log.go \ | |
573 | go/math/log1p.go \ | |
574 | go/math/log10.go \ | |
575 | go/math/logb.go \ | |
576 | go/math/modf.go \ | |
577 | go/math/nextafter.go \ | |
578 | go/math/pow.go \ | |
579 | go/math/pow10.go \ | |
580 | go/math/remainder.go \ | |
581 | go/math/signbit.go \ | |
582 | go/math/sin.go \ | |
583 | go/math/sincos.go \ | |
584 | go/math/sinh.go \ | |
585 | go/math/sqrt.go \ | |
586 | go/math/sqrt_port.go \ | |
587 | go/math/tan.go \ | |
588 | go/math/tanh.go \ | |
589 | go/math/unsafe.go | |
590 | ||
591 | go_mime_files = \ | |
592 | go/mime/grammar.go \ | |
593 | go/mime/mediatype.go \ | |
594 | go/mime/type.go | |
595 | ||
596 | if LIBGO_IS_RTEMS | |
597 | go_net_fd_os_file = go/net/fd_rtems.go | |
598 | go_net_newpollserver_file = go/net/newpollserver_rtems.go | |
599 | else | |
600 | go_net_fd_os_file = go/net/fd_linux.go | |
601 | go_net_newpollserver_file = go/net/newpollserver.go | |
602 | endif | |
603 | ||
604 | go_net_files = \ | |
605 | go/net/dial.go \ | |
606 | go/net/dnsclient.go \ | |
607 | go/net/dnsconfig.go \ | |
608 | go/net/dnsmsg.go \ | |
609 | $(go_net_newpollserver_file) \ | |
610 | go/net/fd.go \ | |
611 | $(go_net_fd_os_file) \ | |
612 | go/net/hosts.go \ | |
613 | go/net/ip.go \ | |
614 | go/net/iprawsock.go \ | |
615 | go/net/ipsock.go \ | |
616 | go/net/net.go \ | |
617 | go/net/parse.go \ | |
618 | go/net/pipe.go \ | |
619 | go/net/port.go \ | |
620 | go/net/sock.go \ | |
621 | go/net/tcpsock.go \ | |
622 | go/net/udpsock.go \ | |
623 | go/net/unixsock.go | |
624 | ||
625 | go_netchan_files = \ | |
626 | go/netchan/common.go \ | |
627 | go/netchan/export.go \ | |
628 | go/netchan/import.go | |
629 | ||
630 | go_os_files = \ | |
631 | go/os/dir.go \ | |
632 | go/os/env.go \ | |
633 | go/os/env_unix.go \ | |
634 | go/os/error.go \ | |
635 | go/os/exec.go \ | |
636 | go/os/file.go \ | |
637 | go/os/file_unix.go \ | |
638 | go/os/getwd.go \ | |
639 | go/os/path.go \ | |
640 | go/os/proc.go \ | |
641 | go/os/stat.go \ | |
642 | go/os/sys_linux.go \ | |
643 | go/os/time.go \ | |
644 | go/os/types.go | |
645 | ||
646 | go_patch_files = \ | |
647 | go/patch/apply.go \ | |
648 | go/patch/git.go \ | |
649 | go/patch/patch.go \ | |
650 | go/patch/textdiff.go | |
651 | ||
652 | go_path_files = \ | |
653 | go/path/match.go \ | |
654 | go/path/path.go | |
655 | ||
656 | go_rand_files = \ | |
657 | go/rand/exp.go \ | |
658 | go/rand/normal.go \ | |
659 | go/rand/rand.go \ | |
660 | go/rand/rng.go \ | |
661 | go/rand/zipf.go | |
662 | ||
663 | go_reflect_files = \ | |
664 | go/reflect/deepequal.go \ | |
665 | go/reflect/type.go \ | |
666 | go/reflect/value.go | |
667 | ||
668 | go_regexp_files = \ | |
669 | go/regexp/regexp.go | |
670 | ||
671 | go_rpc_files = \ | |
672 | go/rpc/client.go \ | |
673 | go/rpc/debug.go \ | |
674 | go/rpc/server.go | |
675 | ||
676 | go_runtime_files = \ | |
677 | go/runtime/debug.go \ | |
678 | go/runtime/error.go \ | |
679 | go/runtime/extern.go \ | |
680 | go/runtime/sig.go \ | |
681 | go/runtime/softfloat64.go \ | |
682 | go/runtime/type.go \ | |
683 | version.go | |
684 | ||
685 | if LIBGO_IS_386 | |
686 | GOARCH = 386 | |
687 | else | |
688 | if LIBGO_IS_X86_64 | |
689 | GOARCH = amd64 | |
690 | else | |
691 | if LIBGO_IS_ARM | |
692 | GOARCH = arm | |
693 | else | |
694 | GOARCH = unknown | |
695 | endif | |
696 | endif | |
697 | endif | |
698 | ||
699 | if LIBGO_IS_LINUX | |
700 | GOOS = linux | |
701 | else | |
702 | if LIBGO_IS_DARWIN | |
703 | GOOS = darwin | |
704 | else | |
705 | if LIBGO_IS_FREEBSD | |
706 | GOOS = freebsd | |
707 | else | |
708 | if LIBGO_IS_RTEMS | |
709 | GOOS = rtems | |
710 | else | |
711 | GOOS = unknown | |
712 | endif | |
713 | endif | |
714 | endif | |
715 | endif | |
716 | ||
717 | version.go: s-version; @true | |
718 | s-version: Makefile | |
719 | rm -f version.go.tmp | |
720 | echo "package runtime" > version.go.tmp | |
721 | echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp | |
722 | echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp | |
723 | echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp | |
724 | echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp | |
725 | $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go | |
726 | $(STAMP) $@ | |
727 | ||
728 | go_scanner_files = \ | |
729 | go/scanner/scanner.go | |
730 | ||
731 | go_smtp_files = \ | |
732 | go/smtp/auth.go \ | |
733 | go/smtp/smtp.go | |
734 | ||
735 | go_sort_files = \ | |
736 | go/sort/sort.go | |
737 | ||
738 | go_strconv_files = \ | |
739 | go/strconv/atob.go \ | |
740 | go/strconv/atof.go \ | |
741 | go/strconv/atoi.go \ | |
742 | go/strconv/decimal.go \ | |
743 | go/strconv/ftoa.go \ | |
744 | go/strconv/itoa.go \ | |
745 | go/strconv/quote.go | |
746 | ||
747 | go_strings_files = \ | |
748 | go/strings/reader.go \ | |
749 | go/strings/strings.go | |
750 | ||
751 | go_sync_files = \ | |
752 | go/sync/mutex.go \ | |
753 | go/sync/once.go \ | |
754 | go/sync/rwmutex.go | |
755 | go_sync_c_files = \ | |
756 | go/sync/cas.c | |
757 | ||
758 | go_syslog_files = \ | |
759 | go/syslog/syslog.go | |
760 | ||
761 | go_tabwriter_files = \ | |
762 | go/tabwriter/tabwriter.go | |
763 | ||
764 | go_template_files = \ | |
765 | go/template/format.go \ | |
766 | go/template/template.go | |
767 | ||
768 | go_testing_files = \ | |
769 | go/testing/benchmark.go \ | |
770 | go/testing/testing.go | |
771 | ||
772 | go_time_files = \ | |
773 | go/time/format.go \ | |
774 | go/time/sleep.go \ | |
775 | go/time/tick.go \ | |
776 | go/time/time.go \ | |
777 | go/time/zoneinfo_unix.go | |
778 | ||
779 | go_try_files = \ | |
780 | go/try/try.go | |
781 | ||
782 | go_unicode_files = \ | |
783 | go/unicode/casetables.go \ | |
784 | go/unicode/digit.go \ | |
785 | go/unicode/letter.go \ | |
786 | go/unicode/tables.go | |
787 | ||
788 | go_utf16_files = \ | |
789 | go/utf16/utf16.go | |
790 | ||
791 | go_utf8_files = \ | |
792 | go/utf8/string.go \ | |
793 | go/utf8/utf8.go | |
794 | ||
795 | go_websocket_files = \ | |
796 | go/websocket/client.go \ | |
797 | go/websocket/server.go \ | |
798 | go/websocket/websocket.go | |
799 | ||
800 | go_xml_files = \ | |
801 | go/xml/read.go \ | |
802 | go/xml/xml.go | |
803 | ||
804 | go_archive_tar_files = \ | |
805 | go/archive/tar/common.go \ | |
806 | go/archive/tar/reader.go \ | |
807 | go/archive/tar/writer.go | |
808 | ||
809 | go_archive_zip_files = \ | |
810 | go/archive/zip/reader.go \ | |
811 | go/archive/zip/struct.go | |
812 | ||
813 | go_compress_flate_files = \ | |
814 | go/compress/flate/deflate.go \ | |
815 | go/compress/flate/huffman_bit_writer.go \ | |
816 | go/compress/flate/huffman_code.go \ | |
817 | go/compress/flate/inflate.go \ | |
818 | go/compress/flate/reverse_bits.go \ | |
819 | go/compress/flate/token.go \ | |
820 | go/compress/flate/util.go | |
821 | ||
822 | go_compress_gzip_files = \ | |
823 | go/compress/gzip/gzip.go \ | |
824 | go/compress/gzip/gunzip.go | |
825 | ||
826 | go_compress_zlib_files = \ | |
827 | go/compress/zlib/reader.go \ | |
828 | go/compress/zlib/writer.go | |
829 | ||
830 | go_container_heap_files = \ | |
831 | go/container/heap/heap.go | |
832 | ||
833 | go_container_list_files = \ | |
834 | go/container/list/list.go | |
835 | ||
836 | go_container_ring_files = \ | |
837 | go/container/ring/ring.go | |
838 | ||
839 | go_container_vector_files = \ | |
840 | go/container/vector/defs.go \ | |
841 | go/container/vector/intvector.go \ | |
842 | go/container/vector/stringvector.go \ | |
843 | go/container/vector/vector.go | |
844 | ||
845 | go_crypto_aes_files = \ | |
846 | go/crypto/aes/block.go \ | |
847 | go/crypto/aes/cipher.go \ | |
848 | go/crypto/aes/const.go | |
849 | go_crypto_block_files = \ | |
850 | go/crypto/block/cbc.go \ | |
851 | go/crypto/block/cfb.go \ | |
852 | go/crypto/block/cmac.go \ | |
853 | go/crypto/block/cipher.go \ | |
854 | go/crypto/block/ctr.go \ | |
855 | go/crypto/block/eax.go \ | |
856 | go/crypto/block/ecb.go \ | |
857 | go/crypto/block/ofb.go \ | |
858 | go/crypto/block/xor.go | |
859 | go_crypto_blowfish_files = \ | |
860 | go/crypto/blowfish/block.go \ | |
861 | go/crypto/blowfish/const.go \ | |
862 | go/crypto/blowfish/cipher.go | |
863 | go_crypto_cast5_files = \ | |
864 | go/crypto/cast5/cast5.go | |
865 | go_crypto_hmac_files = \ | |
866 | go/crypto/hmac/hmac.go | |
867 | go_crypto_md4_files = \ | |
868 | go/crypto/md4/md4.go \ | |
869 | go/crypto/md4/md4block.go | |
870 | go_crypto_md5_files = \ | |
871 | go/crypto/md5/md5.go \ | |
872 | go/crypto/md5/md5block.go | |
873 | go_crypto_ocsp_files = \ | |
874 | go/crypto/ocsp/ocsp.go | |
875 | go_crypto_rand_files = \ | |
876 | go/crypto/rand/rand.go \ | |
877 | go/crypto/rand/rand_unix.go | |
878 | go_crypto_rc4_files = \ | |
879 | go/crypto/rc4/rc4.go | |
880 | go_crypto_ripemd160_files = \ | |
881 | go/crypto/ripemd160/ripemd160.go \ | |
882 | go/crypto/ripemd160/ripemd160block.go | |
883 | go_crypto_rsa_files = \ | |
884 | go/crypto/rsa/pkcs1v15.go \ | |
885 | go/crypto/rsa/rsa.go | |
886 | go_crypto_sha1_files = \ | |
887 | go/crypto/sha1/sha1.go \ | |
888 | go/crypto/sha1/sha1block.go | |
889 | go_crypto_sha256_files = \ | |
890 | go/crypto/sha256/sha256.go \ | |
891 | go/crypto/sha256/sha256block.go | |
892 | go_crypto_sha512_files = \ | |
893 | go/crypto/sha512/sha512.go \ | |
894 | go/crypto/sha512/sha512block.go | |
895 | go_crypto_subtle_files = \ | |
896 | go/crypto/subtle/constant_time.go | |
897 | go_crypto_tls_files = \ | |
898 | go/crypto/tls/alert.go \ | |
899 | go/crypto/tls/ca_set.go \ | |
900 | go/crypto/tls/common.go \ | |
901 | go/crypto/tls/conn.go \ | |
902 | go/crypto/tls/handshake_client.go \ | |
903 | go/crypto/tls/handshake_messages.go \ | |
904 | go/crypto/tls/handshake_server.go \ | |
905 | go/crypto/tls/prf.go \ | |
906 | go/crypto/tls/tls.go | |
907 | go_crypto_x509_files = \ | |
908 | go/crypto/x509/x509.go | |
909 | go_crypto_xtea_files = \ | |
910 | go/crypto/xtea/block.go \ | |
911 | go/crypto/xtea/cipher.go | |
912 | ||
913 | go_debug_dwarf_files = \ | |
914 | go/debug/dwarf/buf.go \ | |
915 | go/debug/dwarf/const.go \ | |
916 | go/debug/dwarf/entry.go \ | |
917 | go/debug/dwarf/open.go \ | |
918 | go/debug/dwarf/type.go \ | |
919 | go/debug/dwarf/unit.go | |
920 | go_debug_elf_files = \ | |
921 | go/debug/elf/elf.go \ | |
922 | go/debug/elf/file.go | |
923 | go_debug_gosym_files = \ | |
924 | go/debug/gosym/pclntab.go \ | |
925 | go/debug/gosym/symtab.go | |
926 | go_debug_macho_files = \ | |
927 | go/debug/macho/file.go \ | |
928 | go/debug/macho/macho.go | |
929 | go_debug_pe_files = \ | |
930 | go/debug/pe/file.go \ | |
931 | go/debug/pe/pe.go | |
932 | ||
933 | if LIBGO_IS_LINUX | |
934 | proc_file = go/debug/proc/proc_linux.go | |
935 | if LIBGO_IS_386 | |
936 | regs_file = go/debug/proc/regs_linux_386.go | |
937 | else | |
938 | if LIBGO_IS_X86_64 | |
939 | regs_file = go/debug/proc/regs_linux_amd64.go | |
940 | else | |
941 | regs_file = | |
942 | endif | |
943 | endif | |
944 | else | |
945 | if LIBGO_IS_DARWIN | |
946 | proc_file = go/debug/proc/proc_darwin.go | |
947 | if LIBGO_IS_386 | |
948 | regs_file = go/debug/proc/regs_darwin_386.go | |
949 | else | |
950 | if LIBGO_IS_X86_64 | |
951 | regs_file = go/debug/proc/regs_darwin_amd64.go | |
952 | else | |
953 | regs_file = | |
954 | endif | |
955 | endif | |
956 | else | |
957 | if LIBGO_IS_FREEBSD | |
958 | proc_file = go/debug/proc/proc_freebsd.go | |
959 | if LIBGO_IS_386 | |
960 | regs_file = go/debug/proc/regs_freebsd_386.go | |
961 | else | |
962 | if LIBGO_IS_X86_64 | |
963 | regs_file = go/debug/proc/regs_freebsd_amd64.go | |
964 | else | |
965 | regs_file = | |
966 | endif | |
967 | endif | |
968 | else | |
969 | proc_file = | |
970 | regs_file = | |
971 | endif | |
972 | endif | |
973 | endif | |
974 | ||
975 | go_debug_proc_files = \ | |
976 | go/debug/proc/proc.go \ | |
977 | $(proc_file) \ | |
978 | $(regs_file) | |
979 | ||
980 | go_encoding_ascii85_files = \ | |
981 | go/encoding/ascii85/ascii85.go | |
982 | go_encoding_base64_files = \ | |
983 | go/encoding/base64/base64.go | |
984 | go_encoding_binary_files = \ | |
985 | go/encoding/binary/binary.go | |
986 | go_encoding_git85_files = \ | |
987 | go/encoding/git85/git.go | |
988 | go_encoding_hex_files = \ | |
989 | go/encoding/hex/hex.go | |
990 | go_encoding_pem_files = \ | |
991 | go/encoding/pem/pem.go | |
992 | ||
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 \ | |
998 | go/exp/draw/event.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 | |
1012 | ||
1013 | go_go_ast_files = \ | |
1014 | go/go/ast/ast.go \ | |
1015 | go/go/ast/filter.go \ | |
1016 | go/go/ast/print.go \ | |
1017 | go/go/ast/scope.go \ | |
1018 | go/go/ast/walk.go | |
1019 | go_go_doc_files = \ | |
1020 | go/go/doc/comment.go \ | |
1021 | go/go/doc/doc.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/token.go | |
1033 | go_go_typechecker_files = \ | |
1034 | go/go/typechecker/scope.go \ | |
1035 | go/go/typechecker/typechecker.go \ | |
1036 | go/go/typechecker/universe.go | |
1037 | ||
1038 | go_hash_adler32_files = \ | |
1039 | go/hash/adler32/adler32.go | |
1040 | go_hash_crc32_files = \ | |
1041 | go/hash/crc32/crc32.go | |
1042 | go_hash_crc64_files = \ | |
1043 | go/hash/crc64/crc64.go | |
1044 | ||
1045 | go_http_pprof_files = \ | |
1046 | go/http/pprof/pprof.go | |
1047 | ||
1048 | go_image_jpeg_files = \ | |
1049 | go/image/jpeg/huffman.go \ | |
1050 | go/image/jpeg/idct.go \ | |
1051 | go/image/jpeg/reader.go | |
1052 | ||
1053 | go_image_png_files = \ | |
1054 | go/image/png/reader.go \ | |
1055 | go/image/png/writer.go | |
1056 | ||
1057 | go_index_suffixarray_files = \ | |
1058 | go/index/suffixarray/suffixarray.go | |
1059 | ||
1060 | go_io_ioutil_files = \ | |
1061 | go/io/ioutil/ioutil.go \ | |
1062 | go/io/ioutil/tempfile.go | |
1063 | ||
1064 | go_mime_multipart_files = \ | |
1065 | go/mime/multipart/multipart.go | |
1066 | ||
1067 | go_net_dict_files = \ | |
1068 | go/net/dict/dict.go | |
1069 | ||
1070 | go_net_textproto_files = \ | |
1071 | go/net/textproto/pipeline.go \ | |
1072 | go/net/textproto/reader.go \ | |
1073 | go/net/textproto/textproto.go \ | |
1074 | go/net/textproto/writer.go | |
1075 | ||
1076 | go_os_signal_files = \ | |
1077 | go/os/signal/signal.go \ | |
1078 | unix.go | |
1079 | ||
1080 | go_rpc_jsonrpc_files = \ | |
1081 | go/rpc/jsonrpc/client.go \ | |
1082 | go/rpc/jsonrpc/server.go | |
1083 | ||
1084 | go_runtime_pprof_files = \ | |
1085 | go/runtime/pprof/pprof.go | |
1086 | ||
1087 | go_testing_iotest_files = \ | |
1088 | go/testing/iotest/logger.go \ | |
1089 | go/testing/iotest/reader.go \ | |
1090 | go/testing/iotest/writer.go | |
1091 | go_testing_quick_files = \ | |
1092 | go/testing/quick/quick.go | |
1093 | go_testing_script_files = \ | |
1094 | go/testing/script/script.go | |
1095 | ||
1096 | if LIBGO_IS_LINUX | |
1097 | syscall_os_file = syscalls/syscall_linux.go | |
1098 | if LIBGO_IS_386 | |
1099 | syscall_arch_file = syscalls/syscall_linux_386.go | |
1100 | else | |
1101 | if LIBGO_IS_X86_64 | |
1102 | syscall_arch_file = syscalls/syscall_linux_amd64.go | |
1103 | else | |
1104 | syscall_arch_file = | |
1105 | endif | |
1106 | endif | |
1107 | else | |
1108 | syscall_os_file = | |
1109 | syscall_arch_file = | |
1110 | endif | |
1111 | ||
1112 | if LIBGO_IS_RTEMS | |
1113 | syscall_exec_os_file = syscalls/exec_stubs.go | |
1114 | syscall_socket_os_file = syscalls/socket_bsd.go | |
1115 | syscall_socket_epoll_file= | |
1116 | syscall_sysfile_os_file = syscalls/sysfile_rtems.go | |
1117 | syscall_syscall_file = syscalls/syscall_stubs.go | |
1118 | syscall_errstr_file = syscalls/errstr_rtems.go | |
1119 | syscall_errstr_decl_file = syscalls/errstr_decl_rtems.go | |
1120 | else | |
1121 | syscall_exec_os_file = syscalls/exec.go | |
1122 | syscall_socket_os_file = syscalls/socket_linux.go | |
1123 | syscall_socket_epoll_file = syscalls/socket_epoll.go | |
1124 | syscall_sysfile_os_file = syscalls/sysfile_linux.go | |
1125 | syscall_syscall_file = syscalls/syscall.go | |
1126 | syscall_errstr_file = syscalls/errstr.go | |
1127 | if LIBGO_IS_LINUX | |
1128 | syscall_errstr_decl_file = syscalls/errstr_decl_linux.go | |
1129 | else | |
1130 | syscall_errstr_decl_file = syscalls/errstr_decl.go | |
1131 | endif | |
1132 | endif | |
1133 | ||
1134 | go_syscall_files = \ | |
1135 | $(syscall_errstr_file) \ | |
1136 | $(syscall_errstr_decl_file) \ | |
1137 | syscalls/exec_helpers.go \ | |
1138 | $(syscall_exec_os_file) \ | |
1139 | syscalls/socket.go \ | |
1140 | $(syscall_socket_os_file) \ | |
1141 | $(syscall_socket_epoll_file) \ | |
1142 | $(syscall_syscall_file) \ | |
1143 | syscalls/syscall_unix.go \ | |
1144 | syscalls/stringbyte.go \ | |
1145 | $(syscall_os_file) \ | |
1146 | $(syscall_arch_file) \ | |
1147 | syscalls/sysfile_posix.go \ | |
1148 | $(syscall_sysfile_os_file) \ | |
1149 | sysinfo.go | |
1150 | go_syscall_c_files = \ | |
1151 | syscalls/errno.c | |
1152 | ||
1153 | libgo_go_objs = \ | |
1154 | asn1/libasn1.la \ | |
1155 | big/libbig.la \ | |
1156 | bufio/libbufio.la \ | |
1157 | bytes/libbytes.la \ | |
1158 | cmath/libcmath.la \ | |
1159 | ebnf/libebnf.la \ | |
1160 | exec/libexec.la \ | |
1161 | expvar/libexpvar.la \ | |
1162 | flag/libflag.la \ | |
1163 | fmt/libfmt.la \ | |
1164 | gob/libgob.la \ | |
1165 | hash/libhash.la \ | |
1166 | html/libhtml.la \ | |
1167 | http/libhttp.la \ | |
1168 | image/libimage.la \ | |
1169 | io/libio.la \ | |
1170 | json/libjson.la \ | |
1171 | log/liblog.la \ | |
1172 | math/libmath.la \ | |
1173 | mime/libmime.la \ | |
1174 | net/libnet.la \ | |
1175 | netchan/libnetchan.la \ | |
1176 | os/libos.la \ | |
1177 | patch/libpatch.la \ | |
1178 | path/libpath.la \ | |
1179 | rand/librand.la \ | |
1180 | reflect/libreflect.la \ | |
1181 | regexp/libregexp.la \ | |
1182 | rpc/librpc.la \ | |
1183 | runtime/libruntime.la \ | |
1184 | scanner/libscanner.la \ | |
1185 | smtp/libsmtp.la \ | |
1186 | sort/libsort.la \ | |
1187 | strconv/libstrconv.la \ | |
1188 | strings/libstrings.la \ | |
1189 | sync/libsync.la \ | |
1190 | syslog/libsyslog.la \ | |
1191 | tabwriter/libtabwriter.la \ | |
1192 | template/libtemplate.la \ | |
1193 | time/libtime.la \ | |
1194 | try/libtry.la \ | |
1195 | unicode/libunicode.la \ | |
1196 | utf16/libutf16.la \ | |
1197 | utf8/libutf8.la \ | |
1198 | websocket/libwebsocket.la \ | |
1199 | xml/libxml.la \ | |
1200 | archive/libtar.la \ | |
1201 | archive/libzip.la \ | |
1202 | compress/libflate.la \ | |
1203 | compress/libgzip.la \ | |
1204 | compress/libzlib.la \ | |
1205 | container/libheap.la \ | |
1206 | container/liblist.la \ | |
1207 | container/libring.la \ | |
1208 | container/libvector.la \ | |
1209 | crypto/libaes.la \ | |
1210 | crypto/libblock.la \ | |
1211 | crypto/libblowfish.la \ | |
1212 | crypto/libcast5.la \ | |
1213 | crypto/libhmac.la \ | |
1214 | crypto/libmd4.la \ | |
1215 | crypto/libmd5.la \ | |
1216 | crypto/libocsp.la \ | |
1217 | crypto/librand.la \ | |
1218 | crypto/librc4.la \ | |
1219 | crypto/libripemd160.la \ | |
1220 | crypto/librsa.la \ | |
1221 | crypto/libsha1.la \ | |
1222 | crypto/libsha256.la \ | |
1223 | crypto/libsha512.la \ | |
1224 | crypto/libsubtle.la \ | |
1225 | crypto/libtls.la \ | |
1226 | crypto/libx509.la \ | |
1227 | crypto/libxtea.la \ | |
1228 | debug/libdwarf.la \ | |
1229 | debug/libelf.la \ | |
1230 | debug/libgosym.la \ | |
1231 | debug/libmacho.la \ | |
1232 | debug/libpe.la \ | |
1233 | debug/libproc.la \ | |
1234 | encoding/libascii85.la \ | |
1235 | encoding/libbase64.la \ | |
1236 | encoding/libbinary.la \ | |
1237 | encoding/libgit85.la \ | |
1238 | encoding/libhex.la \ | |
1239 | encoding/libpem.la \ | |
1240 | exp/libdatafmt.la \ | |
1241 | exp/libdraw.la \ | |
1242 | exp/libeval.la \ | |
1243 | go/libast.la \ | |
1244 | go/libdoc.la \ | |
1245 | go/libparser.la \ | |
1246 | go/libprinter.la \ | |
1247 | go/libscanner.la \ | |
1248 | go/libtoken.la \ | |
1249 | go/libtypechecker.la \ | |
1250 | hash/libadler32.la \ | |
1251 | hash/libcrc32.la \ | |
1252 | hash/libcrc64.la \ | |
1253 | http/libpprof.la \ | |
1254 | image/libjpeg.la \ | |
1255 | image/libpng.la \ | |
1256 | index/libsuffixarray.la \ | |
1257 | io/libioutil.la \ | |
1258 | mime/libmultipart.la \ | |
1259 | net/libdict.la \ | |
1260 | net/libtextproto.la \ | |
1261 | os/libsignal.la \ | |
1262 | rpc/libjsonrpc.la \ | |
1263 | runtime/libpprof.la \ | |
1264 | syscalls/libsyscall.la \ | |
1265 | testing/libtesting.la \ | |
1266 | testing/libiotest.la \ | |
1267 | testing/libquick.la \ | |
1268 | testing/libscript.la | |
1269 | ||
1270 | libgo_la_SOURCES = $(runtime_files) | |
1271 | ||
505b439a | 1272 | libgo_la_LIBADD = $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) |
7a938933 ILT |
1273 | |
1274 | libgobegin_a_SOURCES = \ | |
1275 | runtime/go-main.c | |
1276 | ||
1277 | LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) | |
1278 | ||
1279 | GOCFLAGS = $(CFLAGS) | |
1280 | AM_GOCFLAGS = $(STRINGOPS_FLAG) | |
1281 | GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS) | |
1282 | ||
1283 | LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \ | |
1284 | $(AM_GOCFLAGS) $(GOCFLAGS) | |
1285 | ||
1286 | GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \ | |
1287 | $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) \ | |
505b439a | 1288 | $(PTHREAD_LIBS) $(MATH_LIBS) -o $@ |
7a938933 ILT |
1289 | |
1290 | # Build a package. | |
1291 | BUILDARCHIVE = \ | |
1292 | rm -f `echo $@ | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; \ | |
1293 | test -d $(@D) || $(MKDIR_P) $(@D); \ | |
1294 | rm -f $@; \ | |
1295 | files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \ | |
d3de3f21 | 1296 | if $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@.$(OBJEXT) $$files; then \ |
7a938933 ILT |
1297 | $(AR) rc $@ $@.$(OBJEXT); \ |
1298 | else exit 1; fi | |
1299 | ||
1300 | # Build a .la file from a .a file. | |
1301 | .a.la: | |
1302 | $(LINK) $<.lo | |
1303 | ||
1304 | if LIBGO_IS_RTEMS | |
1305 | use_dejagnu = yes | |
1306 | else | |
1307 | use_dejagnu = no | |
1308 | endif | |
1309 | ||
1310 | # Check a package. | |
1311 | CHECK = \ | |
1312 | @GC="$(GOC) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs -Wl,-R,`${PWD_COMMAND}`/.libs"; \ | |
1313 | export GC; \ | |
1314 | RUNTESTFLAGS="$(RUNTESTFLAGS)"; \ | |
1315 | export RUNTESTFLAGS; \ | |
1316 | MAKE="$(MAKE)"; \ | |
1317 | export MAKE; \ | |
1318 | rm -f $@-log; \ | |
7a938933 ILT |
1319 | prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \ |
1320 | test "$${prefix}" != "." || prefix="$(@D)"; \ | |
21822c90 ILT |
1321 | if $(srcdir)/testsuite/gotest --dejagnu=$(use_dejagnu) --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \ |
1322 | echo "PASS: $(@D)"; \ | |
1323 | else \ | |
1324 | echo "FAIL: $(@D)"; \ | |
1325 | cat $@-log; \ | |
1326 | exit 1; \ | |
1327 | fi | |
7a938933 ILT |
1328 | |
1329 | # Build all packages before checking any. | |
1330 | CHECK_DEPS = libgo.la libgobegin.a \ | |
1331 | $(toolexeclib_DATA) \ | |
1332 | $(toolexeclibarchive_DATA) \ | |
1333 | $(toolexeclibcompress_DATA) \ | |
1334 | $(toolexeclibcontainer_DATA) \ | |
1335 | $(toolexeclibcrypto_DATA) \ | |
1336 | $(toolexeclibdebug_DATA) \ | |
1337 | $(toolexeclibencoding_DATA) \ | |
1338 | $(toolexeclibexp_DATA) \ | |
1339 | $(toolexeclibgo_DATA) \ | |
1340 | $(toolexeclibhash_DATA) \ | |
1341 | $(toolexeclibhttp_DATA) \ | |
1342 | $(toolexeclibimage_DATA) \ | |
1343 | $(toolexeclibio_DATA) \ | |
1344 | $(toolexeclibos_DATA) \ | |
1345 | $(toolexeclibrpc_DATA) \ | |
1346 | $(toolexeclibruntime_DATA) \ | |
1347 | $(toolexeclibtesting_DATA) | |
1348 | ||
1349 | asn1/libasn1.a: $(go_asn1_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \ | |
1350 | strconv.gox strings.gox time.gox | |
1351 | $(BUILDARCHIVE) | |
1352 | asn1/libasn1.la: asn1/libasn1.a | |
1353 | asn1/check: $(CHECK_DEPS) | |
1354 | $(CHECK) | |
1355 | .PHONY: asn1/check | |
1356 | ||
1357 | big/libbig.a: $(go_big_files) fmt.gox rand.gox strings.gox | |
1358 | $(BUILDARCHIVE) | |
1359 | big/libbig.la: big/libbig.a | |
1360 | big/check: $(CHECK_DEPS) | |
1361 | $(CHECK) | |
1362 | .PHONY: big/check | |
1363 | ||
1364 | bufio/libbufio.a: $(go_bufio_files) bytes.gox io.gox os.gox strconv.gox \ | |
1365 | utf8.gox | |
1366 | $(BUILDARCHIVE) | |
1367 | bufio/libbufio.la: bufio/libbufio.a | |
1368 | bufio/check: $(CHECK_DEPS) | |
1369 | $(CHECK) | |
1370 | .PHONY: bufio/check | |
1371 | ||
cd656e23 ILT |
1372 | bytes/libbytes.a: $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \ |
1373 | unicode.gox utf8.gox | |
7a938933 ILT |
1374 | test -d bytes || $(MKDIR_P) bytes |
1375 | $(LTGOCOMPILE) -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go | |
1376 | $(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c | |
1377 | rm -f $@ | |
1378 | $(AR) rc $@ bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT) | |
1379 | bytes/libbytes.la: bytes/libbytes.a | |
1380 | $(LINK) bytes/bytes.lo bytes/index.lo | |
1381 | bytes/check: $(CHECK_DEPS) | |
1382 | $(CHECK) | |
1383 | .PHONY: bytes/check | |
1384 | ||
1385 | cmath/libcmath.a: $(go_cmath_files) math.gox | |
1386 | $(BUILDARCHIVE) | |
1387 | cmath/libcmath.la: cmath/libcmath.a | |
1388 | cmath/check: $(CHECK_DEPS) | |
1389 | $(CHECK) | |
1390 | .PHONY: cmath/check | |
1391 | ||
1392 | ebnf/libebnf.a: $(go_ebnf_files) container/vector.gox go/scanner.gox \ | |
1393 | go/token.gox os.gox strconv.gox unicode.gox utf8.gox | |
1394 | $(BUILDARCHIVE) | |
1395 | ebnf/libebnf.la: ebnf/libebnf.a | |
1396 | ebnf/check: $(CHECK_DEPS) | |
1397 | $(CHECK) | |
1398 | .PHONY: ebnf/check | |
1399 | ||
1400 | exec/libexec.a: $(go_exec_files) os.gox strings.gox | |
1401 | $(BUILDARCHIVE) | |
1402 | exec/libexec.la: exec/libexec.a | |
1403 | exec/check: $(CHECK_DEPS) | |
1404 | $(CHECK) | |
1405 | .PHONY: exec/check | |
1406 | ||
1407 | expvar/libexpvar.a: $(go_expvar_files) bytes.gox fmt.gox http.gox json.gox \ | |
1408 | log.gox os.gox runtime.gox strconv.gox sync.gox | |
1409 | $(BUILDARCHIVE) | |
1410 | expvar/libexpvar.la: expvar/libexpvar.a | |
1411 | expvar/check: $(CHECK_DEPS) | |
1412 | $(CHECK) | |
1413 | .PHONY: expvar/check | |
1414 | ||
1415 | flag/libflag.a: $(go_flag_files) fmt.gox os.gox strconv.gox | |
1416 | $(BUILDARCHIVE) | |
1417 | flag/libflag.la: flag/libflag.a | |
1418 | flag/check: $(CHECK_DEPS) | |
1419 | $(CHECK) | |
1420 | .PHONY: flag/check | |
1421 | ||
1422 | fmt/libfmt.a: $(go_fmt_files) bytes.gox io.gox os.gox reflect.gox strconv.gox \ | |
1423 | strings.gox unicode.gox utf8.gox | |
1424 | $(BUILDARCHIVE) | |
1425 | fmt/libfmt.la: fmt/libfmt.a | |
1426 | fmt/check: $(CHECK_DEPS) | |
1427 | $(CHECK) | |
1428 | .PHONY: fmt/check | |
1429 | ||
1430 | gob/libgob.a: $(go_gob_files) bytes.gox fmt.gox io.gox math.gox os.gox \ | |
1431 | reflect.gox runtime.gox strings.gox sync.gox unicode.gox | |
1432 | $(BUILDARCHIVE) | |
1433 | gob/libgob.la: gob/libgob.a | |
1434 | gob/check: $(CHECK_DEPS) | |
1435 | $(CHECK) | |
1436 | .PHONY: gob/check | |
1437 | ||
1438 | hash/libhash.a: $(go_hash_files) io.gox | |
1439 | $(BUILDARCHIVE) | |
1440 | hash/libhash.la: hash/libhash.a | |
1441 | hash/check: $(CHECK_DEPS) | |
1442 | $(CHECK) | |
1443 | .PHONY: hash/check | |
1444 | ||
1445 | html/libhtml.a: $(go_html_files) bytes.gox io.gox os.gox strconv.gox \ | |
1446 | strings.gox utf8.gox | |
1447 | $(BUILDARCHIVE) | |
1448 | html/libhtml.la: html/libhtml.a | |
1449 | html/check: $(CHECK_DEPS) | |
1450 | $(CHECK) | |
1451 | .PHONY: html/check | |
1452 | ||
1453 | http/libhttp.a: $(go_http_files) bufio.gox bytes.gox container/list.gox \ | |
1454 | container/vector.gox crypto/rand.gox crypto/tls.gox \ | |
1455 | encoding/base64.gox fmt.gox io.gox io/ioutil.gox log.gox \ | |
1456 | mime.gox mime/multipart.gox net.gox os.gox path.gox sort.gox \ | |
1457 | strconv.gox strings.gox sync.gox time.gox utf8.gox | |
1458 | $(BUILDARCHIVE) | |
1459 | http/libhttp.la: http/libhttp.a | |
1460 | http/check: $(CHECK_DEPS) | |
1461 | $(CHECK) | |
1462 | .PHONY: http/check | |
1463 | ||
1464 | image/libimage.a: $(go_image_files) bufio.gox io.gox os.gox strconv.gox | |
1465 | $(BUILDARCHIVE) | |
1466 | image/libimage.la: image/libimage.a | |
1467 | image/check: $(CHECK_DEPS) | |
1468 | $(CHECK) | |
1469 | .PHONY: image/check | |
1470 | ||
1471 | io/libio.a: $(go_io_files) os.gox runtime.gox sync.gox | |
1472 | $(BUILDARCHIVE) | |
1473 | io/libio.la: io/libio.a | |
1474 | io/check: $(CHECK_DEPS) | |
1475 | $(CHECK) | |
1476 | .PHONY: io/check | |
1477 | ||
1478 | json/libjson.a: $(go_json_files) bytes.gox container/vector.gox fmt.gox \ | |
1479 | io.gox math.gox os.gox reflect.gox runtime.gox strconv.gox \ | |
1480 | strings.gox unicode.gox utf16.gox utf8.gox | |
1481 | $(BUILDARCHIVE) | |
1482 | json/libjson.la: json/libjson.a | |
1483 | json/check: $(CHECK_DEPS) | |
1484 | $(CHECK) | |
1485 | .PHONY: json/check | |
1486 | ||
1487 | log/liblog.a: $(go_log_files) bytes.gox fmt.gox io.gox runtime.gox os.gox \ | |
1488 | time.gox | |
1489 | $(BUILDARCHIVE) | |
1490 | log/liblog.la: log/liblog.a | |
1491 | log/check: $(CHECK_DEPS) | |
1492 | $(CHECK) | |
1493 | .PHONY: log/check | |
1494 | ||
1495 | math/libmath.a: $(go_math_files) | |
1496 | $(BUILDARCHIVE) | |
1497 | math/libmath.la: math/libmath.a | |
1498 | math/check: $(CHECK_DEPS) | |
1499 | $(CHECK) | |
1500 | .PHONY: math/check | |
1501 | ||
1502 | mime/libmime.a: $(go_mime_files) bufio.gox bytes.gox os.gox strings.gox \ | |
1503 | sync.gox unicode.gox | |
1504 | $(BUILDARCHIVE) | |
1505 | mime/libmime.la: mime/libmime.a | |
1506 | mime/check: $(CHECK_DEPS) | |
1507 | $(CHECK) | |
1508 | .PHONY: mime/check | |
1509 | ||
1510 | net/libnet.a: $(go_net_files) fmt.gox io.gox os.gox reflect.gox strconv.gox \ | |
1511 | strings.gox sync.gox syscall.gox | |
1512 | $(BUILDARCHIVE) | |
1513 | net/libnet.la: net/libnet.a | |
1514 | net/check: $(CHECK_DEPS) | |
1515 | $(CHECK) | |
1516 | .PHONY: net/check | |
1517 | ||
1518 | netchan/libnetchan.a: $(go_netchan_files) gob.gox log.gox net.gox os.gox \ | |
1519 | reflect.gox sync.gox time.gox | |
1520 | $(BUILDARCHIVE) | |
1521 | netchan/libnetchan.la: netchan/libnetchan.a | |
1522 | netchan/check: $(CHECK_DEPS) | |
1523 | $(CHECK) | |
1524 | .PHONY: netchan/check | |
1525 | ||
1526 | os/libos.a: $(go_os_files) sync.gox syscall.gox | |
1527 | $(BUILDARCHIVE) | |
1528 | os/libos.la: os/libos.a | |
1529 | os/check: $(CHECK_DEPS) | |
1530 | $(CHECK) | |
1531 | .PHONY: os/check | |
1532 | ||
1533 | patch/libpatch.a: $(go_patch_files) bytes.gox compress/zlib.gox \ | |
1534 | crypto/sha1.gox encoding/git85.gox fmt.gox io.gox os.gox \ | |
1535 | path.gox strings.gox | |
1536 | $(BUILDARCHIVE) | |
1537 | patch/libpatch.la: patch/libpatch.a | |
1538 | patch/check: $(CHECK_DEPS) | |
1539 | $(CHECK) | |
1540 | .PHONY: patch/check | |
1541 | ||
1542 | path/libpath.a: $(go_path_files) io/ioutil.gox os.gox sort.gox strings.gox \ | |
1543 | utf8.gox | |
1544 | $(BUILDARCHIVE) | |
1545 | path/libpath.la: path/libpath.a | |
1546 | path/check: $(CHECK_DEPS) | |
1547 | $(CHECK) | |
1548 | .PHONY: path/check | |
1549 | ||
1550 | rand/librand.a: $(go_rand_files) math.gox sync.gox | |
1551 | $(BUILDARCHIVE) | |
1552 | rand/librand.la: rand/librand.a | |
1553 | rand/check: $(CHECK_DEPS) | |
1554 | $(CHECK) | |
1555 | .PHONY: rand/check | |
1556 | ||
1557 | reflect/libreflect.a: $(go_reflect_files) math.gox runtime.gox strconv.gox \ | |
1558 | sync.gox | |
1559 | $(BUILDARCHIVE) | |
1560 | reflect/libreflect.la: reflect/libreflect.a | |
1561 | reflect/check: $(CHECK_DEPS) | |
1562 | $(CHECK) | |
1563 | .PHONY: reflect/check | |
1564 | ||
1565 | regexp/libregexp.a: $(go_regexp_files) bytes.gox io.gox os.gox strings.gox \ | |
1566 | utf8.gox | |
1567 | $(BUILDARCHIVE) | |
1568 | regexp/libregexp.la: regexp/libregexp.a | |
1569 | regexp/check: $(CHECK_DEPS) | |
1570 | $(CHECK) | |
1571 | .PHONY: regexp/check | |
1572 | ||
1573 | rpc/librpc.a: $(go_rpc_files) bufio.gox fmt.gox gob.gox http.gox io.gox \ | |
1574 | log.gox net.gox os.gox reflect.gox sort.gox strings.gox \ | |
1575 | strconv.gox sync.gox template.gox unicode.gox utf8.gox | |
1576 | $(BUILDARCHIVE) | |
1577 | rpc/librpc.la: rpc/librpc.a | |
1578 | rpc/check: $(CHECK_DEPS) | |
1579 | $(CHECK) | |
1580 | .PHONY: rpc/check | |
1581 | ||
1582 | runtime/libruntime.a: $(go_runtime_files) | |
1583 | $(BUILDARCHIVE) | |
1584 | runtime/libruntime.la: runtime/libruntime.a | |
1585 | runtime/check: $(CHECK_DEPS) | |
1586 | $(CHECK) | |
1587 | .PHONY: runtime/check | |
1588 | ||
1589 | scanner/libscanner.a: $(go_scanner_files) bytes.gox fmt.gox io.gox os.gox \ | |
1590 | unicode.gox utf8.gox | |
1591 | $(BUILDARCHIVE) | |
1592 | scanner/libscanner.la: scanner/libscanner.a | |
1593 | scanner/check: $(CHECK_DEPS) | |
1594 | $(CHECK) | |
1595 | .PHONY: scanner/check | |
1596 | ||
1597 | smtp/libsmtp.a: $(go_smtp_files) crypto/tls.gox encoding/base64.gox io.gox \ | |
1598 | net.gox net/textproto.gox os.gox strings.gox | |
1599 | $(BUILDARCHIVE) | |
1600 | smtp/libsmtp.la: smtp/libsmtp.a | |
1601 | smtp/check: $(CHECK_DEPS) | |
1602 | $(CHECK) | |
1603 | .PHONY: smtp/check | |
1604 | ||
1605 | sort/libsort.a: $(go_sort_files) | |
1606 | $(BUILDARCHIVE) | |
1607 | sort/libsort.la: sort/libsort.a | |
1608 | sort/check: $(CHECK_DEPS) | |
1609 | $(CHECK) | |
1610 | .PHONY: sort/check | |
1611 | ||
1612 | strconv/libstrconv.a: $(go_strconv_files) bytes.gox math.gox os.gox \ | |
1613 | strings.gox unicode.gox utf8.gox | |
1614 | $(BUILDARCHIVE) | |
1615 | strconv/libstrconv.la: strconv/libstrconv.a | |
1616 | strconv/check: $(CHECK_DEPS) | |
1617 | $(CHECK) | |
1618 | .PHONY: strconv/check | |
1619 | ||
1620 | strings/libstrings.a: $(go_strings_files) os.gox unicode.gox utf8.gox | |
1621 | $(BUILDARCHIVE) | |
1622 | strings/libstrings.la: strings/libstrings.a | |
1623 | strings/check: $(CHECK_DEPS) | |
1624 | $(CHECK) | |
1625 | .PHONY: strings/check | |
1626 | ||
1627 | sync/libsync.a: $(go_sync_files) $(go_sync_c_files) runtime.gox | |
1628 | test -d sync || $(MKDIR_P) sync | |
1629 | $(LTGOCOMPILE) -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go | |
1630 | $(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c | |
1631 | rm -f $@ | |
1632 | $(AR) rc $@ sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT) | |
1633 | sync/libsync.la: sync/libsync.a | |
1634 | $(LINK) sync/mutex.lo sync/cas.lo | |
1635 | sync/check: $(CHECK_DEPS) | |
1636 | $(CHECK) | |
1637 | .PHONY: sync/check | |
1638 | ||
1639 | syslog/libsyslog.a: $(go_syslog_files) fmt.gox log.gox net.gox os.gox | |
1640 | $(BUILDARCHIVE) | |
1641 | syslog/libsyslog.la: syslog/libsyslog.a | |
1642 | syslog/check: $(CHECK_DEPS) | |
1643 | $(CHECK) | |
1644 | .PHONY: syslog/check | |
1645 | ||
1646 | tabwriter/libtabwriter.a: $(go_tabwriter_files) bytes.gox io.gox os.gox \ | |
1647 | utf8.gox | |
1648 | $(BUILDARCHIVE) | |
1649 | tabwriter/libtabwriter.la: tabwriter/libtabwriter.a | |
1650 | tabwriter/check: $(CHECK_DEPS) | |
1651 | $(CHECK) | |
1652 | .PHONY: tabwriter/check | |
1653 | ||
1654 | template/libtemplate.a: $(go_template_files) bytes.gox fmt.gox io.gox os.gox \ | |
1655 | reflect.gox runtime.gox strings.gox container/vector.gox | |
1656 | $(BUILDARCHIVE) | |
1657 | template/libtemplate.la: template/libtemplate.a | |
1658 | template/check: $(CHECK_DEPS) | |
1659 | $(CHECK) | |
1660 | .PHONY: template/check | |
1661 | ||
1662 | testing/libtesting.a: $(go_testing_files) flag.gox fmt.gox os.gox regexp.gox \ | |
1663 | runtime.gox time.gox | |
1664 | $(BUILDARCHIVE) | |
1665 | testing/libtesting.la: testing/libtesting.a | |
1666 | testing/check: $(CHECK_DEPS) | |
1667 | $(CHECK) | |
1668 | .PHONY: testing/check | |
1669 | ||
1670 | time/libtime.a: $(go_time_files) bytes.gox io/ioutil.gox os.gox strconv.gox \ | |
1671 | sync.gox syscall.gox | |
1672 | $(BUILDARCHIVE) | |
1673 | time/libtime.la: time/libtime.a | |
1674 | time/check: $(CHECK_DEPS) | |
1675 | $(CHECK) | |
1676 | .PHONY: time/check | |
1677 | ||
1678 | try/libtry.a: $(go_try_files) fmt.gox io.gox os.gox reflect.gox unicode.gox | |
1679 | $(BUILDARCHIVE) | |
1680 | try/libtry.la: try/libtry.a | |
1681 | try/check: $(CHECK_DEPS) | |
1682 | $(CHECK) | |
1683 | .PHONY: try/check | |
1684 | ||
1685 | unicode/libunicode.a: $(go_unicode_files) | |
1686 | $(BUILDARCHIVE) | |
1687 | unicode/libunicode.la: unicode/libunicode.a | |
1688 | unicode/check: $(CHECK_DEPS) | |
1689 | $(CHECK) | |
1690 | .PHONY: unicode/check | |
1691 | ||
1692 | utf16/libutf16.a: $(go_utf16_files) unicode.gox | |
1693 | $(BUILDARCHIVE) | |
1694 | utf16/libutf16.la: utf16/libutf16.a | |
1695 | utf16/check: $(CHECK_DEPS) | |
1696 | $(CHECK) | |
1697 | .PHONY: utf16/check | |
1698 | ||
1699 | utf8/libutf8.a: $(go_utf8_files) unicode.gox | |
1700 | $(BUILDARCHIVE) | |
1701 | utf8/libutf8.la: utf8/libutf8.a | |
1702 | utf8/check: $(CHECK_DEPS) | |
1703 | $(CHECK) | |
1704 | .PHONY: utf8/check | |
1705 | ||
1706 | websocket/libwebsocket.a: $(go_websocket_files) bufio.gox bytes.gox \ | |
1707 | container/vector.gox crypto/md5.gox crypto/tls.gox \ | |
1708 | encoding/binary.gox fmt.gox http.gox io.gox net.gox os.gox \ | |
1709 | rand.gox strings.gox | |
1710 | $(BUILDARCHIVE) | |
1711 | websocket/libwebsocket.la: websocket/libwebsocket.a | |
1712 | websocket/check: $(CHECK_DEPS) | |
1713 | $(CHECK) | |
1714 | .PHONY: websocket/check | |
1715 | ||
1716 | xml/libxml.a: $(go_xml_files) bufio.gox bytes.gox io.gox os.gox reflect.gox \ | |
1717 | strconv.gox strings.gox unicode.gox utf8.gox | |
1718 | $(BUILDARCHIVE) | |
1719 | xml/libxml.la: xml/libxml.a | |
1720 | xml/check: $(CHECK_DEPS) | |
1721 | $(CHECK) | |
1722 | .PHONY: xml/check | |
1723 | ||
1724 | archive/libtar.a: $(go_archive_tar_files) bytes.gox io.gox os.gox strconv.gox \ | |
1725 | strings.gox | |
1726 | $(BUILDARCHIVE) | |
1727 | archive/libtar.la: archive/libtar.a | |
1728 | archive/tar/check: $(CHECK_DEPS) | |
1729 | @$(MKDIR_P) archive/tar | |
1730 | $(CHECK) | |
1731 | .PHONY: archive/tar/check | |
1732 | ||
1733 | archive/libzip.a: $(go_archive_zip_files) bufio.gox bytes.gox \ | |
1734 | compress/flate.gox hash.gox hash/crc32.gox \ | |
1735 | encoding/binary.gox io.gox os.gox | |
1736 | $(BUILDARCHIVE) | |
1737 | archive/libzip.la: archive/libzip.a | |
1738 | archive/zip/check: $(CHECK_DEPS) | |
1739 | @$(MKDIR_P) archive/zip | |
1740 | $(CHECK) | |
1741 | .PHONY: archive/zip/check | |
1742 | ||
1743 | compress/libflate.a: $(go_compress_flate_files) bufio.gox io.gox math.gox \ | |
1744 | os.gox sort.gox strconv.gox | |
1745 | $(BUILDARCHIVE) | |
1746 | compress/libflate.la: compress/libflate.a | |
1747 | compress/flate/check: $(CHECK_DEPS) | |
1748 | @$(MKDIR_P) compress/flate | |
1749 | $(CHECK) | |
1750 | .PHONY: compress/flate/check | |
1751 | ||
1752 | compress/libgzip.a: $(go_compress_gzip_files) bufio.gox compress/flate.gox \ | |
1753 | hash.gox hash/crc32.gox io.gox os.gox | |
1754 | $(BUILDARCHIVE) | |
1755 | compress/libgzip.la: compress/libgzip.a | |
1756 | compress/gzip/check: $(CHECK_DEPS) | |
1757 | @$(MKDIR_P) compress/gzip | |
1758 | $(CHECK) | |
1759 | .PHONY: compress/gzip/check | |
1760 | ||
1761 | compress/libzlib.a: $(go_compress_zlib_files) bufio.gox compress/flate.gox \ | |
1762 | hash.gox hash/adler32.gox io.gox os.gox | |
1763 | $(BUILDARCHIVE) | |
1764 | compress/libzlib.la: compress/libzlib.a | |
1765 | compress/zlib/check: $(CHECK_DEPS) | |
1766 | @$(MKDIR_P) compress/zlib | |
1767 | $(CHECK) | |
1768 | .PHONY: compress/zlib/check | |
1769 | ||
1770 | container/libheap.a: $(go_container_heap_files) sort.gox | |
1771 | $(BUILDARCHIVE) | |
1772 | container/libheap.la: container/libheap.a | |
1773 | container/heap/check: $(CHECK_DEPS) | |
1774 | @$(MKDIR_P) container/heap | |
1775 | $(CHECK) | |
1776 | .PHONY: container/heap/check | |
1777 | ||
1778 | container/liblist.a: $(go_container_list_files) | |
1779 | $(BUILDARCHIVE) | |
1780 | container/liblist.la: container/liblist.a | |
1781 | container/list/check: $(CHECK_DEPS) | |
1782 | @$(MKDIR_P) container/list | |
1783 | $(CHECK) | |
1784 | .PHONY: container/list/check | |
1785 | ||
1786 | container/libring.a: $(go_container_ring_files) | |
1787 | $(BUILDARCHIVE) | |
1788 | container/libring.la: container/libring.a | |
1789 | container/ring/check: $(CHECK_DEPS) | |
1790 | @$(MKDIR_P) container/ring | |
1791 | $(CHECK) | |
1792 | .PHONY: container/ring/check | |
1793 | ||
1794 | container/libvector.a: $(go_container_vector_files) | |
1795 | $(BUILDARCHIVE) | |
1796 | container/libvector.la: container/libvector.a | |
1797 | container/vector/check: $(CHECK_DEPS) | |
1798 | @$(MKDIR_P) container/vector | |
1799 | $(CHECK) | |
1800 | .PHONY: container/vector/check | |
1801 | ||
1802 | crypto/libaes.a: $(go_crypto_aes_files) os.gox strconv.gox | |
1803 | $(BUILDARCHIVE) | |
1804 | crypto/libaes.la: crypto/libaes.a | |
1805 | crypto/aes/check: $(CHECK_DEPS) | |
1806 | @$(MKDIR_P) crypto/aes | |
1807 | $(CHECK) | |
1808 | .PHONY: crypto/aes/check | |
1809 | ||
1810 | crypto/libblock.a: $(go_crypto_block_files) fmt.gox io.gox os.gox strconv.gox | |
1811 | $(BUILDARCHIVE) | |
1812 | crypto/libblock.la: crypto/libblock.a | |
1813 | crypto/block/check: $(CHECK_DEPS) | |
1814 | @$(MKDIR_P) crypto/block | |
1815 | $(CHECK) | |
1816 | .PHONY: crypto/block/check | |
1817 | ||
1818 | crypto/libblowfish.a: $(go_crypto_blowfish_files) os.gox strconv.gox | |
1819 | $(BUILDARCHIVE) | |
1820 | crypto/libblowfish.la: crypto/libblowfish.a | |
1821 | crypto/blowfish/check: $(CHECK_DEPS) | |
1822 | @$(MKDIR_P) crypto/blowfish | |
1823 | $(CHECK) | |
1824 | .PHONY: crypto/blowfish/check | |
1825 | ||
1826 | crypto/libcast5.a: $(go_crypto_cast5_files) os.gox | |
1827 | $(BUILDARCHIVE) | |
1828 | crypto/libcast5.la: crypto/libcast5.a | |
1829 | crypt/cast5/check: $(CHECK_DEPS) | |
1830 | @$(MKDIR_P) crypto/cast5 | |
1831 | $(CHECK) | |
1832 | .PHONY: crypto/cast5/check | |
1833 | ||
1834 | crypto/libhmac.a: $(go_crypto_hmac_files) crypto/md5.gox crypto/sha1.gox \ | |
1835 | hash.gox os.gox | |
1836 | $(BUILDARCHIVE) | |
1837 | crypto/libhmac.la: crypto/libhmac.a | |
1838 | crypto/hmac/check: $(CHECK_DEPS) | |
1839 | @$(MKDIR_P) crypto/hmac | |
1840 | $(CHECK) | |
1841 | .PHONY: crypto/hmac/check | |
1842 | ||
1843 | crypto/libmd4.a: $(go_crypto_md4_files) hash.gox os.gox | |
1844 | $(BUILDARCHIVE) | |
1845 | crypto/libmd4.la: crypto/libmd4.a | |
1846 | crypto/md4/check: $(CHECK_DEPS) | |
1847 | @$(MKDIR_P) crypto/md4 | |
1848 | $(CHECK) | |
1849 | .PHONY: crypto/md4/check | |
1850 | ||
1851 | crypto/libmd5.a: $(go_crypto_md5_files) hash.gox os.gox | |
1852 | $(BUILDARCHIVE) | |
1853 | crypto/libmd5.la: crypto/libmd5.a | |
1854 | crypto/md5/check: $(CHECK_DEPS) | |
1855 | @$(MKDIR_P) crypto/md5 | |
1856 | $(CHECK) | |
1857 | .PHONY: crypto/md5/check | |
1858 | ||
1859 | crypto/libocsp.a: $(go_crypto_ocsp_files) asn1.gox crypto/rsa.gox \ | |
1860 | crypto/sha1.gox crypto/x509.gox os.gox time.gox | |
1861 | $(BUILDARCHIVE) | |
1862 | crypto/libocsp.la: crypto/libocsp.a | |
1863 | crypto/ocsp/check: $(CHECK_DEPS) | |
1864 | @$(MKDIR_P) crypto/ocsp | |
1865 | $(CHECK) | |
1866 | .PHONY: crypto/ocsp/check | |
1867 | ||
1868 | crypto/librand.a: $(go_crypto_rand_files) crypto/aes.gox io.gox os.gox \ | |
1869 | sync.gox time.gox | |
1870 | $(BUILDARCHIVE) | |
1871 | crypto/librand.la: crypto/librand.a | |
1872 | crypto/rand/check: $(CHECK_DEPS) | |
1873 | @$(MKDIR_P) crypto/rand | |
1874 | $(CHECK) | |
1875 | .PHONY: crypto/rand/check | |
1876 | ||
1877 | crypto/librc4.a: $(go_crypto_rc4_files) os.gox strconv.gox | |
1878 | $(BUILDARCHIVE) | |
1879 | crypto/librc4.la: crypto/librc4.a | |
1880 | crypto/rc4/check: $(CHECK_DEPS) | |
1881 | @$(MKDIR_P) crypto/rc4 | |
1882 | $(CHECK) | |
1883 | .PHONY: crypto/rc4/check | |
1884 | ||
1885 | crypto/libripemd160.a: $(go_crypto_ripemd160_files) hash.gox os.gox | |
1886 | $(BUILDARCHIVE) | |
1887 | crypto/libripemd160.la: crypto/libripemd160.a | |
1888 | crypto/ripemd160/check: $(CHECK_DEPS) | |
1889 | @$(MKDIR_P) crypto/ripemd160 | |
1890 | $(CHECK) | |
1891 | .PHONY: crypto/ripemd160/check | |
1892 | ||
1893 | crypto/librsa.a: $(go_crypto_rsa_files) big.gox crypto/sha1.gox \ | |
1894 | crypto/subtle.gox encoding/hex.gox hash.gox io.gox os.gox | |
1895 | $(BUILDARCHIVE) | |
1896 | crypto/librsa.la: crypto/librsa.a | |
1897 | crypto/rsa/check: $(CHECK_DEPS) | |
1898 | @$(MKDIR_P) crypto/rsa | |
1899 | $(CHECK) | |
1900 | .PHONY: crypto/rsa/check | |
1901 | ||
1902 | crypto/libsha1.a: $(go_crypto_sha1_files) hash.gox os.gox | |
1903 | $(BUILDARCHIVE) | |
1904 | crypto/libsha1.la: crypto/libsha1.a | |
1905 | crypto/sha1/check: $(CHECK_DEPS) | |
1906 | @$(MKDIR_P) crypto/sha1 | |
1907 | $(CHECK) | |
1908 | .PHONY: crypto/sha1/check | |
1909 | ||
1910 | crypto/libsha256.a: $(go_crypto_sha256_files) hash.gox os.gox | |
1911 | $(BUILDARCHIVE) | |
1912 | crypto/libsha256.la: crypto/libsha256.a | |
1913 | crypto/sha256/check: $(CHECK_DEPS) | |
1914 | @$(MKDIR_P) crypto/sha256 | |
1915 | $(CHECK) | |
1916 | .PHONY: crypto/sha256/check | |
1917 | ||
1918 | crypto/libsha512.a: $(go_crypto_sha512_files) hash.gox os.gox | |
1919 | $(BUILDARCHIVE) | |
1920 | crypto/libsha512.la: crypto/libsha512.a | |
1921 | crypto/sha512/check: $(CHECK_DEPS) | |
1922 | @$(MKDIR_P) crypto/sha512 | |
1923 | $(CHECK) | |
1924 | .PHONY: crypto/sha512/check | |
1925 | ||
1926 | crypto/libsubtle.a: $(go_crypto_subtle_files) | |
1927 | $(BUILDARCHIVE) | |
1928 | crypto/libsubtle.la: crypto/libsubtle.a | |
1929 | crypto/subtle/check: $(CHECK_DEPS) | |
1930 | @$(MKDIR_P) crypto/subtle | |
1931 | $(CHECK) | |
1932 | .PHONY: crypto/subtle/check | |
1933 | ||
1934 | crypto/libtls.a: $(go_crypto_tls_files) bufio.gox bytes.gox container/list.gox \ | |
1935 | crypto/hmac.gox crypto/md5.gox crypto/rc4.gox crypto/rand.gox \ | |
1936 | crypto/rsa.gox crypto/sha1.gox crypto/subtle.gox \ | |
1937 | crypto/rsa.gox crypto/x509.gox encoding/pem.gox fmt.gox \ | |
1938 | hash.gox io.gox io/ioutil.gox net.gox os.gox strings.gox \ | |
1939 | sync.gox time.gox | |
1940 | $(BUILDARCHIVE) | |
1941 | crypto/libtls.la: crypto/libtls.a | |
1942 | crypto/tls/check: $(CHECK_DEPS) | |
1943 | @$(MKDIR_P) crypto/tls | |
1944 | $(CHECK) | |
1945 | .PHONY: crypto/tls/check | |
1946 | ||
1947 | crypto/libx509.a: $(go_crypto_x509_files) asn1.gox big.gox \ | |
1948 | container/vector.gox crypto/rsa.gox crypto/sha1.gox hash.gox \ | |
1949 | os.gox strings.gox time.gox | |
1950 | $(BUILDARCHIVE) | |
1951 | crypto/libx509.la: crypto/libx509.a | |
1952 | crypto/x509/check: $(CHECK_DEPS) | |
1953 | @$(MKDIR_P) crypto/x509 | |
1954 | $(CHECK) | |
1955 | .PHONY: crypto/x509/check | |
1956 | ||
1957 | crypto/libxtea.a: $(go_crypto_xtea_files) os.gox strconv.gox | |
1958 | $(BUILDARCHIVE) | |
1959 | crypto/libxtea.la: crypto/libxtea.a | |
1960 | crypto/xtea/check: $(CHECK_DEPS) | |
1961 | @$(MKDIR_P) crypto/xtea | |
1962 | $(CHECK) | |
1963 | .PHONY: crypto/xtea/check | |
1964 | ||
1965 | debug/libdwarf.a: $(go_debug_dwarf_files) encoding/binary.gox os.gox \ | |
1966 | strconv.gox | |
1967 | $(BUILDARCHIVE) | |
1968 | debug/libdwarf.la: debug/libdwarf.a | |
1969 | debug/dwarf/check: $(CHECK_DEPS) | |
1970 | @$(MKDIR_P) debug/dwarf | |
1971 | $(CHECK) | |
1972 | .PHONY: debug/dwarf/check | |
1973 | ||
1974 | debug/libelf.a: $(go_debug_elf_files) bytes.gox debug/dwarf.gox \ | |
1975 | encoding/binary.gox fmt.gox io.gox os.gox strconv.gox | |
1976 | $(BUILDARCHIVE) | |
1977 | debug/libelf.la: debug/libelf.a | |
1978 | debug/elf/check: $(CHECK_DEPS) | |
1979 | @$(MKDIR_P) debug/elf | |
1980 | $(CHECK) | |
1981 | .PHONY: debug/elf/check | |
1982 | ||
1983 | debug/libgosym.a: $(go_debug_gosym_files) encoding/binary.gox fmt.gox os.gox \ | |
1984 | strconv.gox strings.gox | |
1985 | $(BUILDARCHIVE) | |
1986 | debug/libgosym.la: debug/libgosym.a | |
1987 | debug/gosym/check: $(CHECK_DEPS) | |
1988 | @$(MKDIR_P) debug/gosym | |
1989 | $(CHECK) | |
1990 | .PHONY: debug/gosym/check | |
1991 | ||
1992 | debug/libmacho.a: $(go_debug_macho_files) bytes.gox debug/dwarf.gox \ | |
1993 | encoding/binary.gox fmt.gox io.gox os.gox strconv.gox | |
1994 | $(BUILDARCHIVE) | |
1995 | debug/libmacho.la: debug/libmacho.a | |
1996 | debug/macho/check: $(CHECK_DEPS) | |
1997 | @$(MKDIR_P) debug/macho | |
1998 | $(CHECK) | |
1999 | .PHONY: debug/macho/check | |
2000 | ||
2001 | debug/libpe.a: $(go_debug_pe_files) debug/dwarf.gox encoding/binary.gox \ | |
2002 | fmt.gox io.gox os.gox strconv.gox | |
2003 | $(BUILDARCHIVE) | |
2004 | debug/libpe.la: debug/libpe.a | |
2005 | debug/pe/check: $(CHECK_DEPS) | |
2006 | @$(MKDIR_P) debug/pe | |
2007 | $(CHECK) | |
2008 | .PHONY: debug/pe/check | |
2009 | ||
2010 | debug/libproc.a: $(go_debug_proc_files) container/vector.gox fmt.gox \ | |
2011 | io/ioutil.gox os.gox runtime.gox strconv.gox strings.gox \ | |
2012 | sync.gox syscall.gox | |
2013 | $(BUILDARCHIVE) | |
2014 | debug/libproc.la: debug/libproc.a | |
2015 | debug/proc/check: $(CHECK_DEPS) | |
2016 | @$(MKDIR_P) debug/proc | |
2017 | $(CHECK) | |
2018 | .PHONY: debug/proc/check | |
2019 | ||
2020 | encoding/libascii85.a: $(go_encoding_ascii85_files) io.gox os.gox strconv.gox | |
2021 | $(BUILDARCHIVE) | |
2022 | encoding/libascii85.la: encoding/libascii85.a | |
2023 | encoding/ascii85/check: $(CHECK_DEPS) | |
2024 | @$(MKDIR_P) encoding/ascii85 | |
2025 | $(CHECK) | |
2026 | .PHONY: encoding/ascii85/check | |
2027 | ||
2028 | encoding/libbase64.a: $(go_encoding_base64_files) io.gox os.gox strconv.gox | |
2029 | $(BUILDARCHIVE) | |
2030 | encoding/libbase64.la: encoding/libbase64.a | |
2031 | encoding/base64/check: $(CHECK_DEPS) | |
2032 | @$(MKDIR_P) encoding/base64 | |
2033 | $(CHECK) | |
2034 | .PHONY: encoding/base64/check | |
2035 | ||
2036 | encoding/libbinary.a: $(go_encoding_binary_files) io.gox math.gox os.gox \ | |
2037 | reflect.gox | |
2038 | $(BUILDARCHIVE) | |
2039 | encoding/libbinary.la: encoding/libbinary.a | |
2040 | encoding/binary/check: $(CHECK_DEPS) | |
2041 | @$(MKDIR_P) encoding/binary | |
2042 | $(CHECK) | |
2043 | .PHONY: encoding/binary/check | |
2044 | ||
2045 | encoding/libgit85.a: $(go_encoding_git85_files) bytes.gox io.gox os.gox \ | |
2046 | strconv.gox | |
2047 | $(BUILDARCHIVE) | |
2048 | encoding/libgit85.la: encoding/libgit85.a | |
2049 | encoding/git85/check: $(CHECK_DEPS) | |
2050 | @$(MKDIR_P) encoding/git85 | |
2051 | $(CHECK) | |
2052 | .PHONY: encoding/git85/check | |
2053 | ||
2054 | encoding/libhex.a: $(go_encoding_hex_files) os.gox strconv.gox | |
2055 | $(BUILDARCHIVE) | |
2056 | encoding/libhex.la: encoding/libhex.a | |
2057 | encoding/hex/check: $(CHECK_DEPS) | |
2058 | @$(MKDIR_P) encoding/hex | |
2059 | $(CHECK) | |
2060 | .PHONY: encoding/hex/check | |
2061 | ||
2062 | encoding/libpem.a: $(go_encoding_pem_files) bytes.gox encoding/base64.gox | |
2063 | $(BUILDARCHIVE) | |
2064 | encoding/libpem.la: encoding/libpem.a | |
2065 | encoding/pem/check: $(CHECK_DEPS) | |
2066 | @$(MKDIR_P) encoding/pem | |
2067 | $(CHECK) | |
2068 | .PHONY: encoding/pem/check | |
2069 | ||
2070 | exp/libdatafmt.a: $(go_exp_datafmt_files) bytes.gox container/vector.gox \ | |
2071 | fmt.gox go/scanner.gox go/token.gox io.gox os.gox reflect.gox \ | |
2072 | runtime.gox strconv.gox strings.gox | |
2073 | $(BUILDARCHIVE) | |
2074 | exp/libdatafmt.la: exp/libdatafmt.a | |
2075 | exp/datafmt/check: $(CHECK_DEPS) | |
2076 | @$(MKDIR_P) exp/datafmt | |
2077 | $(CHECK) | |
2078 | .PHONY: exp/datafmt/check | |
2079 | ||
2080 | exp/libdraw.a: $(go_exp_draw_files) image.gox os.gox | |
2081 | $(BUILDARCHIVE) | |
2082 | exp/libdraw.la: exp/libdraw.a | |
2083 | exp/draw/check: $(CHECK_DEPS) | |
2084 | @$(MKDIR_P) exp/draw | |
2085 | $(CHECK) | |
2086 | .PHONY: exp/draw/check | |
2087 | ||
2088 | exp/libeval.a: $(go_exp_eval_files) big.gox go/ast.gox go/parser.gox \ | |
2089 | go/scanner.gox go/token.gox fmt.gox log.gox strconv.gox \ | |
2090 | strings.gox os.gox reflect.gox runtime.gox sort.gox template.gox | |
2091 | $(BUILDARCHIVE) | |
2092 | exp/libeval.la: exp/libeval.a | |
2093 | exp/eval/check: $(CHECK_DEPS) | |
2094 | @$(MKDIR_P) exp/eval | |
2095 | $(CHECK) | |
2096 | .PHONY: exp/eval/check | |
2097 | ||
2098 | go/libast.a: $(go_go_ast_files) fmt.gox go/token.gox io.gox os.gox \ | |
2099 | reflect.gox unicode.gox utf8.gox | |
2100 | $(BUILDARCHIVE) | |
2101 | go/libast.la: go/libast.a | |
2102 | go/ast/check: $(CHECK_DEPS) | |
2103 | @$(MKDIR_P) go/ast | |
2104 | $(CHECK) | |
2105 | .PHONY: go/ast/check | |
2106 | ||
2107 | go/libdoc.a: $(go_go_doc_files) go/ast.gox go/token.gox io.gox regexp.gox \ | |
2108 | sort.gox strings.gox template.gox | |
2109 | $(BUILDARCHIVE) | |
2110 | go/libdoc.la: go/libdoc.a | |
2111 | go/doc/check: $(CHECK_DEPS) | |
2112 | @$(MKDIR_P) go/doc | |
2113 | $(CHECK) | |
2114 | .PHONY: go/doc/check | |
2115 | ||
2116 | go/libparser.a: $(go_go_parser_files) bytes.gox fmt.gox go/ast.gox \ | |
2117 | go/scanner.gox go/token.gox io.gox io/ioutil.gox os.gox \ | |
2118 | path.gox strings.gox | |
2119 | $(BUILDARCHIVE) | |
2120 | go/libparser.la: go/libparser.a | |
2121 | go/parser/check: $(CHECK_DEPS) | |
2122 | @$(MKDIR_P) go/parser | |
2123 | $(CHECK) | |
2124 | .PHONY: go/parser/check | |
2125 | ||
2126 | go/libprinter.a: $(go_go_printer_files) bytes.gox fmt.gox go/ast.gox \ | |
2127 | go/token.gox io.gox os.gox reflect.gox runtime.gox \ | |
2128 | strings.gox tabwriter.gox | |
2129 | $(BUILDARCHIVE) | |
2130 | go/libprinter.la: go/libprinter.a | |
2131 | go/printer/check: $(CHECK_DEPS) | |
2132 | @$(MKDIR_P) go/printer | |
2133 | $(CHECK) | |
2134 | .PHONY: go/printer/check | |
2135 | ||
2136 | go/libscanner.a: $(go_go_scanner_files) bytes.gox container/vector.gox fmt.gox \ | |
2137 | go/token.gox io.gox os.gox sort.gox strconv.gox unicode.gox \ | |
2138 | utf8.gox | |
2139 | $(BUILDARCHIVE) | |
2140 | go/libscanner.la: go/libscanner.a | |
2141 | go/scanner/check: $(CHECK_DEPS) | |
2142 | @$(MKDIR_P) go/scanner | |
2143 | $(CHECK) | |
2144 | .PHONY: go/scanner/check | |
2145 | ||
2146 | go/libtoken.a: $(go_go_token_files) fmt.gox strconv.gox | |
2147 | $(BUILDARCHIVE) | |
2148 | go/libtoken.la: go/libtoken.a | |
2149 | go/token/check: $(CHECK_DEPS) | |
2150 | @$(MKDIR_P) go/token | |
2151 | $(CHECK) | |
2152 | .PHONY: go/token/check | |
2153 | ||
2154 | go/libtypechecker.a: $(go_go_typechecker_files) fmt.gox go/ast.gox \ | |
2155 | go/token.gox go/scanner.gox os.gox | |
2156 | $(BUILDARCHIVE) | |
2157 | go/libtypechecker.la: go/libtypechecker.a | |
2158 | go/typechecker/check: $(CHECK_DEPS) | |
2159 | @$(MKDIR_P) go/typechecker | |
2160 | $(CHECK) | |
2161 | .PHONY: go/typechecker/check | |
2162 | ||
2163 | hash/libadler32.a: $(go_hash_adler32_files) hash.gox os.gox | |
2164 | $(BUILDARCHIVE) | |
2165 | hash/libadler32.la: hash/libadler32.a | |
2166 | hash/adler32/check: $(CHECK_DEPS) | |
2167 | @$(MKDIR_P) hash/adler32 | |
2168 | $(CHECK) | |
2169 | .PHONY: hash/adler32/check | |
2170 | ||
2171 | hash/libcrc32.a: $(go_hash_crc32_files) hash.gox os.gox | |
2172 | $(BUILDARCHIVE) | |
2173 | hash/libcrc32.la: hash/libcrc32.a | |
2174 | hash/crc32/check: $(CHECK_DEPS) | |
2175 | @$(MKDIR_P) hash/crc32 | |
2176 | $(CHECK) | |
2177 | .PHONY: hash/crc32/check | |
2178 | ||
2179 | hash/libcrc64.a: $(go_hash_crc64_files) hash.gox os.gox | |
2180 | $(BUILDARCHIVE) | |
2181 | hash/libcrc64.la: hash/libcrc64.a | |
2182 | hash/crc64/check: $(CHECK_DEPS) | |
2183 | @$(MKDIR_P) hash/crc64 | |
2184 | $(CHECK) | |
2185 | .PHONY: hash/crc64/check | |
2186 | ||
2187 | http/libpprof.a: $(go_http_pprof_files) bufio.gox fmt.gox http.gox os.gox \ | |
2188 | runtime.gox runtime/pprof.gox strconv.gox strings.gox | |
2189 | $(BUILDARCHIVE) | |
2190 | http/libpprof.la: http/libpprof.a | |
2191 | http/pprof/check: $(CHECK_DEPS) | |
2192 | @$(MKDIR_P) http/pprof | |
2193 | $(CHECK) | |
2194 | .PHONY: http/pprof/check | |
2195 | ||
2196 | image/libjpeg.a: $(go_image_jpeg_files) bufio.gox image.gox io.gox os.gox | |
2197 | $(BUILDARCHIVE) | |
2198 | image/libjpeg.la: image/libjpeg.a | |
2199 | image/jpeg/check: $(CHECK_DEPS) | |
2200 | @$(MKDIR_P) image/jpeg | |
2201 | $(CHECK) | |
2202 | .PHONY: image/jpeg/check | |
2203 | ||
2204 | image/libpng.a: $(go_image_png_files) bufio.gox compress/zlib.gox fmt.gox \ | |
2205 | hash.gox hash/crc32.gox image.gox io.gox os.gox strconv.gox | |
2206 | $(BUILDARCHIVE) | |
2207 | image/libpng.la: image/libpng.a | |
2208 | image/png/check: $(CHECK_DEPS) | |
2209 | @$(MKDIR_P) image/png | |
2210 | $(CHECK) | |
2211 | .PHONY: image/png/check | |
2212 | ||
2213 | index/libsuffixarray.a: $(go_index_suffixarray_files) bytes.gox \ | |
2214 | container/vector.gox sort.gox | |
2215 | $(BUILDARCHIVE) | |
2216 | index/libsuffixarray.la: index/libsuffixarray.a | |
2217 | index/suffixarray/check: $(CHECK_DEPS) | |
2218 | @$(MKDIR_P) index/suffixarray | |
2219 | $(CHECK) | |
2220 | .PHONY: index/suffixarray/check | |
2221 | ||
2222 | io/libioutil.a: $(go_io_ioutil_files) bytes.gox io.gox os.gox sort.gox \ | |
2223 | strconv.gox | |
2224 | $(BUILDARCHIVE) | |
2225 | io/libioutil.la: io/libioutil.a | |
2226 | io/ioutil/check: $(CHECK_DEPS) | |
2227 | @$(MKDIR_P) io/ioutil | |
2228 | $(CHECK) | |
2229 | .PHONY: io/ioutil/check | |
2230 | ||
2231 | mime/libmultipart.a: $(go_mime_multipart_files) bufio.gox bytes.gox io.gox \ | |
2232 | mime.gox os.gox regexp.gox strings.gox | |
2233 | $(BUILDARCHIVE) | |
2234 | mime/libmultipart.la: mime/libmultipart.a | |
2235 | mime/multipart/check: $(CHECK_DEPS) | |
2236 | @$(MKDIR_P) mime/multipart | |
2237 | $(CHECK) | |
2238 | .PHONY: mime/multipart/check | |
2239 | ||
2240 | net/libdict.a: $(go_net_dict_files) container/vector.gox net/textproto.gox \ | |
2241 | os.gox strconv.gox strings.gox | |
2242 | $(BUILDARCHIVE) | |
2243 | net/libdict.la: net/libdict.a | |
2244 | ||
2245 | net/libtextproto.a: $(go_net_textproto_files) bufio.gox bytes.gox \ | |
2246 | container/vector.gox fmt.gox io.gox io/ioutil.gox net.gox \ | |
2247 | os.gox strconv.gox sync.gox | |
2248 | $(BUILDARCHIVE) | |
2249 | net/libtextproto.la: net/libtextproto.a | |
2250 | net/textproto/check: $(CHECK_DEPS) | |
2251 | @$(MKDIR_P) net/textproto | |
2252 | $(CHECK) | |
2253 | .PHONY: net/textproto/check | |
2254 | ||
2255 | os/libsignal.a: $(go_os_signal_files) runtime.gox strconv.gox | |
2256 | $(BUILDARCHIVE) | |
2257 | os/libsignal.la: os/libsignal.a | |
2258 | os/signal/check: $(CHECK_DEPS) | |
2259 | @$(MKDIR_P) os/signal | |
2260 | $(CHECK) | |
2261 | .PHONY: os/signal/check | |
2262 | ||
2263 | unix.go: $(srcdir)/go/os/signal/mkunix.sh sysinfo.go | |
2264 | $(SHELL) $(srcdir)/go/os/signal/mkunix.sh sysinfo.go > $@.tmp | |
2265 | mv -f $@.tmp $@ | |
2266 | ||
2267 | rpc/libjsonrpc.a: $(go_rpc_jsonrpc_files) fmt.gox io.gox json.gox net.gox \ | |
2268 | os.gox rpc.gox sync.gox | |
2269 | $(BUILDARCHIVE) | |
2270 | rpc/libjsonrpc.la: rpc/libjsonrpc.a | |
2271 | rpc/jsonrpc/check: $(CHECK_DEPS) | |
2272 | @$(MKDIR_P) rpc/jsonrpc | |
2273 | $(CHECK) | |
2274 | .PHONY: rpc/jsonrpc/check | |
2275 | ||
2276 | runtime/libpprof.a: $(go_runtime_pprof_files) bufio.gox fmt.gox io.gox os.gox \ | |
2277 | runtime.gox | |
2278 | $(BUILDARCHIVE) | |
2279 | runtime/libpprof.la: runtime/libpprof.a | |
2280 | runtime/pprof/check: $(CHECK_DEPS) | |
2281 | @$(MKDIR_P) runtime/pprof | |
2282 | $(CHECK) | |
2283 | .PHONY: runtime/pprof/check | |
2284 | ||
2285 | testing/libiotest.a: $(go_testing_iotest_files) io.gox log.gox os.gox | |
2286 | $(BUILDARCHIVE) | |
2287 | testing/libiotest.la: testing/libiotest.a | |
2288 | testing/iotest/check: $(CHECK_DEPS) | |
2289 | @$(MKDIR_P) testing/iotest | |
2290 | $(CHECK) | |
2291 | .PHONY: testing/iotest/check | |
2292 | ||
2293 | testing/libquick.a: $(go_testing_quick_files) flag.gox fmt.gox math.gox \ | |
2294 | os.gox rand.gox reflect.gox strings.gox | |
2295 | $(BUILDARCHIVE) | |
2296 | testing/libquick.la: testing/libquick.a | |
2297 | testing/quick/check: $(CHECK_DEPS) | |
2298 | @$(MKDIR_P) testing/quick | |
2299 | $(CHECK) | |
2300 | .PHONY: testing/quick/check | |
2301 | ||
2302 | testing/libscript.a: $(go_testing_script_files) fmt.gox os.gox rand.gox \ | |
2303 | reflect.gox strings.gox | |
2304 | $(BUILDARCHIVE) | |
2305 | testing/libscript.la: testing/libscript.a | |
2306 | testing/script/check: $(CHECK_DEPS) | |
2307 | @$(MKDIR_P) testing/script | |
2308 | $(CHECK) | |
2309 | .PHONY: testing/script/check | |
2310 | ||
2311 | sysinfo.go: $(srcdir)/mksysinfo.sh config.h | |
2312 | $(SHELL) $(srcdir)/mksysinfo.sh | |
2313 | syscalls/libsyscall.a: $(go_syscall_files) $(go_syscall_c_files) sync.gox | |
2314 | rm -f syscall.gox syscalls/libsyscall.a | |
2315 | test -d syscalls || $(MKDIR_P) syscalls | |
2316 | files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \ | |
2317 | $(LTGOCOMPILE) -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files | |
2318 | $(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c | |
2319 | $(AR) rc syscalls/libsyscall.a syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT) | |
2320 | syscalls/libsyscall.la: syscalls/libsyscall.a | |
2321 | $(LINK) syscalls/syscall.lo syscalls/errno.lo | |
2322 | ||
2323 | # How to build a .gox file from a .a file. | |
2324 | BUILDGOX = \ | |
2325 | set -e; \ | |
2326 | rm -f $@.$(OBJEXT); \ | |
2327 | $(CC) -r -nostdlib -o $@.$(OBJEXT) -Wl,--whole-archive $<; \ | |
2328 | $(OBJCOPY) -j .go_export $@.$(OBJEXT) $@.tmp; \ | |
2329 | mv -f $@.tmp $@; \ | |
2330 | rm -f $@.$(OBJEXT) | |
2331 | ||
2332 | asn1.gox: asn1/libasn1.a | |
2333 | $(BUILDGOX) | |
2334 | big.gox: big/libbig.a | |
2335 | $(BUILDGOX) | |
2336 | bufio.gox: bufio/libbufio.a | |
2337 | $(BUILDGOX) | |
2338 | bytes.gox: bytes/libbytes.a | |
2339 | $(BUILDGOX) | |
2340 | cmath.gox: cmath/libcmath.a | |
2341 | $(BUILDGOX) | |
2342 | ebnf.gox: ebnf/libebnf.a | |
2343 | $(BUILDGOX) | |
2344 | exec.gox: exec/libexec.a | |
2345 | $(BUILDGOX) | |
2346 | expvar.gox: expvar/libexpvar.a | |
2347 | $(BUILDGOX) | |
2348 | flag.gox: flag/libflag.a | |
2349 | $(BUILDGOX) | |
2350 | fmt.gox: fmt/libfmt.a | |
2351 | $(BUILDGOX) | |
2352 | gob.gox: gob/libgob.a | |
2353 | $(BUILDGOX) | |
2354 | hash.gox: hash/libhash.a | |
2355 | $(BUILDGOX) | |
2356 | html.gox: html/libhtml.a | |
2357 | $(BUILDGOX) | |
2358 | http.gox: http/libhttp.a | |
2359 | $(BUILDGOX) | |
2360 | image.gox: image/libimage.a | |
2361 | $(BUILDGOX) | |
2362 | io.gox: io/libio.a | |
2363 | $(BUILDGOX) | |
2364 | json.gox: json/libjson.a | |
2365 | $(BUILDGOX) | |
2366 | log.gox: log/liblog.a | |
2367 | $(BUILDGOX) | |
2368 | math.gox: math/libmath.a | |
2369 | $(BUILDGOX) | |
2370 | mime.gox: mime/libmime.a | |
2371 | $(BUILDGOX) | |
2372 | net.gox: net/libnet.a | |
2373 | $(BUILDGOX) | |
2374 | netchan.gox: netchan/libnetchan.a | |
2375 | $(BUILDGOX) | |
2376 | os.gox: os/libos.a | |
2377 | $(BUILDGOX) | |
2378 | patch.gox: patch/libpatch.a | |
2379 | $(BUILDGOX) | |
2380 | path.gox: path/libpath.a | |
2381 | $(BUILDGOX) | |
2382 | rand.gox: rand/librand.a | |
2383 | $(BUILDGOX) | |
2384 | reflect.gox: reflect/libreflect.a | |
2385 | $(BUILDGOX) | |
2386 | regexp.gox: regexp/libregexp.a | |
2387 | $(BUILDGOX) | |
2388 | rpc.gox: rpc/librpc.a | |
2389 | $(BUILDGOX) | |
2390 | runtime.gox: runtime/libruntime.a | |
2391 | $(BUILDGOX) | |
2392 | scanner.gox: scanner/libscanner.a | |
2393 | $(BUILDGOX) | |
2394 | smtp.gox: smtp/libsmtp.a | |
2395 | $(BUILDGOX) | |
2396 | sort.gox: sort/libsort.a | |
2397 | $(BUILDGOX) | |
2398 | strconv.gox: strconv/libstrconv.a | |
2399 | $(BUILDGOX) | |
2400 | strings.gox: strings/libstrings.a | |
2401 | $(BUILDGOX) | |
2402 | sync.gox: sync/libsync.a | |
2403 | $(BUILDGOX) | |
2404 | syslog.gox: syslog/libsyslog.a | |
2405 | $(BUILDGOX) | |
2406 | syscall.gox: syscalls/libsyscall.a | |
2407 | $(BUILDGOX) | |
2408 | tabwriter.gox: tabwriter/libtabwriter.a | |
2409 | $(BUILDGOX) | |
2410 | template.gox: template/libtemplate.a | |
2411 | $(BUILDGOX) | |
2412 | testing.gox: testing/libtesting.a | |
2413 | $(BUILDGOX) | |
2414 | time.gox: time/libtime.a | |
2415 | $(BUILDGOX) | |
2416 | try.gox: try/libtry.a | |
2417 | $(BUILDGOX) | |
2418 | unicode.gox: unicode/libunicode.a | |
2419 | $(BUILDGOX) | |
2420 | utf16.gox: utf16/libutf16.a | |
2421 | $(BUILDGOX) | |
2422 | utf8.gox: utf8/libutf8.a | |
2423 | $(BUILDGOX) | |
2424 | websocket.gox: websocket/libwebsocket.a | |
2425 | $(BUILDGOX) | |
2426 | xml.gox: xml/libxml.a | |
2427 | $(BUILDGOX) | |
2428 | ||
2429 | archive/tar.gox: archive/libtar.a | |
2430 | $(BUILDGOX) | |
2431 | archive/zip.gox: archive/libzip.a | |
2432 | $(BUILDGOX) | |
2433 | ||
2434 | compress/flate.gox: compress/libflate.a | |
2435 | $(BUILDGOX) | |
2436 | compress/gzip.gox: compress/libgzip.a | |
2437 | $(BUILDGOX) | |
2438 | compress/zlib.gox: compress/libzlib.a | |
2439 | $(BUILDGOX) | |
2440 | ||
2441 | container/heap.gox: container/libheap.a | |
2442 | $(BUILDGOX) | |
2443 | container/list.gox: container/liblist.a | |
2444 | $(BUILDGOX) | |
2445 | container/ring.gox: container/libring.a | |
2446 | $(BUILDGOX) | |
2447 | container/vector.gox: container/libvector.a | |
2448 | $(BUILDGOX) | |
2449 | ||
2450 | crypto/aes.gox: crypto/libaes.a | |
2451 | $(BUILDGOX) | |
2452 | crypto/block.gox: crypto/libblock.a | |
2453 | $(BUILDGOX) | |
2454 | crypto/blowfish.gox: crypto/libblowfish.a | |
2455 | $(BUILDGOX) | |
2456 | crypto/cast5.gox: crypto/libcast5.a | |
2457 | $(BUILDGOX) | |
2458 | crypto/hmac.gox: crypto/libhmac.a | |
2459 | $(BUILDGOX) | |
2460 | crypto/md4.gox: crypto/libmd4.a | |
2461 | $(BUILDGOX) | |
2462 | crypto/md5.gox: crypto/libmd5.a | |
2463 | $(BUILDGOX) | |
2464 | crypto/ocsp.gox: crypto/libocsp.a | |
2465 | $(BUILDGOX) | |
2466 | crypto/rand.gox: crypto/librand.a | |
2467 | $(BUILDGOX) | |
2468 | crypto/rc4.gox: crypto/librc4.a | |
2469 | $(BUILDGOX) | |
2470 | crypto/ripemd160.gox: crypto/libripemd160.a | |
2471 | $(BUILDGOX) | |
2472 | crypto/rsa.gox: crypto/librsa.a | |
2473 | $(BUILDGOX) | |
2474 | crypto/sha1.gox: crypto/libsha1.a | |
2475 | $(BUILDGOX) | |
2476 | crypto/sha256.gox: crypto/libsha256.a | |
2477 | $(BUILDGOX) | |
2478 | crypto/sha512.gox: crypto/libsha512.a | |
2479 | $(BUILDGOX) | |
2480 | crypto/subtle.gox: crypto/libsubtle.a | |
2481 | $(BUILDGOX) | |
2482 | crypto/tls.gox: crypto/libtls.a | |
2483 | $(BUILDGOX) | |
2484 | crypto/x509.gox: crypto/libx509.a | |
2485 | $(BUILDGOX) | |
2486 | crypto/xtea.gox: crypto/libxtea.a | |
2487 | $(BUILDGOX) | |
2488 | ||
2489 | debug/dwarf.gox: debug/libdwarf.a | |
2490 | $(BUILDGOX) | |
2491 | debug/elf.gox: debug/libelf.a | |
2492 | $(BUILDGOX) | |
2493 | debug/gosym.gox: debug/libgosym.a | |
2494 | $(BUILDGOX) | |
2495 | debug/macho.gox: debug/libmacho.a | |
2496 | $(BUILDGOX) | |
2497 | debug/pe.gox: debug/libpe.a | |
2498 | $(BUILDGOX) | |
2499 | debug/proc.gox: debug/libproc.a | |
2500 | $(BUILDGOX) | |
2501 | ||
2502 | encoding/ascii85.gox: encoding/libascii85.a | |
2503 | $(BUILDGOX) | |
2504 | encoding/base64.gox: encoding/libbase64.a | |
2505 | $(BUILDGOX) | |
2506 | encoding/binary.gox: encoding/libbinary.a | |
2507 | $(BUILDGOX) | |
2508 | encoding/git85.gox: encoding/libgit85.a | |
2509 | $(BUILDGOX) | |
2510 | encoding/hex.gox: encoding/libhex.a | |
2511 | $(BUILDGOX) | |
2512 | encoding/pem.gox: encoding/libpem.a | |
2513 | $(BUILDGOX) | |
2514 | ||
2515 | exp/datafmt.gox: exp/libdatafmt.a | |
2516 | $(BUILDGOX) | |
2517 | exp/draw.gox: exp/libdraw.a | |
2518 | $(BUILDGOX) | |
2519 | exp/eval.gox: exp/libeval.a | |
2520 | $(BUILDGOX) | |
2521 | ||
2522 | go/ast.gox: go/libast.a | |
2523 | $(BUILDGOX) | |
2524 | go/doc.gox: go/libdoc.a | |
2525 | $(BUILDGOX) | |
2526 | go/parser.gox: go/libparser.a | |
2527 | $(BUILDGOX) | |
2528 | go/printer.gox: go/libprinter.a | |
2529 | $(BUILDGOX) | |
2530 | go/scanner.gox: go/libscanner.a | |
2531 | $(BUILDGOX) | |
2532 | go/token.gox: go/libtoken.a | |
2533 | $(BUILDGOX) | |
2534 | go/typechecker.gox: go/libtypechecker.a | |
2535 | $(BUILDGOX) | |
2536 | ||
2537 | hash/adler32.gox: hash/libadler32.a | |
2538 | $(BUILDGOX) | |
2539 | hash/crc32.gox: hash/libcrc32.a | |
2540 | $(BUILDGOX) | |
2541 | hash/crc64.gox: hash/libcrc64.a | |
2542 | $(BUILDGOX) | |
2543 | ||
2544 | http/pprof.gox: http/libpprof.a | |
2545 | $(BUILDGOX) | |
2546 | ||
2547 | image/jpeg.gox: image/libjpeg.a | |
2548 | $(BUILDGOX) | |
2549 | image/png.gox: image/libpng.a | |
2550 | $(BUILDGOX) | |
2551 | ||
2552 | index/suffixarray.gox: index/libsuffixarray.a | |
2553 | $(BUILDGOX) | |
2554 | ||
2555 | io/ioutil.gox: io/libioutil.a | |
2556 | $(BUILDGOX) | |
2557 | ||
2558 | mime/multipart.gox: mime/libmultipart.a | |
2559 | $(BUILDGOX) | |
2560 | ||
2561 | net/dict.gox: net/libdict.a | |
2562 | $(BUILDGOX) | |
2563 | net/textproto.gox: net/libtextproto.a | |
2564 | $(BUILDGOX) | |
2565 | ||
2566 | os/signal.gox: os/libsignal.a | |
2567 | $(BUILDGOX) | |
2568 | ||
2569 | rpc/jsonrpc.gox: rpc/libjsonrpc.a | |
2570 | $(BUILDGOX) | |
2571 | ||
2572 | runtime/pprof.gox: runtime/libpprof.a | |
2573 | $(BUILDGOX) | |
2574 | ||
2575 | testing/iotest.gox: testing/libiotest.a | |
2576 | $(BUILDGOX) | |
2577 | testing/quick.gox: testing/libquick.a | |
2578 | $(BUILDGOX) | |
2579 | testing/script.gox: testing/libscript.a | |
2580 | $(BUILDGOX) | |
2581 | ||
2582 | TEST_PACKAGES = \ | |
2583 | asn1/check \ | |
2584 | big/check \ | |
2585 | bufio/check \ | |
2586 | bytes/check \ | |
2587 | cmath/check \ | |
2588 | ebnf/check \ | |
2589 | exec/check \ | |
2590 | expvar/check \ | |
2591 | flag/check \ | |
2592 | fmt/check \ | |
2593 | gob/check \ | |
2594 | html/check \ | |
2595 | http/check \ | |
2596 | io/check \ | |
2597 | json/check \ | |
2598 | log/check \ | |
2599 | math/check \ | |
2600 | mime/check \ | |
2601 | net/check \ | |
2602 | netchan/check \ | |
2603 | os/check \ | |
2604 | patch/check \ | |
2605 | path/check \ | |
2606 | rand/check \ | |
2607 | reflect/check \ | |
2608 | regexp/check \ | |
2609 | rpc/check \ | |
2610 | runtime/check \ | |
2611 | scanner/check \ | |
2612 | smtp/check \ | |
2613 | sort/check \ | |
2614 | strconv/check \ | |
2615 | strings/check \ | |
2616 | sync/check \ | |
2617 | syslog/check \ | |
2618 | tabwriter/check \ | |
2619 | template/check \ | |
2620 | time/check \ | |
2621 | try/check \ | |
2622 | unicode/check \ | |
2623 | utf16/check \ | |
2624 | utf8/check \ | |
2625 | websocket/check \ | |
2626 | xml/check \ | |
2627 | archive/tar/check \ | |
2628 | archive/zip/check \ | |
2629 | compress/flate/check \ | |
2630 | compress/gzip/check \ | |
2631 | compress/zlib/check \ | |
2632 | container/heap/check \ | |
2633 | container/list/check \ | |
2634 | container/ring/check \ | |
2635 | container/vector/check \ | |
2636 | crypto/aes/check \ | |
2637 | crypto/block/check \ | |
2638 | crypto/blowfish/check \ | |
2639 | crypto/cast5/check \ | |
2640 | crypto/hmac/check \ | |
2641 | crypto/md4/check \ | |
2642 | crypto/md5/check \ | |
2643 | crypto/ocsp/check \ | |
2644 | crypto/rand/check \ | |
2645 | crypto/rc4/check \ | |
2646 | crypto/ripemd160/check \ | |
2647 | crypto/rsa/check \ | |
2648 | crypto/sha1/check \ | |
2649 | crypto/sha256/check \ | |
2650 | crypto/sha512/check \ | |
2651 | crypto/subtle/check \ | |
2652 | crypto/tls/check \ | |
2653 | crypto/x509/check \ | |
2654 | crypto/xtea/check \ | |
2655 | debug/dwarf/check \ | |
2656 | debug/elf/check \ | |
2657 | debug/macho/check \ | |
2658 | debug/pe/check \ | |
2659 | encoding/ascii85/check \ | |
2660 | encoding/base64/check \ | |
2661 | encoding/binary/check \ | |
2662 | encoding/git85/check \ | |
2663 | encoding/hex/check \ | |
2664 | encoding/pem/check \ | |
2665 | exp/datafmt/check \ | |
2666 | exp/draw/check \ | |
2667 | exp/eval/check \ | |
2668 | go/parser/check \ | |
2669 | go/printer/check \ | |
2670 | go/scanner/check \ | |
2671 | go/typechecker/check \ | |
2672 | hash/adler32/check \ | |
2673 | hash/crc32/check \ | |
2674 | hash/crc64/check \ | |
2675 | image/png/check \ | |
2676 | index/suffixarray/check \ | |
2677 | io/ioutil/check \ | |
2678 | mime/multipart/check \ | |
2679 | net/textproto/check \ | |
2680 | os/signal/check \ | |
2681 | rpc/jsonrpc/check \ | |
2682 | testing/quick/check \ | |
2683 | testing/script/check | |
2684 | ||
2685 | check-recursive: $(TEST_PACKAGES) | |
2686 | ||
2687 | mostlyclean-local: | |
2688 | find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f | |
2689 | find . -name '*.$(OBJEXT)' -print | xargs rm -f | |
2690 | ||
2691 | clean-local: | |
2692 | find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f | |
2693 | find . -name '*.a' -print | xargs rm -f | |
2694 | ||
2695 | CLEANFILES = *.go *.gox goc2c *.c s-version |