common/makefiles/Main.gmk

Print this page




  51 # prevents a new make run to reuse the previous servers.
  52 ifneq (,$(SJAVAC_SERVER_DIR))
  53     $(shell $(MKDIR) -p $(SJAVAC_SERVER_DIR) && $(RM) -rf $(SJAVAC_SERVER_DIR)/*)
  54 endif
  55 
  56 # Reset the build timers.
  57 $(eval $(call ResetAllTimers))
  58 
  59 # Setup number of jobs to use. -jN is unfortunately not available for us to parse from the command line,
  60 # hence this workaround.
  61 MAKE_ARGS:=$(MAKE_ARGS) -j$(JOBS)
  62 
  63 ### Main targets
  64 
  65 default: jdk
  66         @$(call CheckIfMakeAtEnd)
  67 
  68 all: images docs
  69         @$(call CheckIfMakeAtEnd)
  70 
  71 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
  72   all: overlay-images
  73 endif
  74 
  75 # Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
  76 # is up to date after changes to configure
  77 $(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
  78         @$(ECHO) ERROR: $(SPEC) is not up to date
  79         @$(ECHO) Please rerun configure!
  80         @if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
  81 
  82 start-make: $(SPEC)
  83         @$(call AtMakeStart)
  84 
  85 langtools: langtools-only
  86 langtools-only: start-make
  87         @$(call TargetEnter)
  88         @($(CD) $(LANGTOOLS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildLangtools.gmk)
  89         @$(call TargetExit)
  90 
  91 corba: langtools corba-only
  92 corba-only: start-make
  93         @$(call TargetEnter)
  94         @($(CD) $(CORBA_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildCorba.gmk)




  51 # prevents a new make run to reuse the previous servers.
  52 ifneq (,$(SJAVAC_SERVER_DIR))
  53     $(shell $(MKDIR) -p $(SJAVAC_SERVER_DIR) && $(RM) -rf $(SJAVAC_SERVER_DIR)/*)
  54 endif
  55 
  56 # Reset the build timers.
  57 $(eval $(call ResetAllTimers))
  58 
  59 # Setup number of jobs to use. -jN is unfortunately not available for us to parse from the command line,
  60 # hence this workaround.
  61 MAKE_ARGS:=$(MAKE_ARGS) -j$(JOBS)
  62 
  63 ### Main targets
  64 
  65 default: jdk
  66         @$(call CheckIfMakeAtEnd)
  67 
  68 all: images docs
  69         @$(call CheckIfMakeAtEnd)
  70 




  71 # Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
  72 # is up to date after changes to configure
  73 $(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
  74         @$(ECHO) ERROR: $(SPEC) is not up to date
  75         @$(ECHO) Please rerun configure!
  76         @if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
  77 
  78 start-make: $(SPEC)
  79         @$(call AtMakeStart)
  80 
  81 langtools: langtools-only
  82 langtools-only: start-make
  83         @$(call TargetEnter)
  84         @($(CD) $(LANGTOOLS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildLangtools.gmk)
  85         @$(call TargetExit)
  86 
  87 corba: langtools corba-only
  88 corba-only: start-make
  89         @$(call TargetEnter)
  90         @($(CD) $(CORBA_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildCorba.gmk)