1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:44:40 -07:00
go/src/lib/Makefile
Russ Cox 140aed9ab7 hash reorg.
* new package hash defining interfaces Hash and Hash32.
* adler32 and crc32 return Hash32 instead of specific types.
* adler32 and crc32 provide non-allocating methods for single slices.
* sha1 and md5 move to crypto, return Hash.
* sum.go, a simple test program, moves to /usr/rsc.
* refresh Make.deps

R=r
DELTA=1908  (935 added, 923 deleted, 50 changed)
OCL=29095
CL=29135
2009-05-20 18:16:38 -07:00

130 lines
1.5 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:
#
# p4 edit Make.deps; ./deps.bash
#
# to rebuild the dependency information in Make.deps.
all: install
GC=6g
DIRS=\
bignum\
bufio\
container/vector\
crypto/aes\
crypto/block\
crypto/md5\
crypto/sha1\
exec\
exvar\
flag\
fmt\
go/ast\
go/doc\
go/parser\
go/scanner\
go/token\
hash\
hash/adler32\
hash/crc32\
http\
io\
json\
log\
malloc\
math\
net\
once\
os\
path\
rand\
reflect\
regexp\
runtime\
sort\
strconv\
strings\
sync\
syscall\
tabwriter\
template\
testing\
testing/iotest\
time\
unicode\
utf8\
TEST=\
bignum\
bufio\
container/vector\
crypto/aes\
crypto/block\
crypto/md5\
crypto/sha1\
exec\
exvar\
flag\
fmt\
go/parser\
go/scanner\
hash/adler32\
hash/crc32\
http\
io\
json\
log\
math\
net\
once\
os\
path\
reflect\
regexp\
sort\
strconv\
strings\
sync\
tabwriter\
template\
time\
unicode\
utf8\
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