2008-11-21 13:36:16 -07:00
|
|
|
# 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.
|
|
|
|
|
2009-05-19 16:42:00 -06:00
|
|
|
# After editing the DIRS= list or adding imports to any Go files
|
|
|
|
# in any of those directories, run:
|
|
|
|
#
|
2009-05-23 20:39:25 -06:00
|
|
|
# ./deps.bash
|
2009-05-19 16:42:00 -06:00
|
|
|
#
|
|
|
|
# to rebuild the dependency information in Make.deps.
|
|
|
|
|
2008-11-21 13:36:16 -07:00
|
|
|
all: install
|
|
|
|
|
|
|
|
DIRS=\
|
2009-06-09 00:22:56 -06:00
|
|
|
archive/tar\
|
2009-06-24 12:09:43 -06:00
|
|
|
base64\
|
2009-08-17 16:20:51 -06:00
|
|
|
big\
|
2009-05-05 18:05:39 -06:00
|
|
|
bignum\
|
|
|
|
bufio\
|
2009-06-04 16:00:15 -06:00
|
|
|
bytes\
|
2009-06-06 22:56:04 -06:00
|
|
|
compress/flate\
|
|
|
|
compress/gzip\
|
2009-08-17 23:03:13 -06:00
|
|
|
compress/zlib\
|
2009-06-02 21:26:14 -06:00
|
|
|
container/list\
|
2009-07-28 18:52:30 -06:00
|
|
|
container/ring\
|
2009-05-05 18:24:01 -06:00
|
|
|
container/vector\
|
2009-05-14 18:11:11 -06:00
|
|
|
crypto/aes\
|
2009-05-19 16:42:00 -06:00
|
|
|
crypto/block\
|
2009-05-23 14:53:36 -06:00
|
|
|
crypto/hmac\
|
2009-05-20 19:16:38 -06:00
|
|
|
crypto/md5\
|
|
|
|
crypto/sha1\
|
2009-06-02 18:18:27 -06:00
|
|
|
datafmt\
|
2009-07-13 11:10:56 -06:00
|
|
|
ebnf\
|
2009-05-05 18:05:39 -06:00
|
|
|
exec\
|
|
|
|
exvar\
|
|
|
|
flag\
|
2008-11-21 13:36:16 -07:00
|
|
|
fmt\
|
2009-05-07 18:15:24 -06:00
|
|
|
go/ast\
|
|
|
|
go/doc\
|
|
|
|
go/parser\
|
2009-06-15 17:23:16 -06:00
|
|
|
go/printer\
|
2009-05-07 18:15:24 -06:00
|
|
|
go/scanner\
|
|
|
|
go/token\
|
2009-07-03 13:54:59 -06:00
|
|
|
gob\
|
2009-05-20 19:16:38 -06:00
|
|
|
hash\
|
2009-05-07 18:15:24 -06:00
|
|
|
hash/adler32\
|
|
|
|
hash/crc32\
|
2008-11-21 13:36:16 -07:00
|
|
|
http\
|
2008-11-25 10:41:58 -07:00
|
|
|
io\
|
2008-12-11 13:25:58 -07:00
|
|
|
json\
|
2009-05-05 18:05:39 -06:00
|
|
|
log\
|
|
|
|
malloc\
|
2008-11-21 13:36:16 -07:00
|
|
|
math\
|
|
|
|
net\
|
2009-05-05 18:05:39 -06:00
|
|
|
once\
|
2008-11-21 13:36:16 -07:00
|
|
|
os\
|
2009-05-05 18:05:39 -06:00
|
|
|
path\
|
|
|
|
rand\
|
2008-11-21 13:36:16 -07:00
|
|
|
reflect\
|
|
|
|
regexp\
|
2009-07-15 22:28:45 -06:00
|
|
|
rpc\
|
2009-05-18 19:42:47 -06:00
|
|
|
runtime\
|
2009-05-05 18:05:39 -06:00
|
|
|
sort\
|
2008-11-21 13:36:16 -07:00
|
|
|
strconv\
|
2009-05-05 18:05:39 -06:00
|
|
|
strings\
|
2008-12-04 13:51:36 -07:00
|
|
|
sync\
|
2009-05-18 19:42:47 -06:00
|
|
|
syscall\
|
2008-11-21 14:05:09 -07:00
|
|
|
tabwriter\
|
2009-04-09 00:43:02 -06:00
|
|
|
template\
|
2009-05-05 18:05:39 -06:00
|
|
|
testing\
|
2009-05-18 14:31:56 -06:00
|
|
|
testing/iotest\
|
2008-11-21 13:36:16 -07:00
|
|
|
time\
|
2009-01-14 15:05:00 -07:00
|
|
|
unicode\
|
2008-11-21 17:13:31 -07:00
|
|
|
utf8\
|
2008-12-18 23:37:22 -07:00
|
|
|
|
2008-11-21 17:13:31 -07:00
|
|
|
TEST=\
|
2009-06-09 00:22:56 -06:00
|
|
|
archive/tar\
|
2009-06-24 12:09:43 -06:00
|
|
|
base64\
|
2009-08-17 16:20:51 -06:00
|
|
|
big\
|
2009-05-06 17:16:55 -06:00
|
|
|
bignum\
|
|
|
|
bufio\
|
2009-06-17 22:44:26 -06:00
|
|
|
bytes\
|
2009-06-09 00:22:56 -06:00
|
|
|
compress/flate\
|
|
|
|
compress/gzip\
|
2009-08-17 23:03:13 -06:00
|
|
|
compress/zlib\
|
2009-06-02 21:26:14 -06:00
|
|
|
container/list\
|
2009-07-28 18:52:30 -06:00
|
|
|
container/ring\
|
2009-05-06 17:16:55 -06:00
|
|
|
container/vector\
|
2009-05-14 18:11:11 -06:00
|
|
|
crypto/aes\
|
2009-05-20 19:16:38 -06:00
|
|
|
crypto/block\
|
2009-06-17 22:44:26 -06:00
|
|
|
crypto/hmac\
|
2009-05-20 19:16:38 -06:00
|
|
|
crypto/md5\
|
|
|
|
crypto/sha1\
|
2009-06-02 18:18:27 -06:00
|
|
|
datafmt\
|
2009-07-13 11:10:56 -06:00
|
|
|
ebnf\
|
2009-05-06 17:16:55 -06:00
|
|
|
exec\
|
|
|
|
exvar\
|
|
|
|
flag\
|
|
|
|
fmt\
|
|
|
|
go/parser\
|
2009-07-16 18:11:18 -06:00
|
|
|
go/printer\
|
2009-05-06 17:16:55 -06:00
|
|
|
go/scanner\
|
2009-07-03 13:54:59 -06:00
|
|
|
gob\
|
2009-05-07 18:15:24 -06:00
|
|
|
hash/adler32\
|
|
|
|
hash/crc32\
|
2009-05-06 17:16:55 -06:00
|
|
|
http\
|
|
|
|
io\
|
|
|
|
json\
|
|
|
|
log\
|
|
|
|
math\
|
|
|
|
net\
|
|
|
|
once\
|
|
|
|
os\
|
|
|
|
path\
|
|
|
|
reflect\
|
|
|
|
regexp\
|
2009-07-15 22:28:45 -06:00
|
|
|
rpc\
|
2009-05-06 17:16:55 -06:00
|
|
|
sort\
|
|
|
|
strconv\
|
|
|
|
strings\
|
|
|
|
sync\
|
|
|
|
tabwriter\
|
|
|
|
template\
|
|
|
|
time\
|
|
|
|
unicode\
|
|
|
|
utf8\
|
2009-05-05 18:05:39 -06:00
|
|
|
|
|
|
|
clean.dirs: $(addsuffix .clean, $(DIRS))
|
|
|
|
install.dirs: $(addsuffix .install, $(DIRS))
|
|
|
|
nuke.dirs: $(addsuffix .nuke, $(DIRS))
|
|
|
|
test.dirs: $(addsuffix .test, $(TEST))
|
2008-11-21 17:13:31 -07:00
|
|
|
|
2008-11-21 13:36:16 -07:00
|
|
|
%.clean:
|
|
|
|
+cd $* && make clean
|
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
%.install:
|
2008-11-21 13:36:16 -07:00
|
|
|
+cd $* && make install
|
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
%.nuke:
|
2008-11-21 13:36:16 -07:00
|
|
|
+cd $* && make nuke
|
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
%.test:
|
|
|
|
+cd $* && make test
|
2008-11-21 13:36:16 -07:00
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
clean: clean.dirs
|
2008-11-21 13:36:16 -07:00
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
install: install.dirs
|
2008-11-21 13:36:16 -07:00
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
test: test.dirs
|
2008-11-21 13:36:16 -07:00
|
|
|
|
2009-05-05 18:05:39 -06:00
|
|
|
nuke: nuke.dirs
|
|
|
|
rm -rf $(GOROOT)/pkg/*
|
2008-11-21 17:13:31 -07:00
|
|
|
|
2009-05-18 19:42:47 -06:00
|
|
|
deps:
|
|
|
|
./deps.bash
|
2008-11-21 13:36:16 -07:00
|
|
|
|
2009-05-18 19:42:47 -06:00
|
|
|
include Make.deps
|