mirror of
https://github.com/golang/go
synced 2024-11-22 12:14:42 -07:00
makefile fixes
R=r OCL=28369 CL=28369
This commit is contained in:
parent
83cd4ee070
commit
1d1316c885
@ -14,7 +14,11 @@ DIRS=\
|
|||||||
exvar\
|
exvar\
|
||||||
flag\
|
flag\
|
||||||
fmt\
|
fmt\
|
||||||
go\
|
go/ast \
|
||||||
|
go/doc \
|
||||||
|
go/parser \
|
||||||
|
go/scanner \
|
||||||
|
go/token \
|
||||||
hash\
|
hash\
|
||||||
http\
|
http\
|
||||||
io\
|
io\
|
||||||
@ -41,35 +45,36 @@ DIRS=\
|
|||||||
utf8\
|
utf8\
|
||||||
|
|
||||||
TEST=\
|
TEST=\
|
||||||
bignum \
|
bignum\
|
||||||
bufio \
|
bufio\
|
||||||
container/vector \
|
container/vector\
|
||||||
exec \
|
exec\
|
||||||
exvar \
|
exvar\
|
||||||
flag \
|
flag\
|
||||||
fmt \
|
fmt\
|
||||||
go \
|
go/parser\
|
||||||
hash \
|
go/scanner\
|
||||||
http \
|
hash\
|
||||||
io \
|
http\
|
||||||
json \
|
io\
|
||||||
log \
|
json\
|
||||||
math \
|
log\
|
||||||
net \
|
math\
|
||||||
once \
|
net\
|
||||||
os \
|
once\
|
||||||
path \
|
os\
|
||||||
reflect \
|
path\
|
||||||
regexp \
|
reflect\
|
||||||
sort \
|
regexp\
|
||||||
strconv \
|
sort\
|
||||||
strings \
|
strconv\
|
||||||
sync \
|
strings\
|
||||||
tabwriter \
|
sync\
|
||||||
template \
|
tabwriter\
|
||||||
time \
|
template\
|
||||||
unicode \
|
time\
|
||||||
utf8 \
|
unicode\
|
||||||
|
utf8\
|
||||||
|
|
||||||
clean.dirs: $(addsuffix .clean, $(DIRS))
|
clean.dirs: $(addsuffix .clean, $(DIRS))
|
||||||
install.dirs: $(addsuffix .install, $(DIRS))
|
install.dirs: $(addsuffix .install, $(DIRS))
|
||||||
@ -111,8 +116,13 @@ strings.install: utf8.install
|
|||||||
testing.install: flag.install fmt.install
|
testing.install: flag.install fmt.install
|
||||||
|
|
||||||
fmt.install: io.install reflect.install strconv.install
|
fmt.install: io.install reflect.install strconv.install
|
||||||
go.install: fmt.install io.install once.install regexp.install sort.install \
|
GODEPS=fmt.install io.install once.install regexp.install sort.install \
|
||||||
strconv.install strings.install unicode.install utf8.install container/vector.install
|
strconv.install strings.install unicode.install utf8.install container/vector.install
|
||||||
|
go/scanner.install: go/token.install $(GODEPS)
|
||||||
|
go/parser.install: go/ast.install go/scanner.install go/token.install $(GODEPS)
|
||||||
|
go/doc.install: go/ast.install go/token.install $(GODEPS)
|
||||||
|
go/ast.install: go/token.install $(GODEPS)
|
||||||
|
go/token.install: $(GODEPS)
|
||||||
hash.install: os.install
|
hash.install: os.install
|
||||||
http.install: bufio.install io.install net.install os.install path.install strings.install log.install
|
http.install: bufio.install io.install net.install os.install path.install strings.install log.install
|
||||||
io.install: os.install sync.install
|
io.install: os.install sync.install
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 2009 The Go Authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style
|
|
||||||
# license that can be found in the LICENSE file.
|
|
||||||
|
|
||||||
all: install
|
|
||||||
|
|
||||||
GC=6g
|
|
||||||
|
|
||||||
DIRS=\
|
|
||||||
ast \
|
|
||||||
doc \
|
|
||||||
parser \
|
|
||||||
scanner \
|
|
||||||
token \
|
|
||||||
|
|
||||||
|
|
||||||
TEST=\
|
|
||||||
parser \
|
|
||||||
scanner \
|
|
||||||
|
|
||||||
clean.dirs: $(addsuffix .clean, $(DIRS))
|
|
||||||
install.dirs: $(addsuffix .install, $(DIRS))
|
|
||||||
test.dirs: $(addsuffix .test, $(TEST))
|
|
||||||
|
|
||||||
%.clean:
|
|
||||||
+cd $* && make clean
|
|
||||||
|
|
||||||
%.install:
|
|
||||||
+cd $* && make install
|
|
||||||
|
|
||||||
%.test:
|
|
||||||
+cd $* && make test
|
|
||||||
|
|
||||||
clean: clean.dirs
|
|
||||||
|
|
||||||
install: install.dirs
|
|
||||||
|
|
||||||
test: test.dirs
|
|
||||||
|
|
||||||
# TODO: dependencies - should auto-generate
|
|
||||||
|
|
||||||
scanner.install: token.install
|
|
||||||
parser.install: ast.install scanner.install token.install
|
|
||||||
doc.install: ast.install token.install
|
|
||||||
ast.install: token.install
|
|
Loading…
Reference in New Issue
Block a user