diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/Makefile.am | 16 | ||||
-rw-r--r-- | bfd/Makefile.in | 26 |
3 files changed, 36 insertions, 14 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 85eb10b..27813dc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2004-09-17 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. + (CONFIG_STATUS_DEPENDENCIES): New. + (Makefile): Removed. + (config.status): Likewise. + * Makefile.in: Regenerated. + 2004-09-17 Paul Brook <paul@codesourcery.com> * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 6e666e4..a7eabfc 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to generate Makefile.in -AUTOMAKE_OPTIONS = cygnus +AUTOMAKE_OPTIONS = 1.9 cygnus # Uncomment the following line when doing a release. # RELEASE=y @@ -575,6 +575,14 @@ OPTIONAL_BACKENDS_CFILES = \ trad-core.c \ cisco-core.c +# We want to rerun configure if configure.in, config.bfd or +# configure.host change. configure.in is needed since the version +# number in Makefile comes from configure.in. +CONFIG_STATUS_DEPENDENCIES = \ + $(srcdir)/configure.in \ + $(srcdir)/config.bfd \ + $(srcdir)/configure.host + # These are defined by configure.in: WORDSIZE = @wordsize@ ALL_BACKENDS = @all_backends@ @@ -763,8 +771,6 @@ uninstall_libbfd: rm -f $(DESTDIR)$(bfdincludedir)/symcat.h rm -f $(DESTDIR)$(bfdincludedir)/bfdlink.h -Makefile: $(srcdir)/configure.in - # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). DEP: dep.sed $(CFILES) $(HFILES) bfd.h rm -f DEP1 @@ -871,10 +877,6 @@ CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \ DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) -# We want to rerun configure if configure, config.bfd or configure.host change. -config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host - $(SHELL) ./config.status --recheck - bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in @echo "creating $@" @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index ede7be7..ac92e49 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -246,7 +246,7 @@ target_os = @target_os@ target_vendor = @target_vendor@ tdefaults = @tdefaults@ wordsize = @wordsize@ -AUTOMAKE_OPTIONS = cygnus +AUTOMAKE_OPTIONS = 1.9 cygnus # Uncomment the following line when doing a release. # RELEASE=y @@ -815,6 +815,15 @@ OPTIONAL_BACKENDS_CFILES = \ cisco-core.c +# We want to rerun configure if configure.in, config.bfd or +# configure.host change. configure.in is needed since the version +# number in Makefile comes from configure.in. +CONFIG_STATUS_DEPENDENCIES = \ + $(srcdir)/configure.in \ + $(srcdir)/config.bfd \ + $(srcdir)/configure.host + + # These are defined by configure.in: WORDSIZE = @wordsize@ ALL_BACKENDS = @all_backends@ @@ -908,6 +917,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi cd $(top_srcdir) && \ $(AUTOMAKE) --cygnus Makefile .PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck @@ -1323,8 +1341,6 @@ uninstall_libbfd: rm -f $(DESTDIR)$(bfdincludedir)/symcat.h rm -f $(DESTDIR)$(bfdincludedir)/bfdlink.h -Makefile: $(srcdir)/configure.in - # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). DEP: dep.sed $(CFILES) $(HFILES) bfd.h rm -f DEP1 @@ -1416,10 +1432,6 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES) $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h touch stmp-lcoff-h -# We want to rerun configure if configure, config.bfd or configure.host change. -config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host - $(SHELL) ./config.status --recheck - bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in @echo "creating $@" @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\ |