diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-19 00:48:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-19 00:48:20 +0000 |
commit | f4e14cb90109af6fd725477394fa363046cf12d8 (patch) | |
tree | b572cb3b5294c973e7c1cf9fa1c3ca9b00da6697 /bfd/Makefile.in | |
parent | 0f612729476b771826f8ee47af3eacad87dcffed (diff) | |
download | gdb-f4e14cb90109af6fd725477394fa363046cf12d8.zip gdb-f4e14cb90109af6fd725477394fa363046cf12d8.tar.gz gdb-f4e14cb90109af6fd725477394fa363046cf12d8.tar.bz2 |
* configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG
(replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED,
BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT. Add bfd-in2.h:bfd-in2.h
to AC_OUTPUT call.
* configure: Rebuild.
* bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@.
(BFD_HOST_64_BIT): Define conditionally.
(BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined.
(bfd_vma): Typedef as BFD_HOST_U_64_BIT.
(symvalue, bfd_size_type): Likewise.
* bfd-in2.h: Rebuild.
* Makefile.in (do_clean): Remove bfd-tmp.h.
(do_distclean): Remove bfd-in3.h.
(stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h.
(bfd-in3.h): New target.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r-- | bfd/Makefile.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index b71b7a0..01efdc6 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -578,11 +578,11 @@ do_mostlyclean: rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \ pic/*.o do_clean: do_mostlyclean - rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \ + rm -f libbfd.a TAGS bfd.h stmp-bfd.h bfd-tmp.h ofiles stamp-ofiles \ elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \ piclist stamp-piclist do_distclean: do_clean - rm -f Makefile config.status config.cache config.h stamp-h + rm -f Makefile config.status config.cache config.h stamp-h bfd-in3.h rm -rf pic stamp-picdir do_maintainer_clean: do_distclean rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h @@ -752,16 +752,16 @@ BFDIN_H= $(srcdir)/bfd-in2.h $(BFD_H): stmp-bfd.h ; @true -stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile - rm -f bfd.h-new - sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \ - -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \ - -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \ - < $(srcdir)/bfd-in2.h \ - > bfd.h-new - $(srcdir)/../move-if-change bfd.h-new $(BFD_H) +stmp-bfd.h: bfd-in3.h + rm -f bfd-tmp.h + cp bfd-in3.h bfd-tmp.h + $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H) + rm -f bfd-tmp.h touch stmp-bfd.h +bfd-in3.h: bfd-in2.h config.status + CONFIG_FILES=bfd-in3.h:bfd-in2.h CONFIG_HEADERS= $(SHELL) ./config.status + # Could really use a "copy-if-change"... headers: (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) |