< prev index next >

make/gensrc/Gensrc-jdk.hotspot.agent.gmk

Print this page




  25 
  26 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 
  31 ################################################################################
  32 
  33 SA_PROPERTIES := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/sa.properties
  34 
  35 SA_BUILD_VERSION_PROP_NAME := "sun.jvm.hotspot.runtime.VM.saBuildVersion"
  36 
  37 $(SA_PROPERTIES): $(call DependOnVariable, VERSION_STRING)
  38         $(call MakeTargetDir)
  39         $(ECHO) "$(SA_BUILD_VERSION_PROP_NAME)=$(VERSION_STRING)" > $@
  40 
  41 TARGETS += $(SA_PROPERTIES)
  42 
  43 ################################################################################
  44 
  45 ifeq ($(OPENJDK_TARGET_OS), macosx)
  46   MIG_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent
  47   MACH_EXC_HEADER := $(MIG_OUTPUT_DIR)/mach_exc.h
  48   MACH_EXC_USER := $(MIG_OUTPUT_DIR)/mach_excUser.c
  49   MACH_EXC_SERVER := $(MIG_OUTPUT_DIR)/mach_excServer.c
  50 
  51   $(MACH_EXC_SERVER): $(SDKROOT)/usr/include/mach/mach_exc.defs
  52         $(call MakeTargetDir)
  53         $(MIG) $(if $(SDKROOT), -isysroot $(SDKROOT)) \
  54             -server $@ -user $(MACH_EXC_USER) \
  55             -header $(MACH_EXC_HEADER) $(SDKROOT)/usr/include/mach/mach_exc.defs
  56 
  57   TARGETS += $(MACH_EXC_SERVER)
  58 endif
  59 
  60 ################################################################################
  61 
  62 all: $(TARGETS)
  63 
  64 .PHONY: all default


  25 
  26 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 
  31 ################################################################################
  32 
  33 SA_PROPERTIES := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/sa.properties
  34 
  35 SA_BUILD_VERSION_PROP_NAME := "sun.jvm.hotspot.runtime.VM.saBuildVersion"
  36 
  37 $(SA_PROPERTIES): $(call DependOnVariable, VERSION_STRING)
  38         $(call MakeTargetDir)
  39         $(ECHO) "$(SA_BUILD_VERSION_PROP_NAME)=$(VERSION_STRING)" > $@
  40 
  41 TARGETS += $(SA_PROPERTIES)
  42 
  43 ################################################################################
  44 
  45 ifeq ($(call isTargetOs, macosx), true)
  46   MIG_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent
  47   MACH_EXC_HEADER := $(MIG_OUTPUT_DIR)/mach_exc.h
  48   MACH_EXC_USER := $(MIG_OUTPUT_DIR)/mach_excUser.c
  49   MACH_EXC_SERVER := $(MIG_OUTPUT_DIR)/mach_excServer.c
  50 
  51   $(MACH_EXC_SERVER): $(SDKROOT)/usr/include/mach/mach_exc.defs
  52         $(call MakeTargetDir)
  53         $(MIG) $(if $(SDKROOT), -isysroot $(SDKROOT)) \
  54             -server $@ -user $(MACH_EXC_USER) \
  55             -header $(MACH_EXC_HEADER) $(SDKROOT)/usr/include/mach/mach_exc.defs
  56 
  57   TARGETS += $(MACH_EXC_SERVER)
  58 endif
  59 
  60 ################################################################################
  61 
  62 all: $(TARGETS)
  63 
  64 .PHONY: all default
< prev index next >