Commit 9b2c5da9 authored by Rob Pike's avatar Rob Pike

directory-per-package step 1: move files from lib/X.go to lib/X/X.go

no substantive changes except:
	- new Makefiles, all auto-generated
	- go/src/lib/Makefile has been extensively edited

R=rsc
OCL=28310
CL=28310
parent f821e3c7
...@@ -7,123 +7,126 @@ all: install ...@@ -7,123 +7,126 @@ all: install
GC=6g GC=6g
DIRS=\ DIRS=\
bignum\
bufio\
container\ container\
exec\
exvar\
flag\
fmt\ fmt\
go\ go\
hash\ hash\
http\ http\
io\ io\
json\ json\
log\
malloc\
math\ math\
net\ net\
once\
os\ os\
path\
rand\
reflect\ reflect\
regexp\ regexp\
sort\
strconv\ strconv\
strings\
sync\ sync\
tabwriter\ tabwriter\
template\ template\
testing\
time\ time\
unicode\ unicode\
FILES=\
bignum\
bufio\
exec\
exvar\
flag\
log\
malloc\
once\
rand\
sort\
strings\
testing\
utf8\ utf8\
TEST=\ TEST=\
bignum\ bignum \
bufio\ bufio \
exec\ container \
exvar\ exec \
flag\ exvar \
log\ flag \
once\ fmt \
sort\ go \
strings\ hash \
utf8\ http \
io \
clean.dirs: $(addsuffix .dirclean, $(DIRS)) json \
install.dirs: $(addsuffix .dirinstall, $(DIRS)) log \
install.files: $(addsuffix .install, $(FILES)) math \
nuke.dirs: $(addsuffix .dirnuke, $(DIRS)) net \
test.files: $(addsuffix .test, $(TEST)) once \
os \
%.6: %.go path \
$(GC) $*.go reflect \
regexp \
%.test: %.6 sort \
gotest $*_test.go 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: %.clean:
rm -f $*.6
%.install: %.6
6ar grc $*.a $*.6
mv $*.a $(GOROOT)/pkg/$*.a
rm -f $*.6
%.dirclean:
+cd $* && make clean +cd $* && make clean
%.dirinstall: %.install:
+cd $* && make install +cd $* && make install
%.dirnuke: %.nuke:
+cd $* && make nuke +cd $* && make nuke
clean.files: %.test:
rm -f 6.out *.6 +cd $* && make test
clean: clean.dirs clean.files clean: clean.dirs
install: install.dirs install.files install: install.dirs
nuke: nuke.dirs clean.files test: test.dirs
rm -f $(GOROOT)/pkg/*
test: test.files nuke: nuke.dirs
rm -rf $(GOROOT)/pkg/*
# TODO: dependencies - should auto-generate # TODO: dependencies - should auto-generate
bignum.6: fmt.dirinstall bignum.install: fmt.install
bufio.6: io.dirinstall os.dirinstall bufio.install: io.install os.install
exec.6: os.dirinstall strings.install exec.install: os.install strings.install
exvar.6: fmt.dirinstall http.dirinstall log.install strconv.dirinstall sync.dirinstall exvar.install: fmt.install http.install log.install strconv.install sync.install
flag.6: fmt.dirinstall os.dirinstall strconv.dirinstall flag.install: fmt.install os.install strconv.install
log.6: fmt.dirinstall io.dirinstall os.dirinstall time.dirinstall log.install: fmt.install io.install os.install time.install
path.6: io.dirinstall path.install: io.install
once.6: sync.dirinstall once.install: sync.install
strings.6: utf8.install strings.install: utf8.install
testing.6: flag.install fmt.dirinstall testing.install: flag.install fmt.install
fmt.dirinstall: io.dirinstall reflect.dirinstall strconv.dirinstall fmt.install: io.install reflect.install strconv.install
go.dirinstall: regexp.dirinstall sort.install strconv.dirinstall strings.install \ go.install: regexp.install sort.install strconv.install strings.install \
utf8.install unicode.dirinstall fmt.dirinstall utf8.install unicode.install fmt.install
hash.dirinstall: os.dirinstall hash.install: os.install
http.dirinstall: bufio.install io.dirinstall net.dirinstall os.dirinstall path.install strings.install log.install http.install: bufio.install io.install net.install os.install path.install strings.install log.install
io.dirinstall: os.dirinstall sync.dirinstall io.install: os.install sync.install
json.dirinstall: container.dirinstall fmt.dirinstall io.dirinstall math.dirinstall \ json.install: container.install fmt.install io.install math.install \
strconv.dirinstall strings.install utf8.install strconv.install strings.install utf8.install
# TODO(rsc): net is not supposed to depend on fmt or strings or strconv # TODO(rsc): net is not supposed to depend on fmt or strings or strconv
net.dirinstall: fmt.dirinstall once.install os.dirinstall strconv.dirinstall strings.install net.install: fmt.install once.install os.install strconv.install strings.install
os.dirinstall: syscall.dirinstall once.install os.install: syscall.install once.install
regexp.dirinstall: os.dirinstall regexp.install: os.install
reflect.dirinstall: strconv.dirinstall sync.dirinstall reflect.install: strconv.install sync.install
strconv.dirinstall: math.dirinstall os.dirinstall utf8.install strconv.install: math.install os.install utf8.install
sync.dirinstall: sync.install:
syscall.dirinstall: sync.dirinstall syscall.install: sync.install
tabwriter.dirinstall: os.dirinstall io.dirinstall container.dirinstall tabwriter.install: os.install io.install container.install
template.dirinstall: fmt.dirinstall io.dirinstall os.dirinstall reflect.dirinstall strings.install template.install: fmt.install io.install os.install reflect.install strings.install
time.dirinstall: once.install os.dirinstall io.dirinstall time.install: once.install os.install io.install
# 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=
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=\
bignum.$O\
phases: a1
_obj$D/bignum.a: phases
a1: $(O1)
$(AR) grc _obj$D/bignum.a bignum.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/bignum.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/bignum.a
packages: _obj$D/bignum.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/bignum.a $(GOROOT)/pkg$D/bignum.a
# 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=
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=\
bufio.$O\
phases: a1
_obj$D/bufio.a: phases
a1: $(O1)
$(AR) grc _obj$D/bufio.a bufio.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/bufio.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/bufio.a
packages: _obj$D/bufio.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/bufio.a $(GOROOT)/pkg$D/bufio.a
# 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=
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=\
exec.$O\
phases: a1
_obj$D/exec.a: phases
a1: $(O1)
$(AR) grc _obj$D/exec.a exec.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/exec.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/exec.a
packages: _obj$D/exec.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/exec.a $(GOROOT)/pkg$D/exec.a
# 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=
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=\
exvar.$O\
phases: a1
_obj$D/exvar.a: phases
a1: $(O1)
$(AR) grc _obj$D/exvar.a exvar.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/exvar.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/exvar.a
packages: _obj$D/exvar.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/exvar.a $(GOROOT)/pkg$D/exvar.a
# 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=
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=\
flag.$O\
phases: a1
_obj$D/flag.a: phases
a1: $(O1)
$(AR) grc _obj$D/flag.a flag.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/flag.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/flag.a
packages: _obj$D/flag.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/flag.a $(GOROOT)/pkg$D/flag.a
# 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=
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=\
log.$O\
phases: a1
_obj$D/log.a: phases
a1: $(O1)
$(AR) grc _obj$D/log.a log.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/log.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/log.a
packages: _obj$D/log.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/log.a $(GOROOT)/pkg$D/log.a
# 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=
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=\
malloc.$O\
phases: a1
_obj$D/malloc.a: phases
a1: $(O1)
$(AR) grc _obj$D/malloc.a malloc.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/malloc.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/malloc.a
packages: _obj$D/malloc.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/malloc.a $(GOROOT)/pkg$D/malloc.a
# 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=
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=\
once.$O\
phases: a1
_obj$D/once.a: phases
a1: $(O1)
$(AR) grc _obj$D/once.a once.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/once.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/once.a
packages: _obj$D/once.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/once.a $(GOROOT)/pkg$D/once.a
# 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=
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=\
path.$O\
phases: a1
_obj$D/path.a: phases
a1: $(O1)
$(AR) grc _obj$D/path.a path.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/path.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/path.a
packages: _obj$D/path.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/path.a $(GOROOT)/pkg$D/path.a
# 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=
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=\
rand.$O\
phases: a1
_obj$D/rand.a: phases
a1: $(O1)
$(AR) grc _obj$D/rand.a rand.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/rand.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/rand.a
packages: _obj$D/rand.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/rand.a $(GOROOT)/pkg$D/rand.a
# 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=
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=\
sort.$O\
phases: a1
_obj$D/sort.a: phases
a1: $(O1)
$(AR) grc _obj$D/sort.a sort.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/sort.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/sort.a
packages: _obj$D/sort.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/sort.a $(GOROOT)/pkg$D/sort.a
# 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=
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=\
strings.$O\
phases: a1
_obj$D/strings.a: phases
a1: $(O1)
$(AR) grc _obj$D/strings.a strings.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/strings.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/strings.a
packages: _obj$D/strings.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/strings.a $(GOROOT)/pkg$D/strings.a
# 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=
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=\
testing.$O\
phases: a1
_obj$D/testing.a: phases
a1: $(O1)
$(AR) grc _obj$D/testing.a testing.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/testing.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/testing.a
packages: _obj$D/testing.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/testing.a $(GOROOT)/pkg$D/testing.a
# 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=
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=\
utf8.$O\
phases: a1
_obj$D/utf8.a: phases
a1: $(O1)
$(AR) grc _obj$D/utf8.a utf8.$O
rm -f $(O1)
newpkg: clean
mkdir -p _obj$D
$(AR) grc _obj$D/utf8.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg$D/utf8.a
packages: _obj$D/utf8.a
install: packages
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg$D
cp _obj$D/utf8.a $(GOROOT)/pkg$D/utf8.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