< prev index next >

make/HotspotWrapper.gmk

Print this page




  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Include the legacy hotspot-spec.gmk (which in turns includes spec.gmk)
  27 BASE_SPEC:=$(SPEC)
  28 include $(dir $(SPEC))hotspot-spec.gmk
  29 include MakeBase.gmk
  30 
  31 # Inclusion of this pseudo-target will cause make to execute this file
  32 # serially, regardless of -j. Recursively called makefiles will not be
  33 # affected, however. This is required for correct dependency management.
  34 .NOTPARALLEL:
  35 
  36 default: all
  37 
  38 # Get all files except .hg in the hotspot directory.
  39 HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)



  40 
  41 # The old build creates hotspot output dir before calling hotspot and
  42 # not doing it breaks builds on msys.
  43 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES)
  44         @$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
  45         @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) $(HOTSPOT_MAKE_ARGS) LOG_LEVEL=$(LOG_LEVEL) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC))

  46         $(TOUCH) $@
  47 
  48 hotspot: $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp
  49 
  50 all: hotspot
  51 
  52 .PHONY: default all hotspot


  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Include the legacy hotspot-spec.gmk (which in turns includes spec.gmk)
  27 BASE_SPEC:=$(SPEC)
  28 include $(dir $(SPEC))hotspot-spec.gmk
  29 include MakeBase.gmk
  30 
  31 # Inclusion of this pseudo-target will cause make to execute this file
  32 # serially, regardless of -j. Recursively called makefiles will not be
  33 # affected, however. This is required for correct dependency management.
  34 .NOTPARALLEL:
  35 
  36 default: all
  37 
  38 # Get all files in src, make or agent subdirs in hotspot directory and
  39 # filter out .hg. This skips the test directory.
  40 HOTSPOT_FILES := $(shell $(FIND) -L \
  41     $(HOTSPOT_TOPDIR)/src $(HOTSPOT_TOPDIR)/make $(HOTSPOT_TOPDIR)/agent \
  42     -name ".hg" -prune -o -print)
  43 
  44 # The old build creates hotspot output dir before calling hotspot and
  45 # not doing it breaks builds on msys.
  46 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES)
  47         @$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
  48         @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) $(HOTSPOT_MAKE_ARGS) \
  49             LOG_LEVEL=$(LOG_LEVEL) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC))
  50         $(TOUCH) $@
  51 
  52 hotspot: $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp
  53 
  54 all: hotspot
  55 
  56 .PHONY: default all hotspot
< prev index next >