diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-30 18:49:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-30 18:49:10 +0000 |
commit | 66761e59949e8f29afad9ddddb7a3cdbc1d97bab (patch) | |
tree | cbe18c433d5827332ccc6c2516dc69f0b20151fe /bfd | |
parent | bc60f9240f0c282f7f186bf8b33c3e8f11cc0cc6 (diff) | |
download | gdb-66761e59949e8f29afad9ddddb7a3cdbc1d97bab.zip gdb-66761e59949e8f29afad9ddddb7a3cdbc1d97bab.tar.gz gdb-66761e59949e8f29afad9ddddb7a3cdbc1d97bab.tar.bz2 |
* Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,
$(srcdir)/libbfd.h and $(srcdir)/libcoff.h.
(maintainer-clean): Warn about deleting special files.
(bfd-in2.h, libbfd.h, libcoff.h): New targets.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/Makefile.in | 23 |
2 files changed, 23 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 11f7c83..4e10292 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ Tue Jan 30 12:09:04 1996 Ian Lance Taylor <ian@cygnus.com> + * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h, + $(srcdir)/libbfd.h and $(srcdir)/libcoff.h. + (maintainer-clean): Warn about deleting special files. + (bfd-in2.h, libbfd.h, libcoff.h): New targets. + * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and warning symbols correctly. * elf32-i386.c (elf_i386_relocate_section): Likewise. diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 6af061c..2bea498 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -504,12 +504,8 @@ do_clean: do_mostlyclean do_distclean: do_clean rm -f Makefile config.status config.cache config.h stamp-h -# Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h? -# make-stds.texi says it depends on whether they can be regenerated using -# this makefile. Well, they can, but only via an explicit "make headers"; -# the makefile does not regenerate them as needed. So I guess we should not -# remove them in realclean. do_maintainer_clean: do_distclean + rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h mostlyclean: do_mostlyclean $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) @@ -519,6 +515,8 @@ distclean: $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) $(MAKE) do_distclean clobber maintainer-clean realclean: + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) $(MAKE) do_maintainer_clean @@ -679,6 +677,21 @@ headers: cp $(docdir)/libcoff.h libcoff.h-new $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h +# The rules for the generated header files are here so that people can +# type `make bfd-in2.h' if they remove it. They are not run by default. +bfd-in2.h: + (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) + cp $(docdir)/bfd.h bfd-in2.h-new + $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h +libbfd.h: + (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) + cp $(docdir)/libbfd.h libbfd.h-new + $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h +libcoff.h: + (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) + cp $(docdir)/libcoff.h libcoff.h-new + $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h + bfd.info: (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS)) |