Makefile.am: Use the new "-M -MF" option for generating dependencies from the c++ compiler.

* Makefile.am: Use the new "-M -MF" option for generating dependencies
	from the c++ compiler.
	* Makefile.in: Rebuilt.

From-SVN: r38794
This commit is contained in:
Bryce McKinlay 2001-01-08 07:55:25 +00:00 committed by Bryce McKinlay
parent 4fd297757d
commit 0a8f3dbb7a
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2001-01-08 Bryce McKinlay <bryce@albatross.co.nz>
* Makefile.am: Use the new "-M -MF" option for generating dependencies
from the c++ compiler.
* Makefile.in: Rebuilt.
2001-01-07 Anthony Green <green@redhat.com>
* Makefile.am (texinfo): Add texinfo target for generating texinfo

View File

@ -238,7 +238,7 @@ SUFFIXES = .class .java .h
## subdirs. FIXME.
$(nat_files) $(x_nat_files): %.lo: %.cc
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c -o $@ $<
$(LTCXXCOMPILE) -M -MF .deps/$(*F).pp -c -o $@ $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \

View File

@ -1198,7 +1198,7 @@ libgcj-test.spec.in libgcj.spec.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
@ -2335,7 +2335,7 @@ clean-local:
$(nat_files) $(x_nat_files): %.lo: %.cc
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c -o $@ $<
$(LTCXXCOMPILE) -M -MF .deps/$(*F).pp -c -o $@ $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \