aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-04-24 11:49:48 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-05-28 17:09:41 +0100
commit0e65dfbaf3a0299e4837216a103c28625d4b4f1d (patch)
tree6ffb36930e49bc51b44fa83d95c053adec44cd5a /Makefile.def
parenta30b3e182aad25f94de6412efd5d78f7805fb4d3 (diff)
downloadgdb-0e65dfbaf3a0299e4837216a103c28625d4b4f1d.zip
gdb-0e65dfbaf3a0299e4837216a103c28625d4b4f1d.tar.gz
gdb-0e65dfbaf3a0299e4837216a103c28625d4b4f1d.tar.bz2
libctf: build system
This ties libctf into the build system, and makes binutils depend on it (used by the next commits). * Makefile.def (host_modules): Add libctf. * Makefile.def (dependencies): Likewise. libctf depends on zlib, libiberty, and bfd. * Makefile.in: Regenerated. * configure.ac (host_libs): Add libctf. * configure: Regenerated. libctf/ * Makefile.am: New. * Makefile.in: Regenerated. * config.h.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 75063b6..3aa03b4 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -128,6 +128,8 @@ host_modules= { module= lto-plugin; bootstrap=true;
extra_make_flags='@extra_linker_plugin_flags@'; };
host_modules= { module= libcc1; extra_configure_flags=--enable-shared; };
host_modules= { module= gotools; };
+host_modules= { module= libctf; no_install=true; no_check=true;
+ bootstrap=true; };
target_modules = { module= libstdc++-v3;
bootstrap=true;
@@ -426,6 +428,7 @@ dependencies = { module=all-binutils; on=all-build-flex; };
dependencies = { module=all-binutils; on=all-build-bison; };
dependencies = { module=all-binutils; on=all-intl; };
dependencies = { module=all-binutils; on=all-gas; };
+dependencies = { module=all-binutils; on=all-libctf; };
// We put install-opcodes before install-binutils because the installed
// binutils might be on PATH, and they might need the shared opcodes
@@ -516,6 +519,9 @@ dependencies = { module=all-sim; on=configure-gdb; };
dependencies = { module=all-fastjar; on=all-zlib; };
dependencies = { module=all-fastjar; on=all-build-texinfo; };
dependencies = { module=all-fastjar; on=all-libiberty; };
+dependencies = { module=all-libctf; on=all-libiberty; hard=true; };
+dependencies = { module=all-libctf; on=all-bfd; };
+dependencies = { module=all-libctf; on=all-zlib; };
// Warning, these are not well tested.
dependencies = { module=all-bison; on=all-intl; };