mirror of
https://github.com/golang/go
synced 2024-11-20 08:04:42 -07:00
f249c4114c
R=r DELTA=949 (949 added, 0 deleted, 0 changed) OCL=34676 CL=34678
132 lines
1.6 KiB
Makefile
132 lines
1.6 KiB
Makefile
# 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.
|
|
|
|
# After editing the DIRS= list or adding imports to any Go files
|
|
# in any of those directories, run:
|
|
#
|
|
# ./deps.bash
|
|
#
|
|
# to rebuild the dependency information in Make.deps.
|
|
|
|
all: install
|
|
|
|
DIRS=\
|
|
archive/tar\
|
|
base64\
|
|
big\
|
|
bignum\
|
|
bufio\
|
|
bytes\
|
|
compress/flate\
|
|
compress/gzip\
|
|
compress/zlib\
|
|
container/heap\
|
|
container/list\
|
|
container/ring\
|
|
container/vector\
|
|
crypto/aes\
|
|
crypto/block\
|
|
crypto/hmac\
|
|
crypto/md5\
|
|
crypto/sha1\
|
|
datafmt\
|
|
debug/binary\
|
|
debug/dwarf\
|
|
debug/elf\
|
|
debug/gosym\
|
|
debug/proc\
|
|
ebnf\
|
|
exec\
|
|
exvar\
|
|
flag\
|
|
fmt\
|
|
go/ast\
|
|
go/doc\
|
|
go/parser\
|
|
go/printer\
|
|
go/scanner\
|
|
go/token\
|
|
gob\
|
|
hash\
|
|
hash/adler32\
|
|
hash/crc32\
|
|
http\
|
|
image\
|
|
image/png\
|
|
io\
|
|
json\
|
|
log\
|
|
malloc\
|
|
math\
|
|
net\
|
|
once\
|
|
os\
|
|
path\
|
|
rand\
|
|
reflect\
|
|
regexp\
|
|
rpc\
|
|
runtime\
|
|
sort\
|
|
strconv\
|
|
strings\
|
|
sync\
|
|
syscall\
|
|
tabwriter\
|
|
template\
|
|
testing\
|
|
testing/iotest\
|
|
time\
|
|
unicode\
|
|
utf8\
|
|
|
|
NOTEST=\
|
|
debug/dwarf\
|
|
debug/proc\
|
|
go/ast\
|
|
go/doc\
|
|
go/token\
|
|
hash\
|
|
image\
|
|
image/png\
|
|
malloc\
|
|
rand\
|
|
runtime\
|
|
syscall\
|
|
testing/iotest\
|
|
|
|
TEST=\
|
|
$(filter-out $(NOTEST),$(DIRS))
|
|
|
|
clean.dirs: $(addsuffix .clean, $(DIRS))
|
|
install.dirs: $(addsuffix .install, $(DIRS))
|
|
nuke.dirs: $(addsuffix .nuke, $(DIRS))
|
|
test.dirs: $(addsuffix .test, $(TEST))
|
|
|
|
%.clean:
|
|
+cd $* && make clean
|
|
|
|
%.install:
|
|
+cd $* && make install
|
|
|
|
%.nuke:
|
|
+cd $* && make nuke
|
|
|
|
%.test:
|
|
+cd $* && make test
|
|
|
|
clean: clean.dirs
|
|
|
|
install: install.dirs
|
|
|
|
test: test.dirs
|
|
|
|
nuke: nuke.dirs
|
|
rm -rf $(GOROOT)/pkg/*
|
|
|
|
deps:
|
|
./deps.bash
|
|
|
|
include Make.deps
|