]> Cypherpunks repositories - gostls13.git/commitdiff
rebuilt Makefiles for CL 29923
authorRuss Cox <rsc@golang.org>
Sat, 6 Jun 2009 05:18:21 +0000 (22:18 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 6 Jun 2009 05:18:21 +0000 (22:18 -0700)
R=r
DELTA=761  (1 added, 433 deleted, 327 changed)
OCL=29927
CL=29966

49 files changed:
src/lib/bignum/Makefile
src/lib/bufio/Makefile
src/lib/bytes/Makefile
src/lib/container/list/Makefile
src/lib/container/vector/Makefile
src/lib/crypto/aes/Makefile
src/lib/crypto/block/Makefile
src/lib/crypto/hmac/Makefile
src/lib/crypto/md5/Makefile
src/lib/crypto/sha1/Makefile
src/lib/datafmt/Makefile
src/lib/exec/Makefile
src/lib/exvar/Makefile
src/lib/flag/Makefile
src/lib/fmt/Makefile
src/lib/go/ast/Makefile
src/lib/go/doc/Makefile
src/lib/go/parser/Makefile
src/lib/go/scanner/Makefile
src/lib/go/token/Makefile
src/lib/hash/Makefile
src/lib/hash/adler32/Makefile
src/lib/hash/crc32/Makefile
src/lib/http/Makefile
src/lib/io/Makefile
src/lib/json/Makefile
src/lib/log/Makefile
src/lib/malloc/Makefile
src/lib/math/Makefile
src/lib/net/Makefile
src/lib/once/Makefile
src/lib/os/Makefile
src/lib/path/Makefile
src/lib/rand/Makefile
src/lib/reflect/Makefile
src/lib/regexp/Makefile
src/lib/runtime/Makefile
src/lib/sort/Makefile
src/lib/strconv/Makefile
src/lib/strings/Makefile
src/lib/sync/Makefile
src/lib/syscall/Makefile
src/lib/tabwriter/Makefile
src/lib/template/Makefile
src/lib/testing/Makefile
src/lib/testing/iotest/Makefile
src/lib/time/Makefile
src/lib/unicode/Makefile
src/lib/utf8/Makefile

index fae6ed6477a55d6d8b1e5b86d003b36b96a49f1e..098b9097536b8410bd1979aa0d06eaa074dd27b4 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/bignum.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bignum.a
 
 packages: _obj$D/bignum.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/bignum.a $(GOROOT)/pkg$D/bignum.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/bignum.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bignum.a
index 7cd095aa8cf6f654740843d0294cc7f42fe71957..abb826e7fd6a5542d7cc7f402a6adaaa97b81e5e 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/bufio.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bufio.a
 
 packages: _obj$D/bufio.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/bufio.a $(GOROOT)/pkg$D/bufio.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/bufio.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bufio.a
index 7f10585c852b5d82b95230e2f89267c2633ce9db..5220d2880050b554a7551bf9f9e798c4791018f3 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/bytes.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bytes.a
 
 packages: _obj$D/bytes.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/bytes.a $(GOROOT)/pkg$D/bytes.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/bytes.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/bytes.a
index e40a81345e057b7a6cbe795a1279956d44bdced1..2a647eb2a3bf16ebc3811d8d08db2b35568295eb 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/container/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/list.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/list.a
 
 packages: _obj$D/list.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/list.a $(GOROOT)/pkg$D/list.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/list.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/list.a
index 02c8e35b6b814f736633e2b3727c31d564c0a206..20490549d32b51202cfe677d16c4490dec3a4244 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/container/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -68,10 +60,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/vector.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/vector.a
 
 packages: _obj$D/vector.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/vector.a $(GOROOT)/pkg$D/vector.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/vector.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/vector.a
index f301d0cefb1dc21f11d752565fda38d5f178153d..c62275b3c251bcfee707983f3b621ff8b9e9ae92 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/crypto/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -75,10 +67,10 @@ $(O3): a2
 $(O4): a3
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/aes.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/aes.a
 
 packages: _obj$D/aes.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/aes.a $(GOROOT)/pkg$D/aes.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/aes.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/aes.a
index d80954beff5ca06fa70bdd1beedd144b730d533d..e8bc8e90711c4e187afff4dd56c811fe58668270 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/crypto/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -81,10 +73,10 @@ $(O3): a2
 $(O4): a3
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/block.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/block.a
 
 packages: _obj$D/block.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/block.a $(GOROOT)/pkg$D/block.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/block.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/block.a
index c7a430b150137d4f535f3a26a774efbf9c0a631a..1da3f58dd518b89e74e3d957c6a00e15892318cb 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/crypto/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/hmac.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/hmac.a
 
 packages: _obj$D/hmac.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/hmac.a $(GOROOT)/pkg$D/hmac.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/hmac.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/hmac.a
index 8867b84a52ea7ca5792c6b122ace3861d574a34d..b6c88d45a6ca78cc6387d97781b8eb47e84b93ea 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/crypto/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/md5.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/md5.a
 
 packages: _obj$D/md5.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/md5.a $(GOROOT)/pkg$D/md5.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/md5.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/md5.a
index f4e1ea0dd53dd7e7399a87c31381415c8281f57c..03ffe4fd7503f7b6dde5c7e4dc3f59a9c1f21912 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/crypto/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/sha1.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sha1.a
 
 packages: _obj$D/sha1.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/sha1.a $(GOROOT)/pkg$D/sha1.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/sha1.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sha1.a
index 494b11ef919dbed9a8c2a2e659417f39195fb9b0..1546faf7ed213ccbb55328ebe49e8b9434f92077 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/datafmt.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/datafmt.a
 
 packages: _obj$D/datafmt.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/datafmt.a $(GOROOT)/pkg$D/datafmt.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/datafmt.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/datafmt.a
index 2738143bab898248f976a0b8241923d0ed670fbd..679cc39c07a952c8f87bd13a2a0222291ed6288c 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/exec.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/exec.a
 
 packages: _obj$D/exec.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/exec.a $(GOROOT)/pkg$D/exec.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/exec.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/exec.a
index fa63fde50b7045912ac8635f05b22f9af4d681df..a65a1ee6bc8dd949133f0e1f375cfbcf6709dcc0 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/exvar.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/exvar.a
 
 packages: _obj$D/exvar.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/exvar.a $(GOROOT)/pkg$D/exvar.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/exvar.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/exvar.a
index 59663912104a26246a01aba2820d239a2a1e3b66..466e19564cf9c343a04dbfa8efc496b2a3bccecb 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/flag.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/flag.a
 
 packages: _obj$D/flag.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/flag.a $(GOROOT)/pkg$D/flag.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/flag.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/flag.a
index cb7aa5db71cca8af9761a06d005686bcb4539138..5d0281a0c3be4e320fbf24ea0159a01b0212bbb3 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/fmt.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/fmt.a
 
 packages: _obj$D/fmt.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/fmt.a $(GOROOT)/pkg$D/fmt.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/fmt.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/fmt.a
index 5518580c55824b29c945ece2f0802257146bf0b6..1fd22ae71f44cb4a9231c2e4ada7bb4d1903e89a 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/go/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/ast.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/ast.a
 
 packages: _obj$D/ast.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/ast.a $(GOROOT)/pkg$D/ast.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/ast.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/ast.a
index cd62d02c4d8ca98ac76e57d08431183ded58d080..d7c6acaac3252f19267aae25a468391d491a482c 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/go/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/doc.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/doc.a
 
 packages: _obj$D/doc.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/doc.a $(GOROOT)/pkg$D/doc.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/doc.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/doc.a
index 27cacfc99ab3ba5942a2b21f5ce1c980283f2fb5..08d83646f9c2fa10b8a44548d27479121b9c6017 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/go/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/parser.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/parser.a
 
 packages: _obj$D/parser.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/parser.a $(GOROOT)/pkg$D/parser.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/parser.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/parser.a
index fc1ecf9901d37d80f509ad98184149cedc3591a1..d47fecb7c1f0a7a58eb1b2ebc26862d1e3b823d2 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/go/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/scanner.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/scanner.a
 
 packages: _obj$D/scanner.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/scanner.a $(GOROOT)/pkg$D/scanner.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/scanner.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/scanner.a
index b4e948fc9cd1e3d3d405aaeeb0b9bffe878e8dae..12ef2a4aa188abd0f2e4f62494d4655016ac9c27 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/go/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/token.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/token.a
 
 packages: _obj$D/token.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/token.a $(GOROOT)/pkg$D/token.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/token.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/token.a
index 1ac4d126025b27fc8429f873ef86dc890f1bbac5..bdbb6f347e9860320dea4dd9c1aee97acbfa8c3e 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/hash.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/hash.a
 
 packages: _obj$D/hash.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/hash.a $(GOROOT)/pkg$D/hash.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/hash.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/hash.a
index 2b47ef1558e096cd9626d8f4eace1c4e163deedc..13413125910ddf2a421a051ba8b407d9bcd8c47d 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/hash/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/adler32.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/adler32.a
 
 packages: _obj$D/adler32.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/adler32.a $(GOROOT)/pkg$D/adler32.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/adler32.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/adler32.a
index b9fd5f95243e8523294fc29c17a77861e3fa856e..08d4f5e4e052578566a98217a693ede0b3faad8d 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/hash/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/crc32.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/crc32.a
 
 packages: _obj$D/crc32.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/crc32.a $(GOROOT)/pkg$D/crc32.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/crc32.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/crc32.a
index 9de40c46898032fa449b2473931716b376cc931b..0a029497c90e9384e3b4031aafd0c1e02f3876e0 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -84,10 +76,10 @@ $(O4): a3
 $(O5): a4
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/http.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/http.a
 
 packages: _obj$D/http.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/http.a $(GOROOT)/pkg$D/http.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/http.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/http.a
index 2e82070143bc0434ab9257b6482cbd1c492306c8..219ea776be9f32fbbf94a8b201013771bf70d7be 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -69,10 +61,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/io.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/io.a
 
 packages: _obj$D/io.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/io.a $(GOROOT)/pkg$D/io.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/io.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/io.a
index d2dfbb3bc36b211f50734753f4624fa650afe466..2d70c2cf8b55f9e94c5d595db8cffdbf0bd8e10a 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -68,10 +60,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/json.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/json.a
 
 packages: _obj$D/json.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/json.a $(GOROOT)/pkg$D/json.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/json.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/json.a
index b135ec31fe5092d6e904ef6870cef23fa7a8a1d7..4b1c4b5a2f43b69d647efa6881d369a46d9b03ca 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/log.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/log.a
 
 packages: _obj$D/log.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/log.a $(GOROOT)/pkg$D/log.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/log.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/log.a
index 771896005b43e030de200a3ba81e3e2c0d3903e2..61894f71f42dbe9111cb4d2ef3bed617831e1699 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/malloc.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/malloc.a
 
 packages: _obj$D/malloc.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/malloc.a $(GOROOT)/pkg$D/malloc.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/malloc.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/malloc.a
index 1a85275624c4fc7b9931b29692a9ba625d970792..058049072f33df4ca0538a9c02613cbf45b92db0 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -97,10 +89,10 @@ $(O4): a3
 $(O5): a4
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/math.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/math.a
 
 packages: _obj$D/math.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/math.a $(GOROOT)/pkg$D/math.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/math.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/math.a
index 0bbc4a0db3c52408b50a582198897961ab61a933..61c8720892573ac0331b86238588557fb9d6b161 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -95,10 +87,10 @@ $(O5): a4
 $(O6): a5
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/net.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/net.a
 
 packages: _obj$D/net.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/net.a $(GOROOT)/pkg$D/net.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/net.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/net.a
index 7e700520d77a7c8692e68e2d9075aa5a0c57ebce..6350402c2eb73854477c0fc98e50bc5e831f681a 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/once.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/once.a
 
 packages: _obj$D/once.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/once.a $(GOROOT)/pkg$D/once.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/once.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/once.a
index 4a53a26f9be5764ff6a0f9ad800f73db575fa79b..c5f790f15d0a75a51b24a772efe97d7328df13df 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -90,10 +82,10 @@ $(O4): a3
 $(O5): a4
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/os.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/os.a
 
 packages: _obj$D/os.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/os.a $(GOROOT)/pkg$D/os.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/os.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/os.a
index 020a66035c178c7d716b93237c5c0cdd32ae792a..d9f9fd562b826e2546aaa997a367c0fe928115d9 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/path.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/path.a
 
 packages: _obj$D/path.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/path.a $(GOROOT)/pkg$D/path.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/path.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/path.a
index b0a415f27afda045e146a9f5cc1feb7da203bdb7..63d26ac99c97b2cf1e9930791ffd27004fb9dce8 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/rand.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/rand.a
 
 packages: _obj$D/rand.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/rand.a $(GOROOT)/pkg$D/rand.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/rand.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/rand.a
index d6e5fc17b505eb0a58f81d07e4956da733ef8ba5..d622ffd51e64011c6c3b1a92f7cc60bc05e3769e 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -77,10 +69,10 @@ $(O3): a2
 $(O4): a3
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/reflect.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/reflect.a
 
 packages: _obj$D/reflect.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/reflect.a $(GOROOT)/pkg$D/reflect.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/reflect.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/reflect.a
index 4acc7ddb6faa28d32b12c3a2d6556f5bcb742686..0312d510ef8b72d2fa6e9744788d47011f508a33 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/regexp.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/regexp.a
 
 packages: _obj$D/regexp.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/regexp.a $(GOROOT)/pkg$D/regexp.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/regexp.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/regexp.a
index 1cdc617df7fccf3557fab6d463125e23ffc627ed..21bf4a8a888315dbb1221c3d5fb348101d22b3e4 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/runtime.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/runtime.a
 
 packages: _obj$D/runtime.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/runtime.a $(GOROOT)/pkg$D/runtime.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/runtime.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/runtime.a
index 0a360ac4d207a330faa0509415799ac1c60b0c2e..4d193f85978d6c8bef75839ef24e1c8c37906d21 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/sort.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sort.a
 
 packages: _obj$D/sort.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/sort.a $(GOROOT)/pkg$D/sort.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/sort.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sort.a
index 956c4791234b7627d40ac7c04b1e2a8156485ea6..499f8c1c145ab4691816d96ffb2429c469204cdf 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -78,10 +70,10 @@ $(O3): a2
 $(O4): a3
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/strconv.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/strconv.a
 
 packages: _obj$D/strconv.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/strconv.a $(GOROOT)/pkg$D/strconv.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/strconv.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/strconv.a
index 9372f4d16e5cfc2be9adb1142739a285f70ed29d..b6660cfc7057d2d19f407f684b1da3a0fcaf79f9 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/strings.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/strings.a
 
 packages: _obj$D/strings.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/strings.a $(GOROOT)/pkg$D/strings.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/strings.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/strings.a
index e8e45ad4767faf192f45e5e8625d03eca670b9fc..566853d576a60703b825943d39e8c2e33a599b91 100644 (file)
@@ -3,20 +3,12 @@
 # license that can be found in the LICENSE file.
 
 # DO NOT EDIT.  Automatically generated by gobuild.
-# gobuild -m >Makefile
+# gobuild -m asm_${GOARCH}.s mutex.go >Makefile
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -60,10 +52,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/sync.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sync.a
 
 packages: _obj$D/sync.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/sync.a $(GOROOT)/pkg$D/sync.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/sync.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/sync.a
index 0e25b22a72d21a8ac4fdf23cc62331dd7ff30622..a5cc042d7b83a5b90a51862a277f4e6b63ecb11c 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -96,10 +88,10 @@ $(O5): a4
 $(O6): a5
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/syscall.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/syscall.a
 
 packages: _obj$D/syscall.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/syscall.a $(GOROOT)/pkg$D/syscall.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/syscall.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/syscall.a
index 1af7625dc0c9d65435e27ccae04aebbb401c9ece..1c4518066121c8e4d4ce670ca9eecd849fa63c0e 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/tabwriter.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/tabwriter.a
 
 packages: _obj$D/tabwriter.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/tabwriter.a $(GOROOT)/pkg$D/tabwriter.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/tabwriter.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/tabwriter.a
index 063683cf3b178a38614690418d19c05e536e3eb7..e91c0881865c5c45d9c3a322363a6653e4ac97ff 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/template.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/template.a
 
 packages: _obj$D/template.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/template.a $(GOROOT)/pkg$D/template.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/template.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/template.a
index f8adc5934dedeb599f81a5f0b6efeb90ff3d09d6..493eba6f28d4a8fa636219c5d2f43175112a703f 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/testing.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/testing.a
 
 packages: _obj$D/testing.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/testing.a $(GOROOT)/pkg$D/testing.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/testing.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/testing.a
index 1ca8d816031b8232814ffc76b9e12ee0492b93b5..1d01041f53dda6346b9c7da58f0a7184bc5ff8e9 100644 (file)
@@ -7,16 +7,8 @@
 
 D=/testing/
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -60,10 +52,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/iotest.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/iotest.a
 
 packages: _obj$D/iotest.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/iotest.a $(GOROOT)/pkg$D/iotest.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/iotest.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/iotest.a
index 178ee729928e7777febc3e08f5b182e358004b10..8d3c3b65f6b1fdfb12a4c50a83c3214c3a6845f0 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -76,10 +68,10 @@ $(O3): a2
 $(O4): a3
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/time.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/time.a
 
 packages: _obj$D/time.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/time.a $(GOROOT)/pkg$D/time.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/time.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/time.a
index e21c0066a098c65f89d9d821989956b4870e6cb1..de1677b8de5920a1209169232b29a82552dee4db 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -67,10 +59,10 @@ $(O2): a1
 $(O3): a2
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/unicode.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/unicode.a
 
 packages: _obj$D/unicode.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/unicode.a $(GOROOT)/pkg$D/unicode.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/unicode.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/unicode.a
index 2919ddb4e07fc3304cc6fa9c8291aad36ce4a6d9..b5ad083b2d4a292c9a4b28ae08d4f778822d0ad3 100644 (file)
@@ -7,16 +7,8 @@
 
 D=
 
-O_arm=5
-O_amd64=6
-O_386=8
-OS=568vq
-
-O=$(O_$(GOARCH))
-GC=$(O)g -I_obj
-CC=$(O)c -FVw
-AS=$(O)a
-AR=6ar
+include $(GOROOT)/src/Make.$(GOARCH)
+AR=gopack
 
 default: packages
 
@@ -31,7 +23,7 @@ coverage: packages
        6cov -g `pwd` | grep -v '_test\.go:'
 
 %.$O: %.go
-       $(GC) $*.go
+       $(GC) -I_obj $*.go
 
 %.$O: %.c
        $(CC) $*.c
@@ -59,10 +51,10 @@ $(O1): newpkg
 $(O2): a1
 
 nuke: clean
-       rm -f $(GOROOT)/pkg$D/utf8.a
+       rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/utf8.a
 
 packages: _obj$D/utf8.a
 
 install: packages
-       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
-       cp _obj$D/utf8.a $(GOROOT)/pkg$D/utf8.a
+       test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D
+       cp _obj$D/utf8.a $(GOROOT)/pkg/$(GOOS)_$(GOARCH)$D/utf8.a