mirror of
https://github.com/golang/go
synced 2024-11-26 04:58:00 -07:00
move template into its own directory so it can have more files
R=rsc DELTA=1421 (736 added, 685 deleted, 0 changed) OCL=27249 CL=27249
This commit is contained in:
parent
7d6c0018fb
commit
4482801477
@ -22,6 +22,7 @@ DIRS=\
|
||||
strconv\
|
||||
sync\
|
||||
tabwriter\
|
||||
template\
|
||||
time\
|
||||
unicode\
|
||||
|
||||
@ -36,7 +37,6 @@ FILES=\
|
||||
rand\
|
||||
sort\
|
||||
strings\
|
||||
template\
|
||||
testing\
|
||||
utf8\
|
||||
|
||||
@ -49,7 +49,6 @@ TEST=\
|
||||
once\
|
||||
sort\
|
||||
strings\
|
||||
template\
|
||||
utf8\
|
||||
|
||||
clean.dirs: $(addsuffix .dirclean, $(DIRS))
|
||||
@ -103,7 +102,6 @@ log.6: fmt.dirinstall io.dirinstall os.dirinstall time.dirinstall
|
||||
path.6: io.dirinstall
|
||||
once.6: sync.dirinstall
|
||||
strings.6: utf8.install
|
||||
template.6: bufio.install fmt.dirinstall io.dirinstall os.dirinstall reflect.dirinstall strings.install
|
||||
testing.6: flag.install fmt.dirinstall
|
||||
|
||||
fmt.dirinstall: io.dirinstall reflect.dirinstall strconv.dirinstall
|
||||
@ -119,8 +117,9 @@ os.dirinstall: syscall.dirinstall once.install
|
||||
regexp.dirinstall: os.dirinstall
|
||||
reflect.dirinstall: strconv.dirinstall sync.dirinstall
|
||||
strconv.dirinstall: math.dirinstall os.dirinstall utf8.install
|
||||
tabwriter.dirinstall: os.dirinstall io.dirinstall container.dirinstall
|
||||
time.dirinstall: once.install os.dirinstall io.dirinstall
|
||||
sync.dirinstall:
|
||||
syscall.dirinstall: sync.dirinstall
|
||||
tabwriter.dirinstall: os.dirinstall io.dirinstall container.dirinstall
|
||||
template.dirinstall: bufio.install fmt.dirinstall io.dirinstall os.dirinstall reflect.dirinstall strings.install
|
||||
time.dirinstall: once.install os.dirinstall io.dirinstall
|
||||
|
||||
|
55
src/lib/template/Makefile
Normal file
55
src/lib/template/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# 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
|
||||
O=6
|
||||
GC=$(O)g
|
||||
CC=$(O)c -w
|
||||
AS=$(O)a
|
||||
AR=$(O)ar
|
||||
|
||||
default: packages
|
||||
|
||||
clean:
|
||||
rm -f *.$O *.a $O.out
|
||||
|
||||
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=\
|
||||
template.$O\
|
||||
|
||||
template.a: a1
|
||||
|
||||
a1: $(O1)
|
||||
$(AR) grc template.a template.$O
|
||||
rm -f $(O1)
|
||||
|
||||
newpkg: clean
|
||||
$(AR) grc template.a
|
||||
|
||||
$(O1): newpkg
|
||||
|
||||
nuke: clean
|
||||
rm -f $(GOROOT)/pkg/template.a
|
||||
|
||||
packages: template.a
|
||||
|
||||
install: packages
|
||||
cp template.a $(GOROOT)/pkg/template.a
|
||||
|
@ -37,6 +37,7 @@ maketest \
|
||||
lib/regexp\
|
||||
lib/strconv\
|
||||
lib/tabwriter\
|
||||
lib/template\
|
||||
lib/time\
|
||||
lib/unicode\
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user