* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
don't get deleted if compilation fails.
* Makefile.in: Rebuilt.
From-SVN: r47520
+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
## 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
$(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 $@ $<