* Makefile.in: Added mostlyclean/clean/distclean rules.
authorPer Bothner <per@bothner.com>
Wed, 2 Sep 1992 07:27:31 +0000 (07:27 +0000)
committerPer Bothner <per@bothner.com>
Wed, 2 Sep 1992 07:27:31 +0000 (07:27 +0000)
bfd/ChangeLog
bfd/Makefile.in

index d6d728477eb2f3c422fb52b3621409783efa1561..b6986b6ebddd8a570289b6c0e73e597e098b766b 100644 (file)
@@ -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
index f16bbe25817e0b4709539c234c9ed152d807ae08..5ffe77d1befe81ba56e5509e1b9e2b0222ab3488 100644 (file)
@@ -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