aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-08-04 17:24:25 -0700
committerRuss Cox <rsc@golang.org>2008-08-04 17:24:25 -0700
commitc8dee2770d435cbe6ec3e24a3b3ed70e48b0e933 (patch)
tree05afb4c09743caccb169089f3be35a83d7d2c56c /src/runtime/Makefile
parent2f4352a26d277046d7566b08296b242343223f51 (diff)
downloadgo-c8dee2770d435cbe6ec3e24a3b3ed70e48b0e933.tar.gz
go-c8dee2770d435cbe6ec3e24a3b3ed70e48b0e933.zip
acid. works only on Linux for now
R=r DELTA=7031 (6906 added, 113 deleted, 12 changed) OCL=13847 CL=13852
Diffstat (limited to 'src/runtime/Makefile')
-rw-r--r--src/runtime/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/runtime/Makefile b/src/runtime/Makefile
index f50ac826ca..02bc025634 100644
--- a/src/runtime/Makefile
+++ b/src/runtime/Makefile
@@ -30,9 +30,10 @@ OFILES=$(RT0OFILES) $(LIBOFILES)
OS_H=$(GOARCH)_$(GOOS).h
HFILES=runtime.h $(OS_H_)
-install: rt0 $(LIB)
+install: rt0 $(LIB) runtime.acid
cp $(RT0OFILES) $(GOROOT)/lib
cp $(LIB) $(GOROOT)/lib
+ cp runtime.acid $(GOROOT)/acid/runtime.acid
rt0: $(RT0OFILES)
@@ -45,7 +46,7 @@ nuke:
rm -f *.$(O) *.a $(GOROOT)/lib/$(LIB)
clean:
- rm -f *.$(O) *.a
+ rm -f *.$(O) *.a runtime.acid
%.$O: %.c
$(CC) $<
@@ -55,3 +56,6 @@ sys_file.$O: sys_file.c sys_types.h $(OS_H)
%.$O: %.s
$(AS) $<
+
+runtime.acid: runtime.h
+ $(CC) -a runtime.h >runtime.acid