diff options
Diffstat (limited to 'src/pkg/runtime/Makefile')
-rw-r--r-- | src/pkg/runtime/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile index e62dbe393..e9488cfb5 100644 --- a/src/pkg/runtime/Makefile +++ b/src/pkg/runtime/Makefile @@ -26,16 +26,7 @@ GOFILES=\ softfloat64.go\ type.go\ version.go\ - chan_defs.go\ - hashmap_defs.go\ - iface_defs.go\ - malloc_defs.go\ - mheapmap$(SIZE)_defs.go\ runtime_defs.go\ - $(GOOS)/runtime_defs.go\ - -GOFILES_tiny=\ - tiny/io.go\ OFILES_windows=\ syscall.$O\ @@ -73,7 +64,6 @@ OFILES=\ mfixalloc.$O\ mgc0.$O\ mheap.$O\ - mheapmap$(SIZE).$O\ mprof.$O\ msize.$O\ print.$O\ @@ -122,7 +112,7 @@ $(pkgdir)/%.h: %.h clean: clean-local clean-local: - rm -f goc2c mkversion version.go */asm.h runtime.acid.* $$(ls *.goc | sed 's/goc$$/c/') + rm -f goc2c mkversion version.go */asm.h runtime.acid.* runtime_defs.go $$(ls *.goc | sed 's/goc$$/c/') $(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH) ./mkasmh.sh >$@.x @@ -165,3 +155,7 @@ ifeq ($(GOARCH),386) traceback.$O: amd64/traceback.c $(CC) $(CFLAGS) $< endif + +runtime_defs.go: proc.c iface.c hashmap.c chan.c + CC="$(CC)" CFLAGS="$(CFLAGS)" ./mkgodefs.sh $^ > $@.x + mv -f $@.x $@ |