< prev index next >

make/Init.gmk

Print this page




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




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


< prev index next >