diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-02 03:24:13 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-02 03:24:13 +0000 |
commit | dac01032f86d4e7987acaf7d74339f3ed6d65c35 (patch) | |
tree | 624e24a3fe4531bf1431bdac3c376de0ab606269 /Makefile.tpl | |
parent | 91992da0099a109a256973daa82e446b20584944 (diff) | |
download | gdb-dac01032f86d4e7987acaf7d74339f3ed6d65c35.tar.gz |
2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
(finishing slow-motion replay)
* configure: Remove skip-this-dir support.
* Makefile.tpl: Remove skip-this-dir support.
* Makefile.tpl: Remove leftover support for non-autoconfiscated
subdirectories.
* Makefile.in: Regenerate.
* Makefile.tpl: Strip out useless setting of 'dir'.
* Makefile.in: Regenerate.
2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
(finishing slow-motion replay)
* configure.in: Fix deeply stupid bug.
* configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded
shell code in CXX_FOR_TARGET
* Makefile.def: Introduce raw_cxx.
* Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and
RAW_CXX_FOR_TARGET.
* Makefile.in: Regenerate.
2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
(finishing slow-motion replay)
* Makefile.tpl: Remove unnecessary ifs.
* Makefile.in: Regenerate.
* Makefile.tpl: Implement soft dependency machinery. Maybe-ize
dependencies. Maybe-ize build-libiberty. Create dummy install
targets for 'no_install' modules.
* configure: Move GDB_TK substitution to configure.in. Move
build_modules stuff to configure.in.
* configure.in: Implement soft dependency machinery. Maybe-ize
GDB_TK, rearrange slightly. Move build_modules stuff from configure.
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 316 |
1 files changed, 134 insertions, 182 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 6ccb817f2ec..45181c19157 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -256,7 +256,9 @@ REALLY_SET_LIB_PATH = \ FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ CC_FOR_TARGET = @CC_FOR_TARGET@ CXX_FOR_TARGET = @CXX_FOR_TARGET@ +RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@ CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ +RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ GCJ_FOR_TARGET = @GCJ_FOR_TARGET@ # If GCC_FOR_TARGET is not overriden on the command line, then this @@ -439,7 +441,8 @@ BASE_FLAGS_TO_PASS = \ # so we pass these variables down unchanged. They must not contain # single nor double quotes. RECURSE_FLAGS = \ - CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' + CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ + RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ # Flags to pass down to most sub-makes, in which we're building with # the host environment. @@ -522,18 +525,6 @@ EXTRA_GCC_FLAGS = \ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) -# This is a list of the targets for all of the modules which are compiled -# using the build machine's native compiler. Configure edits the second -# macro for build!=host builds. -ALL_BUILD_MODULES_LIST = \ - all-build-libiberty -ALL_BUILD_MODULES = @all_build_modules@ - -# This is a list of the configure targets for all of the modules which -# are compiled using the native tools. -CONFIGURE_BUILD_MODULES = \ - configure-build-libiberty - # This is a list of the configure targets for all of the modules which # are compiled using the target tools. CONFIGURE_TARGET_MODULES = [+ FOR target_modules +]\ @@ -792,7 +783,8 @@ gcc-no-fixedincludes: # These rules are used to build the modules which are built with the # build machine's native compiler. [+ FOR build_modules +] -.PHONY: all-build-[+module+] +.PHONY: all-build-[+module+] maybe-all-build-[+module+] +maybe-all-build-[+module+]: all-build-[+module+]: @if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ @@ -802,7 +794,8 @@ all-build-[+module+]: true; \ fi -.PHONY: configure-build-[+module+] +.PHONY: configure-build-[+module+] maybe-configure-build-[+module+] +maybe-configure-build-[+module+]: configure-build-[+module+]: @if [ ! -d $(BUILD_SUBDIR) ]; then \ true; \ @@ -861,24 +854,11 @@ configure-build-[+module+]: srcdiroption="--srcdir=$${topdir}/[+module+]"; \ libsrcdir="$$s/[+module+]"; \ fi; \ - if [ -f $${libsrcdir}/configure ] ; then \ - rm -f no-such-file skip-this-dir; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) $${srcdiroption} \ - --with-build-subdir="$(BUILD_SUBDIR)"; \ - else \ - rm -f no-such-file skip-this-dir; \ - CONFIG_SITE=no-such-file $(SHELL) $$s/configure \ - $(BUILD_CONFIGARGS) $${srcdiroption} \ - --with-build-subdir="$(BUILD_SUBDIR)"; \ - fi || exit 1; \ - if [ -f skip-this-dir ] ; then \ - sh skip-this-dir; \ - rm -f skip-this-dir; \ - cd ..; rmdir [+module+] || true; \ - else \ - true; \ - fi; \ + rm -f no-such-file || : ; \ + CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ + $(BUILD_CONFIGARGS) $${srcdiroption} \ + --with-build-subdir="$(BUILD_SUBDIR)" \ + || exit 1; \ else \ true; \ fi; \ @@ -890,20 +870,16 @@ configure-build-[+module+]: # These rules are used to build the modules which use FLAGS_TO_PASS. To # build a target all-X means to cd to X and make all. [+ FOR host_modules +] -.PHONY: all-[+module+] +.PHONY: all-[+module+] maybe-all-[+module+] +maybe-all-[+module+]: all-[+module+]: - @dir=[+module+]; \ - if [ -f ./[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ IF with_x +] $(X11_FLAGS_TO_PASS)[+ - ENDIF with_x +] all); \ - else \ - true; \ - fi + ENDIF with_x +] all) [+ IF no_check +] .PHONY: check-[+module+] @@ -913,8 +889,6 @@ check-[+module+]: # This module is only tested in a native toolchain. check-[+module+]: @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ - dir=[+module+]; \ - if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ @@ -922,55 +896,44 @@ check-[+module+]: IF with_x +] $(X11_FLAGS_TO_PASS)[+ ENDIF with_x +] check); \ - else \ - true; \ - fi; \ fi [+ ELSE check +] .PHONY: check-[+module+] check-[+module+]: - @dir=[+module+]; \ - if [ -f ./[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ IF with_x +] $(X11_FLAGS_TO_PASS)[+ - ENDIF with_x +] check); \ - else \ - true; \ - fi + ENDIF with_x +] check) [+ ENDIF no_check +] [+ IF no_install +] -.PHONY: install-[+module+] +.PHONY: install-[+module+] maybe-install-[+module+] +maybe-install-[+module+]: install-[+module+]: [+ ELSE install +] -.PHONY: install-[+module+] +.PHONY: install-[+module+] maybe-install-[+module+] +maybe-install-[+module+]: install-[+module+]: installdirs - @dir=[+module+]; \ - if [ -f ./[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ IF with_x +] $(X11_FLAGS_TO_PASS)[+ - ENDIF with_x +] install); \ - else \ - true; \ - fi + ENDIF with_x +] install) [+ ENDIF no_install +] [+ ENDFOR host_modules +] # These rules are used to build the modules which are built with the target # tools. To make foo-X means to cd to X and make foo. [+ FOR target_modules +] -.PHONY: configure-target-[+module+] +.PHONY: configure-target-[+module+] maybe-configure-target-[+module+] +maybe-configure-target-[+module+]: configure-target-[+module+]: - @if [ -d $(TARGET_SUBDIR)/[+module+] ]; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/[+module+]/tmpmulti.out 2> /dev/null; \ if [ -s $(TARGET_SUBDIR)/[+module+]/tmpmulti.out ]; then \ if [ -f $(TARGET_SUBDIR)/[+module+]/multilib.out ]; then \ @@ -984,15 +947,8 @@ configure-target-[+module+]: else \ mv $(TARGET_SUBDIR)/[+module+]/tmpmulti.out $(TARGET_SUBDIR)/[+module+]/multilib.out; \ fi; \ - fi; \ fi; exit 0 # break command into two pieces - @dir=[+module+] ; \ - if [ ! -d $(TARGET_SUBDIR) ]; then \ - true; \ - elif [ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] ; then \ - true; \ - elif echo " $(TARGET_CONFIGDIRS) " | grep " [+module+] " >/dev/null 2>&1; then \ - if [ -d $(srcdir)/[+module+] ]; then \ + @if [ -d $(srcdir)/[+module+] ]; then \ [ -d $(TARGET_SUBDIR)/[+module+] ] || mkdir $(TARGET_SUBDIR)/[+module+];\ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ @@ -1000,8 +956,13 @@ configure-target-[+module+]: AR="$(AR_FOR_TARGET)"; export AR; \ AS="$(AS_FOR_TARGET)"; export AS; \ CC="$(CC_FOR_TARGET)"; export CC; \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXX="$(CXX_FOR_TARGET)"; export CXX; \ + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \[+ + IF raw_cxx +] + CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ + CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \[+ + ELSE normal_cxx +] + CXX="$(CXX_FOR_TARGET)"; export CXX; \[+ + ENDIF raw_cxx +] CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ @@ -1045,43 +1006,27 @@ configure-target-[+module+]: srcdiroption="--srcdir=$${topdir}/[+module+]"; \ libsrcdir="$$s/[+module+]"; \ fi; \ - if [ -f $${libsrcdir}/configure ] ; then \ - rm -f no-such-file skip-this-dir; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) $${srcdiroption} \ - --with-target-subdir="$(TARGET_SUBDIR)"; \ - else \ - rm -f no-such-file skip-this-dir; \ - CONFIG_SITE=no-such-file $(SHELL) $$s/configure \ - $(TARGET_CONFIGARGS) $${srcdiroption} \ - --with-target-subdir="$(TARGET_SUBDIR)"; \ - fi || exit 1; \ - if [ -f skip-this-dir ] ; then \ - sh skip-this-dir; \ - rm -f skip-this-dir; \ - cd ..; rmdir [+module+] || true; \ - else \ - true; \ - fi; \ + rm -f no-such-file || : ; \ + CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) $${srcdiroption} \ + --with-target-subdir="$(TARGET_SUBDIR)" \ + || exit 1; \ else \ true; \ - fi; \ - else \ - true; \ - fi + fi -.PHONY: all-target-[+module+] +.PHONY: all-target-[+module+] maybe-all-target-[+module+] +maybe-all-target-[+module+]: all-target-[+module+]: - @dir=[+module+] ; \ - if [ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd $(TARGET_SUBDIR)/[+module+]; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \ - else \ - true; \ - fi + $(MAKE) $(TARGET_FLAGS_TO_PASS) [+ + IF raw_cxx + +] 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' [+ + ENDIF raw_cxx + +] all) [+ IF no_check +] # Dummy target for uncheckable module. .PHONY: check-target-[+module+] @@ -1089,35 +1034,36 @@ check-target-[+module+]: [+ ELSE check +] .PHONY: check-target-[+module+] check-target-[+module+]: - @dir=[+module+] ; \ - if [ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd $(TARGET_SUBDIR)/[+module+]; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check);\ - else \ - true; \ - fi + $(MAKE) $(TARGET_FLAGS_TO_PASS) [+ + IF raw_cxx + +] 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' [+ + ENDIF raw_cxx + +] check) [+ ENDIF no_check +] -[+ IF no_install +][+ ELSE install +]\ -.PHONY: install-target-[+module+] +[+ IF no_install +] +.PHONY: install-target-[+module+] maybe-install-target-[+module+] +maybe-install-target-[+module+]: +# Dummy target for uninstallable. +install-target-[+module+]: +[+ ELSE install +] +.PHONY: install-target-[+module+] maybe-install-target-[+module+] +maybe-install-target-[+module+]: install-target-[+module+]: installdirs - @dir=[+module+] ; \ - if [ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] ; then \ - r=`${PWD}`; export r; \ + @r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ (cd $(TARGET_SUBDIR)/[+module+]; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install); \ - else \ - true; \ - fi + $(MAKE) $(TARGET_FLAGS_TO_PASS) install) [+ ENDIF no_install +] [+ ENDFOR target_modules +] # gcc is the only module which uses GCC_FLAGS_TO_PASS. -.PHONY: all-gcc +.PHONY: all-gcc maybe-all-gcc +maybe-all-gcc: all-gcc: @if [ -f ./gcc/Makefile ] ; then \ r=`${PWD}`; export r; \ @@ -1204,7 +1150,8 @@ check-c++: true; \ fi -.PHONY: install-gcc +.PHONY: install-gcc maybe-install-gcc +maybe-install-gcc: install-gcc: @if [ -f ./gcc/Makefile ] ; then \ r=`${PWD}`; export r; \ @@ -1215,98 +1162,103 @@ install-gcc: true; \ fi -ALL_GCC = all-gcc -ALL_GCC_C = $(ALL_GCC) all-target-newlib all-target-libgloss -ALL_GCC_CXX = $(ALL_GCC_C) all-target-libstdc++-v3 +ALL_GCC = maybe-all-gcc +ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss +ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3 # This is a list of inter-dependencies among modules. -all-autoconf: all-m4 all-texinfo -all-automake: all-m4 all-texinfo -all-bfd: all-libiberty all-intl -all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-intl -all-bison: all-texinfo -configure-target-boehm-gc: $(ALL_GCC_C) configure-target-qthreads -all-dejagnu: all-tcl all-expect all-tk -all-diff: all-libiberty +all-autoconf: maybe-all-m4 maybe-all-texinfo +all-automake: maybe-all-m4 maybe-all-texinfo +all-bfd: maybe-all-libiberty maybe-all-intl +all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl +all-bison: maybe-all-texinfo +configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads +all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk +all-diff: maybe-all-libiberty configure-target-examples: $(ALL_GCC_C) -all-expect: all-tcl all-tk -all-fileutils: all-libiberty -all-flex: all-libiberty all-bison all-byacc -all-gas: all-libiberty all-opcodes all-bfd all-intl -all-gcc: all-libiberty all-bison all-byacc all-binutils all-gas all-ld all-zlib -all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib +all-expect: maybe-all-tcl maybe-all-tk +all-fileutils: maybe-all-libiberty +all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc +all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl +all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib +all-bootstrap: maybe-all-libiberty maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib GDB_TK = @GDB_TK@ -all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK) +all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK) configure-target-gperf: $(ALL_GCC_CXX) -all-target-gperf: all-target-libiberty all-target-libstdc++-v3 -all-gprof: all-libiberty all-bfd all-opcodes all-intl -all-grep: all-libiberty -all-gzip: all-libiberty -all-hello: all-libiberty -all-itcl: all-tcl all-tk -all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl +all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3 +all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl +all-grep: maybe-all-libiberty +all-gzip: maybe-all-libiberty +all-hello: maybe-all-libiberty +all-itcl: maybe-all-tcl maybe-all-tk +all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl configure-target-libgloss: $(ALL_GCC) -all-target-libgloss: configure-target-newlib -all-libgui: all-tcl all-tk all-itcl +all-target-libgloss: maybe-configure-target-newlib +all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl configure-target-libffi: $(ALL_GCC_C) -configure-target-libjava: $(ALL_GCC_C) configure-target-zlib configure-target-boehm-gc configure-target-qthreads configure-target-libffi -all-target-libjava: all-fastjar all-target-zlib all-target-boehm-gc all-target-qthreads all-target-libffi +configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi +all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi configure-target-libstdc++-v3: $(ALL_GCC_C) -all-target-libstdc++-v3: all-target-libiberty +all-target-libstdc++-v3: maybe-all-target-libiberty configure-target-libf2c: $(ALL_GCC_C) -all-target-libf2c: all-target-libiberty +all-target-libf2c: maybe-all-target-libiberty configure-target-libobjc: $(ALL_GCC_C) -all-target-libobjc: all-target-libiberty -all-m4: all-libiberty all-texinfo -all-make: all-libiberty +all-target-libobjc: maybe-all-target-libiberty +all-m4: maybe-all-libiberty maybe-all-texinfo +all-make: maybe-all-libiberty configure-target-newlib: $(ALL_GCC) configure-target-libtermcap: $(ALL_GCC_C) -all-opcodes: all-bfd all-libiberty -all-patch: all-libiberty -all-prms: all-libiberty +all-opcodes: maybe-all-bfd maybe-all-libiberty +all-patch: maybe-all-libiberty +all-prms: maybe-all-libiberty configure-target-qthreads: $(ALL_GCC_C) -all-recode: all-libiberty -all-sed: all-libiberty -all-send-pr: all-prms -all-sid: all-tcl all-tk -all-sim: all-libiberty all-bfd all-opcodes all-readline -all-snavigator: all-tcl all-tk all-itcl all-tix all-db all-grep all-libgui -all-tar: all-libiberty -all-tclX: all-tcl all-tk -all-tk: all-tcl -all-texinfo: all-libiberty -all-tix: all-tcl all-tk +all-recode: maybe-all-libiberty +all-sed: maybe-all-libiberty +all-send-pr: maybe-all-prms +all-sid: maybe-all-tcl maybe-all-tk +all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline +all-snavigator: maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-db maybe-all-grep maybe-all-libgui +all-tar: maybe-all-libiberty +all-tclX: maybe-all-tcl maybe-all-tk +all-tk: maybe-all-tcl +all-texinfo: maybe-all-libiberty +all-tix: maybe-all-tcl maybe-all-tk configure-target-winsup: $(ALL_GCC_C) -all-target-winsup: all-target-libiberty all-target-libtermcap -all-uudecode: all-libiberty +all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap +all-uudecode: maybe-all-libiberty configure-target-zlib: $(ALL_GCC_C) -all-fastjar: all-zlib all-libiberty -configure-target-fastjar: configure-target-zlib -all-target-fastjar: all-target-zlib all-target-libiberty +all-fastjar: maybe-all-zlib maybe-all-libiberty +configure-target-fastjar: maybe-configure-target-zlib +all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty configure-target-libiberty: $(ALL_GCC_C) -install-gdb: install-tcl install-tk install-itcl install-tix install-libgui -install-sid: install-tcl install-tk +install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui +install-sid: maybe-install-tcl maybe-install-tk # We put install-opcodes before install-binutils because the installed # binutils might be on PATH, and they might need the shared opcodes # library. -install-binutils: install-opcodes +install-binutils: maybe-install-opcodes # We put install-tcl before install-itcl because itcl wants to run a # program on installation which uses the Tcl libraries. -install-itcl: install-tcl +install-itcl: maybe-install-tcl # This is a slightly kludgy method of getting dependencies on # all-build-libiberty correct; it would be better to build it every time. -all-gcc: @all_build_modules@ +all-gcc: maybe-all-build-libiberty # Dependencies of all-build-foo on configure-build-foo. -all-build-libiberty: configure-build-libiberty +[+ FOR build_modules +]all-build-[+module+]: configure-build-[+module+] +[+ ENDFOR build_modules +] # Dependencies of all-target-foo on configure-target-foo. [+ FOR target_modules +]all-target-[+module+]: configure-target-[+module+] [+ ENDFOR target_modules +] +# Dependencies of maybe-foo on foo. These are used because, for example, +# all-gcc only depends on all-gas if gas is present and being configured. +@maybe_dependencies@ + ### other supporting targets MAKEDIRS= \ |