OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [Makefile.am] - Blame information for rev 747

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.