2008-09-10 13:14:39 -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-19 12:55:46 -06:00
|
|
|
# DO NOT EDIT. Automatically generated by gobuild.
|
|
|
|
# gobuild -m os os_error.go os_file.go os_time.go
|
2008-09-10 13:14:39 -06:00
|
|
|
O=6
|
|
|
|
GC=$(O)g
|
2008-09-19 12:55:46 -06:00
|
|
|
CC=$(O)c -w
|
|
|
|
AS=$(O)a
|
|
|
|
AR=$(O)ar
|
2008-09-10 13:14:39 -06:00
|
|
|
|
2008-09-10 15:19:03 -06:00
|
|
|
PKG=$(GOROOT)/pkg/os.a
|
2008-09-10 13:14:39 -06:00
|
|
|
|
2008-09-19 12:55:46 -06:00
|
|
|
install: $(PKG)
|
|
|
|
|
|
|
|
nuke: clean
|
|
|
|
rm -f $(PKG)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.$O *.a
|
|
|
|
|
|
|
|
%.$O: %.go
|
|
|
|
$(GC) $*.go
|
|
|
|
|
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $*.c
|
|
|
|
|
|
|
|
%.$O: %.s
|
|
|
|
$(AS) $*.s
|
|
|
|
|
|
|
|
|
2008-09-10 15:19:03 -06:00
|
|
|
O1=\
|
2008-09-19 12:55:46 -06:00
|
|
|
os_error.$O\
|
|
|
|
|
2008-09-11 14:03:46 -06:00
|
|
|
O2=\
|
2008-09-17 17:20:00 -06:00
|
|
|
os_file.$O\
|
|
|
|
os_time.$O\
|
2008-09-10 13:14:39 -06:00
|
|
|
|
2008-09-11 14:03:46 -06:00
|
|
|
$(PKG): a1 a2
|
2008-09-19 12:55:46 -06:00
|
|
|
a1: $(O1)
|
|
|
|
$(AR) grc $(PKG) $(O1)
|
|
|
|
a2: $(O2)
|
|
|
|
$(AR) grc $(PKG) $(O2)
|
2008-09-11 14:03:46 -06:00
|
|
|
|
2008-09-18 16:06:43 -06:00
|
|
|
$(O1): nuke
|
|
|
|
$(O2): a1
|
|
|
|
|