summaryrefslogtreecommitdiffstats
path: root/Makefile.def
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2004-07-02 07:56:07 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2004-07-02 07:56:07 +0000
commit2cb47d686eff408aab237c0a54f9094a7fc1bd76 (patch)
treed41523f9732e63c45e7bd246ad5a02b9d04b6a4b /Makefile.def
parent78c6a5b53ae19fbd1eaa5691f5c0df5ca7e8eaad (diff)
downloadcygnal-2cb47d686eff408aab237c0a54f9094a7fc1bd76.tar.gz
cygnal-2cb47d686eff408aab237c0a54f9094a7fc1bd76.tar.bz2
cygnal-2cb47d686eff408aab237c0a54f9094a7fc1bd76.zip
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 b39413814..511876f81 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 ; };