Commit 02f13e47 authored by Russ Cox's avatar Russ Cox

build crypto/block.

deps.bash tweak.

R=r
DELTA=95  (95 added, 0 deleted, 0 changed)
OCL=29046
CL=29059
parent 513faccb
......@@ -2,6 +2,7 @@ bignum.install: fmt.install
bufio.install: io.install os.install utf8.install
container/vector.install:
crypto/aes.install: os.install
crypto/block.install: fmt.install io.install os.install
exec.install: os.install strings.install
exvar.install: fmt.install http.install io.install log.install strconv.install sync.install
flag.install: fmt.install os.install strconv.install
......
......@@ -2,6 +2,13 @@
# 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
......@@ -11,6 +18,7 @@ DIRS=\
bufio\
container/vector\
crypto/aes\
crypto/block\
exec\
exvar\
flag\
......
# 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.
# DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile
D=/crypto/
O_arm=5
O_amd64=6
O_386=8
OS=568vq
O=$(O_$(GOARCH))
GC=$(O)g -I_obj
CC=$(O)c -FVw
AS=$(O)a
AR=6ar
default: packages
clean:
rm -rf *.[$(OS)] *.a [$(OS)].out _obj
test: packages
gotest
coverage: packages
gotest
6cov -g `pwd` | grep -v '_test\.go:'
%.$O: %.go
$(GC) $*.go
%.$O: %.c
$(CC) $*.c
%.$O: %.s
$(AS) $*.s
O1=\
cipher.$O\
xor.$O\
O2=\
cmac.$O\
ctr.$O\
ecb.$O\
ofb.$O\
O3=\
cbc.$O\
cfb.$O\
eax.$O\
phases: a1 a2 a3
_obj$D/block.a: phases
a1: $(O1)
$(AR) grc _obj$D/block.a cipher.$O xor.$O
rm -f $(O1)
a2: $(O2)
$(AR) grc _obj$D/block.a cmac.$O ctr.$O ecb.$O ofb.$O
rm -f $(O2)
a3: $(O3)
$(AR) grc _obj$D/block.a cbc.$O cfb.$O eax.$O
rm -f $(O3)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/block.a
$(O1): newpkg
$(O2): a1
$(O3): a2
$(O4): a3
nuke: clean
rm -f $(GOROOT)/pkg$D/block.a
packages: _obj$D/block.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/block.a $(GOROOT)/pkg$D/block.a
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