aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-09-02 07:27:31 +0000
committerPer Bothner <per@bothner.com>1992-09-02 07:27:31 +0000
commitef2810d07e5c8590a541b9e1705790c5526616d6 (patch)
tree5d9a0d5397e2b5422bec3da15fd92097b1a5762f /bfd
parent8d5d0e117f9998e8b8cded5e0ecef55126a4ac3e (diff)
downloadgdb-ef2810d07e5c8590a541b9e1705790c5526616d6.zip
gdb-ef2810d07e5c8590a541b9e1705790c5526616d6.tar.gz
gdb-ef2810d07e5c8590a541b9e1705790c5526616d6.tar.bz2
* Makefile.in: Added mostlyclean/clean/distclean rules.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/Makefile.in21
2 files changed, 19 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d6d7284..b6986b6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 2 00:26:32 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * Makefile.in: Added mostlyclean/clean/distclean rules.
+
Tue Sep 1 13:38:40 1992 Per Bothner (bothner@cygnus.com)
* targets.c (target_vector): Take out oasys (unless that is
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index f16bbe2..5ffe77d 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -173,13 +173,22 @@ tags etags: TAGS
TAGS: force
etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
-clean:
- rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout
- $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
-
-clobber realclean: clean
+do_mostlyclean:
+ rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
+do_clean: do_mostlyclean:
rm -f libbfd.a TAGS
- $(MAKE) subdir_do DO=clobber "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
+do_distclean: do_clean
+ rm -f Makefile config.status
+do_realclean: do_distclean
+
+mostlyclean: do_mostlyclean
+ $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
+clean: do_clean:
+ $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
+distclean: do_distclean
+ $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
+clobber realclean: do_readlclean
+ $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
# Mark everything as depending on config.status, since the timestamp on
# sysdep.h might actually move backwards if we reconfig and relink it