* Makefile.tpl: syntactic cleanup

This commit is contained in:
DJ Delorie 2002-11-14 22:42:36 +00:00
parent 4ce377c9d4
commit 16f880fcba
2 changed files with 54 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2002-11-13 Bruce Korb <bkorb@gnu.org>
* Makefile.tpl: syntactic cleanup
2002-11-04 Kevin Buettner <kevinb@redhat.com> 2002-11-04 Kevin Buettner <kevinb@redhat.com>
* Makefile.def (host_modules): Add rda. * Makefile.def (host_modules): Add rda.

View File

@ -1,4 +1,4 @@
[+ AutoGen5 template [+ AutoGen5 template -*- Mode: Makefile -*-
in in
+] +]
@ -522,8 +522,10 @@ CONFIGURE_BUILD_MODULES = \
# This is a list of the targets for all of the modules which are compiled # This is a list of the targets for all of the modules which are compiled
# using $(FLAGS_TO_PASS). # using $(FLAGS_TO_PASS).
ALL_MODULES = [+ FOR host_modules +]\ ALL_MODULES =[+
all-[+module+] [+ ENDFOR host_modules +]\ FOR host_modules +] \
all-[+module+][+
ENDFOR host_modules +] \
$(EXTRA_TARGET_HOST_ALL_MODULES) $(EXTRA_TARGET_HOST_ALL_MODULES)
# This is a list of the check targets for all of the modules which are # This is a list of the check targets for all of the modules which are
@ -539,16 +541,25 @@ NATIVE_CHECK_MODULES = \
check-flex \ check-flex \
check-zip check-zip
CROSS_CHECK_MODULES = [+ FOR host_modules +][+ IF no_check +][+ ELIF no_check_cross +][+ ELSE x +]\ CROSS_CHECK_MODULES =[+
check-[+module+] [+ ENDIF no_check +][+ ENDFOR host_modules +]\ FOR host_modules +][+
IF (not (or (exist? "no_check_cross") (exist? "no_check")))
+] \
check-[+module+][+
ENDIF no_check +][+
ENDFOR host_modules +] \
$(EXTRA_TARGET_HOST_CHECK_MODULES) $(EXTRA_TARGET_HOST_CHECK_MODULES)
CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
# This is a list of the install targets for all of the modules which are # This is a list of the install targets for all of the modules which are
# compiled using $(FLAGS_TO_PASS). # compiled using $(FLAGS_TO_PASS).
INSTALL_MODULES = [+ FOR host_modules+][+ IF no_install +][+ ELSE no_install +]\ INSTALL_MODULES =[+
install-[+module+] [+ ENDIF no_install +][+ ENDFOR host_modules +]\ FOR host_modules+][+
IF (not (exist? "no_install")) +] \
install-[+module+][+
ENDIF no_install +][+
ENDFOR host_modules +] \
$(EXTRA_TARGET_HOST_INSTALL_MODULES) $(EXTRA_TARGET_HOST_INSTALL_MODULES)
# This is a list of the targets for all of the modules which are compiled # This is a list of the targets for all of the modules which are compiled
@ -583,31 +594,51 @@ INSTALL_X11_MODULES = \
# This is a list of the targets for all of the modules which are compiled # This is a list of the targets for all of the modules which are compiled
# using $(TARGET_FLAGS_TO_PASS). # using $(TARGET_FLAGS_TO_PASS).
ALL_TARGET_MODULES = [+ FOR target_modules +]\ ALL_TARGET_MODULES =[+
all-target-[+module+] [+ ENDFOR 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 # This is a list of the configure targets for all of the modules which
# are compiled using the target tools. # are compiled using the target tools.
CONFIGURE_TARGET_MODULES = [+ FOR target_modules +]\ CONFIGURE_TARGET_MODULES =[+
configure-target-[+module+] [+ ENDFOR target_modules +] FOR target_modules +] \
configure-target-[+module+][+
ENDFOR target_modules +]
# This is a list of the check targets for all of the modules which are # This is a list of the check targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS). # compiled using $(TARGET_FLAGS_TO_PASS).
CHECK_TARGET_MODULES = [+ FOR target_modules +][+ IF no_check +][+ ELSE check +]\ CHECK_TARGET_MODULES =[+
check-target-[+module+] [+ ENDIF no_check +][+ ENDFOR 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 # This is a list of the install targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS). # compiled using $(TARGET_FLAGS_TO_PASS).
INSTALL_TARGET_MODULES = [+ FOR target_modules +][+ IF no_install +][+ ELSE install +]\ INSTALL_TARGET_MODULES =[+
install-target-[+module+] [+ ENDIF no_install +][+ ENDFOR target_modules +] FOR target_modules +][+
IF (not (exist? "no_install")) +] \
install-target-[+module+][+
ENDIF no_install +][+
ENDFOR target_modules +]
# This is a list of the targets for which we can do a clean-{target}. # This is a list of the targets for which we can do a clean-{target}.
CLEAN_MODULES = [+ FOR host_modules +][+ IF no_clean +][+ ELSE no_clean +]\ CLEAN_MODULES =[+
clean-[+module+] [+ ENDIF no_clean +][+ ENDFOR host_modules +] FOR host_modules +][+
IF (not (exist? "no_clean")) +] \
clean-[+module+][+
ENDIF no_clean +][+
ENDFOR host_modules +]
# All of the target modules that can be cleaned # All of the target modules that can be cleaned
CLEAN_TARGET_MODULES = [+ FOR target_modules +][+ IF no_clean +][+ ELSE clean +]\ CLEAN_TARGET_MODULES =[+
clean-target-[+module+] [+ ENDIF no_clean +][+ ENDFOR target_modules +] FOR target_modules +][+
IF (not (exist? "no_clean")) +] \
clean-target-[+module+][+
ENDIF no_clean +][+
ENDFOR target_modules +]
# All of the x11 modules that can be cleaned # All of the x11 modules that can be cleaned
CLEAN_X11_MODULES = \ CLEAN_X11_MODULES = \