mirror of
https://github.com/golang/go
synced 2024-11-25 00:07:56 -07:00
build: remove Make.pkg, Make.tool
Consequently, remove many package Makefiles, and shorten the few that remain. gomake becomes 'go tool make'. Turn off test phases of run.bash that do not work, flagged with $BROKEN. Future CLs will restore these, but this seemed like a big enough CL already. R=golang-dev, r CC=golang-dev https://golang.org/cl/5601057
This commit is contained in:
parent
00e9a54dad
commit
2050a9e478
@ -2,13 +2,8 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../../src/Make.inc
|
gobuilder: $(shell ls *.go)
|
||||||
|
go build -o $@ $^
|
||||||
|
|
||||||
TARG=gobuilder
|
clean:
|
||||||
GOFILES=\
|
rm -f gobuilder
|
||||||
exec.go\
|
|
||||||
http.go\
|
|
||||||
main.go\
|
|
||||||
package.go\
|
|
||||||
|
|
||||||
include ../../../src/Make.cmd
|
|
||||||
|
@ -2,12 +2,5 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../src/Make.inc
|
goplay: goplay.go
|
||||||
|
go build goplay.go
|
||||||
TARG=goplay
|
|
||||||
|
|
||||||
GOFILES=\
|
|
||||||
goplay.go\
|
|
||||||
|
|
||||||
include ../../src/Make.cmd
|
|
||||||
|
|
||||||
|
244
src/Make.pkg
244
src/Make.pkg
@ -1,244 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
all: package
|
|
||||||
package: _obj/$(TARG).a
|
|
||||||
testpackage: _test/$(TARG).a
|
|
||||||
|
|
||||||
include $(QUOTED_GOROOT)/src/Make.common
|
|
||||||
|
|
||||||
# The quietgcc wrapper is for our own source code
|
|
||||||
# while building the libraries, not arbitrary source code
|
|
||||||
# as encountered by cgo.
|
|
||||||
ifeq ($(HOST_CC),quietgcc)
|
|
||||||
HOST_CC:=gcc
|
|
||||||
endif
|
|
||||||
ifeq ($(HOST_LD),quietgcc)
|
|
||||||
HOST_LD:=gcc
|
|
||||||
endif
|
|
||||||
|
|
||||||
# GNU Make 3.80 has a bug in lastword
|
|
||||||
# elem=$(lastword $(subst /, ,$(TARG)))
|
|
||||||
TARG_words=$(subst /, ,$(TARG))
|
|
||||||
elem=$(word $(words $(TARG_words)),$(TARG_words))
|
|
||||||
|
|
||||||
ifeq ($(elem),$(TARG))
|
|
||||||
dir=
|
|
||||||
else
|
|
||||||
dir=$(patsubst %/$(elem),%,$(TARG))
|
|
||||||
endif
|
|
||||||
|
|
||||||
pkgdir=$(QUOTED_GOROOT)/pkg/$(GOOS)_$(GOARCH)
|
|
||||||
|
|
||||||
ifeq ($(TARGDIR),)
|
|
||||||
TARGDIR:=$(pkgdir)
|
|
||||||
endif
|
|
||||||
|
|
||||||
INSTALLFILES+=$(TARGDIR)/$(TARG).a
|
|
||||||
|
|
||||||
# The rest of the cgo rules are below, but these variable updates
|
|
||||||
# must be done here so they apply to the main rules.
|
|
||||||
ifdef CGOFILES
|
|
||||||
GOFILES+=$(patsubst %.go,_obj/%.cgo1.go,$(CGOFILES)) _obj/_cgo_gotypes.go
|
|
||||||
CGO_OFILES+=$(patsubst %.go,%.cgo2.o,$(CGOFILES)) _cgo_export.o
|
|
||||||
OFILES+=_cgo_defun.$O _cgo_import.$O $(CGO_OFILES)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef SWIGFILES
|
|
||||||
GOFILES+=$(patsubst %.swig,_obj/%.go,$(patsubst %.swigcxx,%.swig,$(SWIGFILES)))
|
|
||||||
OFILES+=$(patsubst %.swig,_obj/%_gc.$O,$(patsubst %.swigcxx,%.swig,$(SWIGFILES)))
|
|
||||||
SWIG_PREFIX=$(subst /,-,$(TARG))
|
|
||||||
SWIG_SOS+=$(patsubst %.swig,_obj/$(SWIG_PREFIX)-%.so,$(patsubst %.swigcxx,%.swig,$(SWIGFILES)))
|
|
||||||
INSTALLFILES+=$(patsubst %.swig,$(TARGDIR)/swig/$(SWIG_PREFIX)-%.so,$(patsubst %.swigcxx,%.swig,$(SWIGFILES)))
|
|
||||||
endif
|
|
||||||
|
|
||||||
PREREQ+=$(patsubst %,%.make,$(DEPS))
|
|
||||||
|
|
||||||
coverage:
|
|
||||||
go test
|
|
||||||
6cov -g $(shell pwd) $O.out | grep -v '_test\.go:'
|
|
||||||
|
|
||||||
CLEANFILES+=*.so _obj _test _testmain.go *.exe _cgo* test.out build.out
|
|
||||||
|
|
||||||
test:
|
|
||||||
go test
|
|
||||||
|
|
||||||
testshort:
|
|
||||||
go test -test.short -test.timeout=2m
|
|
||||||
|
|
||||||
bench:
|
|
||||||
go test -test.bench=. -test.run="Do not run tests"
|
|
||||||
|
|
||||||
nuke: clean
|
|
||||||
rm -f $(TARGDIR)/$(TARG).a
|
|
||||||
|
|
||||||
testpackage-clean:
|
|
||||||
rm -f _test/$(TARG).a
|
|
||||||
|
|
||||||
install: $(INSTALLFILES)
|
|
||||||
|
|
||||||
$(TARGDIR)/$(TARG).a: _obj/$(TARG).a
|
|
||||||
@mkdir -p $(TARGDIR)/$(dir)
|
|
||||||
cp _obj/$(TARG).a "$@"
|
|
||||||
|
|
||||||
_go_.$O: $(GOFILES) $(PREREQ)
|
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) -p $(TARG) -o $@ $(GOFILES)
|
|
||||||
|
|
||||||
_gotest_.$O: $(GOFILES) $(GOTESTFILES) $(PREREQ)
|
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) -p $(TARG) -o $@ $(GOFILES) $(GOTESTFILES)
|
|
||||||
|
|
||||||
_obj/$(TARG).a: _go_.$O $(OFILES)
|
|
||||||
@mkdir -p _obj/$(dir)
|
|
||||||
rm -f _obj/$(TARG).a
|
|
||||||
"$(GOROOT)/bin/go-tool/pack" grc $@ _go_.$O $(OFILES)
|
|
||||||
|
|
||||||
importpath:
|
|
||||||
@echo $(TARG)
|
|
||||||
|
|
||||||
dir:
|
|
||||||
@echo $(dir)
|
|
||||||
|
|
||||||
# To use cgo in a Go package, add a line
|
|
||||||
#
|
|
||||||
# CGOFILES=x.go y.go
|
|
||||||
#
|
|
||||||
# to the main Makefile. This signals that cgo should process x.go
|
|
||||||
# and y.go when building the package.
|
|
||||||
# There are three optional variables to set, CGO_CFLAGS, CGO_LDFLAGS,
|
|
||||||
# and CGO_DEPS, which specify compiler flags, linker flags, and linker
|
|
||||||
# dependencies to use when compiling (using gcc) the C support for
|
|
||||||
# x.go and y.go.
|
|
||||||
|
|
||||||
# Cgo translates each x.go file listed in $(CGOFILES) into a basic
|
|
||||||
# translation of x.go, called _obj/x.cgo1.go. Additionally, three other
|
|
||||||
# files are created:
|
|
||||||
#
|
|
||||||
# _obj/_cgo_gotypes.go - declarations needed for all .go files in the package; imports "unsafe"
|
|
||||||
# _obj/_cgo_defun.c - C trampoline code to be compiled with 6c and linked into the package
|
|
||||||
# _obj/x.cgo2.c - C implementations compiled with gcc to create a dynamic library
|
|
||||||
#
|
|
||||||
|
|
||||||
ifdef CGOFILES
|
|
||||||
_obj/_cgo_run: $(CGOFILES)
|
|
||||||
@mkdir -p _obj
|
|
||||||
CGOPKGPATH=$(dir) cgo -- $(CGO_CFLAGS) $(CGOFILES)
|
|
||||||
touch _obj/_cgo_run
|
|
||||||
|
|
||||||
# _CGO_CFLAGS and _CGO_LDFLAGS are defined via the evaluation of _cgo_flags.
|
|
||||||
# The include happens before the commands in the recipe run,
|
|
||||||
# so it cannot be done in the same recipe that runs cgo.
|
|
||||||
_obj/_load_cgo_flags: _obj/_cgo_run
|
|
||||||
$(eval include _obj/_cgo_flags)
|
|
||||||
|
|
||||||
# Include any previous flags in case cgo files are up to date.
|
|
||||||
-include _obj/_cgo_flags
|
|
||||||
|
|
||||||
# Ugly but necessary - cgo writes these files too.
|
|
||||||
_obj/_cgo_gotypes.go _obj/_cgo_export.c _obj/_cgo_export.h _obj/_cgo_main.c _obj/_cgo_defun.c: _obj/_load_cgo_flags
|
|
||||||
@true
|
|
||||||
|
|
||||||
_obj/%.cgo1.go _obj/%.cgo2.c: _obj/_cgo_defun.c
|
|
||||||
@true
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Compile rules for gcc source files.
|
|
||||||
%.o: %.c
|
|
||||||
$(HOST_CC) $(_CGO_CFLAGS_$(GOARCH)) -g -fPIC -O2 -o $@ -c -I_obj $(CGO_CFLAGS) $(_CGO_CFLAGS) $*.c
|
|
||||||
|
|
||||||
%.o: _obj/%.c
|
|
||||||
$(HOST_CC) $(_CGO_CFLAGS_$(GOARCH)) -I . -g -fPIC -O2 -o $@ -c -I_obj $(CGO_CFLAGS) $(_CGO_CFLAGS) $^
|
|
||||||
|
|
||||||
# To find out which symbols are needed from external libraries
|
|
||||||
# and which libraries are needed, we build a simple a.out that
|
|
||||||
# links all the objects we just created and then use cgo -dynimport
|
|
||||||
# to inspect it. That is, we make gcc tell us which dynamic symbols
|
|
||||||
# and libraries are involved, instead of duplicating gcc's logic ourselves.
|
|
||||||
# After main we have to define all the symbols that will be provided
|
|
||||||
# by Go code. That's crosscall2 and any exported symbols.
|
|
||||||
|
|
||||||
_cgo1_.o: _cgo_main.o $(CGO_OFILES) $(CGO_DEPS)
|
|
||||||
$(HOST_CC) $(_CGO_CFLAGS_$(GOARCH)) -g -fPIC -O2 -o $@ $^ $(CGO_LDFLAGS) $(_CGO_LDFLAGS)
|
|
||||||
|
|
||||||
_obj/_cgo_import.c: _cgo1_.o
|
|
||||||
@mkdir -p _obj
|
|
||||||
cgo -dynimport _cgo1_.o >$@_ && mv -f $@_ $@
|
|
||||||
|
|
||||||
# The rules above added x.cgo1.go and _cgo_gotypes.go to $(GOFILES),
|
|
||||||
# added _cgo_defun.$O to $OFILES, and added the installed copy of
|
|
||||||
# package_x.so (built from x.cgo2.c) to $(INSTALLFILES).
|
|
||||||
|
|
||||||
# Have to run gcc with the right size argument on hybrid 32/64 machines.
|
|
||||||
_CGO_CFLAGS_386=-m32
|
|
||||||
_CGO_CFLAGS_amd64=-m64
|
|
||||||
_CGO_LDFLAGS_freebsd=-shared -lpthread -lm
|
|
||||||
_CGO_LDFLAGS_linux=-shared -lpthread -lm
|
|
||||||
_CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup
|
|
||||||
_CGO_LDFLAGS_windows=-shared -lm -mthreads
|
|
||||||
|
|
||||||
# Have to compile the runtime header.
|
|
||||||
RUNTIME_CFLAGS=-I$(pkgdir)
|
|
||||||
|
|
||||||
# Compile _cgo_defun.c with 6c; needs access to the runtime headers.
|
|
||||||
_cgo_defun.$O: _obj/_cgo_defun.c
|
|
||||||
$(CC) $(CFLAGS) $(RUNTIME_CFLAGS) -I . -o "$@" _obj/_cgo_defun.c
|
|
||||||
|
|
||||||
# To use swig in a Go package, add a line
|
|
||||||
#
|
|
||||||
# SWIGFILES=x.swig
|
|
||||||
#
|
|
||||||
# to the main Makefile. This signals that SWIG should process the
|
|
||||||
#.swig file when building the package.
|
|
||||||
#
|
|
||||||
# To wrap C code, use an extension of .swig. To wrap C++ code, use an
|
|
||||||
# extension of .swigcxx.
|
|
||||||
#
|
|
||||||
# SWIGFILES=myclib.swig mycxxlib.swigcxx
|
|
||||||
|
|
||||||
ifdef SWIGFILES
|
|
||||||
_obj/%._swig_run _obj/%.go _obj/%_gc.c _obj/%_wrap.c: %.swig
|
|
||||||
@mkdir -p _obj
|
|
||||||
swig -go -module $* -soname $(SWIG_PREFIX)-$*.so -o _obj/$*_wrap.c -outdir _obj $<
|
|
||||||
|
|
||||||
_obj/%._swig_run _obj/%.go _obj/%_gc.c _obj/%_wrap.cxx: %.swigcxx
|
|
||||||
@mkdir -p _obj
|
|
||||||
swig -go -c++ -module $* -soname $(SWIG_PREFIX)-$*.so -o _obj/$*_wrap.cxx -outdir _obj $<
|
|
||||||
|
|
||||||
_obj/%_gc.$O: _obj/%_gc.c
|
|
||||||
$(CC) $(CFLAGS) -I . -I$(pkgdir) -o "$@" _obj/$*_gc.c
|
|
||||||
|
|
||||||
_obj/%_wrap.o: _obj/%_wrap.c
|
|
||||||
$(HOST_CC) $(_CGO_CFLAGS_$(GOARCH)) -I . -g -fPIC -O2 -o $@ -c $^ $(SWIG_CFLAGS)
|
|
||||||
|
|
||||||
HOST_CXX=g++
|
|
||||||
|
|
||||||
_obj/%_wrapcxx.o: _obj/%_wrap.cxx
|
|
||||||
$(HOST_CXX) $(_CGO_CFLAGS_$(GOARCH)) -I . -g -fPIC -O2 -o $@ -c $^ $(SWIG_CXXFLAGS)
|
|
||||||
|
|
||||||
_obj/$(SWIG_PREFIX)-%.so: _obj/%_wrap.o
|
|
||||||
$(HOST_CC) $(_CGO_CFLAGS_$(GOARCH)) -o $@ $^ $(SWIG_LDFLAGS) $(_CGO_LDFLAGS_$(GOOS)) $(_SWIG_LDFLAGS_$(GOOS))
|
|
||||||
|
|
||||||
_obj/$(SWIG_PREFIX)-%.so: _obj/%_wrapcxx.o
|
|
||||||
$(HOST_CXX) $(_CGO_CFLAGS_$(GOARCH)) -o $@ $^ $(SWIG_LDFLAGS) $(_CGO_LDFLAGS_$(GOOS)) $(_SWIG_LDFLAGS_$(GOOS))
|
|
||||||
|
|
||||||
$(TARGDIR)/swig/$(SWIG_PREFIX)-%.so: _obj/$(SWIG_PREFIX)-%.so
|
|
||||||
@mkdir -p $(TARGDIR)/swig
|
|
||||||
cp $< "$@"
|
|
||||||
|
|
||||||
all: $(SWIG_SOS)
|
|
||||||
|
|
||||||
SWIG_RPATH=-r $(TARGDIR)/swig
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Generic build rules.
|
|
||||||
# These come last so that the rules above can override them
|
|
||||||
# for more specific file names.
|
|
||||||
%.$O: %.c $(HFILES)
|
|
||||||
$(CC) $(CFLAGS) -o "$@" $*.c
|
|
||||||
|
|
||||||
%.$O: _obj/%.c $(HFILES)
|
|
||||||
$(CC) $(CFLAGS) -I . -o "$@" _obj/$*.c
|
|
||||||
|
|
||||||
%.$O: %.s $(HFILES)
|
|
||||||
$(AS) $(AFLAGS) $*.s
|
|
@ -1,32 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
ifeq ($(GOOS),windows)
|
|
||||||
TARG:=$(TARG).exe
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Tools always go into $GOROOT/bin/go-tool
|
|
||||||
TOOLDIR=$(QUOTED_GOROOT)/bin/go-tool
|
|
||||||
|
|
||||||
all: $(TARG)
|
|
||||||
|
|
||||||
include $(QUOTED_GOROOT)/src/Make.common
|
|
||||||
|
|
||||||
PREREQ+=$(patsubst %,%.make,$(DEPS))
|
|
||||||
|
|
||||||
$(TARG): _go_.$O
|
|
||||||
$(LD) $(LDIMPORTS) -o $@ _go_.$O
|
|
||||||
|
|
||||||
_go_.$O: $(GOFILES) $(PREREQ)
|
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) -o $@ $(GOFILES)
|
|
||||||
|
|
||||||
install: $(TOOLDIR)/$(TARG)
|
|
||||||
|
|
||||||
$(TOOLDIR)/$(TARG): $(TARG)
|
|
||||||
mkdir -p $(TOOLDIR) && cp -f $(TARG) $(TOOLDIR)
|
|
||||||
|
|
||||||
CLEANFILES+=$(TARG) _test _testmain.go test.out build.out
|
|
||||||
|
|
||||||
nuke: clean
|
|
||||||
rm -f $(TOOLDIR)/$(TARG)
|
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/darwin_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/darwin_386/go
|
||||||
|
@ -490,7 +490,7 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/
|
||||||
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/freebsd_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/freebsd_386/go
|
||||||
|
@ -490,8 +490,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/freebsd_amd64/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/freebsd_amd64/go
|
||||||
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/linux_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/linux_386/go
|
||||||
|
@ -490,8 +490,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/linux_amd64/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/linux_amd64/go
|
||||||
|
@ -494,8 +494,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_arm/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/5g -o "$WORK"/cmd/go/_obj/_go_.5 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/5g -o "$WORK"/cmd/go/_obj/_go_.5 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.5
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.5
|
||||||
"$GOROOT"/bin/go-tool/5l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/5l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/linux_arm/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/linux_arm/go
|
||||||
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/netbsd_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/netbsd_386/go
|
||||||
|
@ -490,8 +490,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/netbsd_amd64/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/netbsd_amd64/go
|
||||||
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/openbsd_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/openbsd_386/go
|
||||||
|
@ -490,8 +490,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/openbsd_amd64/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/openbsd_amd64/go
|
||||||
|
@ -491,8 +491,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/plan9_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/plan9_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap
|
cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/plan9_386/go
|
||||||
|
@ -493,8 +493,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_386/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/8g -o "$WORK"/cmd/go/_obj/_go_.8 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8
|
||||||
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out.exe -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/8l -o "$WORK"/cmd/go/_obj/a.out.exe -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/windows_386/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out.exe "$GOBIN"/go_bootstrap.exe
|
cp "$WORK"/cmd/go/_obj/a.out.exe "$GOBIN"/windows_386/go.exe
|
||||||
|
@ -492,8 +492,8 @@ cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_amd64/text/template.a
|
|||||||
|
|
||||||
mkdir -p "$WORK"/cmd/go/_obj/
|
mkdir -p "$WORK"/cmd/go/_obj/
|
||||||
cd "$GOROOT"/src/cmd/go
|
cd "$GOROOT"/src/cmd/go
|
||||||
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
"$GOROOT"/bin/go-tool/6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./bootstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
|
||||||
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
"$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6
|
||||||
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out.exe -L "$WORK" "$WORK"/cmd/go.a
|
"$GOROOT"/bin/go-tool/6l -o "$WORK"/cmd/go/_obj/a.out.exe -L "$WORK" "$WORK"/cmd/go.a
|
||||||
mkdir -p "$GOBIN"/
|
mkdir -p "$GOBIN"/windows_amd64/
|
||||||
cp "$WORK"/cmd/go/_obj/a.out.exe "$GOBIN"/go_bootstrap.exe
|
cp "$WORK"/cmd/go/_obj/a.out.exe "$GOBIN"/windows_amd64/go.exe
|
||||||
|
@ -19,13 +19,20 @@ if [ "$1" != "--nopkg" ]; then
|
|||||||
rm -rf "$GOROOT"/pkg/${GOOS}_$GOARCH
|
rm -rf "$GOROOT"/pkg/${GOOS}_$GOARCH
|
||||||
fi
|
fi
|
||||||
rm -f "$GOROOT"/lib/*.a
|
rm -f "$GOROOT"/lib/*.a
|
||||||
for i in lib9 libbio libmach cmd pkg \
|
for i in lib9 libbio libmach cmd
|
||||||
../misc/cgo/gmp ../misc/cgo/stdio \
|
|
||||||
../misc/cgo/life ../misc/cgo/test \
|
|
||||||
../misc/dashboard/builder ../misc/goplay\
|
|
||||||
../doc/codelab/wiki\
|
|
||||||
../test/bench/shootout ../test/bench/garbage ../test/bench/go1
|
|
||||||
do
|
do
|
||||||
# Do not use gomake here. It may not be available.
|
# Do not use gomake here. It may not be available.
|
||||||
$MAKE -C "$GOROOT/src/$i" clean
|
$MAKE -C "$GOROOT/src/$i" clean
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -x "$GOBIN/go" ]; then
|
||||||
|
go clean std || true # go command might not know about clean
|
||||||
|
|
||||||
|
# TODO: Make clean work in directories outside $GOPATH
|
||||||
|
true || go clean \
|
||||||
|
../misc/cgo/gmp ../misc/cgo/stdio \
|
||||||
|
../misc/cgo/life ../misc/cgo/test \
|
||||||
|
../misc/dashboard/builder ../misc/goplay\
|
||||||
|
../doc/codelab/wiki\
|
||||||
|
../test/bench/shootout ../test/bench/garbage ../test/bench/go1
|
||||||
|
fi
|
||||||
|
@ -20,8 +20,7 @@ DIRS=\
|
|||||||
pack\
|
pack\
|
||||||
prof\
|
prof\
|
||||||
|
|
||||||
# Clean applies to all directories, even for other architectures or
|
# Clean applies to all directories, even for other architectures.
|
||||||
# written in Go.
|
|
||||||
CLEANDIRS=\
|
CLEANDIRS=\
|
||||||
$(DIRS)\
|
$(DIRS)\
|
||||||
5a\
|
5a\
|
||||||
@ -36,12 +35,6 @@ CLEANDIRS=\
|
|||||||
8c\
|
8c\
|
||||||
8g\
|
8g\
|
||||||
8l\
|
8l\
|
||||||
cgo\
|
|
||||||
godoc\
|
|
||||||
fix\
|
|
||||||
gofmt\
|
|
||||||
vet\
|
|
||||||
yacc\
|
|
||||||
|
|
||||||
install: $(patsubst %,%.install,$(DIRS))
|
install: $(patsubst %,%.install,$(DIRS))
|
||||||
clean: $(patsubst %,%.clean,$(CLEANDIRS))
|
clean: $(patsubst %,%.clean,$(CLEANDIRS))
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=cgo
|
|
||||||
GOFILES=\
|
|
||||||
ast.go\
|
|
||||||
gcc.go\
|
|
||||||
godefs.go\
|
|
||||||
main.go\
|
|
||||||
out.go\
|
|
||||||
util.go\
|
|
||||||
|
|
||||||
include ../../Make.cmd
|
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=gofix
|
|
||||||
GOFILES=\
|
|
||||||
error.go\
|
|
||||||
filepath.go\
|
|
||||||
fix.go\
|
|
||||||
go1pkgrename.go\
|
|
||||||
googlecode.go\
|
|
||||||
hashsum.go\
|
|
||||||
hmacnew.go\
|
|
||||||
htmlerr.go\
|
|
||||||
httpfinalurl.go\
|
|
||||||
httpfs.go\
|
|
||||||
httpheaders.go\
|
|
||||||
httpserver.go\
|
|
||||||
httputil.go\
|
|
||||||
imagecolor.go\
|
|
||||||
imagenew.go\
|
|
||||||
imagetiled.go\
|
|
||||||
imageycbcr.go\
|
|
||||||
iocopyn.go\
|
|
||||||
main.go\
|
|
||||||
mapdelete.go\
|
|
||||||
math.go\
|
|
||||||
netdial.go\
|
|
||||||
netudpgroup.go\
|
|
||||||
oserrorstring.go\
|
|
||||||
osopen.go\
|
|
||||||
procattr.go\
|
|
||||||
reflect.go\
|
|
||||||
signal.go\
|
|
||||||
sorthelpers.go\
|
|
||||||
sortslice.go\
|
|
||||||
strconv.go\
|
|
||||||
stringssplit.go\
|
|
||||||
template.go\
|
|
||||||
timefileinfo.go\
|
|
||||||
typecheck.go\
|
|
||||||
url.go\
|
|
||||||
xmlapi.go\
|
|
||||||
|
|
||||||
include ../../Make.tool
|
|
||||||
|
|
||||||
test:
|
|
||||||
gotest
|
|
||||||
|
|
||||||
testshort:
|
|
||||||
gotest -test.short
|
|
@ -1,26 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=go
|
|
||||||
GOFILES=\
|
|
||||||
build.go\
|
|
||||||
fix.go\
|
|
||||||
get.go\
|
|
||||||
fmt.go\
|
|
||||||
help.go\
|
|
||||||
http.go\
|
|
||||||
list.go\
|
|
||||||
main.go\
|
|
||||||
pkg.go\
|
|
||||||
run.go\
|
|
||||||
test.go\
|
|
||||||
testflag.go\
|
|
||||||
tool.go\
|
|
||||||
version.go\
|
|
||||||
vet.go\
|
|
||||||
vcs.go\
|
|
||||||
|
|
||||||
include ../../Make.cmd
|
|
@ -1,25 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=godoc
|
|
||||||
GOFILES=\
|
|
||||||
codewalk.go\
|
|
||||||
dirtrees.go\
|
|
||||||
filesystem.go\
|
|
||||||
format.go\
|
|
||||||
godoc.go\
|
|
||||||
httpzip.go\
|
|
||||||
index.go\
|
|
||||||
main.go\
|
|
||||||
mapping.go\
|
|
||||||
parser.go\
|
|
||||||
snippet.go\
|
|
||||||
spec.go\
|
|
||||||
throttle.go\
|
|
||||||
utils.go\
|
|
||||||
zip.go\
|
|
||||||
|
|
||||||
include ../../Make.cmd
|
|
@ -1,19 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=gofmt
|
|
||||||
GOFILES=\
|
|
||||||
gofmt.go\
|
|
||||||
rewrite.go\
|
|
||||||
simplify.go\
|
|
||||||
|
|
||||||
include ../../Make.cmd
|
|
||||||
|
|
||||||
test: $(TARG)
|
|
||||||
./test.sh
|
|
||||||
|
|
||||||
testshort:
|
|
||||||
gotest -test.short
|
|
@ -2,16 +2,6 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../Make.inc
|
test testshort:
|
||||||
|
go build
|
||||||
TARG=vet
|
../../../test/errchk ./vet -printfuncs='Warn:1,Warnf:1' print.go
|
||||||
GOFILES=\
|
|
||||||
main.go\
|
|
||||||
method.go\
|
|
||||||
print.go\
|
|
||||||
structtag.go\
|
|
||||||
|
|
||||||
include ../../Make.tool
|
|
||||||
|
|
||||||
test testshort: $(TARG)
|
|
||||||
../../../test/errchk $(TARG) -printfuncs='Warn:1,Warnf:1' print.go
|
|
||||||
|
@ -2,17 +2,6 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../Make.inc
|
units: yacc.go units.y
|
||||||
|
go run yacc.go -p units_ units.y
|
||||||
TARG=yacc
|
go build -o units y.go
|
||||||
GOFILES=\
|
|
||||||
yacc.go\
|
|
||||||
|
|
||||||
include ../../Make.tool
|
|
||||||
|
|
||||||
units: yacc units.y
|
|
||||||
./yacc -p units_ units.y
|
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) y.go
|
|
||||||
$(LD) -o units y.$O
|
|
||||||
|
|
||||||
CLEANFILES += units y.go y.output
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# Disable use of makefiles during build.
|
|
||||||
# TODO: Remove this and the makefiles.
|
|
||||||
USE_GO_TOOL=true
|
|
||||||
|
|
||||||
# If set to a Windows-style path convert to an MSYS-Unix
|
# If set to a Windows-style path convert to an MSYS-Unix
|
||||||
# one using the built-in shell commands.
|
# one using the built-in shell commands.
|
||||||
if [[ "$GOROOT" == *:* ]]; then
|
if [[ "$GOROOT" == *:* ]]; then
|
||||||
|
@ -49,13 +49,15 @@ export CC
|
|||||||
sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOBIN"/quietgcc
|
sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOBIN"/quietgcc
|
||||||
chmod +x "$GOBIN"/quietgcc
|
chmod +x "$GOBIN"/quietgcc
|
||||||
|
|
||||||
|
export GOMAKE="$GOROOT"/bin/go-tool/make
|
||||||
rm -f "$GOBIN"/gomake
|
rm -f "$GOBIN"/gomake
|
||||||
|
rm -f "$GOMAKE"
|
||||||
(
|
(
|
||||||
echo '#!/bin/sh'
|
echo '#!/bin/sh'
|
||||||
echo 'export GOROOT=${GOROOT:-'$GOROOT_FINAL'}'
|
echo 'export GOROOT=${GOROOT:-'$GOROOT_FINAL'}'
|
||||||
echo 'exec '$MAKE' "$@"'
|
echo 'exec '$MAKE' "$@"'
|
||||||
) >"$GOBIN"/gomake
|
) >"$GOMAKE"
|
||||||
chmod +x "$GOBIN"/gomake
|
chmod +x "$GOMAKE"
|
||||||
|
|
||||||
# on Fedora 16 the selinux filesystem is mounted at /sys/fs/selinux,
|
# on Fedora 16 the selinux filesystem is mounted at /sys/fs/selinux,
|
||||||
# so loop through the possible selinux mount points
|
# so loop through the possible selinux mount points
|
||||||
@ -78,18 +80,13 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
$USE_GO_TOOL ||
|
|
||||||
(
|
|
||||||
cd "$GOROOT"/src/pkg;
|
|
||||||
bash deps.bash # do this here so clean.bash will work in the pkg directory
|
|
||||||
) || exit 1
|
|
||||||
bash "$GOROOT"/src/clean.bash
|
bash "$GOROOT"/src/clean.bash
|
||||||
|
|
||||||
# pkg builds runtime/cgo and the Go programs in cmd.
|
# pkg builds runtime/cgo and the Go programs in cmd.
|
||||||
for i in lib9 libbio libmach cmd
|
for i in lib9 libbio libmach cmd
|
||||||
do
|
do
|
||||||
echo; echo; echo %%%% making $i %%%%; echo
|
echo; echo; echo %%%% making $i %%%%; echo
|
||||||
gomake -C $i install
|
"$GOMAKE" -C $i install
|
||||||
done
|
done
|
||||||
|
|
||||||
echo; echo; echo %%%% making runtime generated files %%%%; echo
|
echo; echo; echo %%%% making runtime generated files %%%%; echo
|
||||||
@ -97,36 +94,33 @@ echo; echo; echo %%%% making runtime generated files %%%%; echo
|
|||||||
(
|
(
|
||||||
cd "$GOROOT"/src/pkg/runtime
|
cd "$GOROOT"/src/pkg/runtime
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
gomake install; gomake clean # copy runtime.h to pkg directory
|
"$GOMAKE" install; "$GOMAKE" clean # copy runtime.h to pkg directory
|
||||||
) || exit 1
|
) || exit 1
|
||||||
|
|
||||||
if $USE_GO_TOOL; then
|
echo
|
||||||
echo
|
echo '# Building go_bootstrap command from bootstrap script.'
|
||||||
echo '# Building go_bootstrap command from bootstrap script.'
|
if ! ./buildscript/${GOOS}_$GOARCH.sh; then
|
||||||
if ! ./buildscript/${GOOS}_$GOARCH.sh; then
|
echo '# Bootstrap script failed.'
|
||||||
echo '# Bootstrap script failed.'
|
if [ ! -x "$GOBIN/go" ]; then
|
||||||
if [ ! -x "$GOBIN/go" ]; then
|
exit 1
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo '# Regenerating bootstrap script using pre-existing go binary.'
|
|
||||||
./buildscript.sh
|
|
||||||
./buildscript/${GOOS}_$GOARCH.sh
|
|
||||||
fi
|
fi
|
||||||
|
echo '# Regenerating bootstrap script using pre-existing go binary.'
|
||||||
echo '# Building Go code.'
|
./buildscript.sh
|
||||||
go_bootstrap install -a -v std
|
./buildscript/${GOOS}_$GOARCH.sh
|
||||||
rm -f "$GOBIN/go_bootstrap"
|
|
||||||
|
|
||||||
else
|
|
||||||
echo; echo; echo %%%% making pkg %%%%; echo
|
|
||||||
gomake -C pkg install
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clean what clean.bash couldn't.
|
||||||
|
go_bootstrap clean std
|
||||||
|
|
||||||
|
echo '# Building Go code.'
|
||||||
|
go_bootstrap install -a -v std
|
||||||
|
rm -f "$GOBIN/go_bootstrap"
|
||||||
|
|
||||||
# Print post-install messages.
|
# Print post-install messages.
|
||||||
# Implemented as a function so that all.bash can repeat the output
|
# Implemented as a function so that all.bash can repeat the output
|
||||||
# after run.bash finishes running all the tests.
|
# after run.bash finishes running all the tests.
|
||||||
installed() {
|
installed() {
|
||||||
eval $(gomake --no-print-directory -f Make.inc go-env)
|
eval $("$GOMAKE" --no-print-directory -f Make.inc go-env)
|
||||||
echo
|
echo
|
||||||
echo ---
|
echo ---
|
||||||
echo Installed Go for $GOOS/$GOARCH in "$GOROOT".
|
echo Installed Go for $GOOS/$GOARCH in "$GOROOT".
|
||||||
@ -137,7 +131,6 @@ installed() {
|
|||||||
*)
|
*)
|
||||||
echo '***' "You need to add $GOBIN to your "'$PATH.' '***'
|
echo '***' "You need to add $GOBIN to your "'$PATH.' '***'
|
||||||
esac
|
esac
|
||||||
echo The compiler is $GC.
|
|
||||||
if [ "$(uname)" = "Darwin" ]; then
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
echo
|
echo
|
||||||
echo On OS X the debuggers must be installed setgrp procmod.
|
echo On OS X the debuggers must be installed setgrp procmod.
|
||||||
|
259
src/pkg/Makefile
259
src/pkg/Makefile
@ -1,259 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../Make.inc
|
|
||||||
|
|
||||||
all: install
|
|
||||||
|
|
||||||
DIRS=\
|
|
||||||
archive/tar\
|
|
||||||
archive/zip\
|
|
||||||
bufio\
|
|
||||||
bytes\
|
|
||||||
compress/bzip2\
|
|
||||||
compress/flate\
|
|
||||||
compress/gzip\
|
|
||||||
compress/lzw \
|
|
||||||
compress/zlib\
|
|
||||||
container/heap\
|
|
||||||
container/list\
|
|
||||||
container/ring\
|
|
||||||
crypto\
|
|
||||||
crypto/aes\
|
|
||||||
crypto/cipher\
|
|
||||||
crypto/des\
|
|
||||||
crypto/dsa\
|
|
||||||
crypto/ecdsa\
|
|
||||||
crypto/elliptic\
|
|
||||||
crypto/hmac\
|
|
||||||
crypto/md5\
|
|
||||||
crypto/rand\
|
|
||||||
crypto/rc4\
|
|
||||||
crypto/rsa\
|
|
||||||
crypto/sha1\
|
|
||||||
crypto/sha256\
|
|
||||||
crypto/sha512\
|
|
||||||
crypto/subtle\
|
|
||||||
crypto/tls\
|
|
||||||
crypto/x509\
|
|
||||||
crypto/x509/pkix\
|
|
||||||
database/sql\
|
|
||||||
database/sql/driver\
|
|
||||||
debug/dwarf\
|
|
||||||
debug/macho\
|
|
||||||
debug/elf\
|
|
||||||
debug/gosym\
|
|
||||||
debug/pe\
|
|
||||||
encoding/ascii85\
|
|
||||||
encoding/asn1\
|
|
||||||
encoding/base32\
|
|
||||||
encoding/base64\
|
|
||||||
encoding/binary\
|
|
||||||
encoding/csv\
|
|
||||||
encoding/gob\
|
|
||||||
encoding/hex\
|
|
||||||
encoding/json\
|
|
||||||
encoding/pem\
|
|
||||||
encoding/xml\
|
|
||||||
errors\
|
|
||||||
exp/ebnf\
|
|
||||||
exp/ebnflint\
|
|
||||||
exp/gotype\
|
|
||||||
exp/html\
|
|
||||||
exp/norm\
|
|
||||||
exp/terminal\
|
|
||||||
exp/types\
|
|
||||||
expvar\
|
|
||||||
flag\
|
|
||||||
fmt\
|
|
||||||
go/ast\
|
|
||||||
go/build\
|
|
||||||
go/doc\
|
|
||||||
go/parser\
|
|
||||||
go/printer\
|
|
||||||
go/scanner\
|
|
||||||
go/token\
|
|
||||||
hash\
|
|
||||||
hash/adler32\
|
|
||||||
hash/crc32\
|
|
||||||
hash/crc64\
|
|
||||||
hash/fnv\
|
|
||||||
html\
|
|
||||||
html/template\
|
|
||||||
image\
|
|
||||||
image/color\
|
|
||||||
image/draw\
|
|
||||||
image/gif\
|
|
||||||
image/jpeg\
|
|
||||||
image/png\
|
|
||||||
index/suffixarray\
|
|
||||||
io\
|
|
||||||
io/ioutil\
|
|
||||||
log\
|
|
||||||
log/syslog\
|
|
||||||
math\
|
|
||||||
math/big\
|
|
||||||
math/cmplx\
|
|
||||||
math/rand\
|
|
||||||
mime\
|
|
||||||
mime/multipart\
|
|
||||||
net\
|
|
||||||
net/http\
|
|
||||||
net/http/cgi\
|
|
||||||
net/http/fcgi\
|
|
||||||
net/http/pprof\
|
|
||||||
net/http/httptest\
|
|
||||||
net/http/httputil\
|
|
||||||
net/mail\
|
|
||||||
net/rpc\
|
|
||||||
net/rpc/jsonrpc\
|
|
||||||
net/smtp\
|
|
||||||
net/textproto\
|
|
||||||
net/url\
|
|
||||||
old/netchan\
|
|
||||||
old/regexp\
|
|
||||||
old/template\
|
|
||||||
os\
|
|
||||||
os/exec\
|
|
||||||
os/signal\
|
|
||||||
os/user\
|
|
||||||
path\
|
|
||||||
path/filepath\
|
|
||||||
reflect\
|
|
||||||
regexp\
|
|
||||||
regexp/syntax\
|
|
||||||
runtime\
|
|
||||||
runtime/cgo\
|
|
||||||
runtime/debug\
|
|
||||||
runtime/pprof\
|
|
||||||
sort\
|
|
||||||
strconv\
|
|
||||||
strings\
|
|
||||||
sync\
|
|
||||||
sync/atomic\
|
|
||||||
syscall\
|
|
||||||
testing\
|
|
||||||
testing/iotest\
|
|
||||||
testing/quick\
|
|
||||||
testing/script\
|
|
||||||
text/scanner\
|
|
||||||
text/tabwriter\
|
|
||||||
text/template\
|
|
||||||
text/template/parse\
|
|
||||||
time\
|
|
||||||
unicode\
|
|
||||||
unicode/utf16\
|
|
||||||
unicode/utf8\
|
|
||||||
../cmd/cgo\
|
|
||||||
../cmd/godoc\
|
|
||||||
../cmd/fix\
|
|
||||||
../cmd/gofmt\
|
|
||||||
../cmd/vet\
|
|
||||||
../cmd/yacc\
|
|
||||||
|
|
||||||
ifeq ($(GOOS),linux)
|
|
||||||
DIRS+=\
|
|
||||||
exp/inotify\
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(GOOS),plan9)
|
|
||||||
NOPLAN9BUILD=\
|
|
||||||
os/signal\
|
|
||||||
|
|
||||||
DIRS:=$(filter-out $(NOPLAN9BUILD),$(DIRS))
|
|
||||||
endif
|
|
||||||
|
|
||||||
NOTEST+=\
|
|
||||||
crypto\
|
|
||||||
crypto/openpgp/errors\
|
|
||||||
crypto/x509/pkix\
|
|
||||||
exp/ebnflint\
|
|
||||||
go/doc\
|
|
||||||
hash\
|
|
||||||
image/gif\
|
|
||||||
net/http/pprof\
|
|
||||||
net/http/httptest\
|
|
||||||
runtime/cgo\
|
|
||||||
syscall\
|
|
||||||
testing\
|
|
||||||
testing/iotest\
|
|
||||||
../cmd/cgo\
|
|
||||||
../cmd/godoc\
|
|
||||||
../cmd/yacc\
|
|
||||||
|
|
||||||
NOBENCH+=\
|
|
||||||
|
|
||||||
# Disable tests that windows cannot run yet.
|
|
||||||
ifeq ($(GOOS),windows)
|
|
||||||
NOTEST+=os/signal # no signals
|
|
||||||
NOTEST+=syslog # no network
|
|
||||||
endif
|
|
||||||
|
|
||||||
TEST=\
|
|
||||||
$(filter-out $(NOTEST),$(DIRS))
|
|
||||||
|
|
||||||
BENCH=\
|
|
||||||
$(filter-out $(NOBENCH),$(TEST))
|
|
||||||
|
|
||||||
CRAP:
|
|
||||||
echo $(DIRS)
|
|
||||||
|
|
||||||
clean.dirs: $(addsuffix .clean, $(DIRS))
|
|
||||||
install.dirs: $(addsuffix .install, $(DIRS))
|
|
||||||
nuke.dirs: $(addsuffix .nuke, $(DIRS))
|
|
||||||
test.dirs: $(addsuffix .test, $(TEST))
|
|
||||||
testshort.dirs: $(addsuffix .testshort, $(TEST))
|
|
||||||
bench.dirs: $(addsuffix .bench, $(BENCH))
|
|
||||||
|
|
||||||
%.clean:
|
|
||||||
+$(MAKE) -C $* clean
|
|
||||||
|
|
||||||
%.install:
|
|
||||||
+@echo install $*
|
|
||||||
+@$(MAKE) -C $* install.clean >$*/build.out 2>&1 || (echo INSTALL FAIL $*; cat $*/build.out; exit 1)
|
|
||||||
|
|
||||||
%.nuke:
|
|
||||||
+$(MAKE) -C $* nuke
|
|
||||||
|
|
||||||
%.test:
|
|
||||||
+@echo test $*
|
|
||||||
+@$(MAKE) -C $* test.clean >$*/test.out 2>&1 || (echo TEST FAIL $*; cat $*/test.out; exit 1)
|
|
||||||
|
|
||||||
%.testshort:
|
|
||||||
+@echo test $*
|
|
||||||
+@$(MAKE) -C $* testshort.clean >$*/test.out 2>&1 || (echo TEST FAIL $*; cat $*/test.out; exit 1)
|
|
||||||
|
|
||||||
%.bench:
|
|
||||||
+$(MAKE) -C $* bench
|
|
||||||
|
|
||||||
clean: clean.dirs
|
|
||||||
|
|
||||||
install: install.dirs
|
|
||||||
|
|
||||||
test: test.dirs
|
|
||||||
|
|
||||||
testshort: testshort.dirs
|
|
||||||
|
|
||||||
bench: bench.dirs ../../test/garbage.bench
|
|
||||||
|
|
||||||
nuke: nuke.dirs
|
|
||||||
rm -rf "$(GOROOT)"/pkg/*
|
|
||||||
|
|
||||||
deps:
|
|
||||||
./deps.bash
|
|
||||||
|
|
||||||
echo-dirs:
|
|
||||||
@echo $(DIRS)
|
|
||||||
|
|
||||||
-include Make.deps
|
|
||||||
|
|
||||||
runtime/cgo.install: ../cmd/cgo.install
|
|
@ -1,13 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=archive/tar
|
|
||||||
GOFILES=\
|
|
||||||
common.go\
|
|
||||||
reader.go\
|
|
||||||
writer.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=archive/zip
|
|
||||||
GOFILES=\
|
|
||||||
reader.go\
|
|
||||||
struct.go\
|
|
||||||
writer.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=bufio
|
|
||||||
GOFILES=\
|
|
||||||
bufio.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,16 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=bytes
|
|
||||||
GOFILES=\
|
|
||||||
buffer.go\
|
|
||||||
bytes.go\
|
|
||||||
bytes_decl.go\
|
|
||||||
|
|
||||||
OFILES=\
|
|
||||||
asm_$(GOARCH).$O\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,14 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=compress/bzip2
|
|
||||||
GOFILES=\
|
|
||||||
bit_reader.go\
|
|
||||||
bzip2.go\
|
|
||||||
huffman.go\
|
|
||||||
move_to_front.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,16 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=compress/flate
|
|
||||||
GOFILES=\
|
|
||||||
deflate.go\
|
|
||||||
huffman_bit_writer.go\
|
|
||||||
huffman_code.go\
|
|
||||||
inflate.go\
|
|
||||||
reverse_bits.go\
|
|
||||||
token.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=compress/gzip
|
|
||||||
GOFILES=\
|
|
||||||
gunzip.go\
|
|
||||||
gzip.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=compress/lzw
|
|
||||||
GOFILES=\
|
|
||||||
reader.go\
|
|
||||||
writer.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=compress/zlib
|
|
||||||
GOFILES=\
|
|
||||||
reader.go\
|
|
||||||
writer.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=container/heap
|
|
||||||
GOFILES=\
|
|
||||||
heap.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=container/list
|
|
||||||
GOFILES=\
|
|
||||||
list.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=container/ring
|
|
||||||
GOFILES=\
|
|
||||||
ring.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto
|
|
||||||
GOFILES=\
|
|
||||||
crypto.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,13 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/aes
|
|
||||||
GOFILES=\
|
|
||||||
block.go\
|
|
||||||
cipher.go\
|
|
||||||
const.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,17 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/cipher
|
|
||||||
GOFILES=\
|
|
||||||
cbc.go\
|
|
||||||
cfb.go\
|
|
||||||
cipher.go\
|
|
||||||
ctr.go\
|
|
||||||
io.go\
|
|
||||||
ocfb.go\
|
|
||||||
ofb.go
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/des
|
|
||||||
GOFILES=\
|
|
||||||
block.go\
|
|
||||||
cipher.go\
|
|
||||||
const.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/dsa
|
|
||||||
GOFILES=\
|
|
||||||
dsa.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/ecdsa
|
|
||||||
GOFILES=\
|
|
||||||
ecdsa.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/elliptic
|
|
||||||
GOFILES=\
|
|
||||||
elliptic.go\
|
|
||||||
p224.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/hmac
|
|
||||||
GOFILES=\
|
|
||||||
hmac.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/md5
|
|
||||||
GOFILES=\
|
|
||||||
md5.go\
|
|
||||||
md5block.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/rand
|
|
||||||
|
|
||||||
GOFILES=\
|
|
||||||
rand.go\
|
|
||||||
util.go\
|
|
||||||
|
|
||||||
GOFILES_freebsd=\
|
|
||||||
rand_unix.go\
|
|
||||||
|
|
||||||
GOFILES_darwin=\
|
|
||||||
rand_unix.go\
|
|
||||||
|
|
||||||
GOFILES_linux=\
|
|
||||||
rand_unix.go\
|
|
||||||
|
|
||||||
GOFILES_openbsd=\
|
|
||||||
rand_unix.go\
|
|
||||||
|
|
||||||
GOFILES_windows=\
|
|
||||||
rand_windows.go\
|
|
||||||
|
|
||||||
GOFILES+=$(GOFILES_$(GOOS))
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/rc4
|
|
||||||
GOFILES=\
|
|
||||||
rc4.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/rsa
|
|
||||||
GOFILES=\
|
|
||||||
rsa.go\
|
|
||||||
pkcs1v15.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/sha1
|
|
||||||
GOFILES=\
|
|
||||||
sha1.go\
|
|
||||||
sha1block.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/sha256
|
|
||||||
GOFILES=\
|
|
||||||
sha256.go\
|
|
||||||
sha256block.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/sha512
|
|
||||||
GOFILES=\
|
|
||||||
sha512.go\
|
|
||||||
sha512block.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/subtle
|
|
||||||
GOFILES=\
|
|
||||||
constant_time.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,39 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/tls
|
|
||||||
GOFILES=\
|
|
||||||
alert.go\
|
|
||||||
cipher_suites.go\
|
|
||||||
common.go\
|
|
||||||
conn.go\
|
|
||||||
handshake_client.go\
|
|
||||||
handshake_messages.go\
|
|
||||||
handshake_server.go\
|
|
||||||
key_agreement.go\
|
|
||||||
prf.go\
|
|
||||||
tls.go\
|
|
||||||
|
|
||||||
ifeq ($(CGO_ENABLED),1)
|
|
||||||
CGOFILES_darwin=\
|
|
||||||
root_darwin.go
|
|
||||||
else
|
|
||||||
GOFILES_darwin+=root_stub.go
|
|
||||||
endif
|
|
||||||
|
|
||||||
GOFILES_freebsd+=root_unix.go
|
|
||||||
GOFILES_linux+=root_unix.go
|
|
||||||
GOFILES_netbsd+=root_unix.go
|
|
||||||
GOFILES_openbsd+=root_unix.go
|
|
||||||
GOFILES_plan9+=root_stub.go
|
|
||||||
GOFILES_windows+=root_windows.go
|
|
||||||
|
|
||||||
GOFILES+=$(GOFILES_$(GOOS))
|
|
||||||
ifneq ($(CGOFILES_$(GOOS)),)
|
|
||||||
CGOFILES+=$(CGOFILES_$(GOOS))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,15 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/x509
|
|
||||||
GOFILES=\
|
|
||||||
cert_pool.go\
|
|
||||||
pkcs1.go\
|
|
||||||
pkcs8.go\
|
|
||||||
verify.go\
|
|
||||||
x509.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../../Make.inc
|
|
||||||
|
|
||||||
TARG=crypto/x509/pkix
|
|
||||||
GOFILES=\
|
|
||||||
pkix.go\
|
|
||||||
|
|
||||||
include ../../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=database/sql
|
|
||||||
GOFILES=\
|
|
||||||
convert.go\
|
|
||||||
sql.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../../Make.inc
|
|
||||||
|
|
||||||
TARG=database/sql/driver
|
|
||||||
GOFILES=\
|
|
||||||
driver.go\
|
|
||||||
types.go\
|
|
||||||
|
|
||||||
include ../../../../Make.pkg
|
|
@ -1,16 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=debug/dwarf
|
|
||||||
GOFILES=\
|
|
||||||
buf.go\
|
|
||||||
const.go\
|
|
||||||
entry.go\
|
|
||||||
open.go\
|
|
||||||
type.go\
|
|
||||||
unit.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=debug/elf
|
|
||||||
GOFILES=\
|
|
||||||
elf.go\
|
|
||||||
file.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=debug/macho
|
|
||||||
GOFILES=\
|
|
||||||
macho.go\
|
|
||||||
file.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=debug/pe
|
|
||||||
GOFILES=\
|
|
||||||
pe.go\
|
|
||||||
file.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/ascii85
|
|
||||||
GOFILES=\
|
|
||||||
ascii85.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,13 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/asn1
|
|
||||||
GOFILES=\
|
|
||||||
asn1.go\
|
|
||||||
common.go\
|
|
||||||
marshal.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/base32
|
|
||||||
GOFILES=\
|
|
||||||
base32.go\
|
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/base64
|
|
||||||
GOFILES=\
|
|
||||||
base64.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/binary
|
|
||||||
GOFILES=\
|
|
||||||
binary.go\
|
|
||||||
varint.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/csv
|
|
||||||
GOFILES=\
|
|
||||||
reader.go\
|
|
||||||
writer.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -2,24 +2,8 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../../Make.inc
|
# Help for debugging.
|
||||||
|
dump: dump.go
|
||||||
|
go clean -i # remove installed copy
|
||||||
|
go build -t gob-debug -o dump dump.go
|
||||||
|
|
||||||
TARG=encoding/gob
|
|
||||||
GOFILES=\
|
|
||||||
decode.go\
|
|
||||||
decoder.go\
|
|
||||||
doc.go\
|
|
||||||
encode.go\
|
|
||||||
encoder.go\
|
|
||||||
error.go\
|
|
||||||
type.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
||||||
|
|
||||||
# Help for debugging. Requires adding debug.go to the gob package as well.
|
|
||||||
|
|
||||||
dump: dump.$O
|
|
||||||
$(LD) -o dump $<
|
|
||||||
|
|
||||||
dump.$O: dump.go
|
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) $<
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Delete the next line to include this file in the gob package.
|
// Delete the next line to include in the gob package.
|
||||||
// +build ignore
|
// +build gob-debug
|
||||||
|
|
||||||
package gob
|
package gob
|
||||||
|
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/hex
|
|
||||||
GOFILES=\
|
|
||||||
hex.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,16 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/json
|
|
||||||
GOFILES=\
|
|
||||||
decode.go\
|
|
||||||
encode.go\
|
|
||||||
indent.go\
|
|
||||||
scanner.go\
|
|
||||||
stream.go\
|
|
||||||
tags.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/pem
|
|
||||||
GOFILES=\
|
|
||||||
pem.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,15 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=encoding/xml
|
|
||||||
|
|
||||||
GOFILES=\
|
|
||||||
marshal.go\
|
|
||||||
read.go\
|
|
||||||
typeinfo.go\
|
|
||||||
xml.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=errors
|
|
||||||
GOFILES=\
|
|
||||||
errors.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/ebnf
|
|
||||||
GOFILES=\
|
|
||||||
ebnf.go\
|
|
||||||
parser.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,15 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=ebnflint
|
|
||||||
GOFILES=\
|
|
||||||
ebnflint.go\
|
|
||||||
|
|
||||||
include ../../../Make.cmd
|
|
||||||
|
|
||||||
test: $(TARG)
|
|
||||||
$(TARG) -start="SourceFile" "$(GOROOT)"/doc/go_spec.html
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=gotype
|
|
||||||
GOFILES=\
|
|
||||||
gotype.go\
|
|
||||||
|
|
||||||
include ../../../Make.cmd
|
|
||||||
|
|
||||||
test:
|
|
||||||
gotest
|
|
||||||
|
|
||||||
testshort:
|
|
||||||
gotest -test.short
|
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=html
|
|
||||||
GOFILES=\
|
|
||||||
const.go\
|
|
||||||
doc.go\
|
|
||||||
doctype.go\
|
|
||||||
entity.go\
|
|
||||||
escape.go\
|
|
||||||
foreign.go\
|
|
||||||
node.go\
|
|
||||||
parse.go\
|
|
||||||
render.go\
|
|
||||||
token.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,14 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/inotify
|
|
||||||
|
|
||||||
GOFILES_linux=\
|
|
||||||
inotify_linux.go\
|
|
||||||
|
|
||||||
GOFILES+=$(GOFILES_$(GOOS))
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -2,33 +2,14 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/norm
|
|
||||||
GOFILES=\
|
|
||||||
composition.go\
|
|
||||||
input.go\
|
|
||||||
forminfo.go\
|
|
||||||
normalize.go\
|
|
||||||
readwriter.go\
|
|
||||||
tables.go\
|
|
||||||
trie.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
||||||
|
|
||||||
CLEANFILES+=maketables maketesttables
|
|
||||||
|
|
||||||
maketables: maketables.go triegen.go
|
maketables: maketables.go triegen.go
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) maketables.go triegen.go
|
go build $^
|
||||||
$(LD) -o maketables maketables.$O
|
|
||||||
|
|
||||||
maketesttables: maketesttables.go triegen.go
|
maketesttables: maketesttables.go triegen.go
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) maketesttables.go triegen.go
|
go build $^
|
||||||
$(LD) -o maketesttables maketesttables.$O
|
|
||||||
|
|
||||||
normregtest: normregtest.go
|
normregtest: normregtest.go
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) normregtest.go
|
go build $^
|
||||||
$(LD) -o normregtest normregtest.$O
|
|
||||||
|
|
||||||
tables: maketables
|
tables: maketables
|
||||||
./maketables > tables.go
|
./maketables > tables.go
|
||||||
@ -38,10 +19,6 @@ trietesttables: maketesttables
|
|||||||
./maketesttables > triedata_test.go
|
./maketesttables > triedata_test.go
|
||||||
gofmt -w triedata_test.go
|
gofmt -w triedata_test.go
|
||||||
|
|
||||||
# Build (but do not run) maketables during testing,
|
|
||||||
# just to make sure it still compiles.
|
|
||||||
testshort: maketables maketesttables
|
|
||||||
|
|
||||||
# Downloads from www.unicode.org, so not part
|
# Downloads from www.unicode.org, so not part
|
||||||
# of standard test scripts.
|
# of standard test scripts.
|
||||||
test: testtables regtest
|
test: testtables regtest
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/proxy
|
|
||||||
GOFILES=\
|
|
||||||
direct.go\
|
|
||||||
per_host.go\
|
|
||||||
proxy.go\
|
|
||||||
socks5.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,16 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/terminal
|
|
||||||
GOFILES=\
|
|
||||||
terminal.go\
|
|
||||||
|
|
||||||
ifeq ($(GOOS),linux)
|
|
||||||
GOFILES+=\
|
|
||||||
util.go
|
|
||||||
endif
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,18 +0,0 @@
|
|||||||
# Copyright 2010 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/types
|
|
||||||
GOFILES=\
|
|
||||||
check.go\
|
|
||||||
const.go\
|
|
||||||
exportdata.go\
|
|
||||||
gcimporter.go\
|
|
||||||
types.go\
|
|
||||||
universe.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
||||||
|
|
||||||
CLEANFILES+=testdata/exports.[$(OS)]
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/utf8string
|
|
||||||
GOFILES=\
|
|
||||||
string.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# Copyright 2011 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=exp/winfsnotify
|
|
||||||
GOFILES=\
|
|
||||||
winfsnotify.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=expvar
|
|
||||||
GOFILES=\
|
|
||||||
expvar.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,11 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=flag
|
|
||||||
GOFILES=\
|
|
||||||
flag.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,14 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../Make.inc
|
|
||||||
|
|
||||||
TARG=fmt
|
|
||||||
GOFILES=\
|
|
||||||
doc.go\
|
|
||||||
format.go\
|
|
||||||
print.go\
|
|
||||||
scan.go\
|
|
||||||
|
|
||||||
include ../../Make.pkg
|
|
@ -1,17 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/ast
|
|
||||||
GOFILES=\
|
|
||||||
ast.go\
|
|
||||||
filter.go\
|
|
||||||
import.go\
|
|
||||||
print.go\
|
|
||||||
resolve.go\
|
|
||||||
scope.go\
|
|
||||||
walk.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -2,19 +2,6 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/build
|
|
||||||
GOFILES=\
|
|
||||||
build.go\
|
|
||||||
dir.go\
|
|
||||||
path.go\
|
|
||||||
syslist.go\
|
|
||||||
|
|
||||||
CLEANFILES+=pkgtest/_obj cmdtest/_obj cgotest/_obj
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
||||||
|
|
||||||
syslist.go: ../../../Make.inc Makefile
|
syslist.go: ../../../Make.inc Makefile
|
||||||
echo '// Generated automatically by make.' >$@
|
echo '// Generated automatically by make.' >$@
|
||||||
echo 'package build' >>$@
|
echo 'package build' >>$@
|
||||||
|
@ -2,21 +2,6 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/doc
|
|
||||||
GOFILES=\
|
|
||||||
comment.go\
|
|
||||||
doc.go\
|
|
||||||
example.go\
|
|
||||||
exports.go\
|
|
||||||
filter.go\
|
|
||||||
reader.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
||||||
|
|
||||||
# Script to test heading detection heuristic
|
# Script to test heading detection heuristic
|
||||||
CLEANFILES+=headscan
|
|
||||||
headscan: headscan.go
|
headscan: headscan.go
|
||||||
$(GC) $(GCFLAGS) $(GCIMPORTS) headscan.go
|
go build headscan.go
|
||||||
$(LD) -o headscan headscan.$(O)
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/parser
|
|
||||||
GOFILES=\
|
|
||||||
interface.go\
|
|
||||||
parser.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/printer
|
|
||||||
GOFILES=\
|
|
||||||
printer.go\
|
|
||||||
nodes.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
@ -1,12 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
include ../../../Make.inc
|
|
||||||
|
|
||||||
TARG=go/scanner
|
|
||||||
GOFILES=\
|
|
||||||
errors.go\
|
|
||||||
scanner.go\
|
|
||||||
|
|
||||||
include ../../../Make.pkg
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user