2008-09-16 14:42:47 -06: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.
|
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
# DO NOT EDIT. Automatically generated by gobuild.
|
2008-09-29 14:37:00 -06:00
|
|
|
# gobuild -m net fd_darwin.go fd.go net.go net_darwin.go ip.go
|
2008-09-16 14:42:47 -06:00
|
|
|
O=6
|
|
|
|
GC=$(O)g
|
2008-09-26 15:11:26 -06:00
|
|
|
CC=$(O)c -w
|
2008-09-16 14:42:47 -06:00
|
|
|
AS=$(O)a
|
2008-09-26 15:11:26 -06:00
|
|
|
AR=$(O)ar
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
PKG=$(GOROOT)/pkg/net.a
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
install: $(PKG)
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
nuke: clean
|
|
|
|
rm -f $(PKG)
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
clean:
|
|
|
|
rm -f *.$O *.a
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
%.$O: %.go
|
|
|
|
$(GC) $*.go
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $*.c
|
2008-09-18 16:06:43 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
%.$O: %.s
|
|
|
|
$(AS) $*.s
|
2008-09-16 14:42:47 -06:00
|
|
|
|
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
O1=\
|
|
|
|
ip.$O\
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
O2=\
|
|
|
|
fd_$(GOOS).$O\
|
|
|
|
net_$(GOOS).$O\
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-26 15:11:26 -06:00
|
|
|
O3=\
|
2008-09-29 14:37:00 -06:00
|
|
|
fd.$O\
|
|
|
|
|
|
|
|
O4=\
|
2008-09-26 15:11:26 -06:00
|
|
|
net.$O\
|
2008-09-16 14:42:47 -06:00
|
|
|
|
2008-09-29 14:37:00 -06:00
|
|
|
$(PKG): a1 a2 a3 a4
|
2008-09-26 15:11:26 -06:00
|
|
|
a1: $(O1)
|
|
|
|
$(AR) grc $(PKG) $(O1)
|
|
|
|
rm -f $(O1)
|
|
|
|
a2: $(O2)
|
|
|
|
$(AR) grc $(PKG) $(O2)
|
|
|
|
rm -f $(O2)
|
|
|
|
a3: $(O3)
|
|
|
|
$(AR) grc $(PKG) $(O3)
|
|
|
|
rm -f $(O3)
|
2008-09-29 14:37:00 -06:00
|
|
|
a4: $(O4)
|
|
|
|
$(AR) grc $(PKG) $(O4)
|
|
|
|
rm -f $(O4)
|
2008-09-26 15:11:26 -06:00
|
|
|
|
|
|
|
$(O1): nuke
|
|
|
|
$(O2): a1
|
|
|
|
$(O3): a2
|
2008-09-29 14:37:00 -06:00
|
|
|
$(O4): a3
|
2008-09-16 14:42:47 -06:00
|
|
|
|