common/makefiles/Main.gmk

Print this page




  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 ifeq ($(JOBS),)
  62     JOBS=$(NUM_CORES)
  63 endif
  64 MAKE_ARGS:=$(MAKE_ARGS) -j$(JOBS)
  65 
  66 ### Main targets
  67 
  68 default: jdk
  69         @$(call CheckIfMakeAtEnd)
  70 
  71 all: images docs
  72         @$(call CheckIfMakeAtEnd)
  73 




  74 start-make:
  75         @$(call AtMakeStart)
  76 
  77 langtools: langtools-only
  78 langtools-only: start-make
  79         @$(call TargetEnter)
  80         @($(CD) $(LANGTOOLS_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildLangtools.gmk)
  81         @$(call TargetExit)
  82 
  83 corba: langtools corba-only
  84 corba-only: start-make
  85         @$(call TargetEnter)
  86         @($(CD) $(CORBA_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildCorba.gmk)
  87         @$(call TargetExit)
  88 
  89 jaxp: langtools jaxp-only
  90 jaxp-only: start-make
  91         @$(call TargetEnter)
  92         @($(CD) $(JAXP_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJaxp.gmk)
  93         @$(call TargetExit)




  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 ifeq ($(JOBS),)
  62     JOBS=$(NUM_CORES)
  63 endif
  64 MAKE_ARGS:=$(MAKE_ARGS) -j$(JOBS)
  65 
  66 ### Main targets
  67 
  68 default: jdk
  69         @$(call CheckIfMakeAtEnd)
  70 
  71 all: images docs
  72         @$(call CheckIfMakeAtEnd)
  73 
  74 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
  75   all: overlay-images
  76 endif
  77 
  78 start-make:
  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)
  91         @$(call TargetExit)
  92 
  93 jaxp: langtools jaxp-only
  94 jaxp-only: start-make
  95         @$(call TargetEnter)
  96         @($(CD) $(JAXP_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJaxp.gmk)
  97         @$(call TargetExit)