mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP. * Makefile.in: Rebuild.
This commit is contained in:
parent
73c418f421
commit
c278c1507b
@ -1,3 +1,9 @@
|
||||
1999-08-08 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
|
||||
MKDEP.
|
||||
* Makefile.in: Rebuild.
|
||||
|
||||
1999-08-05 Donn Terry <donn@interix.com>
|
||||
|
||||
* Makefile.am (YACC): If bison is not in the source tree, use
|
||||
|
@ -68,7 +68,7 @@ BASEDIR = $(srcdir)/..
|
||||
BFDDIR = $(BASEDIR)/bfd
|
||||
INCDIR = $(BASEDIR)/include
|
||||
|
||||
DEP = mkdep
|
||||
MKDEP = mkdep
|
||||
|
||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
||||
|
||||
@ -272,18 +272,18 @@ DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
|
||||
site.exp site.bak
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
|
||||
.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
||||
rm -f .dep1
|
||||
$(MAKE) DEP=$(DEP) .dep1
|
||||
sed -f dep.sed <.dep1 >.dep
|
||||
# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
|
||||
DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
||||
rm -f DEP1
|
||||
$(MAKE) MKDEP=$(MKDEP) DEP1
|
||||
sed -f dep.sed <DEP1 >DEP
|
||||
|
||||
# This rule really wants a mkdep that runs "gcc -MM".
|
||||
.dep1: $(CFILES) $(GENERATED_CFILES)
|
||||
rm -f .dep2
|
||||
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
|
||||
$(DEP) -f .dep2 $(INCLUDES) $?
|
||||
$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
|
||||
DEP1: $(CFILES) $(GENERATED_CFILES)
|
||||
rm -f DEP2
|
||||
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
|
||||
$(MKDEP) -f DEP2 $(INCLUDES) $?
|
||||
$(SHELL) $(srcdir)/../move-if-change DEP2 DEP1
|
||||
|
||||
dep.sed: dep-in.sed config.status
|
||||
objdir=`pwd`; \
|
||||
@ -293,19 +293,19 @@ dep.sed: dep-in.sed config.status
|
||||
-e 's!@SRCDIR@!$(srcdir)!' \
|
||||
-e "s!@OBJDIR@!$${objdir}!"
|
||||
|
||||
dep: .dep
|
||||
dep: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
||||
cat .dep >> tmp-Makefile
|
||||
cat DEP >> tmp-Makefile
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
|
||||
|
||||
dep-in: .dep
|
||||
dep-in: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
||||
cat .dep >> tmp-Makefile.in
|
||||
cat DEP >> tmp-Makefile.in
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
||||
|
||||
dep-am: .dep
|
||||
dep-am: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
||||
cat .dep >> tmp-Makefile.am
|
||||
cat DEP >> tmp-Makefile.am
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
||||
|
||||
.PHONY: dep dep-in dep-am
|
||||
@ -331,7 +331,7 @@ MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
|
||||
mostlyclean-local:
|
||||
-rm -rf tmpdir
|
||||
|
||||
CLEANFILES = dep.sed .dep .dep1
|
||||
CLEANFILES = dep.sed DEP DEP1
|
||||
|
||||
.PHONY: install-exec-local
|
||||
|
||||
|
@ -171,7 +171,7 @@ BASEDIR = $(srcdir)/..
|
||||
BFDDIR = $(BASEDIR)/bfd
|
||||
INCDIR = $(BASEDIR)/include
|
||||
|
||||
DEP = mkdep
|
||||
MKDEP = mkdep
|
||||
|
||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
||||
|
||||
@ -298,7 +298,7 @@ MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
|
||||
abcdefgh*
|
||||
|
||||
|
||||
CLEANFILES = dep.sed .dep .dep1
|
||||
CLEANFILES = dep.sed DEP DEP1
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
@ -1137,18 +1137,18 @@ nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
|
||||
diststuff: $(DISTSTUFF) info
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
|
||||
.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
||||
rm -f .dep1
|
||||
$(MAKE) DEP=$(DEP) .dep1
|
||||
sed -f dep.sed <.dep1 >.dep
|
||||
# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
|
||||
DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
||||
rm -f DEP1
|
||||
$(MAKE) MKDEP=$(MKDEP) DEP1
|
||||
sed -f dep.sed <DEP1 >DEP
|
||||
|
||||
# This rule really wants a mkdep that runs "gcc -MM".
|
||||
.dep1: $(CFILES) $(GENERATED_CFILES)
|
||||
rm -f .dep2
|
||||
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
|
||||
$(DEP) -f .dep2 $(INCLUDES) $?
|
||||
$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
|
||||
DEP1: $(CFILES) $(GENERATED_CFILES)
|
||||
rm -f DEP2
|
||||
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
|
||||
$(MKDEP) -f DEP2 $(INCLUDES) $?
|
||||
$(SHELL) $(srcdir)/../move-if-change DEP2 DEP1
|
||||
|
||||
dep.sed: dep-in.sed config.status
|
||||
objdir=`pwd`; \
|
||||
@ -1158,19 +1158,19 @@ dep.sed: dep-in.sed config.status
|
||||
-e 's!@SRCDIR@!$(srcdir)!' \
|
||||
-e "s!@OBJDIR@!$${objdir}!"
|
||||
|
||||
dep: .dep
|
||||
dep: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
||||
cat .dep >> tmp-Makefile
|
||||
cat DEP >> tmp-Makefile
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
|
||||
|
||||
dep-in: .dep
|
||||
dep-in: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
||||
cat .dep >> tmp-Makefile.in
|
||||
cat DEP >> tmp-Makefile.in
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
||||
|
||||
dep-am: .dep
|
||||
dep-am: DEP
|
||||
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
||||
cat .dep >> tmp-Makefile.am
|
||||
cat DEP >> tmp-Makefile.am
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
||||
|
||||
.PHONY: dep dep-in dep-am
|
||||
|
Loading…
Reference in New Issue
Block a user