< prev index next >

make/Init.gmk

Print this page




 260 
 261   print-targets:
 262         ( cd $(TOPDIR) && \
 263             $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
 264             NO_RECIPES=true print-targets )
 265 
 266   print-tests:
 267         ( cd $(TOPDIR) && \
 268             $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
 269             NO_RECIPES=true print-tests )
 270 
 271   print-configuration:
 272           $(ECHO) $(CONFIGURE_COMMAND_LINE)
 273 
 274   reconfigure:
 275         ifneq ($(CONFIGURE_COMMAND_LINE), )
 276           $(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
 277         else
 278           $(ECHO) "Re-running configure using default settings"
 279         endif
 280         ( cd $(OUTPUTDIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
 281             CUSTOM_ROOT="$(CUSTOM_ROOT)" \
 282             CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
 283             $(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
 284 
 285   ##############################################################################
 286   # The main target, for delegating into Main.gmk
 287   ##############################################################################
 288 
 289   MAIN_TARGETS := $(SEQUENTIAL_TARGETS) $(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE)
 290   # If building the default target, add what they are to the description.
 291   DESCRIPTION_TARGETS := $(strip $(MAIN_TARGETS))
 292   ifeq ($(DESCRIPTION_TARGETS), default)
 293     DESCRIPTION_TARGETS += ($(DEFAULT_MAKE_TARGET))
 294   endif
 295   TARGET_DESCRIPTION := target$(if $(word 2, $(MAIN_TARGETS)),s) \
 296       '$(strip $(DESCRIPTION_TARGETS))' in configuration '$(CONF_NAME)'
 297 
 298   # MAKEOVERRIDES is automatically set and propagated by Make to sub-Make calls.
 299   # We need to clear it of the init-specific variables. The user-specified
 300   # variables are explicitly propagated using $(USER_MAKE_VARS).




 260 
 261   print-targets:
 262         ( cd $(TOPDIR) && \
 263             $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
 264             NO_RECIPES=true print-targets )
 265 
 266   print-tests:
 267         ( cd $(TOPDIR) && \
 268             $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
 269             NO_RECIPES=true print-tests )
 270 
 271   print-configuration:
 272           $(ECHO) $(CONFIGURE_COMMAND_LINE)
 273 
 274   reconfigure:
 275         ifneq ($(CONFIGURE_COMMAND_LINE), )
 276           $(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
 277         else
 278           $(ECHO) "Re-running configure using default settings"
 279         endif
 280         ( cd $(CONFIGURE_START_DIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
 281             CUSTOM_ROOT="$(CUSTOM_ROOT)" \
 282             CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
 283             $(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
 284 
 285   ##############################################################################
 286   # The main target, for delegating into Main.gmk
 287   ##############################################################################
 288 
 289   MAIN_TARGETS := $(SEQUENTIAL_TARGETS) $(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE)
 290   # If building the default target, add what they are to the description.
 291   DESCRIPTION_TARGETS := $(strip $(MAIN_TARGETS))
 292   ifeq ($(DESCRIPTION_TARGETS), default)
 293     DESCRIPTION_TARGETS += ($(DEFAULT_MAKE_TARGET))
 294   endif
 295   TARGET_DESCRIPTION := target$(if $(word 2, $(MAIN_TARGETS)),s) \
 296       '$(strip $(DESCRIPTION_TARGETS))' in configuration '$(CONF_NAME)'
 297 
 298   # MAKEOVERRIDES is automatically set and propagated by Make to sub-Make calls.
 299   # We need to clear it of the init-specific variables. The user-specified
 300   # variables are explicitly propagated using $(USER_MAKE_VARS).


< prev index next >