bfd/ChangeLog
[deliverable/binutils-gdb.git] / bfd / doc / Makefile.in
index 343cab1c13615a0c820f804bbd36b997461fff52..80b46b3397b8c3ba1b1b95391985ccc846e5842e 100644 (file)
@@ -75,10 +75,14 @@ CC = @CC@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 COREFILE = @COREFILE@
 COREFLAG = @COREFLAG@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
 DATADIRNAME = @DATADIRNAME@
 DLLTOOL = @DLLTOOL@
 EXEEXT = @EXEEXT@
 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
 GMOFILES = @GMOFILES@
 GMSGFMT = @GMSGFMT@
 GT_NO = @GT_NO@
@@ -96,19 +100,26 @@ MAKEINFO = @MAKEINFO@
 MKINSTALLDIRS = @MKINSTALLDIRS@
 MSGFMT = @MSGFMT@
 OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
 PACKAGE = @PACKAGE@
 POFILES = @POFILES@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+STRIP = @STRIP@
 TDEFINES = @TDEFINES@
 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
 USE_NLS = @USE_NLS@
 VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
 WIN32LDFLAGS = @WIN32LDFLAGS@
 WIN32LIBADD = @WIN32LIBADD@
 all_backends = @all_backends@
 bfd_backends = @bfd_backends@
+bfd_default_target_size = @bfd_default_target_size@
 bfd_machines = @bfd_machines@
+bfd_version = @bfd_version@
+bfd_version_date = @bfd_version_date@
+bfd_version_string = @bfd_version_string@
 l = @l@
 tdefaults = @tdefaults@
 wordsize = @wordsize@
@@ -165,6 +176,47 @@ info_TEXINFOS = bfd.texinfo
 
 MKDOC = chew$(EXEEXT_FOR_BUILD)
 
+LIBBFD_H_DEP = \
+       $(srcdir)/../libbfd-in.h        \
+       $(srcdir)/../init.c             \
+       $(srcdir)/../libbfd.c           \
+       $(srcdir)/../cache.c            \
+       $(srcdir)/../reloc.c            \
+       $(srcdir)/../archures.c         \
+       $(srcdir)/../elf.c              \
+       $(srcdir)/header.sed            \
+       $(srcdir)/proto.str             \
+       $(MKDOC)
+
+
+LIBCOFF_H_DEP = \
+       $(srcdir)/../libcoff-in.h       \
+       $(srcdir)/../coffcode.h         \
+       $(srcdir)/header.sed            \
+       $(srcdir)/proto.str             \
+       $(MKDOC)
+
+
+BFD_H_DEP = \
+       $(srcdir)/../bfd-in.h           \
+       $(srcdir)/../init.c             \
+       $(srcdir)/../opncls.c           \
+       $(srcdir)/../libbfd.c           \
+       $(srcdir)/../section.c          \
+       $(srcdir)/../archures.c         \
+       $(srcdir)/../reloc.c            \
+       $(srcdir)/../syms.c             \
+       $(srcdir)/../bfd.c              \
+       $(srcdir)/../archive.c          \
+       $(srcdir)/../corefile.c         \
+       $(srcdir)/../targets.c          \
+       $(srcdir)/../format.c           \
+       $(srcdir)/header.sed            \
+       $(srcdir)/proto.str             \
+       $(srcdir)/../version.h          \
+       $(MKDOC)
+
+
 noinst_TEXINFOS = bfdint.texi
 
 MOSTLYCLEANFILES = $(MKDOC) *.o
@@ -187,7 +239,7 @@ DIST_COMMON =  ChangeLog Makefile.am Makefile.in
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 all: all-redirect
 .SUFFIXES:
@@ -537,61 +589,39 @@ s-linker: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
        touch s-linker
 linker.texi: s-linker
 
-libbfd.h: $(srcdir)/../libbfd-in.h     \
-       $(srcdir)/../init.c             \
-       $(srcdir)/../libbfd.c           \
-       $(srcdir)/../cache.c            \
-       $(srcdir)/../reloc.c            \
-       $(srcdir)/../archures.c         \
-       $(srcdir)/proto.str             \
-       $(MKDOC)
-       cat $(srcdir)/../libbfd-in.h >libbfd.h 
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../init.c >>libbfd.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../libbfd.c >>libbfd.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cache.c >>libbfd.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../reloc.c >>libbfd.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../archures.c >>libbfd.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../elf.c >>libbfd.h
-
-libcoff.h: $(srcdir)/../libcoff-in.h   \
-       $(srcdir)/../coffcode.h         \
-       $(srcdir)/proto.str             \
-       $(MKDOC)
-       cat $(srcdir)/../libcoff-in.h >libcoff.h
-       ./$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../coffcode.h >>libcoff.h
+libbfd.h: $(LIBBFD_H_DEP)
+       echo "$(LIBBFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@
+       for file in $(LIBBFD_H_DEP); do \
+         case $$file in \
+           *-in.h) cat $$file >> $@ ;; \
+           */header.sed) break ;; \
+           *) ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \
+         esac; \
+       done
 
-bfd.h: $(srcdir)/../bfd-in.h           \
-       $(srcdir)/../init.c             \
-       $(srcdir)/../opncls.c           \
-       $(srcdir)/../libbfd.c           \
-       $(srcdir)/../section.c          \
-       $(srcdir)/../archures.c         \
-       $(srcdir)/../reloc.c            \
-       $(srcdir)/../syms.c             \
-       $(srcdir)/../bfd.c              \
-       $(srcdir)/../archive.c          \
-       $(srcdir)/../corefile.c         \
-       $(srcdir)/../targets.c          \
-       $(srcdir)/../format.c           \
-       $(srcdir)/proto.str             \
-       $(MKDOC)
-       cat $(srcdir)/../bfd-in.h >bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../corefile.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
-       ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h 
-       echo "#ifdef __cplusplus" >>bfd.h
-       echo "}" >>bfd.h
-       echo "#endif" >>bfd.h
-       echo "#endif" >>bfd.h
+libcoff.h: $(LIBCOFF_H_DEP)
+       echo "$(LIBCOFF_H_DEP)" | sed -f $(srcdir)/header.sed > $@
+       for file in $(LIBCOFF_H_DEP); do \
+         case $$file in \
+           *-in.h) cat $$file >> $@ ;; \
+           */header.sed) break ;; \
+           *) ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \
+         esac; \
+       done
+
+bfd.h: $(BFD_H_DEP)
+       echo "$(BFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@
+       for file in $(BFD_H_DEP); do \
+         case $$file in \
+           *-in.h) cat $$file >> $@ ;; \
+           */header.sed) break ;; \
+           *) ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \
+         esac; \
+       done
+       echo "#ifdef __cplusplus" >> $@
+       echo "}" >> $@
+       echo "#endif" >> $@
+       echo "#endif" >> $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
This page took 0.026681 seconds and 4 git commands to generate.