daily update
[deliverable/binutils-gdb.git] / bfd / Makefile.am
index b474e8ddd03a44cb098dd437c83b689b23f659f9..5d2afb0a866ff19ea3cf34a9cfb4d668ac52fb03 100644 (file)
@@ -554,6 +554,7 @@ BFD64_BACKENDS = \
        coff64-rs6000.lo \
        demo64.lo \
        efi-app-ia64.lo \
+       efi-app-x86_64.lo \
        elf64-x86-64.lo \
        elf64-alpha.lo \
        elf64-hppa.lo \
@@ -584,6 +585,7 @@ BFD64_BACKENDS_CFILES = \
        coff64-rs6000.c \
        demo64.c \
        efi-app-ia64.c \
+       efi-app-x86_64.c \
        elf64-x86-64.c \
        elf64-alpha.c \
        elf64-hppa.c \
@@ -962,15 +964,27 @@ CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
 DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
 
 bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in
-       @echo "creating $@"
+       @-test -d doc || mkdir doc
+       @echo "creating $@ and doc/bfdver.texi"
        @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
        bfd_version_string="\"$(VERSION)\"" ;\
        bfd_version_package="\"$(PKGVERSION)\"" ;\
+       report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
        if test "x$(RELEASE)" = x ; then \
          bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\
          bfd_version_string="\"$(VERSION).$${bfd_version_date}\"" ;\
        fi ;\
-       sed -e "s/@bfd_version@/$$bfd_version/" -e "s/@bfd_version_string@/$$bfd_version_string/" -e "s/@bfd_version_package@/$$bfd_version_package/" < $(srcdir)/version.h > $@
+       sed -e "s,@bfd_version@,$$bfd_version," \
+           -e "s,@bfd_version_string@,$$bfd_version_string," \
+           -e "s,@bfd_version_package@,$$bfd_version_package," \
+           -e "s,@report_bugs_to@,$$report_bugs_to," \
+           < $(srcdir)/version.h > $@; \
+        echo "@set VERSION $(VERSION)" > doc/bfdver.texi; \
+        echo "@set VERSION_PACKAGE $(PKGVERSION)" >> doc/bfdver.texi; \
+        echo "@set UPDATED `date '+%B %Y'`" >> doc/bfdver.texi; \
+        if [ -n "$(REPORT_BUGS_TEXI)" ]; then \
+          echo "@set BUGURL $(REPORT_BUGS_TEXI)" >> doc/bfdver.texi; \
+        fi
 
 # What appears below is generated by a hacked mkdep using gcc -MM.
 
@@ -1414,9 +1428,10 @@ elf32-mcore.lo: elf32-mcore.c $(INCDIR)/filenames.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/mcore.h \
   $(INCDIR)/elf/reloc-macros.h elf32-target.h
-elf32-mep.lo: elf32-mep.c elf-bfd.h $(INCDIR)/elf/common.h \
-  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
-  $(INCDIR)/elf/mep.h $(INCDIR)/elf/reloc-macros.h \
+elf32-mep.lo: elf32-mep.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
+  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
+  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/mep.h \
+  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
   elf32-target.h
 elfxx-mips.lo: elfxx-mips.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/libiberty.h elf-bfd.h $(INCDIR)/elf/common.h \
@@ -1799,6 +1814,11 @@ efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
   peicode.h libpei.h
+efi-app-x86_64.lo: efi-app-x86_64.c $(INCDIR)/filenames.h \
+  coff-x86_64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/x86_64.h \
+  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
+  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h \
+  coffcode.h peicode.h libpei.h
 elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/x86-64.h \
This page took 0.025047 seconds and 4 git commands to generate.