Commit 20c50cf0 authored by Russ Cox's avatar Russ Cox

runtime: rename cgo2c, *.cgo to goc2c, *.goc

to avoid confusion with real cgo

R=r
CC=golang-dev
https://golang.org/cl/904046
parent 7295b61c
......@@ -114,13 +114,13 @@ $(pkgdir)/%.h: %.h
clean: clean-local
clean-local:
rm -f cgo2c mkversion version.go */asm.h runtime.acid.*
rm -f goc2c mkversion version.go */asm.h runtime.acid.*
$(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH)
./mkasmh.sh >$@.x
mv -f $@.x $@
cgo2c: cgo2c.c
goc2c: goc2c.c
$(QUOTED_GOBIN)/quietgcc -o $@ $<
mkversion: mkversion.c
......@@ -129,8 +129,8 @@ mkversion: mkversion.c
version.go: mkversion
./mkversion >version.go
%.c: %.cgo cgo2c
./cgo2c $< > $@.tmp
%.c: %.goc goc2c
./goc2c $< > $@.tmp
mv -f $@.tmp $@
%.$O: $(GOARCH)/%.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment