aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-24 13:51:48 -0700
committerRuss Cox <rsc@golang.org>2009-03-24 13:51:48 -0700
commit08cfcd1dd64d965fc319ae683638b16a1e93e075 (patch)
treed1c27a5bf89d231d7a53e73609bad7e847bb19d8 /src/runtime/Makefile
parent8ee041dc24f46047f6cff0d61bd634d1cacfc380 (diff)
downloadgo-08cfcd1dd64d965fc319ae683638b16a1e93e075.tar.gz
go-08cfcd1dd64d965fc319ae683638b16a1e93e075.zip
convert darwin to use godefs-generated defs.h.
this change is much smaller if you ignore the machine-generated defs.h. TBR=r OCL=26684 CL=26684
Diffstat (limited to 'src/runtime/Makefile')
-rw-r--r--src/runtime/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/runtime/Makefile b/src/runtime/Makefile
index d281a90f6f..5bf0dbbea8 100644
--- a/src/runtime/Makefile
+++ b/src/runtime/Makefile
@@ -7,7 +7,7 @@ O=6
CC=$(O)c
AS=$(O)a
-LIB=lib_$(GOARCH)_$(GOOS).a
+LIB=lib.a
OFILES=\
array.$O\
@@ -41,11 +41,15 @@ OFILES=\
thread.$O\
traceback.$O\
-OS_H=$(GOARCH)_$(GOOS).h
-HFILES=runtime.h hashmap.h malloc.h $(OS_H_)
+HFILES=\
+ runtime.h\
+ hashmap.h\
+ malloc.h\
+ $(GOOS)/os.h\
+ $(GOOS)/$(GOARCH)/defs.h\
install: $(LIB) runtime.acid
- cp $(LIB) $(GOROOT)/lib
+ cp $(LIB) $(GOROOT)/lib_$(GOARCH)_$(GOOS).a
cp runtime.acid $(GOROOT)/acid/runtime.acid
$(LIB): $(OFILES)