From 0e65dfbaf3a0299e4837216a103c28625d4b4f1d Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Wed, 24 Apr 2019 11:49:48 +0100 Subject: 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. --- Makefile.def | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.def') 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; }; -- cgit v1.1