From 437a04cb407081a2c969c723572fe513a6e834bf Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 28 Mar 1998 22:17:43 +0000 Subject: [PATCH] * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. (mostlyclean-local): New target to remove tmpdir. * Makefile.in: Rebuild. --- ld/ChangeLog | 4 ++++ ld/Makefile.am | 4 +++- ld/Makefile.in | 7 +++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index c5dea9cb576..3e9fcb3ef27 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ Sat Mar 28 16:48:19 1998 Ian Lance Taylor + * 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. diff --git a/ld/Makefile.am b/ld/Makefile.am index 9f7f8797b67..3a4d6a536c1 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -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 diff --git a/ld/Makefile.in b/ld/Makefile.in index ab708960acf..719b22bd572 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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 -- 2.30.2