Commit 1f6463f8 authored by Russ Cox's avatar Russ Cox

Convert go tree to hierarchical pkg directory:

	import (
		"vector" -> "container/vector"
		"ast" -> "go/ast"
		"sha1" -> "hash/sha1"
		etc.
	)

and update Makefiles.  Because I did the conversion
semi-automatically, I sorted all the import blocks
as a post-processing.  Some files have therefore
changed that didn't strictly need to.

Rename local packages to lower case.
The upper/lower distinction doesn't work on OS X
and complicates the "single-package directories
with the same package name as directory name"
heuristic used by gobuild and godoc to create
the correlation between source and binary locations.
Now that we have a plan to avoid globally unique
names, the upper/lower is unnecessary.

The renamings will cause trouble for a few users,
but so will the change in import paths.
This way, the two maintenance fixes are rolled into
one inconvenience.

R=r
OCL=27573
CL=27575
parent 0f153ec6
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
package bufio package bufio
import ( import (
"os";
"io"; "io";
"os";
"utf8"; "utf8";
) )
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=/container
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -46,32 +48,34 @@ O2=\ ...@@ -46,32 +48,34 @@ O2=\
phases: a1 a2 phases: a1 a2
vector.a: phases _obj$D/vector.a: phases
iterable.a: phases _obj$D/iterable.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc vector.a vector.$O $(AR) grc _obj$D/vector.a vector.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc vector.a intvector.$O $(AR) grc _obj$D/vector.a intvector.$O
$(AR) grc iterable.a iterable.$O $(AR) grc _obj$D/iterable.a iterable.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc vector.a mkdir -p _obj$D
$(AR) grc iterable.a $(AR) grc _obj$D/vector.a
$(AR) grc _obj$D/iterable.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/vector.a $(GOROOT)/pkg/iterable.a rm -f $(GOROOT)/pkg$D/vector.a $(GOROOT)/pkg$D/iterable.a
packages: vector.a iterable.a packages: _obj$D/vector.a _obj$D/iterable.a
install: packages install: packages
cp vector.a $(GOROOT)/pkg/vector.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp iterable.a $(GOROOT)/pkg/iterable.a cp _obj$D/vector.a $(GOROOT)/pkg$D/vector.a
cp _obj$D/iterable.a $(GOROOT)/pkg$D/iterable.a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package vector package vector
import "vector" import "container/vector"
// IntVector is a specialization of Vector that hides the wrapping of Elements around ints. // IntVector is a specialization of Vector that hides the wrapping of Elements around ints.
type IntVector struct { type IntVector struct {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// something that would produce an infinite amount of data. // something that would produce an infinite amount of data.
package iterable package iterable
import "vector" import "container/vector"
type Iterable interface { type Iterable interface {
// Iter should return a fresh channel each time it is called. // Iter should return a fresh channel each time it is called.
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package iterable package iterable
import ( import (
"iterable"; "container/iterable";
"testing"; "testing";
) )
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package vector package vector
import "vector" import "container/vector"
import "testing" import "testing"
import "sort" import "sort"
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -45,28 +47,30 @@ O2=\ ...@@ -45,28 +47,30 @@ O2=\
phases: a1 a2 phases: a1 a2
fmt.a: phases _obj$D/fmt.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc fmt.a format.$O $(AR) grc _obj$D/fmt.a format.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc fmt.a print.$O $(AR) grc _obj$D/fmt.a print.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc fmt.a mkdir -p _obj$D
$(AR) grc _obj$D/fmt.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/fmt.a rm -f $(GOROOT)/pkg$D/fmt.a
packages: fmt.a packages: _obj$D/fmt.a
install: packages install: packages
cp fmt.a $(GOROOT)/pkg/fmt.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/fmt.a $(GOROOT)/pkg$D/fmt.a
...@@ -21,8 +21,8 @@ package fmt ...@@ -21,8 +21,8 @@ package fmt
import ( import (
"fmt"; "fmt";
"io"; "io";
"reflect";
"os"; "os";
"reflect";
"utf8"; "utf8";
) )
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=/go
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -49,30 +51,31 @@ O3=\ ...@@ -49,30 +51,31 @@ O3=\
phases: a1 a2 a3 phases: a1 a2 a3
ast.a: phases _obj$D/ast.a: phases
parser.a: phases _obj$D/parser.a: phases
scanner.a: phases _obj$D/scanner.a: phases
token.a: phases _obj$D/token.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc token.a token.$O $(AR) grc _obj$D/token.a token.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc scanner.a scanner.$O $(AR) grc _obj$D/scanner.a scanner.$O
$(AR) grc ast.a ast.$O $(AR) grc _obj$D/ast.a ast.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc parser.a parser.$O $(AR) grc _obj$D/parser.a parser.$O
rm -f $(O3) rm -f $(O3)
newpkg: clean newpkg: clean
$(AR) grc ast.a mkdir -p _obj$D
$(AR) grc parser.a $(AR) grc _obj$D/ast.a
$(AR) grc scanner.a $(AR) grc _obj$D/parser.a
$(AR) grc token.a $(AR) grc _obj$D/scanner.a
$(AR) grc _obj$D/token.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -80,12 +83,13 @@ $(O3): a2 ...@@ -80,12 +83,13 @@ $(O3): a2
$(O4): a3 $(O4): a3
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/ast.a $(GOROOT)/pkg/parser.a $(GOROOT)/pkg/scanner.a $(GOROOT)/pkg/token.a rm -f $(GOROOT)/pkg$D/ast.a $(GOROOT)/pkg$D/parser.a $(GOROOT)/pkg$D/scanner.a $(GOROOT)/pkg$D/token.a
packages: ast.a parser.a scanner.a token.a packages: _obj$D/ast.a _obj$D/parser.a _obj$D/scanner.a _obj$D/token.a
install: packages install: packages
cp ast.a $(GOROOT)/pkg/ast.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp parser.a $(GOROOT)/pkg/parser.a cp _obj$D/ast.a $(GOROOT)/pkg$D/ast.a
cp scanner.a $(GOROOT)/pkg/scanner.a cp _obj$D/parser.a $(GOROOT)/pkg$D/parser.a
cp token.a $(GOROOT)/pkg/token.a cp _obj$D/scanner.a $(GOROOT)/pkg$D/scanner.a
cp _obj$D/token.a $(GOROOT)/pkg$D/token.a
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package ast package ast
import ( import (
"token"; "go/token";
"unicode"; "unicode";
"utf8"; "utf8";
) )
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
package parser package parser
import ( import (
"ast"; "container/vector";
"fmt"; "fmt";
"go/ast";
"go/scanner";
"go/token";
"io"; "io";
"scanner";
"token";
"vector";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package parser package parser
import ( import (
"ast"; "go/ast";
"go/parser";
"os"; "os";
"parser";
"testing"; "testing";
) )
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
package scanner package scanner
import ( import (
"utf8"; "go/token";
"unicode";
"strconv"; "strconv";
"token"; "unicode";
"utf8";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package scanner package scanner
import ( import (
"go/scanner";
"go/token";
"io"; "io";
"token";
"scanner";
"testing"; "testing";
) )
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=/hash
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -49,41 +51,43 @@ O2=\ ...@@ -49,41 +51,43 @@ O2=\
phases: a1 a2 phases: a1 a2
adler32.a: phases _obj$D/adler32.a: phases
crc32.a: phases _obj$D/crc32.a: phases
md5.a: phases _obj$D/md5.a: phases
sha1.a: phases _obj$D/sha1.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc adler32.a adler32.$O $(AR) grc _obj$D/adler32.a adler32.$O
$(AR) grc sha1.a sha1.$O $(AR) grc _obj$D/sha1.a sha1.$O
$(AR) grc md5.a md5.$O $(AR) grc _obj$D/md5.a md5.$O
$(AR) grc crc32.a crc32.$O $(AR) grc _obj$D/crc32.a crc32.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc sha1.a sha1block.$O $(AR) grc _obj$D/sha1.a sha1block.$O
$(AR) grc md5.a md5block.$O $(AR) grc _obj$D/md5.a md5block.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc adler32.a mkdir -p _obj$D
$(AR) grc crc32.a $(AR) grc _obj$D/adler32.a
$(AR) grc md5.a $(AR) grc _obj$D/crc32.a
$(AR) grc sha1.a $(AR) grc _obj$D/md5.a
$(AR) grc _obj$D/sha1.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/adler32.a $(GOROOT)/pkg/crc32.a $(GOROOT)/pkg/md5.a $(GOROOT)/pkg/sha1.a rm -f $(GOROOT)/pkg$D/adler32.a $(GOROOT)/pkg$D/crc32.a $(GOROOT)/pkg$D/md5.a $(GOROOT)/pkg$D/sha1.a
packages: adler32.a crc32.a md5.a sha1.a packages: _obj$D/adler32.a _obj$D/crc32.a _obj$D/md5.a _obj$D/sha1.a
install: packages install: packages
cp adler32.a $(GOROOT)/pkg/adler32.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp crc32.a $(GOROOT)/pkg/crc32.a cp _obj$D/adler32.a $(GOROOT)/pkg$D/adler32.a
cp md5.a $(GOROOT)/pkg/md5.a cp _obj$D/crc32.a $(GOROOT)/pkg$D/crc32.a
cp sha1.a $(GOROOT)/pkg/sha1.a cp _obj$D/md5.a $(GOROOT)/pkg$D/md5.a
cp _obj$D/sha1.a $(GOROOT)/pkg$D/sha1.a
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package adler32 package adler32
import ( import (
"adler32"; "hash/adler32";
"io"; "io";
"testing"; "testing";
) )
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package crc32 package crc32
import ( import (
"crc32"; "hash/crc32";
"io"; "io";
"testing"; "testing";
) )
......
...@@ -6,8 +6,8 @@ package md5 ...@@ -6,8 +6,8 @@ package md5
import ( import (
"fmt"; "fmt";
"hash/md5";
"io"; "io";
"md5";
"testing"; "testing";
) )
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package md5 package md5
import "md5" import "hash/md5"
// table[i] = int((1<<32) * abs(sin(i+1 radians))). // table[i] = int((1<<32) * abs(sin(i+1 radians))).
var table = []uint32 { var table = []uint32 {
......
...@@ -8,8 +8,8 @@ package sha1 ...@@ -8,8 +8,8 @@ package sha1
import ( import (
"fmt"; "fmt";
"hash/sha1";
"io"; "io";
"sha1";
"testing"; "testing";
) )
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package sha1 package sha1
import "sha1" import "hash/sha1"
const ( const (
_K0 = 0x5A827999; _K0 = 0x5A827999;
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -52,27 +54,28 @@ O4=\ ...@@ -52,27 +54,28 @@ O4=\
phases: a1 a2 a3 a4 phases: a1 a2 a3 a4
http.a: phases _obj$D/http.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc http.a status.$O url.$O $(AR) grc _obj$D/http.a status.$O url.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc http.a request.$O $(AR) grc _obj$D/http.a request.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc http.a server.$O $(AR) grc _obj$D/http.a server.$O
rm -f $(O3) rm -f $(O3)
a4: $(O4) a4: $(O4)
$(AR) grc http.a fs.$O $(AR) grc _obj$D/http.a fs.$O
rm -f $(O4) rm -f $(O4)
newpkg: clean newpkg: clean
$(AR) grc http.a mkdir -p _obj$D
$(AR) grc _obj$D/http.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -81,9 +84,10 @@ $(O4): a3 ...@@ -81,9 +84,10 @@ $(O4): a3
$(O5): a4 $(O5): a4
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/http.a rm -f $(GOROOT)/pkg$D/http.a
packages: http.a packages: _obj$D/http.a
install: packages install: packages
cp http.a $(GOROOT)/pkg/http.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/http.a $(GOROOT)/pkg$D/http.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -46,28 +48,30 @@ O2=\ ...@@ -46,28 +48,30 @@ O2=\
phases: a1 a2 phases: a1 a2
io.a: phases _obj$D/io.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc io.a bytebuffer.$O io.$O $(AR) grc _obj$D/io.a bytebuffer.$O io.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc io.a pipe.$O $(AR) grc _obj$D/io.a pipe.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc io.a mkdir -p _obj$D
$(AR) grc _obj$D/io.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/io.a rm -f $(GOROOT)/pkg$D/io.a
packages: io.a packages: _obj$D/io.a
install: packages install: packages
cp io.a $(GOROOT)/pkg/io.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/io.a $(GOROOT)/pkg$D/io.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -46,28 +48,30 @@ O2=\ ...@@ -46,28 +48,30 @@ O2=\
phases: a1 a2 phases: a1 a2
json.a: phases _obj$D/json.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc json.a parse.$O $(AR) grc _obj$D/json.a parse.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc json.a generic.$O struct.$O $(AR) grc _obj$D/json.a generic.$O struct.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc json.a mkdir -p _obj$D
$(AR) grc _obj$D/json.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/json.a rm -f $(GOROOT)/pkg$D/json.a
packages: json.a packages: _obj$D/json.a
install: packages install: packages
cp json.a $(GOROOT)/pkg/json.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/json.a $(GOROOT)/pkg$D/json.a
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
package json package json
import ( import (
"container/vector";
"fmt"; "fmt";
"math";
"json"; "json";
"math";
"strconv"; "strconv";
"strings"; "strings";
"vector";
) )
// Integers identifying the data type in the Json interface. // Integers identifying the data type in the Json interface.
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -65,27 +67,28 @@ O4=\ ...@@ -65,27 +67,28 @@ O4=\
phases: a1 a2 a3 a4 phases: a1 a2 a3 a4
math.a: phases _obj$D/math.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc math.a const.$O fabs.$O hypot.$O pow10.$O runtime.$O $(AR) grc _obj$D/math.a const.$O fabs.$O hypot.$O pow10.$O runtime.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc math.a atan.$O exp.$O floor.$O fmod.$O log.$O sin.$O sqrt.$O tan.$O $(AR) grc _obj$D/math.a atan.$O exp.$O floor.$O fmod.$O log.$O sin.$O sqrt.$O tan.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc math.a asin.$O atan2.$O pow.$O sinh.$O $(AR) grc _obj$D/math.a asin.$O atan2.$O pow.$O sinh.$O
rm -f $(O3) rm -f $(O3)
a4: $(O4) a4: $(O4)
$(AR) grc math.a tanh.$O $(AR) grc _obj$D/math.a tanh.$O
rm -f $(O4) rm -f $(O4)
newpkg: clean newpkg: clean
$(AR) grc math.a mkdir -p _obj$D
$(AR) grc _obj$D/math.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -94,9 +97,10 @@ $(O4): a3 ...@@ -94,9 +97,10 @@ $(O4): a3
$(O5): a4 $(O5): a4
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/math.a rm -f $(GOROOT)/pkg$D/math.a
packages: math.a packages: _obj$D/math.a
install: packages install: packages
cp math.a $(GOROOT)/pkg/math.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/math.a $(GOROOT)/pkg$D/math.a
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
package net package net
import ( import (
"net";
"flag"; "flag";
"fmt"; "fmt";
"io"; "io";
"net";
"os"; "os";
"testing"; "testing";
) )
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
package net package net
import ( import (
"os";
"net"; "net";
"os";
"strconv"; "strconv";
"syscall"; "syscall";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package net package net
import ( import (
"net";
"os"; "os";
"syscall"; "syscall";
"net";
"unsafe"; "unsafe";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package net package net
import ( import (
"net";
"os"; "os";
"syscall"; "syscall";
"net";
"unsafe"; "unsafe";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package net package net
import ( import (
"os";
"io"; "io";
"net"; "net";
"os";
"testing"; "testing";
) )
......
...@@ -6,9 +6,9 @@ package net ...@@ -6,9 +6,9 @@ package net
import ( import (
"net"; "net";
"os";
"testing"; "testing";
"time"; "time";
"os";
) )
func testTimeout(t *testing.T, network, addr string) { func testTimeout(t *testing.T, network, addr string) {
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m dir_${GOARCH}_${GOOS}.go env.go error.go file.go stat_${GOARCH}_${GOOS}.go time.go types.go exec.go >Makefile # gobuild -m dir_${GOARCH}_${GOOS}.go env.go error.go file.go stat_${GOARCH}_${GOOS}.go time.go types.go exec.go >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -55,27 +57,28 @@ O4=\ ...@@ -55,27 +57,28 @@ O4=\
phases: a1 a2 a3 a4 phases: a1 a2 a3 a4
os.a: phases _obj$D/os.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc os.a error.$O types.$O $(AR) grc _obj$D/os.a error.$O types.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc os.a env.$O stat_$(GOARCH)_$(GOOS).$O time.$O $(AR) grc _obj$D/os.a env.$O stat_$(GOARCH)_$(GOOS).$O time.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc os.a file.$O $(AR) grc _obj$D/os.a file.$O
rm -f $(O3) rm -f $(O3)
a4: $(O4) a4: $(O4)
$(AR) grc os.a dir_$(GOARCH)_$(GOOS).$O exec.$O $(AR) grc _obj$D/os.a dir_$(GOARCH)_$(GOOS).$O exec.$O
rm -f $(O4) rm -f $(O4)
newpkg: clean newpkg: clean
$(AR) grc os.a mkdir -p _obj$D
$(AR) grc _obj$D/os.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -84,9 +87,10 @@ $(O4): a3 ...@@ -84,9 +87,10 @@ $(O4): a3
$(O5): a4 $(O5): a4
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/os.a rm -f $(GOROOT)/pkg$D/os.a
packages: os.a packages: _obj$D/os.a
install: packages install: packages
cp os.a $(GOROOT)/pkg/os.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/os.a $(GOROOT)/pkg$D/os.a
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
package os package os
import ( import (
"syscall";
"os"; "os";
"syscall";
"unsafe"; "unsafe";
) )
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
package os package os
import ( import (
"syscall";
"os"; "os";
"syscall";
"unsafe"; "unsafe";
) )
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -50,23 +52,24 @@ O3=\ ...@@ -50,23 +52,24 @@ O3=\
phases: a1 a2 a3 phases: a1 a2 a3
reflect.a: phases _obj$D/reflect.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc reflect.a type.$O typestring.$O $(AR) grc _obj$D/reflect.a type.$O typestring.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc reflect.a value.$O $(AR) grc _obj$D/reflect.a value.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc reflect.a deepequal.$O tostring.$O $(AR) grc _obj$D/reflect.a deepequal.$O tostring.$O
rm -f $(O3) rm -f $(O3)
newpkg: clean newpkg: clean
$(AR) grc reflect.a mkdir -p _obj$D
$(AR) grc _obj$D/reflect.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -74,9 +77,10 @@ $(O3): a2 ...@@ -74,9 +77,10 @@ $(O3): a2
$(O4): a3 $(O4): a3
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/reflect.a rm -f $(GOROOT)/pkg$D/reflect.a
packages: reflect.a packages: _obj$D/reflect.a
install: packages install: packages
cp reflect.a $(GOROOT)/pkg/reflect.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/reflect.a $(GOROOT)/pkg$D/reflect.a
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
package reflect package reflect
import ( import (
"utf8";
"sync"; "sync";
"unsafe"; "unsafe";
"utf8";
) )
type Type interface type Type interface
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -42,23 +44,25 @@ O1=\ ...@@ -42,23 +44,25 @@ O1=\
phases: a1 phases: a1
regexp.a: phases _obj$D/regexp.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc regexp.a regexp.$O $(AR) grc _obj$D/regexp.a regexp.$O
rm -f $(O1) rm -f $(O1)
newpkg: clean newpkg: clean
$(AR) grc regexp.a mkdir -p _obj$D
$(AR) grc _obj$D/regexp.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/regexp.a rm -f $(GOROOT)/pkg$D/regexp.a
packages: regexp.a packages: _obj$D/regexp.a
install: packages install: packages
cp regexp.a $(GOROOT)/pkg/regexp.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/regexp.a $(GOROOT)/pkg$D/regexp.a
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
package regexp package regexp
import ( import (
"container/vector";
"os"; "os";
"utf8"; "utf8";
"vector";
) )
var debug = false; var debug = false;
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -51,23 +53,24 @@ O3=\ ...@@ -51,23 +53,24 @@ O3=\
phases: a1 a2 a3 phases: a1 a2 a3
strconv.a: phases _obj$D/strconv.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc strconv.a atoi.$O decimal.$O itoa.$O quote.$O $(AR) grc _obj$D/strconv.a atoi.$O decimal.$O itoa.$O quote.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc strconv.a ftoa.$O $(AR) grc _obj$D/strconv.a ftoa.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc strconv.a atof.$O $(AR) grc _obj$D/strconv.a atof.$O
rm -f $(O3) rm -f $(O3)
newpkg: clean newpkg: clean
$(AR) grc strconv.a mkdir -p _obj$D
$(AR) grc _obj$D/strconv.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -75,9 +78,10 @@ $(O3): a2 ...@@ -75,9 +78,10 @@ $(O3): a2
$(O4): a3 $(O4): a3
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/strconv.a rm -f $(GOROOT)/pkg$D/strconv.a
packages: strconv.a packages: _obj$D/strconv.a
install: packages install: packages
cp strconv.a $(GOROOT)/pkg/strconv.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/strconv.a $(GOROOT)/pkg$D/strconv.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -43,23 +45,25 @@ O1=\ ...@@ -43,23 +45,25 @@ O1=\
phases: a1 phases: a1
sync.a: phases _obj$D/sync.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc sync.a asm_$(GOARCH).$O mutex.$O $(AR) grc _obj$D/sync.a asm_$(GOARCH).$O mutex.$O
rm -f $(O1) rm -f $(O1)
newpkg: clean newpkg: clean
$(AR) grc sync.a mkdir -p _obj$D
$(AR) grc _obj$D/sync.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/sync.a rm -f $(GOROOT)/pkg$D/sync.a
packages: sync.a packages: _obj$D/sync.a
install: packages install: packages
cp sync.a $(GOROOT)/pkg/sync.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/sync.a $(GOROOT)/pkg$D/sync.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m errstr_${GOOS}.go file_${GOOS}.go socket_${GOOS}.go syscall_${GOARCH}_${GOOS}.go time_${GOARCH}_${GOOS}.go types_${GOARCH}_${GOOS}.go asm_${GOARCH}_${GOOS}.s syscall.go signal_${GOARCH}_${GOOS}.go exec.go >Makefile # gobuild -m errstr_${GOOS}.go file_${GOOS}.go socket_${GOOS}.go syscall_${GOARCH}_${GOOS}.go time_${GOARCH}_${GOOS}.go types_${GOARCH}_${GOOS}.go asm_${GOARCH}_${GOOS}.s syscall.go signal_${GOARCH}_${GOOS}.go exec.go >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -57,27 +59,28 @@ O4=\ ...@@ -57,27 +59,28 @@ O4=\
phases: a1 a2 a3 a4 phases: a1 a2 a3 a4
syscall.a: phases _obj$D/syscall.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc syscall.a asm_$(GOARCH)_$(GOOS).$O errstr_$(GOOS).$O signal_$(GOARCH)_$(GOOS).$O syscall.$O syscall_$(GOARCH)_$(GOOS).$O $(AR) grc _obj$D/syscall.a asm_$(GOARCH)_$(GOOS).$O errstr_$(GOOS).$O signal_$(GOARCH)_$(GOOS).$O syscall.$O syscall_$(GOARCH)_$(GOOS).$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc syscall.a types_$(GOARCH)_$(GOOS).$O $(AR) grc _obj$D/syscall.a types_$(GOARCH)_$(GOOS).$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc syscall.a file_$(GOOS).$O socket_$(GOOS).$O time_$(GOARCH)_$(GOOS).$O $(AR) grc _obj$D/syscall.a file_$(GOOS).$O socket_$(GOOS).$O time_$(GOARCH)_$(GOOS).$O
rm -f $(O3) rm -f $(O3)
a4: $(O4) a4: $(O4)
$(AR) grc syscall.a exec.$O $(AR) grc _obj$D/syscall.a exec.$O
rm -f $(O4) rm -f $(O4)
newpkg: clean newpkg: clean
$(AR) grc syscall.a mkdir -p _obj$D
$(AR) grc _obj$D/syscall.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -86,9 +89,10 @@ $(O4): a3 ...@@ -86,9 +89,10 @@ $(O4): a3
$(O5): a4 $(O5): a4
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/syscall.a rm -f $(GOROOT)/pkg$D/syscall.a
packages: syscall.a packages: _obj$D/syscall.a
install: packages install: packages
cp syscall.a $(GOROOT)/pkg/syscall.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/syscall.a $(GOROOT)/pkg$D/syscall.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -42,23 +44,25 @@ O1=\ ...@@ -42,23 +44,25 @@ O1=\
phases: a1 phases: a1
tabwriter.a: phases _obj$D/tabwriter.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc tabwriter.a tabwriter.$O $(AR) grc _obj$D/tabwriter.a tabwriter.$O
rm -f $(O1) rm -f $(O1)
newpkg: clean newpkg: clean
$(AR) grc tabwriter.a mkdir -p _obj$D
$(AR) grc _obj$D/tabwriter.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/tabwriter.a rm -f $(GOROOT)/pkg$D/tabwriter.a
packages: tabwriter.a packages: _obj$D/tabwriter.a
install: packages install: packages
cp tabwriter.a $(GOROOT)/pkg/tabwriter.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/tabwriter.a $(GOROOT)/pkg$D/tabwriter.a
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
package tabwriter package tabwriter
import ( import (
"os"; "container/vector";
"io"; "io";
"vector"; "os";
"utf8"; "utf8";
) )
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
package tabwriter package tabwriter
import ( import (
"os";
"io"; "io";
"os";
"tabwriter"; "tabwriter";
"testing"; "testing";
) )
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -45,28 +47,30 @@ O2=\ ...@@ -45,28 +47,30 @@ O2=\
phases: a1 a2 phases: a1 a2
template.a: phases _obj$D/template.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc template.a format.$O $(AR) grc _obj$D/template.a format.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc template.a template.$O $(AR) grc _obj$D/template.a template.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc template.a mkdir -p _obj$D
$(AR) grc _obj$D/template.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/template.a rm -f $(GOROOT)/pkg$D/template.a
packages: template.a packages: _obj$D/template.a
install: packages install: packages
cp template.a $(GOROOT)/pkg/template.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/template.a $(GOROOT)/pkg$D/template.a
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
package testing package testing
import ( import (
"fmt";
"flag"; "flag";
"fmt";
) )
// Report as tests are run; default is silent for success. // Report as tests are run; default is silent for success.
......
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -49,23 +51,24 @@ O3=\ ...@@ -49,23 +51,24 @@ O3=\
phases: a1 a2 a3 phases: a1 a2 a3
time.a: phases _obj$D/time.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc time.a sleep.$O zoneinfo.$O $(AR) grc _obj$D/time.a sleep.$O zoneinfo.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc time.a time.$O $(AR) grc _obj$D/time.a time.$O
rm -f $(O2) rm -f $(O2)
a3: $(O3) a3: $(O3)
$(AR) grc time.a tick.$O $(AR) grc _obj$D/time.a tick.$O
rm -f $(O3) rm -f $(O3)
newpkg: clean newpkg: clean
$(AR) grc time.a mkdir -p _obj$D
$(AR) grc _obj$D/time.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
...@@ -73,9 +76,10 @@ $(O3): a2 ...@@ -73,9 +76,10 @@ $(O3): a2
$(O4): a3 $(O4): a3
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/time.a rm -f $(GOROOT)/pkg$D/time.a
packages: time.a packages: _obj$D/time.a
install: packages install: packages
cp time.a $(GOROOT)/pkg/time.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/time.a $(GOROOT)/pkg$D/time.a
...@@ -5,13 +5,15 @@ ...@@ -5,13 +5,15 @@
# DO NOT EDIT. Automatically generated by gobuild. # DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile # gobuild -m >Makefile
D=
O_arm=5 O_arm=5
O_amd64=6 O_amd64=6
O_386=8 O_386=8
OS=568vq OS=568vq
O=$(O_$(GOARCH)) O=$(O_$(GOARCH))
GC=$(O)g GC=$(O)g -I_obj
CC=$(O)c -FVw CC=$(O)c -FVw
AS=$(O)a AS=$(O)a
AR=6ar AR=6ar
...@@ -19,7 +21,7 @@ AR=6ar ...@@ -19,7 +21,7 @@ AR=6ar
default: packages default: packages
clean: clean:
rm -f *.[$(OS)] *.a [$(OS)].out rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages test: packages
gotest gotest
...@@ -45,28 +47,30 @@ O2=\ ...@@ -45,28 +47,30 @@ O2=\
phases: a1 a2 phases: a1 a2
unicode.a: phases _obj$D/unicode.a: phases
a1: $(O1) a1: $(O1)
$(AR) grc unicode.a letter.$O $(AR) grc _obj$D/unicode.a letter.$O
rm -f $(O1) rm -f $(O1)
a2: $(O2) a2: $(O2)
$(AR) grc unicode.a decimaldigit.$O $(AR) grc _obj$D/unicode.a decimaldigit.$O
rm -f $(O2) rm -f $(O2)
newpkg: clean newpkg: clean
$(AR) grc unicode.a mkdir -p _obj$D
$(AR) grc _obj$D/unicode.a
$(O1): newpkg $(O1): newpkg
$(O2): a1 $(O2): a1
$(O3): a2 $(O3): a2
nuke: clean nuke: clean
rm -f $(GOROOT)/pkg/unicode.a rm -f $(GOROOT)/pkg$D/unicode.a
packages: unicode.a packages: _obj$D/unicode.a
install: packages install: packages
cp unicode.a $(GOROOT)/pkg/unicode.a test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/unicode.a $(GOROOT)/pkg$D/unicode.a
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
package main package main
import ( import (
"os";
"fmt"; "fmt";
"os";
) )
type T struct { type T struct {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
package main package main
import "vector" import "container/vector"
type S struct { type S struct {
......
...@@ -5,17 +5,17 @@ ...@@ -5,17 +5,17 @@
package astPrinter package astPrinter
import ( import (
"ast"; "container/vector";
"flag"; "flag";
"fmt"; "fmt";
"go/ast";
"go/token";
"io"; "io";
"os"; "os";
"strings"; "strings";
"tabwriter"; "tabwriter";
"token";
"unicode"; "unicode";
"utf8"; "utf8";
"vector";
) )
......
...@@ -5,18 +5,18 @@ ...@@ -5,18 +5,18 @@
package Compilation package Compilation
import ( import (
"vector"; "container/vector";
"utf8";
"fmt"; "fmt";
"go/ast";
"go/parser";
"go/scanner";
"go/token";
"os"; "os";
"utils";
"platform"; "platform";
"token";
"scanner";
"parser";
"ast";
"typechecker";
"sort"; "sort";
"typechecker";
"utf8";
"utils";
) )
......
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
package doc package doc
import ( import (
"ast"; "container/vector";
"fmt"; "fmt";
"go/ast";
"go/token";
"io"; "io";
"once"; "once";
"regexp"; "regexp";
"sort"; "sort";
"strings"; "strings";
"token";
"unicode"; "unicode";
"utf8"; "utf8";
"vector";
"astprinter"; "astprinter";
) )
......
...@@ -27,25 +27,25 @@ ...@@ -27,25 +27,25 @@
package main package main
import ( import (
"ast";
"bufio"; "bufio";
"container/vector";
"flag"; "flag";
"fmt"; "fmt";
"go/ast";
"go/parser";
"go/token";
"http"; "http";
"io"; "io";
"log"; "log";
"net"; "net";
"once"; "once";
"os"; "os";
"parser";
pathutil "path"; pathutil "path";
"sort"; "sort";
"strings"; "strings";
"tabwriter"; "tabwriter";
"template"; "template";
"time"; "time";
"token";
"vector";
"astprinter"; "astprinter";
"comment"; "comment";
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
package main package main
import ( import (
"os"; "astprinter";
"compilation";
"flag"; "flag";
"go/ast";
"os";
"platform"; "platform";
"compilation";
"tabwriter"; "tabwriter";
"ast";
"astprinter";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package SymbolTable package SymbolTable
import ( import (
"utf8"; "container/vector";
"unicode"; "unicode";
"vector"; "utf8";
) )
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
package TypeChecker package TypeChecker
import ( import (
"token"; "go/ast";
"scanner"; "go/scanner";
"ast"; "go/token";
) )
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
package main package main
import ( import (
"os";
"io";
"flag"; "flag";
"fmt"; "fmt";
"io";
"os";
"tabwriter"; "tabwriter";
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment