Makefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compilation fails.

* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
	don't get deleted if compilation fails.
	* Makefile.in: Rebuilt.

From-SVN: r47520
This commit is contained in:
Bryce McKinlay 2001-12-02 04:29:16 +00:00 committed by Bryce McKinlay
parent 2e1b463b4d
commit c4d7a90e8a
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-12-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
don't get deleted if compilation fails.
* Makefile.in: Rebuilt.
2001-11-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not

View File

@ -216,8 +216,9 @@ SUFFIXES = .class .java .h
## is a bug in automake), and it also won't put the .o files into
## subdirs. FIXME.
$(nat_files) $(x_nat_files): %.lo: %.cc
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
$(LTCXXCOMPILE) -MD -MT $@ -MF $*.d -c -o $@ $<
@echo '$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<'; \
$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<
@-mv $(@:.lo=.pp) $(@:.lo=.d)
## FIXME: GNU make.
$(c_files): %.lo: %.c

View File

@ -1762,8 +1762,9 @@ clean-local:
$(GCJCOMPILE) -o $@ $<
$(nat_files) $(x_nat_files): %.lo: %.cc
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
$(LTCXXCOMPILE) -MD -MT $@ -MF $*.d -c -o $@ $<
@echo '$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<'; \
$(LTCXXCOMPILE) -MD -MT $@ -MF $(@:.lo=.pp) -c -o $@ $<
@-mv $(@:.lo=.pp) $(@:.lo=.d)
$(c_files): %.lo: %.c
$(LTCOMPILE) -c -o $@ $<