< prev index next >

hotspot/make/gensrc/GensrcJvmti.gmk

Print this page




 112     XSL_FILE := $(JVMTI_BC_SRCDIR)/bytecodeInterpreterWithChecks.xsl, \
 113     OUTPUT_DIR := $(JVMTI_OUTPUTDIR), \
 114     DEPS := $(JVMTI_BC_SRCDIR)/bytecodeInterpreter.cpp, \
 115 ))
 116 
 117 # We need $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp (generated above) as input
 118 $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp: $(JVMTI_SRCDIR)/jvmtiEnv.cpp \
 119     $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp $(BUILD_JVMTI_TOOLS)
 120         $(call LogInfo, Generating $(@F))
 121         $(call MakeDir, $(@D))
 122         $(call ExecuteWithLog, $@, $(TOOL_JVMTI_ENV_FILL) $(JVMTI_SRCDIR)/jvmtiEnv.cpp \
 123             $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp \
 124             $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp)
 125         # jvmtiEnvFill does not necessarily return an error code on failure.
 126         # NOTE: We should really fix jvmtiEnvFill.java instead.
 127         test -f $@
 128 
 129 TARGETS += $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp
 130 
 131 ################################################################################















 132 # Create trace files in gensrc/tracefiles
 133 
 134 TRACE_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/gensrc/tracefiles
 135 TRACE_SRCDIR := $(HOTSPOT_TOPDIR)/src/share/vm/trace
 136 
 137 # Append directories to search (might have been set by custom extensions)
 138 TRACE_SEARCH_DIRS += $(TRACE_SRCDIR)
 139 
 140 TRACE_XML ?= $(TRACE_SRCDIR)/trace.xml
 141 
 142 # Changing these will trigger a rebuild of generated trace files.
 143 TRACE_DEPS += \
 144     $(TRACE_XML) \
 145     $(TRACE_SRCDIR)/tracetypes.xml \
 146     $(TRACE_SRCDIR)/tracerelationdecls.xml \
 147     $(TRACE_SRCDIR)/traceevents.xml \
 148     $(TRACE_SRCDIR)/trace.dtd \
 149     $(TRACE_SRCDIR)/xinclude.mod \
 150     #
 151 




 112     XSL_FILE := $(JVMTI_BC_SRCDIR)/bytecodeInterpreterWithChecks.xsl, \
 113     OUTPUT_DIR := $(JVMTI_OUTPUTDIR), \
 114     DEPS := $(JVMTI_BC_SRCDIR)/bytecodeInterpreter.cpp, \
 115 ))
 116 
 117 # We need $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp (generated above) as input
 118 $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp: $(JVMTI_SRCDIR)/jvmtiEnv.cpp \
 119     $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp $(BUILD_JVMTI_TOOLS)
 120         $(call LogInfo, Generating $(@F))
 121         $(call MakeDir, $(@D))
 122         $(call ExecuteWithLog, $@, $(TOOL_JVMTI_ENV_FILL) $(JVMTI_SRCDIR)/jvmtiEnv.cpp \
 123             $(JVMTI_OUTPUTDIR)/jvmtiEnvStub.cpp \
 124             $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp)
 125         # jvmtiEnvFill does not necessarily return an error code on failure.
 126         # NOTE: We should really fix jvmtiEnvFill.java instead.
 127         test -f $@
 128 
 129 TARGETS += $(JVMTI_OUTPUTDIR)/jvmtiEnvRecommended.cpp
 130 
 131 ################################################################################
 132 # Disable copy of jvmti.h from hotspot until this has been cleared up. The file
 133 # is currently being copied from the jdk repository. See JDK-8167078.
 134 # Copy jvmti.h to include dir
 135 
 136 # The file is the same regardless of jvm variant. Only let one do the copy.
 137 #ifeq ($(JVM_VARIANT), $(firstword $(JVM_VARIANTS)))
 138 #  $(eval $(call SetupCopyFiles, COPY_JVMTI_H, \
 139 #      DEST := $(SUPPORT_OUTPUTDIR)/modules_include/java.base, \
 140 #      FILES := $(JVMTI_OUTPUTDIR)/jvmti.h, \
 141 #  ))
 142 
 143 #  TARGETS += $(COPY_JVMTI_H)
 144 #endif
 145 
 146 ################################################################################
 147 # Create trace files in gensrc/tracefiles
 148 
 149 TRACE_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/gensrc/tracefiles
 150 TRACE_SRCDIR := $(HOTSPOT_TOPDIR)/src/share/vm/trace
 151 
 152 # Append directories to search (might have been set by custom extensions)
 153 TRACE_SEARCH_DIRS += $(TRACE_SRCDIR)
 154 
 155 TRACE_XML ?= $(TRACE_SRCDIR)/trace.xml
 156 
 157 # Changing these will trigger a rebuild of generated trace files.
 158 TRACE_DEPS += \
 159     $(TRACE_XML) \
 160     $(TRACE_SRCDIR)/tracetypes.xml \
 161     $(TRACE_SRCDIR)/tracerelationdecls.xml \
 162     $(TRACE_SRCDIR)/traceevents.xml \
 163     $(TRACE_SRCDIR)/trace.dtd \
 164     $(TRACE_SRCDIR)/xinclude.mod \
 165     #
 166 


< prev index next >