2008-12-04 13:51:36 -07:00
|
|
|
# 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
|
2009-04-16 01:18:37 -06:00
|
|
|
|
|
|
|
O_arm=5
|
|
|
|
O_amd64=6
|
|
|
|
O_386=8
|
|
|
|
OS=568vq
|
|
|
|
|
|
|
|
O=$(O_$(GOARCH))
|
2008-12-04 13:51:36 -07:00
|
|
|
GC=$(O)g
|
2009-04-16 01:18:37 -06:00
|
|
|
CC=$(O)c -FVw
|
2008-12-04 13:51:36 -07:00
|
|
|
AS=$(O)a
|
2009-04-16 01:18:37 -06:00
|
|
|
AR=6ar
|
2008-12-04 13:51:36 -07:00
|
|
|
|
|
|
|
default: packages
|
|
|
|
|
|
|
|
clean:
|
2009-04-16 01:18:37 -06:00
|
|
|
rm -f *.[$(OS)] *.a [$(OS)].out
|
2008-12-04 13:51:36 -07:00
|
|
|
|
|
|
|
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=\
|
|
|
|
asm_$(GOARCH).$O\
|
|
|
|
mutex.$O\
|
|
|
|
|
|
|
|
|
2009-04-16 01:18:37 -06:00
|
|
|
phases: a1
|
|
|
|
sync.a: phases
|
|
|
|
|
|
|
|
a1: $(O1)
|
2008-12-04 13:51:36 -07:00
|
|
|
$(AR) grc sync.a asm_$(GOARCH).$O mutex.$O
|
|
|
|
rm -f $(O1)
|
|
|
|
|
2009-04-16 01:18:37 -06:00
|
|
|
|
2008-12-04 13:51:36 -07:00
|
|
|
newpkg: clean
|
|
|
|
$(AR) grc sync.a
|
|
|
|
|
|
|
|
$(O1): newpkg
|
2009-04-16 01:18:37 -06:00
|
|
|
$(O2): a1
|
2008-12-04 13:51:36 -07:00
|
|
|
|
|
|
|
nuke: clean
|
|
|
|
rm -f $(GOROOT)/pkg/sync.a
|
|
|
|
|
|
|
|
packages: sync.a
|
|
|
|
|
|
|
|
install: packages
|
|
|
|
cp sync.a $(GOROOT)/pkg/sync.a
|