]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgo/Makefile.am
re PR c++/51989 (std::deque::iterator recognised as container)
[thirdparty/gcc.git] / libgo / Makefile.am
CommitLineData
7a938933
ILT
1# Makefile.am -- Go library Makefile.
2
8c954c52 3# Copyright 2009 The Go Authors. All rights reserved.
7a938933
ILT
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.
10SUFFIXES = .c .go .gox .o .obj .lo .a
11
12if LIBGO_IS_RTEMS
13subdirs = testsuite
14endif
15
16SUBDIRS = ${subdirs}
17
ac819ba5
ILT
18gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
19
7a938933
ILT
20MAINT_CHARSET = latin1
21
22mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
23PWD_COMMAND = $${PWDCMD-pwd}
24STAMP = echo timestamp >
25
26toolexecdir = $(glibgo_toolexecdir)
27toolexeclibdir = $(glibgo_toolexeclibdir)
317ea7c0 28toolexeclibgodir = $(nover_glibgo_toolexeclibdir)/go/$(gcc_version)/$(target_alias)
7a938933
ILT
29
30LIBFFI = @LIBFFI@
31LIBFFIINCS = @LIBFFIINCS@
32
33WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
34
35# -I/-D flags to pass when compiling.
6c94a9fa 36AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
7a938933
ILT
37
38ACLOCAL_AMFLAGS = -I ./config -I ../config
39
40AM_CFLAGS = -fexceptions -fplan9-extensions $(SPLIT_STACK) $(WARN_CFLAGS) \
d48be5df 41 $(STRINGOPS_FLAG) $(OSCFLAGS) \
201cdb74 42 -I $(srcdir)/../libgcc -I $(MULTIBUILDTOP)../../gcc/include
7a938933
ILT
43
44if USING_SPLIT_STACK
45AM_LDFLAGS = -XCClinker $(SPLIT_STACK)
46endif
47
48# Multilib support.
49MAKEOVERRIDES=
50
51# Work around what appears to be a GNU make handling MAKEFLAGS
52# values defined in terms of make variables, as is the case for CC and
53# friends when we are called from the top level Makefile.
54AM_MAKEFLAGS = \
55 "AR_FLAGS=$(AR_FLAGS)" \
56 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
57 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
58 "CFLAGS=$(CFLAGS)" \
59 "CXXFLAGS=$(CXXFLAGS)" \
60 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
61 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
62 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
63 "GOC=$(GOC)" \
64 "GOCFLAGS=$(GOCFLAGS)" \
65 "INSTALL=$(INSTALL)" \
66 "INSTALL_DATA=$(INSTALL_DATA)" \
67 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
68 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
69 "LDFLAGS=$(LDFLAGS)" \
70 "LIBCFLAGS=$(LIBCFLAGS)" \
71 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
72 "MAKE=$(MAKE)" \
73 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
74 "PICFLAG=$(PICFLAG)" \
75 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
76 "SHELL=$(SHELL)" \
77 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
78 "exec_prefix=$(exec_prefix)" \
79 "infodir=$(infodir)" \
80 "libdir=$(libdir)" \
81 "includedir=$(includedir)" \
82 "prefix=$(prefix)" \
83 "tooldir=$(tooldir)" \
84 "gxx_include_dir=$(gxx_include_dir)" \
85 "AR=$(AR)" \
86 "AS=$(AS)" \
87 "LD=$(LD)" \
88 "RANLIB=$(RANLIB)" \
89 "NM=$(NM)" \
90 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
91 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
92 "DESTDIR=$(DESTDIR)" \
93 "WERROR=$(WERROR)"
94
95# Subdir rules rely on $(FLAGS_TO_PASS)
96FLAGS_TO_PASS = $(AM_MAKEFLAGS)
97
98toolexeclib_LTLIBRARIES = libgo.la
99toolexeclib_LIBRARIES = libgobegin.a
100
ac819ba5 101toolexeclibgo_DATA = \
7a938933
ILT
102 bufio.gox \
103 bytes.gox \
5133f00e 104 crypto.gox \
2fd401c8 105 errors.gox \
7a938933
ILT
106 expvar.gox \
107 flag.gox \
108 fmt.gox \
7a938933
ILT
109 hash.gox \
110 html.gox \
7a938933
ILT
111 image.gox \
112 io.gox \
7a938933
ILT
113 log.gox \
114 math.gox \
115 mime.gox \
116 net.gox \
7a938933 117 os.gox \
7a938933 118 path.gox \
7a938933
ILT
119 reflect.gox \
120 regexp.gox \
7a938933 121 runtime.gox \
7a938933
ILT
122 sort.gox \
123 strconv.gox \
124 strings.gox \
125 sync.gox \
126 syscall.gox \
7a938933
ILT
127 testing.gox \
128 time.gox \
9af4cb95 129 unicode.gox
7a938933 130
ac819ba5 131toolexeclibgoarchivedir = $(toolexeclibgodir)/archive
7a938933 132
ac819ba5 133toolexeclibgoarchive_DATA = \
7a938933
ILT
134 archive/tar.gox \
135 archive/zip.gox
136
ac819ba5 137toolexeclibgocompressdir = $(toolexeclibgodir)/compress
7a938933 138
ac819ba5 139toolexeclibgocompress_DATA = \
5133f00e 140 compress/bzip2.gox \
7a938933
ILT
141 compress/flate.gox \
142 compress/gzip.gox \
5133f00e 143 compress/lzw.gox \
7a938933
ILT
144 compress/zlib.gox
145
ac819ba5 146toolexeclibgocontainerdir = $(toolexeclibgodir)/container
7a938933 147
ac819ba5 148toolexeclibgocontainer_DATA = \
7a938933
ILT
149 container/heap.gox \
150 container/list.gox \
d8f41257 151 container/ring.gox
7a938933 152
ac819ba5 153toolexeclibgocryptodir = $(toolexeclibgodir)/crypto
7a938933 154
ac819ba5 155toolexeclibgocrypto_DATA = \
7a938933 156 crypto/aes.gox \
ff5f50c5 157 crypto/cipher.gox \
405ca104 158 crypto/des.gox \
5133f00e 159 crypto/dsa.gox \
8039ca76 160 crypto/ecdsa.gox \
ff5f50c5 161 crypto/elliptic.gox \
7a938933 162 crypto/hmac.gox \
7a938933 163 crypto/md5.gox \
7a938933
ILT
164 crypto/rand.gox \
165 crypto/rc4.gox \
7a938933
ILT
166 crypto/rsa.gox \
167 crypto/sha1.gox \
168 crypto/sha256.gox \
169 crypto/sha512.gox \
170 crypto/subtle.gox \
171 crypto/tls.gox \
9af4cb95 172 crypto/x509.gox
ff5f50c5 173
adb0401d
ILT
174toolexeclibgocryptox509dir = $(toolexeclibgocryptodir)/x509
175
176toolexeclibgocryptox509_DATA = \
177 crypto/x509/pkix.gox
178
af92e385
ILT
179toolexeclibgodatabasedir = $(toolexeclibgodir)/database
180
181toolexeclibgodatabase_DATA = \
182 database/sql.gox
183
184toolexeclibgodatabasesqldir = $(toolexeclibgodatabasedir)/sql
185
186toolexeclibgodatabasesql_DATA = \
187 database/sql/driver.gox
188
ac819ba5 189toolexeclibgodebugdir = $(toolexeclibgodir)/debug
7a938933 190
ac819ba5 191toolexeclibgodebug_DATA = \
7a938933
ILT
192 debug/dwarf.gox \
193 debug/elf.gox \
194 debug/gosym.gox \
195 debug/macho.gox \
adb0401d 196 debug/pe.gox
7a938933 197
ac819ba5 198toolexeclibgoencodingdir = $(toolexeclibgodir)/encoding
7a938933 199
ac819ba5 200toolexeclibgoencoding_DATA = \
7a938933 201 encoding/ascii85.gox \
9c63abc9 202 encoding/asn1.gox \
ff5f50c5 203 encoding/base32.gox \
7a938933
ILT
204 encoding/base64.gox \
205 encoding/binary.gox \
9c63abc9 206 encoding/csv.gox \
9c63abc9 207 encoding/gob.gox \
7a938933 208 encoding/hex.gox \
9c63abc9
ILT
209 encoding/json.gox \
210 encoding/pem.gox \
211 encoding/xml.gox
7a938933 212
b740cb63
ILT
213if LIBGO_IS_LINUX
214# exp_inotify_gox = exp/inotify.gox
215exp_inotify_gox =
216else
217exp_inotify_gox =
218endif
219
ac819ba5 220toolexeclibgoexpdir = $(toolexeclibgodir)/exp
7a938933 221
ac819ba5 222toolexeclibgoexp_DATA = \
d8f41257 223 exp/ebnf.gox \
9af4cb95 224 exp/html.gox \
b740cb63 225 $(exp_inotify_gox) \
adb0401d 226 exp/norm.gox \
df1304ee 227 exp/proxy.gox \
94252f4b 228 exp/signal.gox \
d8f41257 229 exp/terminal.gox \
af92e385
ILT
230 exp/types.gox \
231 exp/utf8string.gox
adb0401d 232
ac819ba5 233toolexeclibgogodir = $(toolexeclibgodir)/go
7a938933 234
ac819ba5 235toolexeclibgogo_DATA = \
7a938933 236 go/ast.gox \
adb0401d 237 go/build.gox \
7a938933
ILT
238 go/doc.gox \
239 go/parser.gox \
240 go/printer.gox \
241 go/scanner.gox \
d8f41257 242 go/token.gox
7a938933 243
ac819ba5 244toolexeclibgohashdir = $(toolexeclibgodir)/hash
7a938933 245
ac819ba5 246toolexeclibgohash_DATA = \
7a938933
ILT
247 hash/adler32.gox \
248 hash/crc32.gox \
8039ca76
ILT
249 hash/crc64.gox \
250 hash/fnv.gox
7a938933 251
9c63abc9 252toolexeclibgohtmldir = $(toolexeclibgodir)/html
7a938933 253
9c63abc9
ILT
254toolexeclibgohtml_DATA = \
255 html/template.gox
7a938933 256
ac819ba5 257toolexeclibgoimagedir = $(toolexeclibgodir)/image
7a938933 258
ac819ba5 259toolexeclibgoimage_DATA = \
d8f41257 260 image/color.gox \
adb0401d 261 image/draw.gox \
9ff56c95 262 image/gif.gox \
7a938933 263 image/jpeg.gox \
94252f4b 264 image/png.gox
7a938933 265
ac819ba5 266toolexeclibgoindexdir = $(toolexeclibgodir)/index
7a938933 267
ac819ba5 268toolexeclibgoindex_DATA = \
7a938933
ILT
269 index/suffixarray.gox
270
ac819ba5 271toolexeclibgoiodir = $(toolexeclibgodir)/io
7a938933 272
ac819ba5 273toolexeclibgoio_DATA = \
7a938933
ILT
274 io/ioutil.gox
275
9c63abc9
ILT
276toolexeclibgologdir = $(toolexeclibgodir)/log
277
278toolexeclibgolog_DATA = \
279 log/syslog.gox
280
281toolexeclibgomathdir = $(toolexeclibgodir)/math
282
283toolexeclibgomath_DATA = \
284 math/big.gox \
285 math/cmplx.gox \
286 math/rand.gox
287
ac819ba5 288toolexeclibgomimedir = $(toolexeclibgodir)/mime
7a938933 289
ac819ba5 290toolexeclibgomime_DATA = \
7a938933
ILT
291 mime/multipart.gox
292
ac819ba5 293toolexeclibgonetdir = $(toolexeclibgodir)/net
7a938933 294
ac819ba5 295toolexeclibgonet_DATA = \
9c63abc9
ILT
296 net/http.gox \
297 net/mail.gox \
298 net/rpc.gox \
299 net/smtp.gox \
300 net/textproto.gox \
301 net/url.gox
302
303toolexeclibgonethttpdir = $(toolexeclibgonetdir)/http
304
305toolexeclibgonethttp_DATA = \
306 net/http/cgi.gox \
307 net/http/fcgi.gox \
308 net/http/httptest.gox \
309 net/http/httputil.gox \
310 net/http/pprof.gox
311
312toolexeclibgonetrpcdir = $(toolexeclibgonetdir)/rpc
313
314toolexeclibgonetrpc_DATA = \
315 net/rpc/jsonrpc.gox
7a938933 316
adb0401d
ILT
317toolexeclibgoolddir = $(toolexeclibgodir)/old
318
319toolexeclibgoold_DATA = \
d8f41257
ILT
320 old/netchan.gox \
321 old/regexp.gox \
adb0401d
ILT
322 old/template.gox
323
ac819ba5 324toolexeclibgoosdir = $(toolexeclibgodir)/os
7a938933 325
ac819ba5 326toolexeclibgoos_DATA = \
9c63abc9 327 os/exec.gox \
94252f4b 328 os/user.gox
7a938933 329
8039ca76
ILT
330toolexeclibgopathdir = $(toolexeclibgodir)/path
331
332toolexeclibgopath_DATA = \
333 path/filepath.gox
334
d8f41257
ILT
335toolexeclibgoregexpdir = $(toolexeclibgodir)/regexp
336
337toolexeclibgoregexp_DATA = \
338 regexp/syntax.gox
339
ac819ba5 340toolexeclibgoruntimedir = $(toolexeclibgodir)/runtime
7a938933 341
ac819ba5 342toolexeclibgoruntime_DATA = \
ff5f50c5 343 runtime/debug.gox \
7a938933
ILT
344 runtime/pprof.gox
345
5133f00e
ILT
346toolexeclibgosyncdir = $(toolexeclibgodir)/sync
347
348toolexeclibgosync_DATA = \
349 sync/atomic.gox
350
ac819ba5 351toolexeclibgotestingdir = $(toolexeclibgodir)/testing
7a938933 352
ac819ba5 353toolexeclibgotesting_DATA = \
7a938933
ILT
354 testing/iotest.gox \
355 testing/quick.gox \
356 testing/script.gox
357
9c63abc9
ILT
358toolexeclibgotextdir = $(toolexeclibgodir)/text
359
360toolexeclibgotext_DATA = \
361 text/scanner.gox \
362 text/tabwriter.gox \
363 text/template.gox
364
365toolexeclibgotexttemplatedir = $(toolexeclibgotextdir)/template
366
367toolexeclibgotexttemplate_DATA = \
368 text/template/parse.gox
369
370toolexeclibgounicodedir = $(toolexeclibgodir)/unicode
371
372toolexeclibgounicode_DATA = \
373 unicode/utf16.gox \
374 unicode/utf8.gox
375
7a938933
ILT
376if HAVE_SYS_MMAN_H
377runtime_mem_file = runtime/mem.c
378else
379runtime_mem_file = runtime/mem_posix_memalign.c
380endif
381
382if LIBGO_IS_RTEMS
383rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
384else
385rtems_task_variable_add_file =
386endif
387
48e7d50e
ILT
388if LIBGO_IS_LINUX
389runtime_lock_files = runtime/lock_futex.c runtime/thread-linux.c
390else
391runtime_lock_files = runtime/lock_sema.c runtime/thread-sema.c
392endif
393
7a938933
ILT
394runtime_files = \
395 runtime/go-append.c \
396 runtime/go-assert.c \
397 runtime/go-assert-interface.c \
398 runtime/go-byte-array-to-string.c \
399 runtime/go-breakpoint.c \
400 runtime/go-caller.c \
401 runtime/go-can-convert-interface.c \
9a270ad3 402 runtime/go-cgo.c \
7a938933 403 runtime/go-check-interface.c \
7a938933
ILT
404 runtime/go-construct-map.c \
405 runtime/go-convert-interface.c \
b5343013 406 runtime/go-copy.c \
7a938933
ILT
407 runtime/go-defer.c \
408 runtime/go-deferred-recover.c \
409 runtime/go-eface-compare.c \
410 runtime/go-eface-val-compare.c \
411 runtime/go-getgoroot.c \
7a938933
ILT
412 runtime/go-int-array-to-string.c \
413 runtime/go-int-to-string.c \
414 runtime/go-interface-compare.c \
7b67393d 415 runtime/go-interface-eface-compare.c \
7a938933 416 runtime/go-interface-val-compare.c \
3b8dffe7 417 runtime/go-make-slice.c \
7a938933
ILT
418 runtime/go-map-delete.c \
419 runtime/go-map-index.c \
420 runtime/go-map-len.c \
421 runtime/go-map-range.c \
d2b480bc 422 runtime/go-matherr.c \
7a938933 423 runtime/go-nanotime.c \
7b1c3dd9 424 runtime/go-now.c \
7a938933
ILT
425 runtime/go-new-map.c \
426 runtime/go-new.c \
e02ed81e 427 runtime/go-nosys.c \
7a938933 428 runtime/go-panic.c \
7a938933 429 runtime/go-print.c \
7a938933
ILT
430 runtime/go-recover.c \
431 runtime/go-reflect.c \
432 runtime/go-reflect-call.c \
7a938933
ILT
433 runtime/go-reflect-map.c \
434 runtime/go-rune.c \
435 runtime/go-runtime-error.c \
9ff56c95 436 runtime/go-setenv.c \
7a938933
ILT
437 runtime/go-signal.c \
438 runtime/go-strcmp.c \
439 runtime/go-string-to-byte-array.c \
440 runtime/go-string-to-int-array.c \
441 runtime/go-strplus.c \
442 runtime/go-strslice.c \
443 runtime/go-trampoline.c \
f9f96987 444 runtime/go-type-complex.c \
7a938933
ILT
445 runtime/go-type-eface.c \
446 runtime/go-type-error.c \
f9f96987 447 runtime/go-type-float.c \
7a938933
ILT
448 runtime/go-type-identity.c \
449 runtime/go-type-interface.c \
450 runtime/go-type-string.c \
451 runtime/go-typedesc-equal.c \
452 runtime/go-typestring.c \
453 runtime/go-unreflect.c \
454 runtime/go-unsafe-new.c \
455 runtime/go-unsafe-newarray.c \
456 runtime/go-unsafe-pointer.c \
457 runtime/go-unwind.c \
3e68d6d7 458 runtime/chan.c \
c29301d6 459 runtime/cpuprof.c \
48e7d50e 460 $(runtime_lock_files) \
7a938933
ILT
461 runtime/mcache.c \
462 runtime/mcentral.c \
463 $(runtime_mem_file) \
464 runtime/mfinal.c \
465 runtime/mfixalloc.c \
466 runtime/mgc0.c \
467 runtime/mheap.c \
7a938933
ILT
468 runtime/msize.c \
469 runtime/proc.c \
5c262e94 470 runtime/runtime.c \
7a938933 471 runtime/thread.c \
d8f41257 472 runtime/yield.c \
7a938933 473 $(rtems_task_variable_add_file) \
7a938933
ILT
474 iface.c \
475 malloc.c \
476 map.c \
477 mprof.c \
478 reflect.c \
737087cb
ILT
479 runtime1.c \
480 sema.c \
7a938933 481 sigqueue.c \
9c63abc9
ILT
482 string.c \
483 time.c
7a938933
ILT
484
485goc2c.$(OBJEXT): runtime/goc2c.c
486 $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) $<
487
488goc2c: goc2c.$(OBJEXT)
489 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
490
491malloc.c: $(srcdir)/runtime/malloc.goc goc2c
492 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
493 mv -f $@.tmp $@
494
495mprof.c: $(srcdir)/runtime/mprof.goc goc2c
496 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
497 mv -f $@.tmp $@
498
499reflect.c: $(srcdir)/runtime/reflect.goc goc2c
500 ./goc2c --gcc --go-prefix libgo_reflect $< > $@.tmp
501 mv -f $@.tmp $@
502
737087cb
ILT
503runtime1.c: $(srcdir)/runtime/runtime1.goc goc2c
504 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
505 mv -f $@.tmp $@
506
507sema.c: $(srcdir)/runtime/sema.goc goc2c
508 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
509 mv -f $@.tmp $@
510
7a938933
ILT
511sigqueue.c: $(srcdir)/runtime/sigqueue.goc goc2c
512 ./goc2c --gcc --go-prefix libgo_runtime $< > $@.tmp
513 mv -f $@.tmp $@
514
9c63abc9
ILT
515time.c: $(srcdir)/runtime/time.goc goc2c
516 ./goc2c --gcc --go-prefix libgo_time $< > $@.tmp
517 mv -f $@.tmp $@
518
7a938933
ILT
519%.c: $(srcdir)/runtime/%.goc goc2c
520 ./goc2c --gcc $< > $@.tmp
521 mv -f $@.tmp $@
522
7a938933
ILT
523go_bufio_files = \
524 go/bufio/bufio.go
525
526go_bytes_files = \
527 go/bytes/buffer.go \
528 go/bytes/bytes.go \
529 go/bytes/bytes_decl.go
530go_bytes_c_files = \
531 go/bytes/indexbyte.c
532
5133f00e
ILT
533go_crypto_files = \
534 go/crypto/crypto.go
535
2fd401c8
ILT
536go_errors_files = \
537 go/errors/errors.go
538
7a938933
ILT
539go_expvar_files = \
540 go/expvar/expvar.go
541
542go_flag_files = \
543 go/flag/flag.go
544
545go_fmt_files = \
546 go/fmt/doc.go \
547 go/fmt/format.go \
548 go/fmt/print.go \
549 go/fmt/scan.go
550
7a938933
ILT
551go_hash_files = \
552 go/hash/hash.go
553
554go_html_files = \
7a938933 555 go/html/entity.go \
9af4cb95 556 go/html/escape.go
7a938933 557
7a938933 558go_image_files = \
7a938933
ILT
559 go/image/format.go \
560 go/image/geom.go \
561 go/image/image.go \
df4aa89a
ILT
562 go/image/names.go \
563 go/image/ycbcr.go
7a938933
ILT
564
565go_io_files = \
566 go/io/multi.go \
567 go/io/io.go \
568 go/io/pipe.go
569
7a938933
ILT
570go_log_files = \
571 go/log/log.go
572
573go_math_files = \
d8f41257 574 go/math/abs.go \
7a938933
ILT
575 go/math/acosh.go \
576 go/math/asin.go \
577 go/math/asinh.go \
578 go/math/atan.go \
579 go/math/atanh.go \
580 go/math/atan2.go \
581 go/math/bits.go \
582 go/math/cbrt.go \
583 go/math/const.go \
584 go/math/copysign.go \
d8f41257 585 go/math/dim.go \
7a938933
ILT
586 go/math/erf.go \
587 go/math/exp.go \
7a938933 588 go/math/expm1.go \
7a938933 589 go/math/floor.go \
7a938933
ILT
590 go/math/frexp.go \
591 go/math/gamma.go \
592 go/math/hypot.go \
7a938933
ILT
593 go/math/j0.go \
594 go/math/j1.go \
595 go/math/jn.go \
596 go/math/ldexp.go \
597 go/math/lgamma.go \
598 go/math/log.go \
599 go/math/log1p.go \
600 go/math/log10.go \
601 go/math/logb.go \
d8f41257 602 go/math/mod.go \
7a938933
ILT
603 go/math/modf.go \
604 go/math/nextafter.go \
605 go/math/pow.go \
606 go/math/pow10.go \
607 go/math/remainder.go \
608 go/math/signbit.go \
609 go/math/sin.go \
610 go/math/sincos.go \
611 go/math/sinh.go \
612 go/math/sqrt.go \
7a938933
ILT
613 go/math/tan.go \
614 go/math/tanh.go \
615 go/math/unsafe.go
616
617go_mime_files = \
618 go/mime/grammar.go \
619 go/mime/mediatype.go \
ab61e9c4
ILT
620 go/mime/type.go \
621 go/mime/type_unix.go
7a938933
ILT
622
623if LIBGO_IS_RTEMS
80ec23ac 624go_net_fd_os_file = go/net/fd_select.go
7a938933 625go_net_newpollserver_file = go/net/newpollserver_rtems.go
cff0c39d
ILT
626else # !LIBGO_IS_RTEMS
627if LIBGO_IS_LINUX
7a938933
ILT
628go_net_fd_os_file = go/net/fd_linux.go
629go_net_newpollserver_file = go/net/newpollserver.go
cff0c39d 630else # !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
df4aa89a
ILT
631if LIBGO_IS_NETBSD
632go_net_fd_os_file = go/net/fd_netbsd.go
633go_net_newpollserver_file = go/net/newpollserver.go
634else # !LIBGO_IS_NETBSD && !LIBGO_IS_LINUX && !LIBGO_IS_RTEMS
cff0c39d
ILT
635# By default use select with pipes. Most systems should have
636# something better.
80ec23ac 637go_net_fd_os_file = go/net/fd_select.go
cff0c39d 638go_net_newpollserver_file = go/net/newpollserver.go
df4aa89a 639endif # !LIBGO_IS_NETBSD
cff0c39d
ILT
640endif # !LIBGO_IS_LINUX
641endif # !LIBGO_IS_RTEMS
7a938933 642
9ff56c95
ILT
643if LIBGO_IS_LINUX
644go_net_cgo_file = go/net/cgo_linux.go
645go_net_sock_file = go/net/sock_linux.go
df1304ee
ILT
646go_net_sockopt_file = go/net/sockopt_linux.go
647go_net_sockoptip_file = go/net/sockoptip_linux.go
9ff56c95 648else
d14a6437
ILT
649if LIBGO_IS_IRIX
650go_net_cgo_file = go/net/cgo_linux.go
651go_net_sock_file = go/net/sock_linux.go
df1304ee
ILT
652go_net_sockopt_file = go/net/sockopt_linux.go
653go_net_sockoptip_file = go/net/sockoptip_linux.go
d14a6437
ILT
654else
655if LIBGO_IS_SOLARIS
656go_net_cgo_file = go/net/cgo_linux.go
657go_net_sock_file = go/net/sock_linux.go
df1304ee
ILT
658go_net_sockopt_file = go/net/sockopt_linux.go
659go_net_sockoptip_file = go/net/sockoptip_linux.go
d14a6437 660else
9ff56c95
ILT
661go_net_cgo_file = go/net/cgo_bsd.go
662go_net_sock_file = go/net/sock_bsd.go
df1304ee
ILT
663go_net_sockopt_file = go/net/sockopt_bsd.go
664go_net_sockoptip_file = go/net/sockoptip_bsd.go
9ff56c95 665endif
d14a6437
ILT
666endif
667endif
9ff56c95 668
adb0401d
ILT
669if LIBGO_IS_LINUX
670go_net_sendfile_file = go/net/sendfile_linux.go
671else
672go_net_sendfile_file = go/net/sendfile_stub.go
673endif
674
675if LIBGO_IS_LINUX
676go_net_interface_file = go/net/interface_linux.go
677else
df4aa89a
ILT
678if LIBGO_IS_NETBSD
679go_net_interface_file = go/net/interface_netbsd.go
680else
adb0401d
ILT
681go_net_interface_file = go/net/interface_stub.go
682endif
df4aa89a 683endif
adb0401d 684
7a938933 685go_net_files = \
9ff56c95
ILT
686 go/net/cgo_unix.go \
687 $(go_net_cgo_file) \
7a938933
ILT
688 go/net/dial.go \
689 go/net/dnsclient.go \
adb0401d 690 go/net/dnsclient_unix.go \
7a938933
ILT
691 go/net/dnsconfig.go \
692 go/net/dnsmsg.go \
af92e385 693 go/net/doc.go \
7a938933
ILT
694 $(go_net_newpollserver_file) \
695 go/net/fd.go \
696 $(go_net_fd_os_file) \
f72f4169 697 go/net/file.go \
7a938933 698 go/net/hosts.go \
adb0401d
ILT
699 go/net/interface.go \
700 $(go_net_interface_file) \
7a938933
ILT
701 go/net/ip.go \
702 go/net/iprawsock.go \
adb0401d 703 go/net/iprawsock_posix.go \
7a938933 704 go/net/ipsock.go \
adb0401d
ILT
705 go/net/ipsock_posix.go \
706 go/net/lookup_unix.go \
7a938933
ILT
707 go/net/net.go \
708 go/net/parse.go \
709 go/net/pipe.go \
710 go/net/port.go \
adb0401d 711 $(go_net_sendfile_file) \
7a938933 712 go/net/sock.go \
9ff56c95 713 $(go_net_sock_file) \
df1304ee
ILT
714 go/net/sockopt.go \
715 $(go_net_sockopt_file) \
716 go/net/sockoptip.go \
717 $(go_net_sockoptip_file) \
7a938933 718 go/net/tcpsock.go \
adb0401d 719 go/net/tcpsock_posix.go \
7a938933 720 go/net/udpsock.go \
adb0401d
ILT
721 go/net/udpsock_posix.go \
722 go/net/unixsock.go \
723 go/net/unixsock_posix.go
7a938933 724
a3dbf764
ILT
725if LIBGO_IS_SOLARIS
726if LIBGO_IS_386
727go_os_dir_file = go/os/dir_largefile.go
728else
25a182be
ILT
729if LIBGO_IS_SPARC
730go_os_dir_file = go/os/dir_largefile.go
731else
a3dbf764
ILT
732go_os_dir_file = go/os/dir_regfile.go
733endif
25a182be 734endif
a3dbf764
ILT
735else
736if LIBGO_IS_LINUX
737go_os_dir_file = go/os/dir_largefile.go
738else
739go_os_dir_file = go/os/dir_regfile.go
740endif
741endif
742
51677e03
ILT
743if LIBGO_IS_LINUX
744go_os_sys_file = go/os/sys_linux.go
745else
746if LIBGO_IS_SOLARIS
747go_os_sys_file = go/os/sys_uname.go
748else
654d2ec0
ILT
749if LIBGO_IS_IRIX
750go_os_sys_file = go/os/sys_uname.go
751else
51677e03
ILT
752if LIBGO_IS_RTEMS
753go_os_sys_file = go/os/sys_uname.go
754else
755go_os_sys_file = go/os/sys_bsd.go
756endif
757endif
758endif
654d2ec0 759endif
51677e03 760
a84bd8ba
ILT
761if LIBGO_IS_SOLARIS
762go_os_stat_file = go/os/stat_solaris.go
763else
764go_os_stat_file = go/os/stat.go
765endif
766
7a938933 767go_os_files = \
a3dbf764 768 $(go_os_dir_file) \
7a938933 769 go/os/dir.go \
af92e385 770 go/os/doc.go \
7a938933 771 go/os/env.go \
7a938933 772 go/os/error.go \
405ca104 773 go/os/error_posix.go \
7a938933 774 go/os/exec.go \
405ca104 775 go/os/exec_posix.go \
5133f00e 776 go/os/exec_unix.go \
7a938933 777 go/os/file.go \
405ca104 778 go/os/file_posix.go \
7a938933
ILT
779 go/os/file_unix.go \
780 go/os/getwd.go \
781 go/os/path.go \
adb0401d 782 go/os/path_unix.go \
7a938933 783 go/os/proc.go \
a84bd8ba 784 $(go_os_stat_file) \
adb0401d 785 go/os/str.go \
51677e03 786 $(go_os_sys_file) \
7a938933 787 go/os/time.go \
adb0401d
ILT
788 go/os/types.go \
789 signal_unix.go
7a938933 790
7a938933
ILT
791go_path_files = \
792 go/path/match.go \
8039ca76 793 go/path/path.go
7a938933 794
7a938933
ILT
795go_reflect_files = \
796 go/reflect/deepequal.go \
797 go/reflect/type.go \
798 go/reflect/value.go
799
800go_regexp_files = \
d8f41257 801 go/regexp/exec.go \
7a938933
ILT
802 go/regexp/regexp.go
803
9c63abc9
ILT
804go_net_rpc_files = \
805 go/net/rpc/client.go \
806 go/net/rpc/debug.go \
807 go/net/rpc/server.go
7a938933
ILT
808
809go_runtime_files = \
810 go/runtime/debug.go \
811 go/runtime/error.go \
812 go/runtime/extern.go \
8039ca76 813 go/runtime/mem.go \
7a938933
ILT
814 go/runtime/sig.go \
815 go/runtime/softfloat64.go \
816 go/runtime/type.go \
817 version.go
818
7a938933
ILT
819version.go: s-version; @true
820s-version: Makefile
821 rm -f version.go.tmp
822 echo "package runtime" > version.go.tmp
823 echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
824 echo 'const theVersion = "'`$(CC) --version | sed 1q`'"' >> version.go.tmp
825 echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
826 echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
827 $(SHELL) $(srcdir)/../move-if-change version.go.tmp version.go
828 $(STAMP) $@
829
7a938933 830go_sort_files = \
ff5f50c5 831 go/sort/search.go \
7a938933
ILT
832 go/sort/sort.go
833
834go_strconv_files = \
835 go/strconv/atob.go \
836 go/strconv/atof.go \
837 go/strconv/atoi.go \
838 go/strconv/decimal.go \
df4aa89a 839 go/strconv/extfloat.go \
7a938933
ILT
840 go/strconv/ftoa.go \
841 go/strconv/itoa.go \
842 go/strconv/quote.go
843
844go_strings_files = \
845 go/strings/reader.go \
d8f41257 846 go/strings/replace.go \
7a938933
ILT
847 go/strings/strings.go
848
849go_sync_files = \
5133f00e 850 go/sync/cond.go \
7a938933
ILT
851 go/sync/mutex.go \
852 go/sync/once.go \
5133f00e
ILT
853 go/sync/rwmutex.go \
854 go/sync/waitgroup.go
7a938933 855
bef18456 856if LIBGO_IS_SOLARIS
9c63abc9 857go_syslog_file = go/log/syslog/syslog_libc.go
9f3b1e6c
ILT
858else
859if LIBGO_IS_IRIX
9c63abc9 860go_syslog_file = go/log/syslog/syslog_libc.go
bef18456 861else
9c63abc9 862go_syslog_file = go/log/syslog/syslog_unix.go
bef18456 863endif
9f3b1e6c 864endif
bef18456 865
9c63abc9
ILT
866go_log_syslog_files = \
867 go/log/syslog/syslog.go \
bef18456 868 $(go_syslog_file)
d2822509 869go_syslog_c_files = \
9c63abc9 870 go/log/syslog/syslog_c.c
7a938933
ILT
871
872go_testing_files = \
873 go/testing/benchmark.go \
d8f41257 874 go/testing/example.go \
df1304ee 875 go/testing/testing.go
7a938933
ILT
876
877go_time_files = \
878 go/time/format.go \
879 go/time/sleep.go \
d8f41257 880 go/time/sys_unix.go \
7a938933
ILT
881 go/time/tick.go \
882 go/time/time.go \
7b1c3dd9 883 go/time/zoneinfo.go \
7a938933
ILT
884 go/time/zoneinfo_unix.go
885
7a938933
ILT
886go_unicode_files = \
887 go/unicode/casetables.go \
888 go/unicode/digit.go \
adb0401d 889 go/unicode/graphic.go \
7a938933
ILT
890 go/unicode/letter.go \
891 go/unicode/tables.go
892
7a938933
ILT
893
894go_archive_tar_files = \
895 go/archive/tar/common.go \
896 go/archive/tar/reader.go \
897 go/archive/tar/writer.go
898
899go_archive_zip_files = \
900 go/archive/zip/reader.go \
adb0401d
ILT
901 go/archive/zip/struct.go \
902 go/archive/zip/writer.go
7a938933 903
5133f00e
ILT
904go_compress_bzip2_files = \
905 go/compress/bzip2/bit_reader.go \
906 go/compress/bzip2/bzip2.go \
907 go/compress/bzip2/huffman.go \
908 go/compress/bzip2/move_to_front.go
909
7a938933
ILT
910go_compress_flate_files = \
911 go/compress/flate/deflate.go \
912 go/compress/flate/huffman_bit_writer.go \
913 go/compress/flate/huffman_code.go \
914 go/compress/flate/inflate.go \
915 go/compress/flate/reverse_bits.go \
9af4cb95 916 go/compress/flate/token.go
7a938933
ILT
917
918go_compress_gzip_files = \
919 go/compress/gzip/gzip.go \
920 go/compress/gzip/gunzip.go
921
5133f00e
ILT
922go_compress_lzw_files = \
923 go/compress/lzw/reader.go \
924 go/compress/lzw/writer.go
925
7a938933
ILT
926go_compress_zlib_files = \
927 go/compress/zlib/reader.go \
928 go/compress/zlib/writer.go
929
930go_container_heap_files = \
931 go/container/heap/heap.go
932
933go_container_list_files = \
934 go/container/list/list.go
935
936go_container_ring_files = \
937 go/container/ring/ring.go
938
7a938933
ILT
939go_crypto_aes_files = \
940 go/crypto/aes/block.go \
941 go/crypto/aes/cipher.go \
942 go/crypto/aes/const.go
ff5f50c5
ILT
943go_crypto_cipher_files = \
944 go/crypto/cipher/cbc.go \
945 go/crypto/cipher/cfb.go \
946 go/crypto/cipher/cipher.go \
947 go/crypto/cipher/ctr.go \
948 go/crypto/cipher/io.go \
ff5f50c5 949 go/crypto/cipher/ofb.go
405ca104
ILT
950go_crypto_des_files = \
951 go/crypto/des/block.go \
952 go/crypto/des/cipher.go \
953 go/crypto/des/const.go
5133f00e
ILT
954go_crypto_dsa_files = \
955 go/crypto/dsa/dsa.go
8039ca76
ILT
956go_crypto_ecdsa_files = \
957 go/crypto/ecdsa/ecdsa.go
ff5f50c5 958go_crypto_elliptic_files = \
af92e385
ILT
959 go/crypto/elliptic/elliptic.go \
960 go/crypto/elliptic/p224.go
7a938933
ILT
961go_crypto_hmac_files = \
962 go/crypto/hmac/hmac.go
7a938933
ILT
963go_crypto_md5_files = \
964 go/crypto/md5/md5.go \
965 go/crypto/md5/md5block.go
7a938933
ILT
966go_crypto_rand_files = \
967 go/crypto/rand/rand.go \
adb0401d
ILT
968 go/crypto/rand/rand_unix.go \
969 go/crypto/rand/util.go
7a938933
ILT
970go_crypto_rc4_files = \
971 go/crypto/rc4/rc4.go
7a938933
ILT
972go_crypto_rsa_files = \
973 go/crypto/rsa/pkcs1v15.go \
974 go/crypto/rsa/rsa.go
975go_crypto_sha1_files = \
976 go/crypto/sha1/sha1.go \
977 go/crypto/sha1/sha1block.go
978go_crypto_sha256_files = \
979 go/crypto/sha256/sha256.go \
980 go/crypto/sha256/sha256block.go
981go_crypto_sha512_files = \
982 go/crypto/sha512/sha512.go \
983 go/crypto/sha512/sha512block.go
984go_crypto_subtle_files = \
985 go/crypto/subtle/constant_time.go
986go_crypto_tls_files = \
987 go/crypto/tls/alert.go \
ff5f50c5 988 go/crypto/tls/cipher_suites.go \
7a938933
ILT
989 go/crypto/tls/common.go \
990 go/crypto/tls/conn.go \
991 go/crypto/tls/handshake_client.go \
992 go/crypto/tls/handshake_messages.go \
993 go/crypto/tls/handshake_server.go \
ff5f50c5 994 go/crypto/tls/key_agreement.go \
7a938933 995 go/crypto/tls/prf.go \
d8f41257 996 go/crypto/tls/root_unix.go \
7a938933
ILT
997 go/crypto/tls/tls.go
998go_crypto_x509_files = \
9ff56c95 999 go/crypto/x509/cert_pool.go \
d8f41257 1000 go/crypto/x509/pkcs1.go \
7b1c3dd9 1001 go/crypto/x509/pkcs8.go \
9ff56c95 1002 go/crypto/x509/verify.go \
7a938933 1003 go/crypto/x509/x509.go
ff5f50c5 1004
adb0401d
ILT
1005go_crypto_x509_pkix_files = \
1006 go/crypto/x509/pkix/pkix.go
1007
af92e385
ILT
1008go_database_sql_files = \
1009 go/database/sql/convert.go \
1010 go/database/sql/sql.go
1011
1012go_database_sql_driver_files = \
1013 go/database/sql/driver/driver.go \
1014 go/database/sql/driver/types.go
1015
7a938933
ILT
1016go_debug_dwarf_files = \
1017 go/debug/dwarf/buf.go \
1018 go/debug/dwarf/const.go \
1019 go/debug/dwarf/entry.go \
1020 go/debug/dwarf/open.go \
1021 go/debug/dwarf/type.go \
1022 go/debug/dwarf/unit.go
1023go_debug_elf_files = \
1024 go/debug/elf/elf.go \
1025 go/debug/elf/file.go
1026go_debug_gosym_files = \
1027 go/debug/gosym/pclntab.go \
1028 go/debug/gosym/symtab.go
1029go_debug_macho_files = \
1030 go/debug/macho/file.go \
1031 go/debug/macho/macho.go
1032go_debug_pe_files = \
1033 go/debug/pe/file.go \
1034 go/debug/pe/pe.go
1035
7a938933
ILT
1036go_encoding_ascii85_files = \
1037 go/encoding/ascii85/ascii85.go
9c63abc9
ILT
1038go_encoding_asn1_files = \
1039 go/encoding/asn1/asn1.go \
1040 go/encoding/asn1/common.go \
1041 go/encoding/asn1/marshal.go
ff5f50c5
ILT
1042go_encoding_base32_files = \
1043 go/encoding/base32/base32.go
7a938933
ILT
1044go_encoding_base64_files = \
1045 go/encoding/base64/base64.go
1046go_encoding_binary_files = \
d8f41257
ILT
1047 go/encoding/binary/binary.go \
1048 go/encoding/binary/varint.go
9c63abc9
ILT
1049go_encoding_csv_files = \
1050 go/encoding/csv/reader.go \
1051 go/encoding/csv/writer.go
9c63abc9
ILT
1052go_encoding_gob_files = \
1053 go/encoding/gob/decode.go \
1054 go/encoding/gob/decoder.go \
1055 go/encoding/gob/doc.go \
1056 go/encoding/gob/encode.go \
1057 go/encoding/gob/encoder.go \
1058 go/encoding/gob/error.go \
1059 go/encoding/gob/type.go
7a938933
ILT
1060go_encoding_hex_files = \
1061 go/encoding/hex/hex.go
9c63abc9
ILT
1062go_encoding_json_files = \
1063 go/encoding/json/decode.go \
1064 go/encoding/json/encode.go \
1065 go/encoding/json/indent.go \
1066 go/encoding/json/scanner.go \
1067 go/encoding/json/stream.go \
1068 go/encoding/json/tags.go
7a938933
ILT
1069go_encoding_pem_files = \
1070 go/encoding/pem/pem.go
9c63abc9
ILT
1071go_encoding_xml_files = \
1072 go/encoding/xml/marshal.go \
1073 go/encoding/xml/read.go \
df1304ee 1074 go/encoding/xml/typeinfo.go \
9c63abc9 1075 go/encoding/xml/xml.go
7a938933 1076
d8f41257
ILT
1077go_exp_ebnf_files = \
1078 go/exp/ebnf/ebnf.go \
1079 go/exp/ebnf/parser.go
9af4cb95
ILT
1080go_exp_html_files = \
1081 go/exp/html/const.go \
1082 go/exp/html/doc.go \
1083 go/exp/html/doctype.go \
1084 go/exp/html/entity.go \
1085 go/exp/html/escape.go \
1086 go/exp/html/foreign.go \
1087 go/exp/html/node.go \
1088 go/exp/html/parse.go \
1089 go/exp/html/render.go \
1090 go/exp/html/token.go
b740cb63
ILT
1091go_exp_inotify_files = \
1092 go/exp/inotify/inotify_linux.go
adb0401d
ILT
1093go_exp_norm_files = \
1094 go/exp/norm/composition.go \
1095 go/exp/norm/forminfo.go \
d8f41257 1096 go/exp/norm/input.go \
adb0401d 1097 go/exp/norm/normalize.go \
d8f41257 1098 go/exp/norm/readwriter.go \
adb0401d
ILT
1099 go/exp/norm/tables.go \
1100 go/exp/norm/trie.go
df1304ee
ILT
1101go_exp_proxy_files = \
1102 go/exp/proxy/direct.go \
1103 go/exp/proxy/per_host.go \
1104 go/exp/proxy/proxy.go \
1105 go/exp/proxy/socks5.go
94252f4b
ILT
1106go_exp_signal_files = \
1107 go/exp/signal/signal.go
d8f41257 1108go_exp_terminal_files = \
ab61e9c4
ILT
1109 go/exp/terminal/terminal.go \
1110 go/exp/terminal/util.go
d8f41257
ILT
1111go_exp_types_files = \
1112 go/exp/types/check.go \
1113 go/exp/types/const.go \
1114 go/exp/types/exportdata.go \
1115 go/exp/types/gcimporter.go \
1116 go/exp/types/types.go \
1117 go/exp/types/universe.go
af92e385
ILT
1118go_exp_utf8string_files = \
1119 go/exp/utf8string/string.go
d8f41257 1120
7a938933
ILT
1121go_go_ast_files = \
1122 go/go/ast/ast.go \
1123 go/go/ast/filter.go \
9c63abc9 1124 go/go/ast/import.go \
7a938933 1125 go/go/ast/print.go \
f72f4169 1126 go/go/ast/resolve.go \
7a938933
ILT
1127 go/go/ast/scope.go \
1128 go/go/ast/walk.go
adb0401d
ILT
1129go_go_build_files = \
1130 go/go/build/build.go \
1131 go/go/build/dir.go \
1132 go/go/build/path.go \
1133 syslist.go
7a938933
ILT
1134go_go_doc_files = \
1135 go/go/doc/comment.go \
d8f41257 1136 go/go/doc/doc.go \
df4aa89a
ILT
1137 go/go/doc/example.go \
1138 go/go/doc/exports.go \
df1304ee
ILT
1139 go/go/doc/filter.go \
1140 go/go/doc/reader.go
7a938933
ILT
1141go_go_parser_files = \
1142 go/go/parser/interface.go \
1143 go/go/parser/parser.go
1144go_go_printer_files = \
1145 go/go/printer/nodes.go \
1146 go/go/printer/printer.go
1147go_go_scanner_files = \
1148 go/go/scanner/errors.go \
1149 go/go/scanner/scanner.go
1150go_go_token_files = \
ff5f50c5 1151 go/go/token/position.go \
d8f41257 1152 go/go/token/serialize.go \
7a938933 1153 go/go/token/token.go
7a938933
ILT
1154
1155go_hash_adler32_files = \
1156 go/hash/adler32/adler32.go
1157go_hash_crc32_files = \
adb0401d
ILT
1158 go/hash/crc32/crc32.go \
1159 go/hash/crc32/crc32_generic.go
7a938933
ILT
1160go_hash_crc64_files = \
1161 go/hash/crc64/crc64.go
8039ca76
ILT
1162go_hash_fnv_files = \
1163 go/hash/fnv/fnv.go
1164
9c63abc9
ILT
1165go_html_template_files = \
1166 go/html/template/attr.go \
1167 go/html/template/clone.go \
1168 go/html/template/content.go \
1169 go/html/template/context.go \
1170 go/html/template/css.go \
1171 go/html/template/doc.go \
1172 go/html/template/error.go \
1173 go/html/template/escape.go \
1174 go/html/template/html.go \
1175 go/html/template/js.go \
1176 go/html/template/template.go \
1177 go/html/template/transition.go \
1178 go/html/template/url.go
adb0401d 1179
d8f41257 1180go_image_color_files = \
df4aa89a
ILT
1181 go/image/color/color.go \
1182 go/image/color/ycbcr.go
d8f41257 1183
adb0401d
ILT
1184go_image_draw_files = \
1185 go/image/draw/draw.go
9ff56c95
ILT
1186
1187go_image_gif_files = \
1188 go/image/gif/reader.go
7a938933
ILT
1189
1190go_image_jpeg_files = \
9ff56c95 1191 go/image/jpeg/fdct.go \
7a938933
ILT
1192 go/image/jpeg/huffman.go \
1193 go/image/jpeg/idct.go \
9ff56c95
ILT
1194 go/image/jpeg/reader.go \
1195 go/image/jpeg/writer.go
7a938933
ILT
1196
1197go_image_png_files = \
1198 go/image/png/reader.go \
1199 go/image/png/writer.go
1200
1201go_index_suffixarray_files = \
ff5f50c5 1202 go/index/suffixarray/qsufsort.go \
7a938933
ILT
1203 go/index/suffixarray/suffixarray.go
1204
1205go_io_ioutil_files = \
1206 go/io/ioutil/ioutil.go \
1207 go/io/ioutil/tempfile.go
1208
9c63abc9
ILT
1209go_math_big_files = \
1210 go/math/big/arith.go \
1211 go/math/big/int.go \
1212 go/math/big/nat.go \
1213 go/math/big/rat.go
1214go_math_cmplx_files = \
1215 go/math/cmplx/abs.go \
1216 go/math/cmplx/asin.go \
1217 go/math/cmplx/conj.go \
1218 go/math/cmplx/exp.go \
1219 go/math/cmplx/isinf.go \
1220 go/math/cmplx/isnan.go \
1221 go/math/cmplx/log.go \
1222 go/math/cmplx/phase.go \
1223 go/math/cmplx/polar.go \
1224 go/math/cmplx/pow.go \
1225 go/math/cmplx/rect.go \
1226 go/math/cmplx/sin.go \
1227 go/math/cmplx/sqrt.go \
1228 go/math/cmplx/tan.go
1229go_math_rand_files = \
1230 go/math/rand/exp.go \
1231 go/math/rand/normal.go \
1232 go/math/rand/rand.go \
1233 go/math/rand/rng.go \
1234 go/math/rand/zipf.go
1235
7a938933 1236go_mime_multipart_files = \
9ff56c95 1237 go/mime/multipart/formdata.go \
adb0401d
ILT
1238 go/mime/multipart/multipart.go \
1239 go/mime/multipart/writer.go
7a938933 1240
9c63abc9
ILT
1241go_net_http_files = \
1242 go/net/http/chunked.go \
1243 go/net/http/client.go \
1244 go/net/http/cookie.go \
1245 go/net/http/filetransport.go \
1246 go/net/http/fs.go \
1247 go/net/http/header.go \
df4aa89a 1248 go/net/http/jar.go \
9c63abc9
ILT
1249 go/net/http/lex.go \
1250 go/net/http/request.go \
1251 go/net/http/response.go \
1252 go/net/http/server.go \
1253 go/net/http/sniff.go \
1254 go/net/http/status.go \
1255 go/net/http/transfer.go \
1256 go/net/http/transport.go
1257go_net_mail_files = \
1258 go/net/mail/message.go
1259go_net_smtp_files = \
1260 go/net/smtp/auth.go \
1261 go/net/smtp/smtp.go
7a938933 1262go_net_textproto_files = \
5133f00e 1263 go/net/textproto/header.go \
7a938933
ILT
1264 go/net/textproto/pipeline.go \
1265 go/net/textproto/reader.go \
1266 go/net/textproto/textproto.go \
1267 go/net/textproto/writer.go
9c63abc9
ILT
1268go_net_url_files = \
1269 go/net/url/url.go
1270
1271go_net_http_cgi_files = \
1272 go/net/http/cgi/child.go \
1273 go/net/http/cgi/host.go
1274go_net_http_fcgi_files = \
1275 go/net/http/fcgi/child.go \
1276 go/net/http/fcgi/fcgi.go
1277go_net_http_httptest_files = \
1278 go/net/http/httptest/recorder.go \
1279 go/net/http/httptest/server.go
1280go_net_http_pprof_files = \
1281 go/net/http/pprof/pprof.go
1282go_net_http_httputil_files = \
1283 go/net/http/httputil/chunked.go \
1284 go/net/http/httputil/dump.go \
1285 go/net/http/httputil/persist.go \
1286 go/net/http/httputil/reverseproxy.go
1287
7a938933 1288
d8f41257
ILT
1289go_old_netchan_files = \
1290 go/old/netchan/common.go \
1291 go/old/netchan/export.go \
1292 go/old/netchan/import.go
1293go_old_regexp_files = \
1294 go/old/regexp/regexp.go
adb0401d
ILT
1295go_old_template_files = \
1296 go/old/template/doc.go \
1297 go/old/template/execute.go \
1298 go/old/template/format.go \
1299 go/old/template/parse.go
1300
9c63abc9
ILT
1301go_os_exec_files = \
1302 go/os/exec/exec.go \
1303 go/os/exec/lp_unix.go
1304
9ff56c95
ILT
1305go_os_user_files = \
1306 go/os/user/user.go \
1307 go/os/user/lookup_unix.go
1308
8039ca76
ILT
1309go_path_filepath_files = \
1310 go/path/filepath/match.go \
1311 go/path/filepath/path.go \
1312 go/path/filepath/path_unix.go
1313
d8f41257
ILT
1314go_regexp_syntax_files = \
1315 go/regexp/syntax/compile.go \
1316 go/regexp/syntax/parse.go \
1317 go/regexp/syntax/perl_groups.go \
1318 go/regexp/syntax/prog.go \
1319 go/regexp/syntax/regexp.go \
1320 go/regexp/syntax/simplify.go
1321
9c63abc9
ILT
1322go_net_rpc_jsonrpc_files = \
1323 go/net/rpc/jsonrpc/client.go \
1324 go/net/rpc/jsonrpc/server.go
7a938933 1325
ff5f50c5
ILT
1326go_runtime_debug_files = \
1327 go/runtime/debug/stack.go
7a938933
ILT
1328go_runtime_pprof_files = \
1329 go/runtime/pprof/pprof.go
1330
9c63abc9
ILT
1331go_text_tabwriter_files = \
1332 go/text/tabwriter/tabwriter.go
1333go_text_template_files = \
1334 go/text/template/doc.go \
1335 go/text/template/exec.go \
1336 go/text/template/funcs.go \
1337 go/text/template/helper.go \
7b1c3dd9 1338 go/text/template/template.go
9c63abc9
ILT
1339go_text_template_parse_files = \
1340 go/text/template/parse/lex.go \
1341 go/text/template/parse/node.go \
7b1c3dd9 1342 go/text/template/parse/parse.go
adb0401d 1343
5133f00e
ILT
1344go_sync_atomic_files = \
1345 go/sync/atomic/doc.go
1346go_sync_atomic_c_files = \
1347 go/sync/atomic/atomic.c
1348
7a938933
ILT
1349go_testing_iotest_files = \
1350 go/testing/iotest/logger.go \
1351 go/testing/iotest/reader.go \
1352 go/testing/iotest/writer.go
1353go_testing_quick_files = \
1354 go/testing/quick/quick.go
1355go_testing_script_files = \
1356 go/testing/script/script.go
1357
9c63abc9
ILT
1358go_text_scanner_files = \
1359 go/text/scanner/scanner.go
1360
1361go_unicode_utf16_files = \
1362 go/unicode/utf16/utf16.go
1363go_unicode_utf8_files = \
9c63abc9
ILT
1364 go/unicode/utf8/utf8.go
1365
cff0c39d 1366# Define Syscall and Syscall6.
7a938933 1367if LIBGO_IS_RTEMS
de27caac 1368syscall_syscall_file = go/syscall/syscall_stubs.go
7a938933 1369else
de27caac 1370syscall_syscall_file = go/syscall/syscall_unix.go
cff0c39d
ILT
1371endif
1372
de27caac 1373# Define ForkExec and Exec.
cff0c39d 1374if LIBGO_IS_RTEMS
de27caac 1375syscall_exec_file = go/syscall/exec_stubs.go
df1304ee
ILT
1376syscall_exec_os_file =
1377else
1378if LIBGO_IS_LINUX
1379syscall_exec_file = go/syscall/exec_unix.go
1380syscall_exec_os_file = go/syscall/exec_linux.go
cff0c39d 1381else
de27caac 1382syscall_exec_file = go/syscall/exec_unix.go
df1304ee
ILT
1383syscall_exec_os_file = go/syscall/exec_bsd.go
1384endif
cff0c39d
ILT
1385endif
1386
0b3189e7 1387# Define Wait4.
de05aad6
ILT
1388if LIBGO_IS_RTEMS
1389syscall_wait_file =
1390else
0b3189e7 1391if HAVE_WAIT4
de27caac 1392syscall_wait_file = go/syscall/libcall_wait4.go
0b3189e7 1393else
de27caac 1394syscall_wait_file = go/syscall/libcall_waitpid.go
0b3189e7 1395endif
de05aad6
ILT
1396endif
1397
1398# Support for pulling apart wait status.
1399if LIBGO_IS_RTEMS
1400syscall_wait_c_file =
1401else
1402syscall_wait_c_file = go/syscall/wait.c
1403endif
0b3189e7 1404
cff0c39d
ILT
1405# Define Sleep.
1406if LIBGO_IS_RTEMS
de27caac 1407syscall_sleep_file = go/syscall/sleep_rtems.go
cff0c39d 1408else
de27caac 1409syscall_sleep_file = go/syscall/sleep_select.go
cff0c39d
ILT
1410endif
1411
1412# Define Errstr.
de27caac
ILT
1413if LIBGO_IS_LINUX
1414syscall_errstr_file = go/syscall/errstr_linux.go
1415else
cff0c39d 1416if LIBGO_IS_RTEMS
de27caac 1417syscall_errstr_file = go/syscall/errstr_linux.go
cff0c39d 1418else
8955c80a 1419if HAVE_STRERROR_R
de27caac 1420syscall_errstr_file = go/syscall/errstr.go
8955c80a 1421else
de27caac
ILT
1422syscall_errstr_file = go/syscall/errstr_nor.go
1423endif
8955c80a 1424endif
cff0c39d
ILT
1425endif
1426
de27caac 1427# Declare libc functions that vary for largefile systems.
7a938933 1428if LIBGO_IS_LINUX
de27caac
ILT
1429# Always use lseek64 on GNU/Linux.
1430syscall_size_file = go/syscall/libcall_posix_largefile.go
1431else # !LIBGO_IS_LINUX
1432if LIBGO_IS_SOLARIS
1433if LIBGO_IS_386
1434# Use lseek64 on 32-bit Solaris/x86.
1435syscall_size_file = go/syscall/libcall_posix_largefile.go
1436else # !LIBGO_IS_386
1437if LIBGO_IS_SPARC
1438# Use lseek64 on 32-bit Solaris/SPARC.
1439syscall_size_file = go/syscall/libcall_posix_largefile.go
1440else # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1441# Use lseek on 64-bit Solaris.
1442syscall_size_file = go/syscall/libcall_posix_regfile.go
1443endif # !LIBGO_IS_386 && !LIBGO_IS_SPARC
1444endif # !LIBGO_IS_SOLARIS
1445else # !LIBGO_IS_LINUX && !LIBGO_IS_SOLARIS
1446# Use lseek by default.
1447syscall_size_file = go/syscall/libcall_posix_regfile.go
1448endif # !LIBGO_IS_SOLARIS
1449endif # !LIBGO_IS_LINUX
7a938933 1450
cff0c39d
ILT
1451# Define socket sizes and types.
1452if LIBGO_IS_LINUX
207c35fa 1453syscall_socket_file = go/syscall/socket_linux.go epoll.go
cff0c39d
ILT
1454else
1455if LIBGO_IS_SOLARIS
de27caac 1456syscall_socket_file = go/syscall/socket_solaris.go
cff0c39d 1457else
9f3b1e6c 1458if LIBGO_IS_IRIX
de27caac 1459syscall_socket_file = go/syscall/socket_irix.go
9f3b1e6c 1460else
de27caac 1461syscall_socket_file = go/syscall/socket_bsd.go
cff0c39d
ILT
1462endif
1463endif
9f3b1e6c 1464endif
cff0c39d 1465
ec9dc45b
ILT
1466# Support for uname.
1467if LIBGO_IS_SOLARIS
1468if LIBGO_IS_386
de27caac 1469# 32-bit Solaris 2/x86 needs _nuname, handled in libcall_solaris_386.go.
ec9dc45b
ILT
1470syscall_uname_file =
1471else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS
de27caac 1472syscall_uname_file = go/syscall/libcall_uname.go
ec9dc45b
ILT
1473endif
1474else # !LIBGO_IS_SOLARIS
de27caac 1475syscall_uname_file = go/syscall/libcall_uname.go
ec9dc45b
ILT
1476endif
1477
4a1a8596
ILT
1478# GNU/Linux specific socket control messages.
1479if LIBGO_IS_LINUX
1480syscall_sockcmsg_file = go/syscall/sockcmsg_linux.go
1481else
1482syscall_sockcmsg_file =
1483endif
1484
adb0401d
ILT
1485# Support for netlink sockets and messages.
1486if LIBGO_IS_LINUX
de27caac 1487syscall_netlink_file = go/syscall/netlink_linux.go
adb0401d
ILT
1488else
1489syscall_netlink_file =
1490endif
1491
b65734ac
ILT
1492# GNU/Linux specific socket filters.
1493if LIBGO_IS_LINUX
1494syscall_lsf_file = go/syscall/lsf_linux.go
1495else
1496syscall_lsf_file =
1497endif
1498
de27caac 1499go_base_syscall_files = \
ab61e9c4 1500 go/syscall/env_unix.go \
5f8090a4 1501 go/syscall/syscall_errno.go \
de27caac
ILT
1502 go/syscall/libcall_support.go \
1503 go/syscall/libcall_posix.go \
1504 go/syscall/socket.go \
4a1a8596 1505 go/syscall/sockcmsg_unix.go \
de27caac
ILT
1506 go/syscall/str.go \
1507 go/syscall/syscall.go \
4a1a8596 1508 $(syscall_sockcmsg_file) \
de27caac
ILT
1509 $(syscall_syscall_file) \
1510 $(syscall_exec_file) \
df1304ee 1511 $(syscall_exec_os_file) \
de27caac
ILT
1512 $(syscall_wait_file) \
1513 $(syscall_sleep_file) \
1514 $(syscall_errstr_file) \
1515 $(syscall_size_file) \
1516 $(syscall_socket_file) \
1517 $(syscall_uname_file) \
1518 $(syscall_netlink_file) \
b65734ac 1519 $(syscall_lsf_file) \
de27caac
ILT
1520 $(GO_LIBCALL_OS_FILE) \
1521 $(GO_LIBCALL_OS_ARCH_FILE) \
1522 $(GO_SYSCALL_OS_FILE) \
1523 $(GO_SYSCALL_OS_ARCH_FILE)
1524
1525go_syscall_files = \
1526 $(go_base_syscall_files) \
1527 libcalls.go \
1528 sysinfo.go \
1529 syscall_arch.go
1530go_syscall_c_files = \
1531 go/syscall/errno.c \
de05aad6 1532 $(syscall_wait_c_file)
de27caac
ILT
1533
1534libcalls.go: s-libcalls; @true
1535s-libcalls: Makefile go/syscall/mksyscall.awk $(go_base_syscall_files)
1536 rm -f libcalls.go.tmp
1537 files=`echo $^ | sed -e 's/Makefile//' -e 's|[^ ]*go/syscall/mksyscall.awk||'`; \
1538 $(AWK) -f $(srcdir)/go/syscall/mksyscall.awk $${files} > libcalls.go.tmp
1539 $(SHELL) $(srcdir)/../move-if-change libcalls.go.tmp libcalls.go
1540 $(STAMP) $@
1541
c3b5b97b
ILT
1542syscall_arch.go: s-syscall_arch; @true
1543s-syscall_arch: Makefile
1544 rm -f syscall_arch.go.tmp
1545 echo "package syscall" > syscall_arch.go.tmp
1546 echo 'const ARCH = "'$(GOARCH)'"' >> syscall_arch.go.tmp
cff0c39d 1547 echo 'const OS = "'$(GOOS)'"' >> syscall_arch.go.tmp
c3b5b97b
ILT
1548 $(SHELL) $(srcdir)/../move-if-change syscall_arch.go.tmp syscall_arch.go
1549 $(STAMP) $@
1550
de27caac
ILT
1551sysinfo.go: s-sysinfo; @true
1552s-sysinfo: $(srcdir)/mksysinfo.sh config.h
1553 CC="$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(OSCFLAGS)" $(SHELL) $(srcdir)/mksysinfo.sh
1554 $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go
1555 $(STAMP) $@
7a938933 1556
207c35fa
ILT
1557# The epoll struct has an embedded union and is packed on x86_64,
1558# which is too complicated for mksysinfo.sh. We find the offset of
1559# the only field we care about in configure.ac, and generate the
1560# struct here.
1561epoll.go: s-epoll; @true
1562s-epoll: Makefile
1563 rm -f epoll.go.tmp
1564 echo 'package syscall' > epoll.go.tmp
1565 echo 'type EpollEvent struct {' >> epoll.go.tmp
1566 echo ' Events uint32' >> epoll.go.tmp
1567 case "$(SIZEOF_STRUCT_EPOLL_EVENT),$(STRUCT_EPOLL_EVENT_FD_OFFSET)" in \
1568 0,0) echo 1>&2 "*** struct epoll_event data.fd offset unknown"; \
1569 exit 1; ;; \
1570 8,4) echo ' Fd int32' >> epoll.go.tmp; ;; \
1571 12,4) echo ' Fd int32' >> epoll.go.tmp; \
1572 echo ' Pad [4]byte' >> epoll.go.tmp; ;; \
1573 12,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1574 echo ' Fd int32' >> epoll.go.tmp; ;; \
1575 16,8) echo ' Pad [4]byte' >> epoll.go.tmp; \
1576 echo ' Fd int32' >> epoll.go.tmp; \
1577 echo ' Pad2 [4]byte' >> epoll.go.tmp; ;; \
1578 *) echo 1>&2 "*** struct epoll_event unsupported"; \
1579 exit 1; ;; \
1580 esac
1581 echo '}' >> epoll.go.tmp
1582 $(SHELL) $(srcdir)/../move-if-change epoll.go.tmp epoll.go
1583 $(STAMP) $@
1584
ff5f50c5 1585if LIBGO_IS_LINUX
d2822509
ILT
1586# os_lib_inotify_lo = os/inotify.lo
1587os_lib_inotify_lo =
ff5f50c5 1588else
d2822509 1589os_lib_inotify_lo =
ff5f50c5
ILT
1590endif
1591
7a938933 1592libgo_go_objs = \
d2822509
ILT
1593 bufio/bufio.lo \
1594 bytes/bytes.lo \
1595 bytes/index.lo \
5133f00e 1596 crypto/crypto.lo \
2fd401c8 1597 errors/errors.lo \
d2822509
ILT
1598 expvar/expvar.lo \
1599 flag/flag.lo \
1600 fmt/fmt.lo \
d2822509
ILT
1601 hash/hash.lo \
1602 html/html.lo \
d2822509
ILT
1603 image/image.lo \
1604 io/io.lo \
d2822509
ILT
1605 log/log.lo \
1606 math/math.lo \
d2822509 1607 net/net.lo \
9c63abc9 1608 os/exec.lo \
d2822509 1609 os/os.lo \
d2822509 1610 path/path.lo \
d2822509
ILT
1611 reflect/reflect.lo \
1612 regexp/regexp.lo \
d2822509 1613 runtime/runtime.lo \
d2822509
ILT
1614 sort/sort.lo \
1615 strconv/strconv.lo \
1616 strings/strings.lo \
5133f00e 1617 sync/sync.lo \
d2822509 1618 time/time.lo \
d2822509 1619 unicode/unicode.lo \
d2822509
ILT
1620 archive/tar.lo \
1621 archive/zip.lo \
5133f00e 1622 compress/bzip2.lo \
d2822509
ILT
1623 compress/flate.lo \
1624 compress/gzip.lo \
5133f00e 1625 compress/lzw.lo \
d2822509
ILT
1626 compress/zlib.lo \
1627 container/heap.lo \
1628 container/list.lo \
1629 container/ring.lo \
d2822509 1630 crypto/aes.lo \
d2822509 1631 crypto/cipher.lo \
405ca104 1632 crypto/des.lo \
5133f00e 1633 crypto/dsa.lo \
8039ca76 1634 crypto/ecdsa.lo \
d2822509
ILT
1635 crypto/elliptic.lo \
1636 crypto/hmac.lo \
d2822509 1637 crypto/md5.lo \
d2822509
ILT
1638 crypto/rand.lo \
1639 crypto/rc4.lo \
d2822509
ILT
1640 crypto/rsa.lo \
1641 crypto/sha1.lo \
1642 crypto/sha256.lo \
1643 crypto/sha512.lo \
1644 crypto/subtle.lo \
1645 crypto/tls.lo \
d2822509 1646 crypto/x509.lo \
adb0401d 1647 crypto/x509/pkix.lo \
af92e385
ILT
1648 database/sql.lo \
1649 database/sql/driver.lo \
d2822509
ILT
1650 debug/dwarf.lo \
1651 debug/elf.lo \
1652 debug/gosym.lo \
1653 debug/macho.lo \
1654 debug/pe.lo \
d2822509 1655 encoding/ascii85.lo \
9c63abc9 1656 encoding/asn1.lo \
d2822509
ILT
1657 encoding/base32.lo \
1658 encoding/base64.lo \
1659 encoding/binary.lo \
9c63abc9 1660 encoding/csv.lo \
9c63abc9 1661 encoding/gob.lo \
d2822509 1662 encoding/hex.lo \
9c63abc9 1663 encoding/json.lo \
d2822509 1664 encoding/pem.lo \
9c63abc9 1665 encoding/xml.lo \
d8f41257 1666 exp/ebnf.lo \
9af4cb95 1667 exp/html.lo \
adb0401d 1668 exp/norm.lo \
df1304ee 1669 exp/proxy.lo \
94252f4b 1670 exp/signal.lo \
d8f41257
ILT
1671 exp/terminal.lo \
1672 exp/types.lo \
af92e385 1673 exp/utf8string.lo \
9c63abc9 1674 html/template.lo \
d2822509 1675 go/ast.lo \
adb0401d 1676 go/build.lo \
d2822509
ILT
1677 go/doc.lo \
1678 go/parser.lo \
1679 go/printer.lo \
1680 go/scanner.lo \
1681 go/token.lo \
d2822509
ILT
1682 hash/adler32.lo \
1683 hash/crc32.lo \
1684 hash/crc64.lo \
8039ca76 1685 hash/fnv.lo \
9c63abc9
ILT
1686 net/http/cgi.lo \
1687 net/http/fcgi.lo \
1688 net/http/httptest.lo \
1689 net/http/httputil.lo \
1690 net/http/pprof.lo \
d8f41257 1691 image/color.lo \
adb0401d 1692 image/draw.lo \
9ff56c95 1693 image/gif.lo \
d2822509
ILT
1694 image/jpeg.lo \
1695 image/png.lo \
1696 index/suffixarray.lo \
1697 io/ioutil.lo \
9c63abc9
ILT
1698 log/syslog.lo \
1699 log/syslog/syslog_c.lo \
1700 math/big.lo \
1701 math/cmplx.lo \
1702 math/rand.lo \
1703 mime/mime.lo \
d2822509 1704 mime/multipart.lo \
9c63abc9
ILT
1705 net/http.lo \
1706 net/mail.lo \
1707 net/rpc.lo \
1708 net/smtp.lo \
d2822509 1709 net/textproto.lo \
9c63abc9 1710 net/url.lo \
d8f41257
ILT
1711 old/netchan.lo \
1712 old/regexp.lo \
adb0401d 1713 old/template.lo \
d2822509 1714 $(os_lib_inotify_lo) \
9ff56c95 1715 os/user.lo \
8039ca76 1716 path/filepath.lo \
d8f41257 1717 regexp/syntax.lo \
9c63abc9 1718 net/rpc/jsonrpc.lo \
d2822509
ILT
1719 runtime/debug.lo \
1720 runtime/pprof.lo \
5133f00e
ILT
1721 sync/atomic.lo \
1722 sync/atomic_c.lo \
de27caac
ILT
1723 syscall/syscall.lo \
1724 syscall/errno.lo \
1725 syscall/wait.lo \
9c63abc9
ILT
1726 text/scanner.lo \
1727 text/tabwriter.lo \
1728 text/template.lo \
1729 text/template/parse.lo \
d2822509
ILT
1730 testing/testing.lo \
1731 testing/iotest.lo \
1732 testing/quick.lo \
9c63abc9
ILT
1733 testing/script.lo \
1734 unicode/utf16.lo \
1735 unicode/utf8.lo
7a938933
ILT
1736
1737libgo_la_SOURCES = $(runtime_files)
1738
5c8e4952 1739libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
90630d19 1740
f2ee78b8
ILT
1741libgo_la_LIBADD = \
1742 $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)
7a938933
ILT
1743
1744libgobegin_a_SOURCES = \
1745 runtime/go-main.c
1746
1747LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
1748
1749GOCFLAGS = $(CFLAGS)
1750AM_GOCFLAGS = $(STRINGOPS_FLAG)
1751GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
1752
1753LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
1754 $(AM_GOCFLAGS) $(GOCFLAGS)
1755
1756GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
f2ee78b8 1757 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@
7a938933 1758
18c70075
ILT
1759# Build the dependencies for a Go package.
1760BUILDDEPS = \
1761 $(MKDIR_P) $(@D); \
1762 $(SHELL) $(srcdir)/godeps.sh `echo $@ | sed -e 's/.dep$$//'` $^ > $@.tmp; \
1763 mv -f $@.tmp $@
1764
d2822509 1765# Build the .go files for a package, generating a .lo file.
7467fc4b 1766BUILDPACKAGE = \
d2822509 1767 $(MKDIR_P) $(@D); \
7a938933 1768 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
7467fc4b 1769 $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
7a938933 1770
7a938933
ILT
1771if LIBGO_IS_RTEMS
1772use_dejagnu = yes
1773else
1774use_dejagnu = no
1775endif
1776
8046b665
ILT
1777GOTESTFLAGS =
1778
7a938933
ILT
1779# Check a package.
1780CHECK = \
b7758f22 1781 GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \
7a938933 1782 export GC; \
16e40fef
ILT
1783 GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \
1784 export GOLIBS; \
7a938933
ILT
1785 RUNTESTFLAGS="$(RUNTESTFLAGS)"; \
1786 export RUNTESTFLAGS; \
1787 MAKE="$(MAKE)"; \
1788 export MAKE; \
aa5b0a0d
ILT
1789 libgccdir=`${GOC} -print-libgcc-file-name | sed -e 's|/[^/]*$$||'`; \
1790 LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \
1791 LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \
1792 export LD_LIBRARY_PATH; \
bb0ce33a 1793 rm -f $@-testsum $@-testlog; \
7a938933
ILT
1794 prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
1795 test "$${prefix}" != "." || prefix="$(@D)"; \
86d013a7 1796 if test "$(use_dejagnu)" = "yes"; then \
de90644a 1797 $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" $(GOTESTFLAGS); \
21822c90 1798 else \
34ccb9c0 1799 if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
34ccb9c0 1800 echo "PASS: $(@D)" >> $@-testlog; \
bb0ce33a
ILT
1801 echo "PASS: $(@D)"; \
1802 echo "PASS: $(@D)" > $@-testsum; \
86d013a7 1803 else \
34ccb9c0
ILT
1804 echo "FAIL: $(@D)" >> $@-testlog; \
1805 cat $@-testlog; \
bb0ce33a 1806 echo "FAIL: $(@D)" > $@-testsum; \
86d013a7
ILT
1807 exit 1; \
1808 fi; \
21822c90 1809 fi
7a938933
ILT
1810
1811# Build all packages before checking any.
1812CHECK_DEPS = libgo.la libgobegin.a \
7a938933 1813 $(toolexeclibgo_DATA) \
34ccb9c0
ILT
1814 $(toolexeclibgoarchive_DATA) \
1815 $(toolexeclibgocompress_DATA) \
1816 $(toolexeclibgocontainer_DATA) \
1817 $(toolexeclibgocrypto_DATA) \
34ccb9c0
ILT
1818 $(toolexeclibgodebug_DATA) \
1819 $(toolexeclibgoencoding_DATA) \
1820 $(toolexeclibgoexp_DATA) \
1821 $(toolexeclibgogo_DATA) \
1822 $(toolexeclibgohash_DATA) \
34ccb9c0
ILT
1823 $(toolexeclibgoimage_DATA) \
1824 $(toolexeclibgoindex_DATA) \
1825 $(toolexeclibgoio_DATA) \
9c63abc9
ILT
1826 $(toolexeclibgolog_DATA) \
1827 $(toolexeclibgomath_DATA) \
34ccb9c0
ILT
1828 $(toolexeclibgomime_DATA) \
1829 $(toolexeclibgonet_DATA) \
9c63abc9 1830 $(toolexeclibgonethttp_DATA) \
34ccb9c0
ILT
1831 $(toolexeclibgoos_DATA) \
1832 $(toolexeclibgopath_DATA) \
1833 $(toolexeclibgorpc_DATA) \
1834 $(toolexeclibgoruntime_DATA) \
1835 $(toolexeclibgosync_DATA) \
9c63abc9
ILT
1836 $(toolexeclibgotesting_DATA) \
1837 $(toolexeclibgotext_DATA) \
1838 $(toolexeclibgotexttemplate_DATA) \
1839 $(toolexeclibgounicode_DATA)
7a938933 1840
18c70075
ILT
1841@go_include@ bufio/bufio.lo.dep
1842bufio/bufio.lo.dep: $(go_bufio_files)
1843 $(BUILDDEPS)
1844bufio/bufio.lo: $(go_bufio_files)
7467fc4b 1845 $(BUILDPACKAGE)
7a938933 1846bufio/check: $(CHECK_DEPS)
bb0ce33a 1847 @$(CHECK)
7a938933
ILT
1848.PHONY: bufio/check
1849
18c70075
ILT
1850@go_include@ bytes/bytes.lo.dep
1851bytes/bytes.lo.dep: $(go_bytes_files)
1852 $(BUILDDEPS)
1853bytes/bytes.lo: $(go_bytes_files)
d2822509
ILT
1854 $(BUILDPACKAGE)
1855bytes/index.lo: $(go_bytes_c_files) bytes/bytes.lo
1856 $(LTCOMPILE) -c -o bytes/index.lo $(srcdir)/go/bytes/indexbyte.c
7a938933 1857bytes/check: $(CHECK_DEPS)
bb0ce33a 1858 @$(CHECK)
7a938933
ILT
1859.PHONY: bytes/check
1860
18c70075
ILT
1861@go_include@ crypto/crypto.lo.dep
1862crypto/crypto.lo.dep: $(go_crypto_files)
1863 $(BUILDDEPS)
1864crypto/crypto.lo: $(go_crypto_files)
5133f00e
ILT
1865 $(BUILDPACKAGE)
1866crypto/check: $(CHECK_DEPS)
bb0ce33a 1867 @$(CHECK)
5133f00e
ILT
1868.PHONY: crypto/check
1869
2fd401c8
ILT
1870@go_include@ errors/errors.lo.dep
1871errors/errors.lo.dep: $(go_errors_files)
1872 $(BUILDDEPS)
1873errors/errors.lo: $(go_errors_files)
1874 $(BUILDPACKAGE)
1875errors/check: $(CHECK_DEPS)
1876 @$(CHECK)
1877.PHONY: errors/check
1878
18c70075
ILT
1879@go_include@ expvar/expvar.lo.dep
1880expvar/expvar.lo.dep: $(go_expvar_files)
1881 $(BUILDDEPS)
1882expvar/expvar.lo: $(go_expvar_files)
7467fc4b 1883 $(BUILDPACKAGE)
7a938933 1884expvar/check: $(CHECK_DEPS)
bb0ce33a 1885 @$(CHECK)
7a938933
ILT
1886.PHONY: expvar/check
1887
18c70075
ILT
1888@go_include@ flag/flag.lo.dep
1889flag/flag.lo.dep: $(go_flag_files)
1890 $(BUILDDEPS)
1891flag/flag.lo: $(go_flag_files)
7467fc4b 1892 $(BUILDPACKAGE)
7a938933 1893flag/check: $(CHECK_DEPS)
bb0ce33a 1894 @$(CHECK)
7a938933
ILT
1895.PHONY: flag/check
1896
18c70075
ILT
1897@go_include@ fmt/fmt.lo.dep
1898fmt/fmt.lo.dep: $(go_fmt_files)
1899 $(BUILDDEPS)
1900fmt/fmt.lo: $(go_fmt_files)
7467fc4b 1901 $(BUILDPACKAGE)
7a938933 1902fmt/check: $(CHECK_DEPS)
bb0ce33a 1903 @$(CHECK)
7a938933
ILT
1904.PHONY: fmt/check
1905
18c70075
ILT
1906@go_include@ hash/hash.lo.dep
1907hash/hash.lo.dep: $(go_hash_files)
1908 $(BUILDDEPS)
1909hash/hash.lo: $(go_hash_files)
7467fc4b 1910 $(BUILDPACKAGE)
7a938933 1911hash/check: $(CHECK_DEPS)
bb0ce33a 1912 @$(CHECK)
7a938933
ILT
1913.PHONY: hash/check
1914
18c70075
ILT
1915@go_include@ html/html.lo.dep
1916html/html.lo.dep: $(go_html_files)
1917 $(BUILDDEPS)
1918html/html.lo: $(go_html_files)
7467fc4b 1919 $(BUILDPACKAGE)
7a938933 1920html/check: $(CHECK_DEPS)
bb0ce33a 1921 @$(CHECK)
7a938933
ILT
1922.PHONY: html/check
1923
18c70075
ILT
1924@go_include@ image/image.lo.dep
1925image/image.lo.dep: $(go_image_files)
1926 $(BUILDDEPS)
1927image/image.lo: $(go_image_files)
7467fc4b 1928 $(BUILDPACKAGE)
7a938933 1929image/check: $(CHECK_DEPS)
bb0ce33a 1930 @$(CHECK)
7a938933
ILT
1931.PHONY: image/check
1932
18c70075
ILT
1933@go_include@ io/io.lo.dep
1934io/io.lo.dep: $(go_io_files)
1935 $(BUILDDEPS)
1936io/io.lo: $(go_io_files)
7467fc4b 1937 $(BUILDPACKAGE)
7a938933 1938io/check: $(CHECK_DEPS)
bb0ce33a 1939 @$(CHECK)
7a938933
ILT
1940.PHONY: io/check
1941
18c70075
ILT
1942@go_include@ log/log.lo.dep
1943log/log.lo.dep: $(go_log_files)
1944 $(BUILDDEPS)
1945log/log.lo: $(go_log_files)
7467fc4b 1946 $(BUILDPACKAGE)
7a938933 1947log/check: $(CHECK_DEPS)
bb0ce33a 1948 @$(CHECK)
7a938933
ILT
1949.PHONY: log/check
1950
18c70075
ILT
1951@go_include@ math/math.lo.dep
1952math/math.lo.dep: $(go_math_files)
1953 $(BUILDDEPS)
d2822509 1954math/math.lo: $(go_math_files)
9d465faf
ILT
1955 $(MKDIR_P) $(@D)
1956 files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
1957 $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
7a938933 1958math/check: $(CHECK_DEPS)
bb0ce33a 1959 @$(CHECK)
7a938933
ILT
1960.PHONY: math/check
1961
18c70075
ILT
1962@go_include@ mime/mime.lo.dep
1963mime/mime.lo.dep: $(go_mime_files)
1964 $(BUILDDEPS)
1965mime/mime.lo: $(go_mime_files)
7467fc4b 1966 $(BUILDPACKAGE)
7a938933 1967mime/check: $(CHECK_DEPS)
bb0ce33a 1968 @$(CHECK)
7a938933
ILT
1969.PHONY: mime/check
1970
18c70075
ILT
1971@go_include@ net/net.lo.dep
1972net/net.lo.dep: $(go_net_files)
1973 $(BUILDDEPS)
1974net/net.lo: $(go_net_files)
7467fc4b 1975 $(BUILDPACKAGE)
7a938933 1976net/check: $(CHECK_DEPS)
adb0401d 1977 @$(CHECK)
7a938933
ILT
1978.PHONY: net/check
1979
18c70075
ILT
1980@go_include@ os/os.lo.dep
1981os/os.lo.dep: $(go_os_files)
1982 $(BUILDDEPS)
1983os/os.lo: $(go_os_files)
7467fc4b 1984 $(BUILDPACKAGE)
7a938933 1985os/check: $(CHECK_DEPS)
bb0ce33a 1986 @$(CHECK)
7a938933
ILT
1987.PHONY: os/check
1988
adb0401d
ILT
1989signal_unix.go: $(srcdir)/go/os/mkunixsignals.sh sysinfo.go
1990 $(SHELL) $(srcdir)/go/os/mkunixsignals.sh sysinfo.go > $@.tmp
1991 mv -f $@.tmp $@
1992
18c70075
ILT
1993@go_include@ path/path.lo.dep
1994path/path.lo.dep: $(go_path_files)
1995 $(BUILDDEPS)
1996path/path.lo: $(go_path_files)
7467fc4b 1997 $(BUILDPACKAGE)
7a938933 1998path/check: $(CHECK_DEPS)
bb0ce33a 1999 @$(CHECK)
7a938933
ILT
2000.PHONY: path/check
2001
18c70075
ILT
2002@go_include@ reflect/reflect.lo.dep
2003reflect/reflect.lo.dep: $(go_reflect_files)
2004 $(BUILDDEPS)
2005reflect/reflect.lo: $(go_reflect_files)
7467fc4b 2006 $(BUILDPACKAGE)
7a938933 2007reflect/check: $(CHECK_DEPS)
bb0ce33a 2008 @$(CHECK)
7a938933
ILT
2009.PHONY: reflect/check
2010
18c70075
ILT
2011@go_include@ regexp/regexp.lo.dep
2012regexp/regexp.lo.dep: $(go_regexp_files)
2013 $(BUILDDEPS)
2014regexp/regexp.lo: $(go_regexp_files)
7467fc4b 2015 $(BUILDPACKAGE)
7a938933 2016regexp/check: $(CHECK_DEPS)
bb0ce33a 2017 @$(CHECK)
7a938933
ILT
2018.PHONY: regexp/check
2019
18c70075
ILT
2020@go_include@ runtime/runtime.lo.dep
2021runtime/runtime.lo.dep: $(go_runtime_files)
2022 $(BUILDDEPS)
d2822509 2023runtime/runtime.lo: $(go_runtime_files)
7467fc4b 2024 $(BUILDPACKAGE)
7a938933 2025runtime/check: $(CHECK_DEPS)
bb0ce33a 2026 @$(CHECK)
7a938933
ILT
2027.PHONY: runtime/check
2028
9c63abc9
ILT
2029@go_include@ text/scanner.lo.dep
2030text/scanner.lo.dep: $(go_text_scanner_files)
18c70075 2031 $(BUILDDEPS)
9c63abc9 2032text/scanner.lo: $(go_text_scanner_files)
7467fc4b 2033 $(BUILDPACKAGE)
9c63abc9
ILT
2034text/scanner/check: $(CHECK_DEPS)
2035 @$(MKDIR_P) text/scanner
bb0ce33a 2036 @$(CHECK)
9c63abc9 2037.PHONY: text/scanner/check
7a938933 2038
18c70075
ILT
2039@go_include@ sort/sort.lo.dep
2040sort/sort.lo.dep: $(go_sort_files)
2041 $(BUILDDEPS)
2042sort/sort.lo: $(go_sort_files)
7467fc4b 2043 $(BUILDPACKAGE)
7a938933 2044sort/check: $(CHECK_DEPS)
bb0ce33a 2045 @$(CHECK)
7a938933
ILT
2046.PHONY: sort/check
2047
18c70075
ILT
2048@go_include@ strconv/strconv.lo.dep
2049strconv/strconv.lo.dep: $(go_strconv_files)
2050 $(BUILDDEPS)
2051strconv/strconv.lo: $(go_strconv_files)
7467fc4b 2052 $(BUILDPACKAGE)
7a938933 2053strconv/check: $(CHECK_DEPS)
bb0ce33a 2054 @$(CHECK)
7a938933
ILT
2055.PHONY: strconv/check
2056
18c70075
ILT
2057@go_include@ strings/strings.lo.dep
2058strings/strings.lo.dep: $(go_strings_files)
2059 $(BUILDDEPS)
2060strings/strings.lo: $(go_strings_files)
7467fc4b 2061 $(BUILDPACKAGE)
7a938933 2062strings/check: $(CHECK_DEPS)
bb0ce33a 2063 @$(CHECK)
7a938933
ILT
2064.PHONY: strings/check
2065
18c70075
ILT
2066@go_include@ sync/sync.lo.dep
2067sync/sync.lo.dep: $(go_sync_files)
2068 $(BUILDDEPS)
2069sync/sync.lo: $(go_sync_files)
d2822509 2070 $(BUILDPACKAGE)
7a938933 2071sync/check: $(CHECK_DEPS)
bb0ce33a 2072 @$(CHECK)
7a938933
ILT
2073.PHONY: sync/check
2074
18c70075
ILT
2075@go_include@ testing/testing.lo.dep
2076testing/testing.lo.dep: $(go_testing_files)
2077 $(BUILDDEPS)
2078testing/testing.lo: $(go_testing_files)
7467fc4b 2079 $(BUILDPACKAGE)
7a938933 2080testing/check: $(CHECK_DEPS)
bb0ce33a 2081 @$(CHECK)
7a938933
ILT
2082.PHONY: testing/check
2083
18c70075
ILT
2084@go_include@ time/time.lo.dep
2085time/time.lo.dep: $(go_time_files)
2086 $(BUILDDEPS)
2087time/time.lo: $(go_time_files)
7467fc4b 2088 $(BUILDPACKAGE)
7a938933 2089time/check: $(CHECK_DEPS)
bb0ce33a 2090 @$(CHECK)
7a938933
ILT
2091.PHONY: time/check
2092
18c70075
ILT
2093@go_include@ unicode/unicode.lo.dep
2094unicode/unicode.lo.dep: $(go_unicode_files)
2095 $(BUILDDEPS)
d2822509 2096unicode/unicode.lo: $(go_unicode_files)
7467fc4b 2097 $(BUILDPACKAGE)
7a938933 2098unicode/check: $(CHECK_DEPS)
bb0ce33a 2099 @$(CHECK)
7a938933
ILT
2100.PHONY: unicode/check
2101
18c70075
ILT
2102@go_include@ archive/tar.lo.dep
2103archive/tar.lo.dep: $(go_archive_tar_files)
2104 $(BUILDDEPS)
2105archive/tar.lo: $(go_archive_tar_files)
7467fc4b 2106 $(BUILDPACKAGE)
7a938933
ILT
2107archive/tar/check: $(CHECK_DEPS)
2108 @$(MKDIR_P) archive/tar
bb0ce33a 2109 @$(CHECK)
7a938933
ILT
2110.PHONY: archive/tar/check
2111
18c70075
ILT
2112@go_include@ archive/zip.lo.dep
2113archive/zip.lo.dep: $(go_archive_zip_files)
2114 $(BUILDDEPS)
2115archive/zip.lo: $(go_archive_zip_files)
7467fc4b 2116 $(BUILDPACKAGE)
7a938933
ILT
2117archive/zip/check: $(CHECK_DEPS)
2118 @$(MKDIR_P) archive/zip
bb0ce33a 2119 @$(CHECK)
7a938933
ILT
2120.PHONY: archive/zip/check
2121
18c70075
ILT
2122@go_include@ compress/bzip2.lo.dep
2123compress/bzip2.lo.dep: $(go_compress_bzip2_files)
2124 $(BUILDDEPS)
2125compress/bzip2.lo: $(go_compress_bzip2_files)
5133f00e
ILT
2126 $(BUILDPACKAGE)
2127compress/bzip2/check: $(CHECK_DEPS)
2128 @$(MKDIR_P) compress/bzip2
bb0ce33a 2129 @$(CHECK)
5133f00e
ILT
2130.PHONY: compress/bzip2/check
2131
18c70075
ILT
2132@go_include@ compress/flate.lo.dep
2133compress/flate.lo.dep: $(go_compress_flate_files)
2134 $(BUILDDEPS)
2135compress/flate.lo: $(go_compress_flate_files)
7467fc4b 2136 $(BUILDPACKAGE)
7a938933
ILT
2137compress/flate/check: $(CHECK_DEPS)
2138 @$(MKDIR_P) compress/flate
bb0ce33a 2139 @$(CHECK)
7a938933
ILT
2140.PHONY: compress/flate/check
2141
18c70075
ILT
2142@go_include@ compress/gzip.lo.dep
2143compress/gzip.lo.dep: $(go_compress_gzip_files)
2144 $(BUILDDEPS)
2145compress/gzip.lo: $(go_compress_gzip_files)
7467fc4b 2146 $(BUILDPACKAGE)
7a938933
ILT
2147compress/gzip/check: $(CHECK_DEPS)
2148 @$(MKDIR_P) compress/gzip
bb0ce33a 2149 @$(CHECK)
7a938933
ILT
2150.PHONY: compress/gzip/check
2151
18c70075
ILT
2152@go_include@ compress/lzw.lo.dep
2153compress/lzw.lo.dep: $(go_compress_lzw_files)
2154 $(BUILDDEPS)
2155compress/lzw.lo: $(go_compress_lzw_files)
5133f00e
ILT
2156 $(BUILDPACKAGE)
2157compress/lzw/check: $(CHECK_DEPS)
2158 @$(MKDIR_P) compress/lzw
bb0ce33a 2159 @$(CHECK)
5133f00e
ILT
2160.PHONY: compress/lzw/check
2161
18c70075
ILT
2162@go_include@ compress/zlib.lo.dep
2163compress/zlib.lo.dep: $(go_compress_zlib_files)
2164 $(BUILDDEPS)
2165compress/zlib.lo: $(go_compress_zlib_files)
7467fc4b 2166 $(BUILDPACKAGE)
7a938933
ILT
2167compress/zlib/check: $(CHECK_DEPS)
2168 @$(MKDIR_P) compress/zlib
bb0ce33a 2169 @$(CHECK)
7a938933
ILT
2170.PHONY: compress/zlib/check
2171
18c70075
ILT
2172@go_include@ container/heap.lo.dep
2173container/heap.lo.dep: $(go_container_heap_files)
2174 $(BUILDDEPS)
2175container/heap.lo: $(go_container_heap_files)
7467fc4b 2176 $(BUILDPACKAGE)
7a938933
ILT
2177container/heap/check: $(CHECK_DEPS)
2178 @$(MKDIR_P) container/heap
bb0ce33a 2179 @$(CHECK)
7a938933
ILT
2180.PHONY: container/heap/check
2181
18c70075
ILT
2182@go_include@ container/list.lo.dep
2183container/list.lo.dep: $(go_container_list_files)
2184 $(BUILDDEPS)
d2822509 2185container/list.lo: $(go_container_list_files)
7467fc4b 2186 $(BUILDPACKAGE)
7a938933
ILT
2187container/list/check: $(CHECK_DEPS)
2188 @$(MKDIR_P) container/list
bb0ce33a 2189 @$(CHECK)
7a938933
ILT
2190.PHONY: container/list/check
2191
18c70075
ILT
2192@go_include@ container/ring.lo.dep
2193container/ring.lo.dep: $(go_container_ring_files)
2194 $(BUILDDEPS)
d2822509 2195container/ring.lo: $(go_container_ring_files)
7467fc4b 2196 $(BUILDPACKAGE)
7a938933
ILT
2197container/ring/check: $(CHECK_DEPS)
2198 @$(MKDIR_P) container/ring
bb0ce33a 2199 @$(CHECK)
7a938933
ILT
2200.PHONY: container/ring/check
2201
18c70075
ILT
2202@go_include@ crypto/aes.lo.dep
2203crypto/aes.lo.dep: $(go_crypto_aes_files)
2204 $(BUILDDEPS)
2205crypto/aes.lo: $(go_crypto_aes_files)
7467fc4b 2206 $(BUILDPACKAGE)
7a938933
ILT
2207crypto/aes/check: $(CHECK_DEPS)
2208 @$(MKDIR_P) crypto/aes
bb0ce33a 2209 @$(CHECK)
7a938933
ILT
2210.PHONY: crypto/aes/check
2211
18c70075
ILT
2212@go_include@ crypto/cipher.lo.dep
2213crypto/cipher.lo.dep: $(go_crypto_cipher_files)
2214 $(BUILDDEPS)
2215crypto/cipher.lo: $(go_crypto_cipher_files)
7467fc4b 2216 $(BUILDPACKAGE)
ff5f50c5
ILT
2217crypto/cipher/check: $(CHECK_DEPS)
2218 @$(MKDIR_P) crypto/cipher
bb0ce33a 2219 @$(CHECK)
ff5f50c5
ILT
2220.PHONY: crypto/cipher/check
2221
18c70075
ILT
2222@go_include@ crypto/des.lo.dep
2223crypto/des.lo.dep: $(go_crypto_des_files)
2224 $(BUILDDEPS)
2225crypto/des.lo: $(go_crypto_des_files)
405ca104
ILT
2226 $(BUILDPACKAGE)
2227crypto/des/check: $(CHECK_DEPS)
2228 @$(MKDIR_P) crypto/des
2229 @$(CHECK)
2230.PHONY: crypto/des/check
2231
18c70075
ILT
2232@go_include@ crypto/dsa.lo.dep
2233crypto/dsa.lo.dep: $(go_crypto_dsa_files)
2234 $(BUILDDEPS)
2235crypto/dsa.lo: $(go_crypto_dsa_files)
5133f00e
ILT
2236 $(BUILDPACKAGE)
2237crypto/dsa/check: $(CHECK_DEPS)
2238 @$(MKDIR_P) crypto/dsa
bb0ce33a 2239 @$(CHECK)
5133f00e
ILT
2240.PHONY: crypto/dsa/check
2241
18c70075
ILT
2242@go_include@ crypto/ecdsa.lo.dep
2243crypto/ecdsa.lo.dep: $(go_crypto_ecdsa_files)
2244 $(BUILDDEPS)
2245crypto/ecdsa.lo: $(go_crypto_ecdsa_files)
8039ca76
ILT
2246 $(BUILDPACKAGE)
2247crypto/ecdsa/check: $(CHECK_DEPS)
2248 @$(MKDIR_P) crypto/ecdsa
bb0ce33a 2249 @$(CHECK)
8039ca76
ILT
2250.PHONY: crypto/ecdsa/check
2251
18c70075
ILT
2252@go_include@ crypto/elliptic.lo.dep
2253crypto/elliptic.lo.dep: $(go_crypto_elliptic_files)
2254 $(BUILDDEPS)
2255crypto/elliptic.lo: $(go_crypto_elliptic_files)
7467fc4b 2256 $(BUILDPACKAGE)
ff5f50c5
ILT
2257crypto/elliptic/check: $(CHECK_DEPS)
2258 @$(MKDIR_P) crypto/elliptic
bb0ce33a 2259 @$(CHECK)
ff5f50c5
ILT
2260.PHONY: crypto/elliptic/check
2261
18c70075
ILT
2262@go_include@ crypto/hmac.lo.dep
2263crypto/hmac.lo.dep: $(go_crypto_hmac_files)
2264 $(BUILDDEPS)
2265crypto/hmac.lo: $(go_crypto_hmac_files)
7467fc4b 2266 $(BUILDPACKAGE)
7a938933
ILT
2267crypto/hmac/check: $(CHECK_DEPS)
2268 @$(MKDIR_P) crypto/hmac
bb0ce33a 2269 @$(CHECK)
7a938933
ILT
2270.PHONY: crypto/hmac/check
2271
18c70075
ILT
2272@go_include@ crypto/md5.lo.dep
2273crypto/md5.lo.dep: $(go_crypto_md5_files)
2274 $(BUILDDEPS)
2275crypto/md5.lo: $(go_crypto_md5_files)
7467fc4b 2276 $(BUILDPACKAGE)
7a938933
ILT
2277crypto/md5/check: $(CHECK_DEPS)
2278 @$(MKDIR_P) crypto/md5
bb0ce33a 2279 @$(CHECK)
7a938933
ILT
2280.PHONY: crypto/md5/check
2281
18c70075
ILT
2282@go_include@ crypto/rand.lo.dep
2283crypto/rand.lo.dep: $(go_crypto_rand_files)
2284 $(BUILDDEPS)
2285crypto/rand.lo: $(go_crypto_rand_files)
7467fc4b 2286 $(BUILDPACKAGE)
7a938933
ILT
2287crypto/rand/check: $(CHECK_DEPS)
2288 @$(MKDIR_P) crypto/rand
bb0ce33a 2289 @$(CHECK)
7a938933
ILT
2290.PHONY: crypto/rand/check
2291
18c70075
ILT
2292@go_include@ crypto/rc4.lo.dep
2293crypto/rc4.lo.dep: $(go_crypto_rc4_files)
2294 $(BUILDDEPS)
2295crypto/rc4.lo: $(go_crypto_rc4_files)
7467fc4b 2296 $(BUILDPACKAGE)
7a938933
ILT
2297crypto/rc4/check: $(CHECK_DEPS)
2298 @$(MKDIR_P) crypto/rc4
bb0ce33a 2299 @$(CHECK)
7a938933
ILT
2300.PHONY: crypto/rc4/check
2301
18c70075
ILT
2302@go_include@ crypto/rsa.lo.dep
2303crypto/rsa.lo.dep: $(go_crypto_rsa_files)
2304 $(BUILDDEPS)
2305crypto/rsa.lo: $(go_crypto_rsa_files)
7467fc4b 2306 $(BUILDPACKAGE)
7a938933
ILT
2307crypto/rsa/check: $(CHECK_DEPS)
2308 @$(MKDIR_P) crypto/rsa
bb0ce33a 2309 @$(CHECK)
7a938933
ILT
2310.PHONY: crypto/rsa/check
2311
18c70075
ILT
2312@go_include@ crypto/sha1.lo.dep
2313crypto/sha1.lo.dep: $(go_crypto_sha1_files)
2314 $(BUILDDEPS)
2315crypto/sha1.lo: $(go_crypto_sha1_files)
7467fc4b 2316 $(BUILDPACKAGE)
7a938933
ILT
2317crypto/sha1/check: $(CHECK_DEPS)
2318 @$(MKDIR_P) crypto/sha1
bb0ce33a 2319 @$(CHECK)
7a938933
ILT
2320.PHONY: crypto/sha1/check
2321
18c70075
ILT
2322@go_include@ crypto/sha256.lo.dep
2323crypto/sha256.lo.dep: $(go_crypto_sha256_files)
2324 $(BUILDDEPS)
2325crypto/sha256.lo: $(go_crypto_sha256_files)
7467fc4b 2326 $(BUILDPACKAGE)
7a938933
ILT
2327crypto/sha256/check: $(CHECK_DEPS)
2328 @$(MKDIR_P) crypto/sha256
bb0ce33a 2329 @$(CHECK)
7a938933
ILT
2330.PHONY: crypto/sha256/check
2331
18c70075
ILT
2332@go_include@ crypto/sha512.lo.dep
2333crypto/sha512.lo.dep: $(go_crypto_sha512_files)
2334 $(BUILDDEPS)
2335crypto/sha512.lo: $(go_crypto_sha512_files)
7467fc4b 2336 $(BUILDPACKAGE)
7a938933
ILT
2337crypto/sha512/check: $(CHECK_DEPS)
2338 @$(MKDIR_P) crypto/sha512
bb0ce33a 2339 @$(CHECK)
7a938933
ILT
2340.PHONY: crypto/sha512/check
2341
18c70075
ILT
2342@go_include@ crypto/subtle.lo.dep
2343crypto/subtle.lo.dep: $(go_crypto_subtle_files)
2344 $(BUILDDEPS)
d2822509 2345crypto/subtle.lo: $(go_crypto_subtle_files)
7467fc4b 2346 $(BUILDPACKAGE)
7a938933
ILT
2347crypto/subtle/check: $(CHECK_DEPS)
2348 @$(MKDIR_P) crypto/subtle
bb0ce33a 2349 @$(CHECK)
7a938933
ILT
2350.PHONY: crypto/subtle/check
2351
18c70075
ILT
2352@go_include@ crypto/tls.lo.dep
2353crypto/tls.lo.dep: $(go_crypto_tls_files)
2354 $(BUILDDEPS)
2355crypto/tls.lo: $(go_crypto_tls_files)
7467fc4b 2356 $(BUILDPACKAGE)
7a938933
ILT
2357crypto/tls/check: $(CHECK_DEPS)
2358 @$(MKDIR_P) crypto/tls
bb0ce33a 2359 @$(CHECK)
7a938933
ILT
2360.PHONY: crypto/tls/check
2361
18c70075
ILT
2362@go_include@ crypto/x509.lo.dep
2363crypto/x509.lo.dep: $(go_crypto_x509_files)
2364 $(BUILDDEPS)
2365crypto/x509.lo: $(go_crypto_x509_files)
7467fc4b 2366 $(BUILDPACKAGE)
7a938933
ILT
2367crypto/x509/check: $(CHECK_DEPS)
2368 @$(MKDIR_P) crypto/x509
bb0ce33a 2369 @$(CHECK)
7a938933
ILT
2370.PHONY: crypto/x509/check
2371
18c70075
ILT
2372@go_include@ crypto/x509/pkix.lo.dep
2373crypto/x509/pkix.lo.dep: $(go_crypto_x509_pkix_files)
2374 $(BUILDDEPS)
2375crypto/x509/pkix.lo: $(go_crypto_x509_pkix_files)
adb0401d
ILT
2376 $(BUILDPACKAGE)
2377crypto/x509/pkix/check: $(CHECK_DEPS)
2378 @$(MKDIR_P) crypto/x509/pkix
2379 @$(CHECK)
2380.PHONY: crypto/x509/pkix/check
2381
af92e385
ILT
2382@go_include@ database/sql.lo.dep
2383database/sql.lo.dep: $(go_database_sql_files)
2384 $(BUILDDEPS)
2385database/sql.lo: $(go_database_sql_files)
2386 $(BUILDPACKAGE)
2387database/sql/check: $(CHECK_DEPS)
2388 @$(MKDIR_P) database/sql
2389 @$(CHECK)
2390.PHONY: database/sql/check
2391
2392@go_include@ database/sql/driver.lo.dep
2393database/sql/driver.lo.dep: $(go_database_sql_driver_files)
2394 $(BUILDDEPS)
2395database/sql/driver.lo: $(go_database_sql_driver_files)
2396 $(BUILDPACKAGE)
2397database/sql/driver/check: $(CHECK_DEPS)
2398 @$(MKDIR_P) database/sql/driver
2399 @$(CHECK)
2400.PHONY: database/sql/driver/check
2401
18c70075
ILT
2402@go_include@ debug/dwarf.lo.dep
2403debug/dwarf.lo.dep: $(go_debug_dwarf_files)
2404 $(BUILDDEPS)
2405debug/dwarf.lo: $(go_debug_dwarf_files)
7467fc4b 2406 $(BUILDPACKAGE)
7a938933
ILT
2407debug/dwarf/check: $(CHECK_DEPS)
2408 @$(MKDIR_P) debug/dwarf
bb0ce33a 2409 @$(CHECK)
7a938933
ILT
2410.PHONY: debug/dwarf/check
2411
18c70075
ILT
2412@go_include@ debug/elf.lo.dep
2413debug/elf.lo.dep: $(go_debug_elf_files)
2414 $(BUILDDEPS)
2415debug/elf.lo: $(go_debug_elf_files)
7467fc4b 2416 $(BUILDPACKAGE)
7a938933
ILT
2417debug/elf/check: $(CHECK_DEPS)
2418 @$(MKDIR_P) debug/elf
bb0ce33a 2419 @$(CHECK)
7a938933
ILT
2420.PHONY: debug/elf/check
2421
18c70075
ILT
2422@go_include@ debug/gosym.lo.dep
2423debug/gosym.lo.dep: $(go_debug_gosym_files)
2424 $(BUILDDEPS)
2425debug/gosym.lo: $(go_debug_gosym_files)
7467fc4b 2426 $(BUILDPACKAGE)
7a938933
ILT
2427debug/gosym/check: $(CHECK_DEPS)
2428 @$(MKDIR_P) debug/gosym
bb0ce33a 2429 @$(CHECK)
7a938933
ILT
2430.PHONY: debug/gosym/check
2431
18c70075
ILT
2432@go_include@ debug/macho.lo.dep
2433debug/macho.lo.dep: $(go_debug_macho_files)
2434 $(BUILDDEPS)
2435debug/macho.lo: $(go_debug_macho_files)
7467fc4b 2436 $(BUILDPACKAGE)
7a938933
ILT
2437debug/macho/check: $(CHECK_DEPS)
2438 @$(MKDIR_P) debug/macho
bb0ce33a 2439 @$(CHECK)
7a938933
ILT
2440.PHONY: debug/macho/check
2441
18c70075
ILT
2442@go_include@ debug/pe.lo.dep
2443debug/pe.lo.dep: $(go_debug_pe_files)
2444 $(BUILDDEPS)
2445debug/pe.lo: $(go_debug_pe_files)
7467fc4b 2446 $(BUILDPACKAGE)
7a938933
ILT
2447debug/pe/check: $(CHECK_DEPS)
2448 @$(MKDIR_P) debug/pe
bb0ce33a 2449 @$(CHECK)
7a938933
ILT
2450.PHONY: debug/pe/check
2451
9c63abc9
ILT
2452@go_include@ encoding/asn1.lo.dep
2453encoding/asn1.lo.dep: $(go_encoding_asn1_files)
2454 $(BUILDDEPS)
2455encoding/asn1.lo: $(go_encoding_asn1_files)
2456 $(BUILDPACKAGE)
2457encoding/asn1/check: $(CHECK_DEPS)
2458 @$(MKDIR_P) encoding/asn1
2459 @$(CHECK)
2460.PHONY: encoding/asn1/check
2461
18c70075
ILT
2462@go_include@ encoding/ascii85.lo.dep
2463encoding/ascii85.lo.dep: $(go_encoding_ascii85_files)
2464 $(BUILDDEPS)
2465encoding/ascii85.lo: $(go_encoding_ascii85_files)
7467fc4b 2466 $(BUILDPACKAGE)
7a938933
ILT
2467encoding/ascii85/check: $(CHECK_DEPS)
2468 @$(MKDIR_P) encoding/ascii85
bb0ce33a 2469 @$(CHECK)
7a938933
ILT
2470.PHONY: encoding/ascii85/check
2471
18c70075
ILT
2472@go_include@ encoding/base32.lo.dep
2473encoding/base32.lo.dep: $(go_encoding_base32_files)
2474 $(BUILDDEPS)
2475encoding/base32.lo: $(go_encoding_base32_files)
7467fc4b 2476 $(BUILDPACKAGE)
ff5f50c5
ILT
2477encoding/base32/check: $(CHECK_DEPS)
2478 @$(MKDIR_P) encoding/base32
bb0ce33a 2479 @$(CHECK)
ff5f50c5
ILT
2480.PHONY: encoding/base32/check
2481
18c70075
ILT
2482@go_include@ encoding/base64.lo.dep
2483encoding/base64.lo.dep: $(go_encoding_base64_files)
2484 $(BUILDDEPS)
2485encoding/base64.lo: $(go_encoding_base64_files)
7467fc4b 2486 $(BUILDPACKAGE)
7a938933
ILT
2487encoding/base64/check: $(CHECK_DEPS)
2488 @$(MKDIR_P) encoding/base64
bb0ce33a 2489 @$(CHECK)
7a938933
ILT
2490.PHONY: encoding/base64/check
2491
18c70075
ILT
2492@go_include@ encoding/binary.lo.dep
2493encoding/binary.lo.dep: $(go_encoding_binary_files)
2494 $(BUILDDEPS)
2495encoding/binary.lo: $(go_encoding_binary_files)
7467fc4b 2496 $(BUILDPACKAGE)
7a938933
ILT
2497encoding/binary/check: $(CHECK_DEPS)
2498 @$(MKDIR_P) encoding/binary
bb0ce33a 2499 @$(CHECK)
7a938933
ILT
2500.PHONY: encoding/binary/check
2501
9c63abc9
ILT
2502@go_include@ encoding/csv.lo.dep
2503encoding/csv.lo.dep: $(go_encoding_csv_files)
2504 $(BUILDDEPS)
2505encoding/csv.lo: $(go_encoding_csv_files)
2506 $(BUILDPACKAGE)
2507encoding/csv/check: $(CHECK_DEPS)
2508 @$(MKDIR_P) encoding/csv
2509 @$(CHECK)
2510.PHONY: encoding/csv/check
2511
9c63abc9
ILT
2512@go_include@ encoding/gob.lo.dep
2513encoding/gob.lo.dep: $(go_encoding_gob_files)
2514 $(BUILDDEPS)
2515encoding/gob.lo: $(go_encoding_gob_files)
2516 $(BUILDPACKAGE)
2517encoding/gob/check: $(CHECK_DEPS)
2518 @$(MKDIR_P) encoding/gob
2519 @$(CHECK)
2520.PHONY: encoding/gob/check
2521
18c70075
ILT
2522@go_include@ encoding/hex.lo.dep
2523encoding/hex.lo.dep: $(go_encoding_hex_files)
2524 $(BUILDDEPS)
2525encoding/hex.lo: $(go_encoding_hex_files)
7467fc4b 2526 $(BUILDPACKAGE)
7a938933
ILT
2527encoding/hex/check: $(CHECK_DEPS)
2528 @$(MKDIR_P) encoding/hex
bb0ce33a 2529 @$(CHECK)
7a938933
ILT
2530.PHONY: encoding/hex/check
2531
9c63abc9
ILT
2532@go_include@ encoding/json.lo.dep
2533encoding/json.lo.dep: $(go_encoding_json_files)
2534 $(BUILDDEPS)
2535encoding/json.lo: $(go_encoding_json_files)
2536 $(BUILDPACKAGE)
2537encoding/json/check: $(CHECK_DEPS)
2538 @$(MKDIR_P) encoding/json
2539 @$(CHECK)
2540.PHONY: encoding/json/check
2541
18c70075
ILT
2542@go_include@ encoding/pem.lo.dep
2543encoding/pem.lo.dep: $(go_encoding_pem_files)
2544 $(BUILDDEPS)
2545encoding/pem.lo: $(go_encoding_pem_files)
7467fc4b 2546 $(BUILDPACKAGE)
7a938933
ILT
2547encoding/pem/check: $(CHECK_DEPS)
2548 @$(MKDIR_P) encoding/pem
bb0ce33a 2549 @$(CHECK)
7a938933
ILT
2550.PHONY: encoding/pem/check
2551
9c63abc9
ILT
2552@go_include@ encoding/xml.lo.dep
2553encoding/xml.lo.dep: $(go_encoding_xml_files)
2554 $(BUILDDEPS)
2555encoding/xml.lo: $(go_encoding_xml_files)
2556 $(BUILDPACKAGE)
2557encoding/xml/check: $(CHECK_DEPS)
2558 @$(MKDIR_P) encoding/xml
2559 @$(CHECK)
2560.PHONY: encoding/xml/check
2561
18c70075
ILT
2562@go_include@ exp/ebnf.lo.dep
2563exp/ebnf.lo.dep: $(go_exp_ebnf_files)
2564 $(BUILDDEPS)
2565exp/ebnf.lo: $(go_exp_ebnf_files)
d8f41257
ILT
2566 $(BUILDPACKAGE)
2567exp/ebnf/check: $(CHECK_DEPS)
2568 @$(MKDIR_P) exp/ebnf
2569 @$(CHECK)
2570.PHONY: exp/ebnf/check
2571
9af4cb95
ILT
2572@go_include@ exp/html.lo.dep
2573exp/html.lo.dep: $(go_exp_html_files)
2574 $(BUILDDEPS)
2575exp/html.lo: $(go_exp_html_files)
2576 $(BUILDPACKAGE)
2577exp/html/check: $(CHECK_DEPS)
2578 @$(MKDIR_P) exp/html
2579 @$(CHECK)
2580.PHONY: exp/html/check
2581
18c70075
ILT
2582@go_include@ exp/norm.lo.dep
2583exp/norm.lo.dep: $(go_exp_norm_files)
2584 $(BUILDDEPS)
2585exp/norm.lo: $(go_exp_norm_files)
adb0401d
ILT
2586 $(BUILDPACKAGE)
2587exp/norm/check: $(CHECK_DEPS)
2588 @$(MKDIR_P) exp/norm
2589 @$(CHECK)
2590.PHONY: exp/norm/check
2591
df1304ee
ILT
2592@go_include@ exp/proxy.lo.dep
2593exp/proxy.lo.dep: $(go_exp_proxy_files)
2594 $(BUILDDEPS)
2595exp/proxy.lo: $(go_exp_proxy_files)
2596 $(BUILDPACKAGE)
2597exp/proxy/check: $(CHECK_DEPS)
2598 @$(MKDIR_P) exp/proxy
2599 @$(CHECK)
2600.PHONY: exp/proxy/check
2601
94252f4b
ILT
2602@go_include@ exp/signal.lo.dep
2603exp/signal.lo.dep: $(go_exp_signal_files)
2604 $(BUILDDEPS)
2605exp/signal.lo: $(go_exp_signal_files)
2606 $(BUILDPACKAGE)
2607exp/signal/check: $(CHECK_DEPS)
2608 @$(MKDIR_P) exp/signal
2609 @$(CHECK)
2610.PHONY: exp/signal/check
2611
18c70075
ILT
2612@go_include@ exp/terminal.lo.dep
2613exp/terminal.lo.dep: $(go_exp_terminal_files)
2614 $(BUILDDEPS)
2615exp/terminal.lo: $(go_exp_terminal_files)
d8f41257
ILT
2616 $(BUILDPACKAGE)
2617exp/terminal/check: $(CHECK_DEPS)
2618 @$(MKDIR_P) exp/terminal
2619 @$(CHECK)
2620.PHONY: exp/terminal/check
2621
18c70075
ILT
2622@go_include@ exp/types.lo.dep
2623exp/types.lo.dep: $(go_exp_types_files)
2624 $(BUILDDEPS)
2625exp/types.lo: $(go_exp_types_files)
adb0401d 2626 $(BUILDPACKAGE)
d8f41257
ILT
2627exp/types/check: $(CHECK_DEPS)
2628 @$(MKDIR_P) exp/types
adb0401d 2629 @$(CHECK)
d8f41257 2630.PHONY: exp/types/check
adb0401d 2631
af92e385
ILT
2632@go_include@ exp/utf8string.lo.dep
2633exp/utf8string.lo.dep: $(go_exp_utf8string_files)
2634 $(BUILDDEPS)
2635exp/utf8string.lo: $(go_exp_utf8string_files)
2636 $(BUILDPACKAGE)
2637exp/utf8string/check: $(CHECK_DEPS)
2638 @$(MKDIR_P) exp/utf8string
2639 @$(CHECK)
2640.PHONY: exp/utf8string/check
2641
18c70075
ILT
2642@go_include@ exp/inotify.lo.dep
2643exp/inotify.lo.dep: $(go_exp_inotify_files)
2644 $(BUILDDEPS)
2645exp/inotify.lo: $(go_exp_inotify_files)
b740cb63
ILT
2646 $(BUILDPACKAGE)
2647exp/inotify/check: $(CHECK_DEPS)
2648 @$(MKDIR_P) exp/inotify
2649 @$(CHECK)
2650.PHONY: exp/inotify/check
2651
9c63abc9
ILT
2652@go_include@ html/template.lo.dep
2653html/template.lo.dep: $(go_html_template_files)
18c70075 2654 $(BUILDDEPS)
9c63abc9 2655html/template.lo: $(go_html_template_files)
7467fc4b 2656 $(BUILDPACKAGE)
9c63abc9
ILT
2657html/template/check: $(CHECK_DEPS)
2658 @$(MKDIR_P) html/template
bb0ce33a 2659 @$(CHECK)
9c63abc9 2660.PHONY: html/template/check
7a938933 2661
18c70075
ILT
2662@go_include@ go/ast.lo.dep
2663go/ast.lo.dep: $(go_go_ast_files)
2664 $(BUILDDEPS)
2665go/ast.lo: $(go_go_ast_files)
7467fc4b 2666 $(BUILDPACKAGE)
7a938933
ILT
2667go/ast/check: $(CHECK_DEPS)
2668 @$(MKDIR_P) go/ast
bb0ce33a 2669 @$(CHECK)
7a938933
ILT
2670.PHONY: go/ast/check
2671
18c70075
ILT
2672@go_include@ go/build.lo.dep
2673go/build.lo.dep: $(go_go_build_files)
2674 $(BUILDDEPS)
2675go/build.lo: $(go_go_build_files)
adb0401d
ILT
2676 $(BUILDPACKAGE)
2677go/build/check: $(CHECK_DEPS)
2678 @$(MKDIR_P) go/build
2679 @$(CHECK)
2680.PHONY: go/build/check
2681
2682syslist.go: s-syslist; @true
2683s-syslist: Makefile
2684 echo '// Generated automatically by make.' >syslist.go.tmp
2685 echo 'package build' >>syslist.go.tmp
2686 echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
2687 echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
2688 $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
2689 $(STAMP) $@
2690
18c70075
ILT
2691@go_include@ go/doc.lo.dep
2692go/doc.lo.dep: $(go_go_doc_files)
2693 $(BUILDDEPS)
2694go/doc.lo: $(go_go_doc_files)
7467fc4b 2695 $(BUILDPACKAGE)
7a938933
ILT
2696go/doc/check: $(CHECK_DEPS)
2697 @$(MKDIR_P) go/doc
bb0ce33a 2698 @$(CHECK)
7a938933
ILT
2699.PHONY: go/doc/check
2700
18c70075
ILT
2701@go_include@ go/parser.lo.dep
2702go/parser.lo.dep: $(go_go_parser_files)
2703 $(BUILDDEPS)
2704go/parser.lo: $(go_go_parser_files)
7467fc4b 2705 $(BUILDPACKAGE)
7a938933
ILT
2706go/parser/check: $(CHECK_DEPS)
2707 @$(MKDIR_P) go/parser
bb0ce33a 2708 @$(CHECK)
7a938933
ILT
2709.PHONY: go/parser/check
2710
18c70075
ILT
2711@go_include@ go/printer.lo.dep
2712go/printer.lo.dep: $(go_go_printer_files)
2713 $(BUILDDEPS)
2714go/printer.lo: $(go_go_printer_files)
7467fc4b 2715 $(BUILDPACKAGE)
7a938933
ILT
2716go/printer/check: $(CHECK_DEPS)
2717 @$(MKDIR_P) go/printer
bb0ce33a 2718 @$(CHECK)
7a938933
ILT
2719.PHONY: go/printer/check
2720
18c70075
ILT
2721@go_include@ go/scanner.lo.dep
2722go/scanner.lo.dep: $(go_go_scanner_files)
2723 $(BUILDDEPS)
2724go/scanner.lo: $(go_go_scanner_files)
7467fc4b 2725 $(BUILDPACKAGE)
7a938933
ILT
2726go/scanner/check: $(CHECK_DEPS)
2727 @$(MKDIR_P) go/scanner
bb0ce33a 2728 @$(CHECK)
7a938933
ILT
2729.PHONY: go/scanner/check
2730
18c70075
ILT
2731@go_include@ go/token.lo.dep
2732go/token.lo.dep: $(go_go_token_files)
2733 $(BUILDDEPS)
2734go/token.lo: $(go_go_token_files)
7467fc4b 2735 $(BUILDPACKAGE)
7a938933
ILT
2736go/token/check: $(CHECK_DEPS)
2737 @$(MKDIR_P) go/token
bb0ce33a 2738 @$(CHECK)
7a938933
ILT
2739.PHONY: go/token/check
2740
18c70075
ILT
2741@go_include@ hash/adler32.lo.dep
2742hash/adler32.lo.dep: $(go_hash_adler32_files)
2743 $(BUILDDEPS)
2744hash/adler32.lo: $(go_hash_adler32_files)
7467fc4b 2745 $(BUILDPACKAGE)
7a938933
ILT
2746hash/adler32/check: $(CHECK_DEPS)
2747 @$(MKDIR_P) hash/adler32
bb0ce33a 2748 @$(CHECK)
7a938933
ILT
2749.PHONY: hash/adler32/check
2750
18c70075
ILT
2751@go_include@ hash/crc32.lo.dep
2752hash/crc32.lo.dep: $(go_hash_crc32_files)
2753 $(BUILDDEPS)
2754hash/crc32.lo: $(go_hash_crc32_files)
7467fc4b 2755 $(BUILDPACKAGE)
7a938933
ILT
2756hash/crc32/check: $(CHECK_DEPS)
2757 @$(MKDIR_P) hash/crc32
bb0ce33a 2758 @$(CHECK)
7a938933
ILT
2759.PHONY: hash/crc32/check
2760
18c70075
ILT
2761@go_include@ hash/crc64.lo.dep
2762hash/crc64.lo.dep: $(go_hash_crc64_files)
2763 $(BUILDDEPS)
2764hash/crc64.lo: $(go_hash_crc64_files)
7467fc4b 2765 $(BUILDPACKAGE)
7a938933
ILT
2766hash/crc64/check: $(CHECK_DEPS)
2767 @$(MKDIR_P) hash/crc64
bb0ce33a 2768 @$(CHECK)
7a938933
ILT
2769.PHONY: hash/crc64/check
2770
18c70075
ILT
2771@go_include@ hash/fnv.lo.dep
2772hash/fnv.lo.dep: $(go_hash_fnv_files)
2773 $(BUILDDEPS)
2774hash/fnv.lo: $(go_hash_fnv_files)
8039ca76
ILT
2775 $(BUILDPACKAGE)
2776hash/fnv/check: $(CHECK_DEPS)
2777 @$(MKDIR_P) hash/fnv
bb0ce33a 2778 @$(CHECK)
8039ca76
ILT
2779.PHONY: hash/fnv/check
2780
18c70075
ILT
2781@go_include@ image/color.lo.dep
2782image/color.lo.dep: $(go_image_color_files)
2783 $(BUILDDEPS)
d8f41257
ILT
2784image/color.lo: $(go_image_color_files)
2785 $(BUILDPACKAGE)
2786image/color/check: $(CHECK_DEPS)
2787 @$(MKDIR_P) image/color
2788 @$(CHECK)
2789.PHONY: image/color/check
2790
18c70075
ILT
2791@go_include@ image/draw.lo.dep
2792image/draw.lo.dep: $(go_image_draw_files)
2793 $(BUILDDEPS)
2794image/draw.lo: $(go_image_draw_files)
adb0401d
ILT
2795 $(BUILDPACKAGE)
2796image/draw/check: $(CHECK_DEPS)
2797 @$(MKDIR_P) image/draw
2798 @$(CHECK)
2799.PHONY: image/draw/check
2800
18c70075
ILT
2801@go_include@ image/gif.lo.dep
2802image/gif.lo.dep: $(go_image_gif_files)
2803 $(BUILDDEPS)
2804image/gif.lo: $(go_image_gif_files)
9ff56c95
ILT
2805 $(BUILDPACKAGE)
2806image/gif/check: $(CHECK_DEPS)
2807 @$(MKDIR_P) image/gif
2808 @$(CHECK)
2809.PHONY: image/gif/check
2810
18c70075
ILT
2811@go_include@ image/jpeg.lo.dep
2812image/jpeg.lo.dep: $(go_image_jpeg_files)
2813 $(BUILDDEPS)
2814image/jpeg.lo: $(go_image_jpeg_files)
7467fc4b 2815 $(BUILDPACKAGE)
7a938933
ILT
2816image/jpeg/check: $(CHECK_DEPS)
2817 @$(MKDIR_P) image/jpeg
bb0ce33a 2818 @$(CHECK)
7a938933
ILT
2819.PHONY: image/jpeg/check
2820
18c70075
ILT
2821@go_include@ image/png.lo.dep
2822image/png.lo.dep: $(go_image_png_files)
2823 $(BUILDDEPS)
2824image/png.lo: $(go_image_png_files)
7467fc4b 2825 $(BUILDPACKAGE)
7a938933
ILT
2826image/png/check: $(CHECK_DEPS)
2827 @$(MKDIR_P) image/png
bb0ce33a 2828 @$(CHECK)
7a938933
ILT
2829.PHONY: image/png/check
2830
18c70075
ILT
2831@go_include@ index/suffixarray.lo.dep
2832index/suffixarray.lo.dep: $(go_index_suffixarray_files)
2833 $(BUILDDEPS)
2834index/suffixarray.lo: $(go_index_suffixarray_files)
7467fc4b 2835 $(BUILDPACKAGE)
7a938933
ILT
2836index/suffixarray/check: $(CHECK_DEPS)
2837 @$(MKDIR_P) index/suffixarray
bb0ce33a 2838 @$(CHECK)
7a938933
ILT
2839.PHONY: index/suffixarray/check
2840
18c70075
ILT
2841@go_include@ io/ioutil.lo.dep
2842io/ioutil.lo.dep: $(go_io_ioutil_files)
2843 $(BUILDDEPS)
2844io/ioutil.lo: $(go_io_ioutil_files)
7467fc4b 2845 $(BUILDPACKAGE)
7a938933
ILT
2846io/ioutil/check: $(CHECK_DEPS)
2847 @$(MKDIR_P) io/ioutil
bb0ce33a 2848 @$(CHECK)
7a938933
ILT
2849.PHONY: io/ioutil/check
2850
9c63abc9
ILT
2851@go_include@ log/syslog.lo.dep
2852log/syslog.lo.dep: $(go_log_syslog_files)
2853 $(BUILDDEPS)
2854log/syslog.lo: $(go_log_syslog_files)
2855 $(BUILDPACKAGE)
2856log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
2857 $(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
2858log/syslog/check: $(CHECK_DEPS)
2859 @$(MKDIR_P) log/syslog
2860 @$(CHECK)
2861.PHONY: log/syslog/check
2862
2863@go_include@ math/big.lo.dep
2864math/big.lo.dep: $(go_math_big_files)
2865 $(BUILDDEPS)
2866math/big.lo: $(go_math_big_files)
2867 $(BUILDPACKAGE)
2868math/big/check: $(CHECK_DEPS)
2869 @$(MKDIR_P) math/big
2870 @$(CHECK)
2871.PHONY: math/big/check
2872
2873@go_include@ math/cmplx.lo.dep
2874math/cmplx.lo.dep: $(go_math_cmplx_files)
2875 $(BUILDDEPS)
2876math/cmplx.lo: $(go_math_cmplx_files)
2877 $(BUILDPACKAGE)
2878math/cmplx/check: $(CHECK_DEPS)
2879 @$(MKDIR_P) math/cmplx
2880 @$(CHECK)
2881.PHONY: math/cmplx/check
2882
2883@go_include@ math/rand.lo.dep
2884math/rand.lo.dep: $(go_math_rand_files)
2885 $(BUILDDEPS)
2886math/rand.lo: $(go_math_rand_files)
2887 $(BUILDPACKAGE)
2888math/rand/check: $(CHECK_DEPS)
2889 @$(MKDIR_P) math/rand
2890 @$(CHECK)
2891.PHONY: math/rand/check
2892
18c70075
ILT
2893@go_include@ mime/multipart.lo.dep
2894mime/multipart.lo.dep: $(go_mime_multipart_files)
2895 $(BUILDDEPS)
2896mime/multipart.lo: $(go_mime_multipart_files)
7467fc4b 2897 $(BUILDPACKAGE)
7a938933
ILT
2898mime/multipart/check: $(CHECK_DEPS)
2899 @$(MKDIR_P) mime/multipart
bb0ce33a 2900 @$(CHECK)
7a938933
ILT
2901.PHONY: mime/multipart/check
2902
9c63abc9
ILT
2903@go_include@ net/http.lo.dep
2904net/http.lo.dep: $(go_net_http_files)
2905 $(BUILDDEPS)
2906net/http.lo: $(go_net_http_files)
2907 $(BUILDPACKAGE)
2908net/http/check: $(CHECK_DEPS)
2909 @$(MKDIR_P) net/http
2910 @$(CHECK)
2911.PHONY: net/http/check
2912
2913@go_include@ net/mail.lo.dep
2914net/mail.lo.dep: $(go_net_mail_files)
2915 $(BUILDDEPS)
2916net/mail.lo: $(go_net_mail_files)
2917 $(BUILDPACKAGE)
2918net/mail/check: $(CHECK_DEPS)
2919 @$(MKDIR_P) net/mail
2920 @$(CHECK)
2921.PHONY: net/mail/check
2922
2923@go_include@ net/rpc.lo.dep
2924net/rpc.lo.dep: $(go_net_rpc_files)
2925 $(BUILDDEPS)
2926net/rpc.lo: $(go_net_rpc_files)
2927 $(BUILDPACKAGE)
2928net/rpc/check: $(CHECK_DEPS)
2929 @$(MKDIR_P) net/rpc
2930 @$(CHECK)
2931.PHONY: net/rpc/check
2932
2933@go_include@ net/smtp.lo.dep
2934net/smtp.lo.dep: $(go_net_smtp_files)
2935 $(BUILDDEPS)
2936net/smtp.lo: $(go_net_smtp_files)
2937 $(BUILDPACKAGE)
2938net/smtp/check: $(CHECK_DEPS)
2939 @$(MKDIR_P) net/smtp
2940 @$(CHECK)
2941.PHONY: net/smtp/check
2942
2943@go_include@ net/url.lo.dep
2944net/url.lo.dep: $(go_net_url_files)
2945 $(BUILDDEPS)
2946net/url.lo: $(go_net_url_files)
2947 $(BUILDPACKAGE)
2948net/url/check: $(CHECK_DEPS)
2949 @$(MKDIR_P) net/url
2950 @$(CHECK)
2951.PHONY: net/url/check
2952
18c70075
ILT
2953@go_include@ net/textproto.lo.dep
2954net/textproto.lo.dep: $(go_net_textproto_files)
2955 $(BUILDDEPS)
2956net/textproto.lo: $(go_net_textproto_files)
7467fc4b 2957 $(BUILDPACKAGE)
7a938933
ILT
2958net/textproto/check: $(CHECK_DEPS)
2959 @$(MKDIR_P) net/textproto
bb0ce33a 2960 @$(CHECK)
7a938933
ILT
2961.PHONY: net/textproto/check
2962
9c63abc9
ILT
2963@go_include@ net/http/cgi.lo.dep
2964net/http/cgi.lo.dep: $(go_net_http_cgi_files)
2965 $(BUILDDEPS)
2966net/http/cgi.lo: $(go_net_http_cgi_files)
2967 $(BUILDPACKAGE)
2968net/http/cgi/check: $(CHECK_DEPS)
2969 @$(MKDIR_P) net/http/cgi
2970 @$(CHECK)
2971.PHONY: net/http/cgi/check
2972
2973@go_include@ net/http/fcgi.lo.dep
2974net/http/fcgi.lo.dep: $(go_net_http_fcgi_files)
2975 $(BUILDDEPS)
2976net/http/fcgi.lo: $(go_net_http_fcgi_files)
2977 $(BUILDPACKAGE)
2978net/http/fcgi/check: $(CHECK_DEPS)
2979 @$(MKDIR_P) net/http/fcgi
2980 @$(CHECK)
2981.PHONY: net/http/fcgi/check
2982
2983@go_include@ net/http/httptest.lo.dep
2984net/http/httptest.lo.dep: $(go_net_http_httptest_files)
2985 $(BUILDDEPS)
2986net/http/httptest.lo: $(go_net_http_httptest_files)
2987 $(BUILDPACKAGE)
2988net/http/httptest/check: $(check_deps)
2989 @$(MKDIR_P) net/http/httptest
2990 @$(CHECK)
2991.PHONY: net/http/httptest/check
2992
2993@go_include@ net/http/httputil.lo.dep
2994net/http/httputil.lo.dep: $(go_net_http_httputil_files)
2995 $(BUILDDEPS)
2996net/http/httputil.lo: $(go_net_http_httputil_files)
2997 $(BUILDPACKAGE)
2998net/http/httputil/check: $(check_deps)
2999 @$(MKDIR_P) net/http/httputil
3000 @$(CHECK)
3001.PHONY: net/http/httputil/check
3002
3003@go_include@ net/http/pprof.lo.dep
3004net/http/pprof.lo.dep: $(go_net_http_pprof_files)
3005 $(BUILDDEPS)
3006net/http/pprof.lo: $(go_net_http_pprof_files)
3007 $(BUILDPACKAGE)
3008net/http/pprof/check: $(CHECK_DEPS)
3009 @$(MKDIR_P) net/http/pprof
3010 @$(CHECK)
3011.PHONY: net/http/pprof/check
3012
3013@go_include@ net/rpc/jsonrpc.lo.dep
3014net/rpc/jsonrpc.lo.dep: $(go_net_rpc_jsonrpc_files)
3015 $(BUILDDEPS)
3016net/rpc/jsonrpc.lo: $(go_net_rpc_jsonrpc_files)
3017 $(BUILDPACKAGE)
3018net/rpc/jsonrpc/check: $(CHECK_DEPS)
3019 @$(MKDIR_P) net/rpc/jsonrpc
3020 @$(CHECK)
3021.PHONY: net/rpc/jsonrpc/check
3022
18c70075
ILT
3023@go_include@ old/netchan.lo.dep
3024old/netchan.lo.dep: $(go_old_netchan_files)
3025 $(BUILDDEPS)
3026old/netchan.lo: $(go_old_netchan_files)
d8f41257
ILT
3027 $(BUILDPACKAGE)
3028old/netchan/check: $(CHECK_DEPS)
3029 @$(MKDIR_P) old/netchan
3030 @$(CHECK)
3031.PHONY: old/netchan/check
3032
18c70075
ILT
3033@go_include@ old/regexp.lo.dep
3034old/regexp.lo.dep: $(go_old_regexp_files)
3035 $(BUILDDEPS)
3036old/regexp.lo: $(go_old_regexp_files)
d8f41257
ILT
3037 $(BUILDPACKAGE)
3038old/regexp/check: $(CHECK_DEPS)
3039 @$(MKDIR_P) old/regexp
3040 @$(CHECK)
3041.PHONY: old/regexp/check
3042
18c70075
ILT
3043@go_include@ old/template.lo.dep
3044old/template.lo.dep: $(go_old_template_files)
3045 $(BUILDDEPS)
3046old/template.lo: $(go_old_template_files)
adb0401d
ILT
3047 $(BUILDPACKAGE)
3048old/template/check: $(CHECK_DEPS)
3049 @$(MKDIR_P) old/template
3050 @$(CHECK)
3051.PHONY: old/template/check
3052
9c63abc9
ILT
3053@go_include@ os/exec.lo.dep
3054os/exec.lo.dep: $(go_os_exec_files)
3055 $(BUILDDEPS)
3056os/exec.lo: $(go_os_exec_files)
3057 $(BUILDPACKAGE)
3058os/exec/check: $(CHECK_DEPS)
3059 @$(MKDIR_P) os/exec
3060 @$(CHECK)
3061.PHONY: os/exec/check
3062
18c70075
ILT
3063@go_include@ os/user.lo.dep
3064os/user.lo.dep: $(go_os_user_files)
3065 $(BUILDDEPS)
3066os/user.lo: $(go_os_user_files)
9ff56c95
ILT
3067 $(BUILDPACKAGE)
3068os/user/check: $(CHECK_DEPS)
3069 @$(MKDIR_P) os/user
3070 @$(CHECK)
3071.PHONY: os/user/check
3072
18c70075
ILT
3073@go_include@ path/filepath.lo.dep
3074path/filepath.lo.dep: $(go_path_filepath_files)
3075 $(BUILDDEPS)
3076path/filepath.lo: $(go_path_filepath_files)
8039ca76
ILT
3077 $(BUILDPACKAGE)
3078path/filepath/check: $(CHECK_DEPS)
3079 @$(MKDIR_P) path/filepath
bb0ce33a 3080 @$(CHECK)
8039ca76
ILT
3081.PHONY: path/filepath/check
3082
18c70075
ILT
3083@go_include@ regexp/syntax.lo.dep
3084regexp/syntax.lo.dep: $(go_regexp_syntax_files)
3085 $(BUILDDEPS)
3086regexp/syntax.lo: $(go_regexp_syntax_files)
d8f41257
ILT
3087 $(BUILDPACKAGE)
3088regexp/syntax/check: $(CHECK_DEPS)
3089 @$(MKDIR_P) regexp/syntax
3090 @$(CHECK)
3091.PHONY: regexp/syntax/check
3092
18c70075
ILT
3093@go_include@ runtime/debug.lo.dep
3094runtime/debug.lo.dep: $(go_runtime_debug_files)
3095 $(BUILDDEPS)
3096runtime/debug.lo: $(go_runtime_debug_files)
7467fc4b 3097 $(BUILDPACKAGE)
ff5f50c5
ILT
3098runtime/debug/check: $(CHECK_DEPS)
3099 @$(MKDIR_P) runtime/debug
bb0ce33a 3100 @$(CHECK)
ff5f50c5
ILT
3101.PHONY: runtime/debug/check
3102
18c70075
ILT
3103@go_include@ runtime/pprof.lo.dep
3104runtime/pprof.lo.dep: $(go_runtime_pprof_files)
3105 $(BUILDDEPS)
3106runtime/pprof.lo: $(go_runtime_pprof_files)
7467fc4b 3107 $(BUILDPACKAGE)
7a938933
ILT
3108runtime/pprof/check: $(CHECK_DEPS)
3109 @$(MKDIR_P) runtime/pprof
bb0ce33a 3110 @$(CHECK)
7a938933
ILT
3111.PHONY: runtime/pprof/check
3112
18c70075
ILT
3113@go_include@ sync/atomic.lo.dep
3114sync/atomic.lo.dep: $(go_sync_atomic_files)
3115 $(BUILDDEPS)
5133f00e
ILT
3116sync/atomic.lo: $(go_sync_atomic_files)
3117 $(BUILDPACKAGE)
3118sync/atomic_c.lo: $(go_sync_atomic_c_files) sync/atomic.lo
3119 $(LTCOMPILE) -c -o $@ $(srcdir)/go/sync/atomic/atomic.c
3120sync/atomic/check: $(CHECK_DEPS)
3121 @$(MKDIR_P) sync/atomic
bb0ce33a 3122 @$(CHECK)
5133f00e
ILT
3123.PHONY: sync/atomic/check
3124
9c63abc9
ILT
3125@go_include@ text/tabwriter.lo.dep
3126text/tabwriter.lo.dep: $(go_text_tabwriter_files)
3127 $(BUILDDEPS)
3128text/tabwriter.lo: $(go_text_tabwriter_files)
3129 $(BUILDPACKAGE)
3130text/tabwriter/check: $(CHECK_DEPS)
3131 @$(MKDIR_P) text/tabwriter
3132 @$(CHECK)
3133.PHONY: text/tabwriter/check
3134
3135@go_include@ text/template.lo.dep
3136text/template.lo.dep: $(go_text_template_files)
18c70075 3137 $(BUILDDEPS)
9c63abc9 3138text/template.lo: $(go_text_template_files)
adb0401d 3139 $(BUILDPACKAGE)
9c63abc9 3140text/template/check: $(CHECK_DEPS)
adb0401d 3141 @$(CHECK)
9c63abc9
ILT
3142.PHONY: text/template/check
3143
3144@go_include@ text/template/parse.lo.dep
3145text/template/parse.lo.dep: $(go_text_template_parse_files)
3146 $(BUILDDEPS)
3147text/template/parse.lo: $(go_text_template_parse_files)
3148 $(BUILDPACKAGE)
3149text/template/parse/check: $(CHECK_DEPS)
3150 @$(MKDIR_P) text/template/parse
3151 @$(CHECK)
3152.PHONY: text/template/parse/check
adb0401d 3153
18c70075
ILT
3154@go_include@ testing/iotest.lo.dep
3155testing/iotest.lo.dep: $(go_testing_iotest_files)
3156 $(BUILDDEPS)
3157testing/iotest.lo: $(go_testing_iotest_files)
7467fc4b 3158 $(BUILDPACKAGE)
7a938933
ILT
3159testing/iotest/check: $(CHECK_DEPS)
3160 @$(MKDIR_P) testing/iotest
bb0ce33a 3161 @$(CHECK)
7a938933
ILT
3162.PHONY: testing/iotest/check
3163
18c70075
ILT
3164@go_include@ testing/quick.lo.dep
3165testing/quick.lo.dep: $(go_testing_quick_files)
3166 $(BUILDDEPS)
3167testing/quick.lo: $(go_testing_quick_files)
7467fc4b 3168 $(BUILDPACKAGE)
7a938933
ILT
3169testing/quick/check: $(CHECK_DEPS)
3170 @$(MKDIR_P) testing/quick
bb0ce33a 3171 @$(CHECK)
7a938933
ILT
3172.PHONY: testing/quick/check
3173
18c70075
ILT
3174@go_include@ testing/script.lo.dep
3175testing/script.lo.dep: $(go_testing_script_files)
3176 $(BUILDDEPS)
3177testing/script.lo: $(go_testing_script_files)
7467fc4b 3178 $(BUILDPACKAGE)
7a938933
ILT
3179testing/script/check: $(CHECK_DEPS)
3180 @$(MKDIR_P) testing/script
bb0ce33a 3181 @$(CHECK)
7a938933
ILT
3182.PHONY: testing/script/check
3183
9c63abc9
ILT
3184@go_include@ unicode/utf16.lo.dep
3185unicode/utf16.lo.dep: $(go_unicode_utf16_files)
3186 $(BUILDDEPS)
3187unicode/utf16.lo: $(go_unicode_utf16_files)
3188 $(BUILDPACKAGE)
3189unicode/utf16/check: $(CHECK_DEPS)
3190 @$(MKDIR_P) unicode/utf16
3191 @$(CHECK)
3192.PHONY: unicode/utf16/check
3193
3194@go_include@ unicode/utf8.lo.dep
3195unicode/utf8.lo.dep: $(go_unicode_utf8_files)
3196 $(BUILDDEPS)
3197unicode/utf8.lo: $(go_unicode_utf8_files)
3198 $(BUILDPACKAGE)
3199unicode/utf8/check: $(CHECK_DEPS)
3200 @$(MKDIR_P) unicode/utf8
3201 @$(CHECK)
3202.PHONY: unicode/utf8/check
3203
18c70075
ILT
3204@go_include@ syscall/syscall.lo.dep
3205syscall/syscall.lo.dep: $(go_syscall_files)
3206 $(BUILDDEPS)
3207syscall/syscall.lo: $(go_syscall_files)
d2822509 3208 $(BUILDPACKAGE)
de27caac
ILT
3209syscall/errno.lo: go/syscall/errno.c
3210 $(LTCOMPILE) -c -o $@ $<
3211syscall/wait.lo: go/syscall/wait.c
3212 $(LTCOMPILE) -c -o $@ $<
d2822509
ILT
3213
3214# How to build a .gox file from a .lo file.
7a938933 3215BUILDGOX = \
d2822509
ILT
3216 f=`echo $< | sed -e 's/.lo$$/.o/'`; \
3217 $(OBJCOPY) -j .go_export $$f $@.tmp && mv -f $@.tmp $@
7a938933 3218
d2822509 3219bufio.gox: bufio/bufio.lo
7a938933 3220 $(BUILDGOX)
d2822509 3221bytes.gox: bytes/bytes.lo
7a938933 3222 $(BUILDGOX)
5133f00e
ILT
3223crypto.gox: crypto/crypto.lo
3224 $(BUILDGOX)
2fd401c8
ILT
3225errors.gox: errors/errors.lo
3226 $(BUILDGOX)
d2822509 3227expvar.gox: expvar/expvar.lo
7a938933 3228 $(BUILDGOX)
d2822509 3229flag.gox: flag/flag.lo
7a938933 3230 $(BUILDGOX)
d2822509 3231fmt.gox: fmt/fmt.lo
7a938933 3232 $(BUILDGOX)
d2822509 3233hash.gox: hash/hash.lo
7a938933 3234 $(BUILDGOX)
d2822509 3235html.gox: html/html.lo
7a938933 3236 $(BUILDGOX)
d2822509 3237image.gox: image/image.lo
7a938933 3238 $(BUILDGOX)
d2822509 3239io.gox: io/io.lo
7a938933 3240 $(BUILDGOX)
d2822509 3241log.gox: log/log.lo
7a938933 3242 $(BUILDGOX)
d2822509 3243math.gox: math/math.lo
7a938933 3244 $(BUILDGOX)
d2822509 3245mime.gox: mime/mime.lo
7a938933 3246 $(BUILDGOX)
d2822509 3247net.gox: net/net.lo
7a938933 3248 $(BUILDGOX)
d2822509 3249os.gox: os/os.lo
7a938933 3250 $(BUILDGOX)
d2822509 3251path.gox: path/path.lo
7a938933 3252 $(BUILDGOX)
d2822509 3253reflect.gox: reflect/reflect.lo
7a938933 3254 $(BUILDGOX)
d2822509 3255regexp.gox: regexp/regexp.lo
7a938933 3256 $(BUILDGOX)
d2822509 3257runtime.gox: runtime/runtime.lo
7a938933 3258 $(BUILDGOX)
d2822509 3259sort.gox: sort/sort.lo
7a938933 3260 $(BUILDGOX)
d2822509 3261strconv.gox: strconv/strconv.lo
7a938933 3262 $(BUILDGOX)
d2822509 3263strings.gox: strings/strings.lo
7a938933 3264 $(BUILDGOX)
5133f00e 3265sync.gox: sync/sync.lo
7a938933 3266 $(BUILDGOX)
de27caac 3267syscall.gox: syscall/syscall.lo
7a938933 3268 $(BUILDGOX)
d2822509 3269testing.gox: testing/testing.lo
7a938933 3270 $(BUILDGOX)
d2822509 3271time.gox: time/time.lo
7a938933 3272 $(BUILDGOX)
d2822509 3273unicode.gox: unicode/unicode.lo
7a938933 3274 $(BUILDGOX)
7a938933 3275
d2822509 3276archive/tar.gox: archive/tar.lo
7a938933 3277 $(BUILDGOX)
d2822509 3278archive/zip.gox: archive/zip.lo
7a938933
ILT
3279 $(BUILDGOX)
3280
5133f00e
ILT
3281compress/bzip2.gox: compress/bzip2.lo
3282 $(BUILDGOX)
d2822509 3283compress/flate.gox: compress/flate.lo
7a938933 3284 $(BUILDGOX)
d2822509 3285compress/gzip.gox: compress/gzip.lo
7a938933 3286 $(BUILDGOX)
5133f00e
ILT
3287compress/lzw.gox: compress/lzw.lo
3288 $(BUILDGOX)
d2822509 3289compress/zlib.gox: compress/zlib.lo
7a938933
ILT
3290 $(BUILDGOX)
3291
d2822509 3292container/heap.gox: container/heap.lo
7a938933 3293 $(BUILDGOX)
d2822509 3294container/list.gox: container/list.lo
7a938933 3295 $(BUILDGOX)
d2822509 3296container/ring.gox: container/ring.lo
7a938933 3297 $(BUILDGOX)
7a938933 3298
d2822509 3299crypto/aes.gox: crypto/aes.lo
7a938933 3300 $(BUILDGOX)
d2822509 3301crypto/cipher.gox: crypto/cipher.lo
ff5f50c5 3302 $(BUILDGOX)
405ca104
ILT
3303crypto/des.gox: crypto/des.lo
3304 $(BUILDGOX)
5133f00e
ILT
3305crypto/dsa.gox: crypto/dsa.lo
3306 $(BUILDGOX)
8039ca76
ILT
3307crypto/ecdsa.gox: crypto/ecdsa.lo
3308 $(BUILDGOX)
d2822509 3309crypto/elliptic.gox: crypto/elliptic.lo
ff5f50c5 3310 $(BUILDGOX)
d2822509 3311crypto/hmac.gox: crypto/hmac.lo
7a938933 3312 $(BUILDGOX)
d2822509 3313crypto/md5.gox: crypto/md5.lo
7a938933 3314 $(BUILDGOX)
d2822509 3315crypto/rand.gox: crypto/rand.lo
7a938933 3316 $(BUILDGOX)
d2822509 3317crypto/rc4.gox: crypto/rc4.lo
7a938933 3318 $(BUILDGOX)
d2822509 3319crypto/rsa.gox: crypto/rsa.lo
7a938933 3320 $(BUILDGOX)
d2822509 3321crypto/sha1.gox: crypto/sha1.lo
7a938933 3322 $(BUILDGOX)
d2822509 3323crypto/sha256.gox: crypto/sha256.lo
7a938933 3324 $(BUILDGOX)
d2822509 3325crypto/sha512.gox: crypto/sha512.lo
7a938933 3326 $(BUILDGOX)
d2822509 3327crypto/subtle.gox: crypto/subtle.lo
7a938933 3328 $(BUILDGOX)
d2822509 3329crypto/tls.gox: crypto/tls.lo
7a938933 3330 $(BUILDGOX)
d2822509 3331crypto/x509.gox: crypto/x509.lo
7a938933 3332 $(BUILDGOX)
ff5f50c5 3333
adb0401d
ILT
3334crypto/x509/pkix.gox: crypto/x509/pkix.lo
3335 $(BUILDGOX)
3336
af92e385
ILT
3337database/sql.gox: database/sql.lo
3338 $(BUILDGOX)
3339
3340database/sql/driver.gox: database/sql/driver.lo
3341 $(BUILDGOX)
3342
d2822509 3343debug/dwarf.gox: debug/dwarf.lo
7a938933 3344 $(BUILDGOX)
d2822509 3345debug/elf.gox: debug/elf.lo
7a938933 3346 $(BUILDGOX)
d2822509 3347debug/gosym.gox: debug/gosym.lo
7a938933 3348 $(BUILDGOX)
d2822509 3349debug/macho.gox: debug/macho.lo
7a938933 3350 $(BUILDGOX)
d2822509 3351debug/pe.gox: debug/pe.lo
7a938933 3352 $(BUILDGOX)
7a938933 3353
d2822509 3354encoding/ascii85.gox: encoding/ascii85.lo
7a938933 3355 $(BUILDGOX)
9c63abc9
ILT
3356encoding/asn1.gox: encoding/asn1.lo
3357 $(BUILDGOX)
d2822509 3358encoding/base32.gox: encoding/base32.lo
ff5f50c5 3359 $(BUILDGOX)
d2822509 3360encoding/base64.gox: encoding/base64.lo
7a938933 3361 $(BUILDGOX)
d2822509 3362encoding/binary.gox: encoding/binary.lo
7a938933 3363 $(BUILDGOX)
9c63abc9
ILT
3364encoding/csv.gox: encoding/csv.lo
3365 $(BUILDGOX)
9c63abc9
ILT
3366encoding/gob.gox: encoding/gob.lo
3367 $(BUILDGOX)
d2822509 3368encoding/hex.gox: encoding/hex.lo
7a938933 3369 $(BUILDGOX)
9c63abc9
ILT
3370encoding/json.gox: encoding/json.lo
3371 $(BUILDGOX)
d2822509 3372encoding/pem.gox: encoding/pem.lo
7a938933 3373 $(BUILDGOX)
9c63abc9
ILT
3374encoding/xml.gox: encoding/xml.lo
3375 $(BUILDGOX)
7a938933 3376
d8f41257
ILT
3377exp/ebnf.gox: exp/ebnf.lo
3378 $(BUILDGOX)
9af4cb95
ILT
3379exp/html.gox: exp/html.lo
3380 $(BUILDGOX)
b740cb63
ILT
3381exp/inotify.gox: exp/inotify.lo
3382 $(BUILDGOX)
adb0401d
ILT
3383exp/norm.gox: exp/norm.lo
3384 $(BUILDGOX)
df1304ee
ILT
3385exp/proxy.gox: exp/proxy.lo
3386 $(BUILDGOX)
94252f4b
ILT
3387exp/signal.gox: exp/signal.lo
3388 $(BUILDGOX)
d8f41257
ILT
3389exp/terminal.gox: exp/terminal.lo
3390 $(BUILDGOX)
3391exp/types.gox: exp/types.lo
adb0401d 3392 $(BUILDGOX)
af92e385 3393exp/utf8string.gox: exp/utf8string.lo
7a938933 3394 $(BUILDGOX)
adb0401d 3395
9c63abc9 3396html/template.gox: html/template.lo
7a938933
ILT
3397 $(BUILDGOX)
3398
d2822509 3399go/ast.gox: go/ast.lo
7a938933 3400 $(BUILDGOX)
adb0401d
ILT
3401go/build.gox: go/build.lo
3402 $(BUILDGOX)
d2822509 3403go/doc.gox: go/doc.lo
7a938933 3404 $(BUILDGOX)
d2822509 3405go/parser.gox: go/parser.lo
7a938933 3406 $(BUILDGOX)
d2822509 3407go/printer.gox: go/printer.lo
7a938933 3408 $(BUILDGOX)
d2822509 3409go/scanner.gox: go/scanner.lo
7a938933 3410 $(BUILDGOX)
d2822509 3411go/token.gox: go/token.lo
7a938933 3412 $(BUILDGOX)
7a938933 3413
d2822509 3414hash/adler32.gox: hash/adler32.lo
7a938933 3415 $(BUILDGOX)
d2822509 3416hash/crc32.gox: hash/crc32.lo
7a938933 3417 $(BUILDGOX)
d2822509 3418hash/crc64.gox: hash/crc64.lo
7a938933 3419 $(BUILDGOX)
8039ca76
ILT
3420hash/fnv.gox: hash/fnv.lo
3421 $(BUILDGOX)
7a938933 3422
d8f41257
ILT
3423image/color.gox: image/color.lo
3424 $(BUILDGOX)
adb0401d
ILT
3425image/draw.gox: image/draw.lo
3426 $(BUILDGOX)
9ff56c95
ILT
3427image/gif.gox: image/gif.lo
3428 $(BUILDGOX)
d2822509 3429image/jpeg.gox: image/jpeg.lo
7a938933 3430 $(BUILDGOX)
d2822509 3431image/png.gox: image/png.lo
7a938933
ILT
3432 $(BUILDGOX)
3433
d2822509 3434index/suffixarray.gox: index/suffixarray.lo
7a938933
ILT
3435 $(BUILDGOX)
3436
d2822509 3437io/ioutil.gox: io/ioutil.lo
7a938933
ILT
3438 $(BUILDGOX)
3439
9c63abc9
ILT
3440log/syslog.gox: log/syslog.lo
3441 $(BUILDGOX)
3442
3443math/big.gox: math/big.lo
3444 $(BUILDGOX)
3445math/cmplx.gox: math/cmplx.lo
3446 $(BUILDGOX)
3447math/rand.gox: math/rand.lo
3448 $(BUILDGOX)
3449
d2822509 3450mime/multipart.gox: mime/multipart.lo
7a938933
ILT
3451 $(BUILDGOX)
3452
9c63abc9
ILT
3453net/http.gox: net/http.lo
3454 $(BUILDGOX)
3455net/mail.gox: net/mail.lo
3456 $(BUILDGOX)
3457net/rpc.gox: net/rpc.lo
3458 $(BUILDGOX)
3459net/smtp.gox: net/smtp.lo
3460 $(BUILDGOX)
d2822509 3461net/textproto.gox: net/textproto.lo
7a938933 3462 $(BUILDGOX)
9c63abc9
ILT
3463net/url.gox: net/url.lo
3464 $(BUILDGOX)
3465
3466net/http/cgi.gox: net/http/cgi.lo
3467 $(BUILDGOX)
3468net/http/fcgi.gox: net/http/fcgi.lo
3469 $(BUILDGOX)
3470net/http/httptest.gox: net/http/httptest.lo
3471 $(BUILDGOX)
3472net/http/httputil.gox: net/http/httputil.lo
3473 $(BUILDGOX)
3474net/http/pprof.gox: net/http/pprof.lo
3475 $(BUILDGOX)
3476
3477net/rpc/jsonrpc.gox: net/rpc/jsonrpc.lo
3478 $(BUILDGOX)
7a938933 3479
d8f41257
ILT
3480old/netchan.gox: old/netchan.lo
3481 $(BUILDGOX)
3482old/regexp.gox: old/regexp.lo
3483 $(BUILDGOX)
adb0401d
ILT
3484old/template.gox: old/template.lo
3485 $(BUILDGOX)
3486
9c63abc9
ILT
3487os/exec.gox: os/exec.lo
3488 $(BUILDGOX)
9ff56c95
ILT
3489os/user.gox: os/user.lo
3490 $(BUILDGOX)
7a938933 3491
8039ca76
ILT
3492path/filepath.gox: path/filepath.lo
3493 $(BUILDGOX)
3494
d8f41257
ILT
3495regexp/syntax.gox: regexp/syntax.lo
3496 $(BUILDGOX)
3497
d2822509 3498runtime/debug.gox: runtime/debug.lo
ff5f50c5 3499 $(BUILDGOX)
d2822509 3500runtime/pprof.gox: runtime/pprof.lo
7a938933
ILT
3501 $(BUILDGOX)
3502
5133f00e
ILT
3503sync/atomic.gox: sync/atomic.lo
3504 $(BUILDGOX)
3505
9c63abc9
ILT
3506text/scanner.gox: text/scanner.lo
3507 $(BUILDGOX)
3508text/tabwriter.gox: text/tabwriter.lo
3509 $(BUILDGOX)
3510text/template.gox: text/template.lo
3511 $(BUILDGOX)
3512text/template/parse.gox: text/template/parse.lo
adb0401d
ILT
3513 $(BUILDGOX)
3514
d2822509 3515testing/iotest.gox: testing/iotest.lo
7a938933 3516 $(BUILDGOX)
d2822509 3517testing/quick.gox: testing/quick.lo
7a938933 3518 $(BUILDGOX)
d2822509 3519testing/script.gox: testing/script.lo
7a938933
ILT
3520 $(BUILDGOX)
3521
9c63abc9
ILT
3522unicode/utf16.gox: unicode/utf16.lo
3523 $(BUILDGOX)
3524unicode/utf8.gox: unicode/utf8.lo
3525 $(BUILDGOX)
3526
ff5f50c5 3527if LIBGO_IS_LINUX
b740cb63
ILT
3528# exp_inotify_check = exp/inotify/check
3529exp_inotify_check =
ff5f50c5 3530else
b740cb63 3531exp_inotify_check =
ff5f50c5
ILT
3532endif
3533
7a938933 3534TEST_PACKAGES = \
7a938933
ILT
3535 bufio/check \
3536 bytes/check \
2fd401c8 3537 errors/check \
7a938933
ILT
3538 expvar/check \
3539 flag/check \
3540 fmt/check \
7a938933 3541 html/check \
adb0401d 3542 image/check \
7a938933 3543 io/check \
7a938933
ILT
3544 log/check \
3545 math/check \
3546 mime/check \
bb0ce33a 3547 net/check \
7a938933 3548 os/check \
7a938933 3549 path/check \
7a938933
ILT
3550 reflect/check \
3551 regexp/check \
7a938933 3552 runtime/check \
7a938933
ILT
3553 sort/check \
3554 strconv/check \
3555 strings/check \
3556 sync/check \
7a938933 3557 time/check \
7a938933 3558 unicode/check \
7a938933
ILT
3559 archive/tar/check \
3560 archive/zip/check \
5133f00e 3561 compress/bzip2/check \
7a938933
ILT
3562 compress/flate/check \
3563 compress/gzip/check \
5133f00e 3564 compress/lzw/check \
7a938933
ILT
3565 compress/zlib/check \
3566 container/heap/check \
3567 container/list/check \
3568 container/ring/check \
7a938933 3569 crypto/aes/check \
ff5f50c5 3570 crypto/cipher/check \
405ca104 3571 crypto/des/check \
5133f00e 3572 crypto/dsa/check \
8039ca76 3573 crypto/ecdsa/check \
ff5f50c5 3574 crypto/elliptic/check \
7a938933 3575 crypto/hmac/check \
7a938933 3576 crypto/md5/check \
7a938933
ILT
3577 crypto/rand/check \
3578 crypto/rc4/check \
7a938933
ILT
3579 crypto/rsa/check \
3580 crypto/sha1/check \
3581 crypto/sha256/check \
3582 crypto/sha512/check \
3583 crypto/subtle/check \
3584 crypto/tls/check \
3585 crypto/x509/check \
af92e385
ILT
3586 database/sql/check \
3587 database/sql/driver/check \
7a938933
ILT
3588 debug/dwarf/check \
3589 debug/elf/check \
3590 debug/macho/check \
3591 debug/pe/check \
3592 encoding/ascii85/check \
9c63abc9 3593 encoding/asn1/check \
ff5f50c5 3594 encoding/base32/check \
7a938933
ILT
3595 encoding/base64/check \
3596 encoding/binary/check \
9c63abc9 3597 encoding/csv/check \
9c63abc9 3598 encoding/gob/check \
7a938933 3599 encoding/hex/check \
9c63abc9 3600 encoding/json/check \
7a938933 3601 encoding/pem/check \
9c63abc9 3602 encoding/xml/check \
d8f41257 3603 exp/ebnf/check \
9af4cb95 3604 exp/html/check \
b740cb63 3605 $(exp_inotify_check) \
adb0401d 3606 exp/norm/check \
df1304ee 3607 exp/proxy/check \
94252f4b 3608 exp/signal/check \
d8f41257 3609 exp/terminal/check \
af92e385 3610 exp/utf8string/check \
9c63abc9 3611 html/template/check \
9ff56c95 3612 go/ast/check \
adb0401d 3613 $(go_build_check_omitted_since_it_calls_6g) \
7b1c3dd9 3614 go/doc/check \
7a938933
ILT
3615 go/parser/check \
3616 go/printer/check \
3617 go/scanner/check \
ff5f50c5 3618 go/token/check \
9ff56c95 3619 $(go_types_check_omitted_since_it_calls_6g) \
7a938933
ILT
3620 hash/adler32/check \
3621 hash/crc32/check \
3622 hash/crc64/check \
8039ca76 3623 hash/fnv/check \
df4aa89a 3624 image/color/check \
adb0401d 3625 image/draw/check \
9ff56c95 3626 image/jpeg/check \
7a938933
ILT
3627 image/png/check \
3628 index/suffixarray/check \
3629 io/ioutil/check \
9c63abc9
ILT
3630 log/syslog/check \
3631 math/big/check \
3632 math/cmplx/check \
3633 math/rand/check \
7a938933 3634 mime/multipart/check \
9c63abc9
ILT
3635 net/http/check \
3636 net/http/cgi/check \
3637 net/http/fcgi/check \
3638 net/http/httputil/check \
3639 net/mail/check \
3640 net/rpc/check \
3641 net/smtp/check \
7a938933 3642 net/textproto/check \
9c63abc9
ILT
3643 net/url/check \
3644 net/rpc/jsonrpc/check \
d8f41257
ILT
3645 old/netchan/check \
3646 old/regexp/check \
adb0401d 3647 old/template/check \
9c63abc9 3648 os/exec/check \
9ff56c95 3649 os/user/check \
8039ca76 3650 path/filepath/check \
d8f41257 3651 regexp/syntax/check \
5133f00e 3652 sync/atomic/check \
9c63abc9
ILT
3653 text/scanner/check \
3654 text/tabwriter/check \
3655 text/template/check \
3656 text/template/parse/check \
7a938933 3657 testing/quick/check \
9c63abc9
ILT
3658 testing/script/check \
3659 unicode/utf16/check \
3660 unicode/utf8/check
7a938933 3661
aa5b0a0d
ILT
3662check: check-tail
3663check-recursive: check-head
3664
3665check-head:
3666 @echo "Test Run By $${USER} on `date`" > libgo.head
3667 @echo "Native configuration is $(host_triplet)" >> libgo.head
3668 @echo >> libgo.head
3669 @echo " === libgo tests ===" >> libgo.head
3670 @echo >> libgo.head
3671
3672check-tail: check-recursive check-multi
3673 @lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
3674 for dir in . $(MULTIDIRS); do \
3675 mv ../$${dir}/$${lib}/libgo.sum ../$${dir}/$${lib}/libgo.sum.sep; \
3676 mv ../$${dir}/$${lib}/libgo.log ../$${dir}/$${lib}/libgo.log.sep; \
3677 done; \
3678 mv libgo.head libgo.sum; \
3679 cp libgo.sum libgo.log; \
3680 echo "Schedule of variations:" >> libgo.sum; \
3681 for dir in . $(MULTIDIRS); do \
3682 multidir=../$${dir}/$${lib}; \
3683 multivar=`cat $${multidir}/libgo.var`; \
3684 echo " $${multivar}" >> libgo.sum; \
3685 done; \
3686 echo >> libgo.sum; \
3687 pass=0; fail=0; untested=0; \
3688 for dir in . $(MULTIDIRS); do \
3689 multidir=../$${dir}/$${lib}; \
3690 multivar=`cat $${multidir}/libgo.var`; \
3691 echo "Running target $${multivar}" >> libgo.sum; \
3692 echo "Running $(srcdir)/libgo.exp ..." >> libgo.sum; \
3693 cat $${multidir}/libgo.sum.sep >> libgo.sum; \
3694 cat $${multidir}/libgo.log.sep >> libgo.log; \
3695 if test -n "${MULTIDIRS}"; then \
3696 echo " === libgo Summary for $${multivar} ===" >> libgo.sum; \
3697 echo >> libgo.sum; \
3698 fi; \
3699 p=`grep -c PASS $${multidir}/libgo.sum.sep`; \
3700 pass=`expr $$pass + $$p`; \
3701 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3702 echo "# of expected passes $$p" >> libgo.sum; \
3703 fi; \
3704 p=`grep -c FAIL $${multidir}/libgo.sum.sep`; \
3705 fail=`expr $$fail + $$p`; \
3706 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3707 echo "# of unexpected failures $$p" >> libgo.sum; \
3708 fi; \
3709 p=`grep -c UNTESTED $${multidir}/libgo.sum.sep`; \
3710 untested=`expr $$untested + $$p`; \
3711 if test "$$p" -ne "0" && test -n "${MULTIDIRS}"; then \
3712 echo "# of untested testcases $$p" >> libgo.sum; \
3713 fi; \
3714 done; \
3715 echo >> libgo.sum; \
3716 echo " === libgo Summary ===" >> libgo.sum; \
3717 echo >> libgo.sum; \
3718 if test "$$pass" -ne "0"; then \
3719 echo "# of expected passes $$pass" >> libgo.sum; \
3720 fi; \
3721 if test "$$fail" -ne "0"; then \
3722 echo "# of unexpected failures $$fail" >> libgo.sum; \
3723 fi; \
3724 if test "$$untested" -ne "0"; then \
3725 echo "# of untested testcases $$untested" >> libgo.sum; \
3726 fi; \
3727 echo `echo $(GOC) | sed -e 's/ .*//'` `$(GOC) -v 2>&1 | grep " version" | sed -n -e 's/.* \(version.*$$\)/\1/p'` >> libgo.sum; \
3728 echo >> libgo.log; \
3729 echo "runtest completed at `date`" >> libgo.log; \
3730 if test "$$fail" -ne "0"; then \
3731 status=1; \
3732 else \
3733 status=0; \
3734 fi; \
3735 exit $$status
3736
34ccb9c0 3737check-am:
bb0ce33a 3738 @rm -f libgo.sum libgo.log libgo.tail
aa5b0a0d
ILT
3739 @multivar="unix"; \
3740 [ -z "$(MULTIFLAGS)" ] || multivar="$${multivar}/$(MULTIFLAGS)"; \
3741 echo "$${multivar}" > libgo.var
bb0ce33a
ILT
3742 @for f in $(TEST_PACKAGES); do \
3743 rm -f $$f-testsum $$f-testlog; \
3744 done
aa5b0a0d
ILT
3745 -@$(MAKE) -k $(TEST_PACKAGES)
3746 @for f in $(TEST_PACKAGES); do \
bb0ce33a
ILT
3747 if test -f $$f-testsum; then \
3748 cat $$f-testsum >> libgo.sum; \
3749 fi; \
3750 if test -f $$f-testlog; then \
3751 cat $$f-testlog >> libgo.log; \
3752 fi; \
aa5b0a0d
ILT
3753 done
3754
3755check-multi:
3756 $(MULTIDO) $(AM_MAKEFLAGS) DO=check-am multi-do # $(MAKE)
34ccb9c0 3757
aa5b0a0d 3758MOSTLYCLEAN_FILES = libgo.head libgo.sum.sep libgo.log.sep
7a938933
ILT
3759
3760mostlyclean-local:
3761 find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
3762 find . -name '*.$(OBJEXT)' -print | xargs rm -f
bb0ce33a 3763 find . -name '*-testsum' -print | xargs rm -f
34ccb9c0
ILT
3764 find . -name '*-testlog' -print | xargs rm -f
3765
3766CLEANFILES = *.go *.gox goc2c *.c s-version libgo.sum libgo.log
7a938933
ILT
3767
3768clean-local:
3769 find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
3770 find . -name '*.a' -print | xargs rm -f