aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-07-01 04:16:03 +0000
committerKen Raeburn <raeburn@cygnus>1995-07-01 04:16:03 +0000
commitb968e4f4914dee1ce5f6504485b8265c9d80a962 (patch)
treea1aa393675afd6dfc4aa14b5edcf49e024ee5129 /bfd/Makefile.in
parentff4aa51d9aeccc350b60645b2690718240fd6ac1 (diff)
downloadgdb-b968e4f4914dee1ce5f6504485b8265c9d80a962.zip
gdb-b968e4f4914dee1ce5f6504485b8265c9d80a962.tar.gz
gdb-b968e4f4914dee1ce5f6504485b8265c9d80a962.tar.bz2
generate elf*-target.h from common elfxx-target.h source
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 92b8288..66967f7 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -343,6 +343,16 @@ targets.o: targets.c Makefile
archures.o: archures.c Makefile
$(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
+elf32-target.h : elfxx-target.h
+ rm -f elf32-target.h
+ sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
+ mv -f elf32-target.new elf32-target.h
+
+elf64-target.h : elfxx-target.h
+ rm -f elf64-target.h
+ sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
+ mv -f elf64-target.new elf64-target.h
+
subdir_do: force
@for i in $(DODIRS); do \
if [ -d ./$$i ] ; then \
@@ -360,7 +370,8 @@ TAGS: force
do_mostlyclean:
rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
do_clean: do_mostlyclean
- rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
+ rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
+ elf32-target.h elf64-target.h
do_distclean: do_clean
rm -f Makefile config.status sysdep.h