aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-03-17 23:47:00 +0000
committerKen Raeburn <raeburn@cygnus>1994-03-17 23:47:00 +0000
commit5a66538bcbddd29d6918bb8a71a2095f3c0299c7 (patch)
treed6578749659106113bdae74875f7332d072b1e7d /bfd/Makefile.in
parent6f4aac6cb936ca4f4d0f37cf0ae49f8fcc8cd821 (diff)
downloadgdb-5a66538bcbddd29d6918bb8a71a2095f3c0299c7.zip
gdb-5a66538bcbddd29d6918bb8a71a2095f3c0299c7.tar.gz
gdb-5a66538bcbddd29d6918bb8a71a2095f3c0299c7.tar.bz2
* bfd-in.h (BFD_VERSION): Use @VERSION@.
* Makefile.in (bfd.h): Replace it with contents of VERSION file. * bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 9918e17..352fd88 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -139,7 +139,7 @@ BFD32_BACKENDS = \
elf32-m68k.o \
elf32-m88k.o \
elf32-mips.o \
- elf32-powerpc.o \
+ elf32-ppc.o \
elf32-sparc.o \
elf32.o \
hp300hpux.o \
@@ -159,7 +159,7 @@ BFD32_BACKENDS = \
nlm32-i386.o \
nlm32-sparc.o \
$(start-sanitize-powerpc-netware) \
- nlm32-powerpc.o \
+ nlm32-ppc.o \
$(end-sanitize-powerpc-netware) \
nlm32.o \
oasys.o \
@@ -232,7 +232,7 @@ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
mipsbsd.c cpu-sh.c \
elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
- elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-powerpc.c \
+ elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
elf64.c elf64-gen.c \
nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
nlm64.c coff-alpha.c cpu-alpha.c \
@@ -476,7 +476,11 @@ $(BFD_H): stmp-bfd.h ; @true
stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
rm -f bfd.h-new 64 ../include/bfd.h
-grep BFD_HOST_64_BIT sysdep.h > 64
- sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
+ sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
+ -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
+ -e '/64-bit.*sysdep.h/ r 64' \
+ < $(srcdir)/bfd-in2.h \
+ > bfd.h-new
$(srcdir)/../move-if-change bfd.h-new $(BFD_H)
rm -f 64
touch stmp-bfd.h
@@ -640,7 +644,7 @@ elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
elf32-target.h
elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
-elf32-powerpc.o : elf32-powerpc.c libelf.h $(INCDIR)/elf/common.h \
+elf32-ppc.o : elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h