aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-07-02 07:56:07 +0000
committerPaolo Bonzini <bonzini@gnu.org>2004-07-02 07:56:07 +0000
commit6a9cf61e0fb67ba9df9ddd800cc8a4c272f91795 (patch)
tree24a721884b49f96cdaabd8da50f2f1ce148262eb /Makefile.def
parent5bb2a876193d32bcc43554c792579525d7f45899 (diff)
downloadgdb-6a9cf61e0fb67ba9df9ddd800cc8a4c272f91795.zip
gdb-6a9cf61e0fb67ba9df9ddd800cc8a4c272f91795.tar.gz
gdb-6a9cf61e0fb67ba9df9ddd800cc8a4c272f91795.tar.bz2
2004-07-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add bison, byacc, flex, m4, texinfo. (flags_to_pass): Add FLEX. * Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New. (BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it. (DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4, DEFAULT_MAKEINFO): Remove. (CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON, CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute. (YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into objdir or else use configured tool. (all-build): New. (all): Depend on it. (Build module dependencies): Add. * Makefile.in: Regenerate. * configure.in: Better support for multiple build modules, matching what is done for host/target modules. Do not look for "plausible" locations of build tools if Canadian cross. Use autoconf's AC_PROG_CC to find a C compiler. Define BUILD_DIR_PREFIX. Look for flex, makeinfo and m4. * configure: Regenerate.
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 b394138..511876f 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -26,6 +26,11 @@ AutoGen definitions Makefile.tpl;
build_modules= { module= libiberty; };
build_modules= { module= libbanshee; };
+build_modules= { module= bison; };
+build_modules= { module= byacc; };
+build_modules= { module= flex; };
+build_modules= { module= m4; };
+build_modules= { module= texinfo; };
host_modules= { module= ash; };
host_modules= { module= autoconf; };
@@ -177,6 +182,7 @@ flags_to_pass = { flag= BISON ; };
flags_to_pass = { flag= CC_FOR_BUILD ; };
flags_to_pass = { flag= CXX_FOR_BUILD ; };
flags_to_pass = { flag= EXPECT ; };
+flags_to_pass = { flag= FLEX ; };
flags_to_pass = { flag= INSTALL ; };
flags_to_pass = { flag= INSTALL_DATA ; };
flags_to_pass = { flag= INSTALL_PROGRAM ; };