aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-04-03 19:49:49 +0000
committerIan Lance Taylor <ian@airs.com>1998-04-03 19:49:49 +0000
commit5327f59f00812f72113287fda6bbde23c97966cc (patch)
tree5bf5d75698c6b525950fe0baa58c43a7683f2afe /binutils/Makefile.am
parent193bbe85815855ce70a65c79ec3400efa67c2797 (diff)
downloadgdb-5327f59f00812f72113287fda6bbde23c97966cc.zip
gdb-5327f59f00812f72113287fda6bbde23c97966cc.tar.gz
gdb-5327f59f00812f72113287fda6bbde23c97966cc.tar.bz2
* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*. (mostlyclean-local): New target. * Makefile.in: Rebuild.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 0944f3c..62f5d0d 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -243,7 +243,8 @@ DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
syslex.c deflex.c
diststuff: $(DISTSTUFF) info
-DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h
+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).
@@ -260,10 +261,12 @@ DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h
$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
dep.sed: dep-in.sed config.status
+ objdir=`pwd`; \
sed <$(srcdir)/dep-in.sed >dep.sed \
-e 's!@INCDIR@!$(INCDIR)!' \
-e 's!@BFDDIR@!$(BFDDIR)!' \
- -e 's!@SRCDIR@!$(srcdir)!'
+ -e 's!@SRCDIR@!$(srcdir)!' \
+ -e "s!@OBJDIR@!$${objdir}!"
dep: .dep
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
@@ -296,7 +299,10 @@ $(DEMANGLER_PROG).1: cxxfilt.man Makefile
sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
> $(DEMANGLER_PROG).1
-MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1
+MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
+ abcdefgh*
+mostlyclean-local:
+ -rm -rf tmpdir
CLEANFILES = dep.sed .dep .dep1