diff options
author | Nick Clifton <nickc@redhat.com> | 2019-05-29 11:31:16 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-05-29 11:32:34 +0100 |
commit | 90bd54236cb8b1c31c3662977159be971044c20d (patch) | |
tree | ae40336bf812074b3c26b51190e33a59946ef2e8 /binutils/Makefile.am | |
parent | 9698cf9b1c485edbbeabc9f65bfd0fdef92e3854 (diff) | |
download | gdb-90bd54236cb8b1c31c3662977159be971044c20d.zip gdb-90bd54236cb8b1c31c3662977159be971044c20d.tar.gz gdb-90bd54236cb8b1c31c3662977159be971044c20d.tar.bz2 |
Do not build libctf for targets that do not use the ELF file format.
top * configure.ac (noconfigdirs): Add libctf if the target does not use
the ELF file format.
* configure: Regenerate.
binutils* configure.ac (LIBCTF): Export. Set to empty for non-ELF based
targets.
(HAVE_LIBCTF): Define if libctf support is available.
* Makefile.am (LIBCTF): Set value to @LIBCTF@.
* objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
defined.
* readelf.c: Likewise.
* configure: Regenerate.
* Makefile.in: Regenerate.
* config.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r-- | binutils/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 128494c..c37a5b5 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -161,7 +161,7 @@ BFDLIB = ../bfd/libbfd.la OPCODES = ../opcodes/libopcodes.la -LIBCTF = ../libctf/libctf.a +LIBCTF = @LIBCTF@ LIBIBERTY = ../libiberty/libiberty.a @@ -229,7 +229,7 @@ windres_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) windmc_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) addr2line_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) readelf_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(LIBCTF) -elfedit_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) +elfedit_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) dllwrap_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) bfdtest1_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) bfdtest2_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |