* Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
authorIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 22:17:43 +0000 (22:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 22:17:43 +0000 (22:17 +0000)
(mostlyclean-local): New target to remove tmpdir.
* Makefile.in: Rebuild.

ld/ChangeLog
ld/Makefile.am
ld/Makefile.in

index c5dea9cb576cf0990d62da185acf9566fc0510ba..3e9fcb3ef273b4fac8184e7fdb12fa13f062f041 100644 (file)
@@ -1,5 +1,9 @@
 Sat Mar 28 16:48:19 1998  Ian Lance Taylor  <ian@cygnus.com>
 
+       * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
+       (mostlyclean-local): New target to remove tmpdir.
+       * Makefile.in: Rebuild.
+
        Fix some gcc -Wall warnings:
        * ldcref.c (output_cref): Add casts to avoid warnings.
        * ldfile.c (ldfile_add_arch): Likewise.
index 9f7f8797b67bbb24f8ba3c808690bf1e692263f0..3a4d6a536c11250fd212c1123fa0c2e3e7a69688 100644 (file)
@@ -675,7 +675,9 @@ bfdsumm.texi: Makefile
 Makefile: configure.host configure.tgt
 
 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
-       ldemul-list.h tmpdir crtbegin.o crtend.o
+       ldemul-list.h crtbegin.o crtend.o
+mostlyclean-local:
+       -rm -rf tmpdir
 CLEANFILES = dep.sed .dep .dep1 bfdsumm.texi
 
 .PHONY: install-exec-local install-data-local
index ab708960acf5833def53a6c81545a7a6b6364f1c..719b22bd572ecd7aec862b9ca2cdedbafc12ce98 100644 (file)
@@ -306,7 +306,7 @@ ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY)
 TESTBFDLIB = ../bfd/.libs/libbfd.a
 
 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
-       ldemul-list.h tmpdir crtbegin.o crtend.o
+       ldemul-list.h crtbegin.o crtend.o
 CLEANFILES = dep.sed .dep .dep1 bfdsumm.texi
 
 # Stuff that should be included in a distribution.  The diststuff
@@ -696,7 +696,8 @@ maintainer-clean-generic:
        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
 mostlyclean:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
                mostlyclean-compile mostlyclean-libtool \
-               mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
+               mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \
+               mostlyclean-local
 
 clean:  clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
                clean-aminfo clean-tags clean-generic mostlyclean
@@ -1174,6 +1175,8 @@ bfdsumm.texi: Makefile
 
 # We want to reconfigure if configure.host or configure.tgt changes.
 Makefile: configure.host configure.tgt
+mostlyclean-local:
+       -rm -rf tmpdir
 
 .PHONY: install-exec-local install-data-local