Commit 433f84bf by Ian Lance Taylor

libgo: rebuild runtime.inc if mkruntimeinc.sh changes

    
    The Makefile was missing a dependency.
    
    Also remove runtime.inc.raw in mostlyclean.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191958

From-SVN: r274956
parent d23db385
58c0fc64d91edc53ef9828b85cf3dc86aeb94e12 a6ddd0e1208a7d229c10be630c1110b3914038f5
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -612,7 +612,7 @@ s-zdefaultcc: Makefile ...@@ -612,7 +612,7 @@ s-zdefaultcc: Makefile
# compiling runtime) to prune out certain types that should not be # compiling runtime) to prune out certain types that should not be
# exported back to C. See comments in mkruntimeinc.sh for more details. # exported back to C. See comments in mkruntimeinc.sh for more details.
runtime.inc: s-runtime-inc; @true runtime.inc: s-runtime-inc; @true
s-runtime-inc: runtime.lo Makefile s-runtime-inc: runtime.lo mkruntimeinc.sh Makefile
$(SHELL) $(srcdir)/mkruntimeinc.sh $(SHELL) $(srcdir)/mkruntimeinc.sh
$(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc $(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc
$(STAMP) $@ $(STAMP) $@
...@@ -1205,7 +1205,8 @@ MOSTLYCLEANFILES = \ ...@@ -1205,7 +1205,8 @@ MOSTLYCLEANFILES = \
s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \ s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \
s-errno s-epoll \ s-errno s-epoll \
libgo.head libgo.sum.sep libgo.log.sep libgo.var \ libgo.head libgo.sum.sep libgo.log.sep libgo.var \
libcalls-list runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 libcalls-list \
runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
mostlyclean-local: mostlyclean-local:
find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
......
...@@ -1156,7 +1156,8 @@ MOSTLYCLEANFILES = \ ...@@ -1156,7 +1156,8 @@ MOSTLYCLEANFILES = \
s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \ s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \
s-errno s-epoll \ s-errno s-epoll \
libgo.head libgo.sum.sep libgo.log.sep libgo.var \ libgo.head libgo.sum.sep libgo.log.sep libgo.var \
libcalls-list runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 libcalls-list \
runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc
MULTISRCTOP = MULTISRCTOP =
...@@ -2728,7 +2729,7 @@ s-zdefaultcc: Makefile ...@@ -2728,7 +2729,7 @@ s-zdefaultcc: Makefile
# compiling runtime) to prune out certain types that should not be # compiling runtime) to prune out certain types that should not be
# exported back to C. See comments in mkruntimeinc.sh for more details. # exported back to C. See comments in mkruntimeinc.sh for more details.
runtime.inc: s-runtime-inc; @true runtime.inc: s-runtime-inc; @true
s-runtime-inc: runtime.lo Makefile s-runtime-inc: runtime.lo mkruntimeinc.sh Makefile
$(SHELL) $(srcdir)/mkruntimeinc.sh $(SHELL) $(srcdir)/mkruntimeinc.sh
$(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc $(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc
$(STAMP) $@ $(STAMP) $@
......
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