This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(toplevel b-i-b, committed) make all-target, install-target behave like others


This makes the 'install-target' and 'all-target' targets behave in a 
manner much closer to the 'install' and 'all' targets; I missed these 
when I made the other change.  This allows me to eliminate some 
now-unused macros.  Tested, no problems, committed as obvious (these 
targets aren't normally used anyway, and now they just behave more like 
the other targets).

	* Makefile.tpl: Make all-target, install-target behave similarly
	to all, install (only hitting configured targets).  Eliminate
	unused macro defintions.
	* Makefile.in: Regenerate.

Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.5.2.11
diff -u -r1.5.2.11 Makefile.tpl
--- Makefile.tpl	19 Nov 2002 06:48:13 -0000	1.5.2.11
+++ Makefile.tpl	19 Nov 2002 06:53:38 -0000
@@ -534,13 +534,6 @@
 CONFIGURE_BUILD_MODULES = \
 	configure-build-libiberty
 
-# This is a list of the targets for all of the modules which are compiled
-# using $(TARGET_FLAGS_TO_PASS).
-ALL_TARGET_MODULES =[+
-    FOR target_modules +] \
-	all-target-[+module+][+
-    ENDFOR target_modules +]
-
 # This is a list of the configure targets for all of the modules which
 # are compiled using the target tools.
 CONFIGURE_TARGET_MODULES =[+
@@ -548,23 +541,7 @@
 	configure-target-[+module+][+
     ENDFOR target_modules +]
 
-# This is a list of the check targets for all of the modules which are
-# compiled using $(TARGET_FLAGS_TO_PASS).
-CHECK_TARGET_MODULES =[+
-    FOR target_modules +][+
-        IF (not (exist? "no_check")) +] \
-	check-target-[+module+][+
-        ENDIF no_check +][+
-    ENDFOR target_modules +]
-
-# This is a list of the install targets for all of the modules which are
-# compiled using $(TARGET_FLAGS_TO_PASS).
-INSTALL_TARGET_MODULES =[+
-    FOR target_modules +][+
-        IF (not (exist? "no_install")) +] \
-	install-target-[+module+][+
-        ENDIF no_install +][+
-    ENDFOR target_modules +]
+configure-target: $(CONFIGURE_TARGET_MODULES)
 
 # This is a list of the targets for which we can do a clean-{target}.
 CLEAN_MODULES =[+
@@ -593,6 +570,8 @@
 	@all_host_modules@ \
 	@all_target_modules@
 
+all-target: @all_target_modules@
+
 # Do a target for all the subdirectories.  A ``make do-X'' will do a
 # ``make X'' in all subdirectories (because, in general, there is a
 # dependency (below) of X upon do-X, a ``make X'' will also do this,
@@ -762,6 +741,8 @@
 .PHONY: install uninstall source-vault binary-vault vault-install
 install: installdirs @install_host_modules@ @install_target_modules@
 
+install-target: @install_target_modules@
+
 uninstall:
 	@echo "the uninstall target is not supported in this tree"
 
@@ -1313,9 +1294,6 @@
 configure-target-fastjar: configure-target-zlib
 all-target-fastjar: all-target-zlib all-target-libiberty
 configure-target-libiberty: $(ALL_GCC_C)
-configure-target: $(CONFIGURE_TARGET_MODULES)
-all-target: $(ALL_TARGET_MODULES)
-install-target: $(INSTALL_TARGET_MODULES)
 install-gdb: install-tcl install-tk install-itcl install-tix install-libgui
 install-sid: install-tcl install-tk
 
vv


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]