Also install diagnostics.h
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Jul 2018 13:18:22 +0000 (06:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Jul 2018 13:18:34 +0000 (06:18 -0700)
Since bfd.h is an installed header, also install diagnostics.h.

* Makefile.am (bfdinclude_HEADERS): Add $(INCDIR)/diagnostics.h.
* Makefile.in: Regenerated.

bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in

index d111645e773d70f004ee0e00b4bfc5bf0d80606f..9fad8388f75e468289821f60d55d6090531c4df9 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (bfdinclude_HEADERS): Add $(INCDIR)/diagnostics.h.
+       * Makefile.in: Regenerated.
+
 2018-07-03  Alan Modra  <amodra@gmail.com>
 
        * elflink.c (bfd_elf_final_link): Remove zero size .gnu.attributes
index d7f9ed7c457c4360a01de9f3cec7009e674f2393..3f3487f6a46d6c70b14958e34c05c01c0068d890 100644 (file)
@@ -32,7 +32,8 @@ if INSTALL_LIBBFD
 bfdlibdir = @bfdlibdir@
 bfdincludedir = @bfdincludedir@
 bfdlib_LTLIBRARIES = libbfd.la
-bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
+bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
+                    $(INCDIR)/bfdlink.h $(INCDIR)/diagnostics.h
 else !INSTALL_LIBBFD
 # Empty these so that the respective installation directories will not be created.
 bfdlibdir =
index 47a16d94a3c9d618cf65d22e29621488eb730e56..cc27ef0a62f20c97f2bbe521bd436514ee847594 100644 (file)
@@ -247,7 +247,8 @@ am__can_run_installinfo = \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
 am__bfdinclude_HEADERS_DIST = $(INCDIR)/plugin-api.h bfd.h \
-       $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
+       $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h \
+       $(INCDIR)/diagnostics.h
 HEADERS = $(bfdinclude_HEADERS)
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
@@ -466,7 +467,8 @@ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
 @INSTALL_LIBBFD_FALSE@bfdinclude_HEADERS = $(am__append_2)
 @INSTALL_LIBBFD_TRUE@bfdinclude_HEADERS = $(BFD_H) \
 @INSTALL_LIBBFD_TRUE@  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
-@INSTALL_LIBBFD_TRUE@  $(INCDIR)/bfdlink.h $(am__append_2)
+@INSTALL_LIBBFD_TRUE@  $(INCDIR)/bfdlink.h \
+@INSTALL_LIBBFD_TRUE@  $(INCDIR)/diagnostics.h $(am__append_2)
 @INSTALL_LIBBFD_FALSE@rpath_bfdlibdir = @bfdlibdir@
 @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la