make/windows/makefiles/jvmti.make

Print this page




  51 #Note: JvmtiGeneratedFiles must be kept in sync with JvmtiGeneratedNames by hand.
  52 #Should be equivalent #to "JvmtiGeneratedFiles = $(JvmtiGeneratedNames:%=$(JvmtiOutDir)/%)"
  53 JvmtiGeneratedFiles = \
  54         $(JvmtiOutDir)/jvmtiEnv.hpp \
  55         $(JvmtiOutDir)/jvmtiEnter.cpp \
  56         $(JvmtiOutDir)/jvmtiEnterTrace.cpp \
  57         $(JvmtiOutDir)/jvmtiEnvRecommended.cpp\
  58         $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp\
  59         $(JvmtiOutDir)/jvmti.h \
  60 
  61 XSLT = $(RUN_JAVA) -classpath $(JvmtiOutDir) jvmtiGen
  62 
  63 # #########################################################################
  64 
  65 both = $(JvmtiGenClass) $(JvmtiSrcDir)/jvmti.xml $(JvmtiSrcDir)/jvmtiLib.xsl
  66 
  67 default::
  68         @if not exist $(JvmtiOutDir) mkdir $(JvmtiOutDir)
  69 
  70 $(JvmtiGenClass): $(JvmtiGenSource)
  71         $(COMPILE_JAVAC) -g -d $(JvmtiOutDir) $(JvmtiGenSource)
  72 
  73 $(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
  74         @$(COMPILE_JAVAC) -g -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
  75 
  76 $(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
  77         @echo Generating $@
  78         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnter.xsl -OUT $(JvmtiOutDir)/jvmtiEnter.cpp -PARAM interface jvmti
  79 
  80 $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp: $(JvmtiGenClass) $(InterpreterSrcDir)/bytecodeInterpreter.cpp $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xml $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xsl
  81         @echo Generating $@
  82         @$(XSLT) -IN $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xml -XSL $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xsl -OUT $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp
  83 
  84 $(JvmtiOutDir)/jvmtiEnterTrace.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
  85         @echo Generating $@
  86         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnter.xsl -OUT $(JvmtiOutDir)/jvmtiEnterTrace.cpp -PARAM interface jvmti -PARAM trace Trace
  87 
  88 $(JvmtiOutDir)/jvmtiEnvRecommended.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnv.xsl $(JvmtiSrcDir)/jvmtiEnv.cpp $(JvmtiEnvFillClass)
  89         @echo Generating $@
  90         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnv.xsl -OUT $(JvmtiOutDir)/jvmtiEnvStub.cpp
  91         @$(RUN_JAVA) -classpath $(JvmtiOutDir) jvmtiEnvFill $(JvmtiSrcDir)/jvmtiEnv.cpp $(JvmtiOutDir)/jvmtiEnvStub.cpp $(JvmtiOutDir)/jvmtiEnvRecommended.cpp
  92 
  93 $(JvmtiOutDir)/jvmtiEnv.hpp: $(both) $(JvmtiSrcDir)/jvmtiHpp.xsl
  94         @echo Generating $@


  51 #Note: JvmtiGeneratedFiles must be kept in sync with JvmtiGeneratedNames by hand.
  52 #Should be equivalent #to "JvmtiGeneratedFiles = $(JvmtiGeneratedNames:%=$(JvmtiOutDir)/%)"
  53 JvmtiGeneratedFiles = \
  54         $(JvmtiOutDir)/jvmtiEnv.hpp \
  55         $(JvmtiOutDir)/jvmtiEnter.cpp \
  56         $(JvmtiOutDir)/jvmtiEnterTrace.cpp \
  57         $(JvmtiOutDir)/jvmtiEnvRecommended.cpp\
  58         $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp\
  59         $(JvmtiOutDir)/jvmti.h \
  60 
  61 XSLT = $(RUN_JAVA) -classpath $(JvmtiOutDir) jvmtiGen
  62 
  63 # #########################################################################
  64 
  65 both = $(JvmtiGenClass) $(JvmtiSrcDir)/jvmti.xml $(JvmtiSrcDir)/jvmtiLib.xsl
  66 
  67 default::
  68         @if not exist $(JvmtiOutDir) mkdir $(JvmtiOutDir)
  69 
  70 $(JvmtiGenClass): $(JvmtiGenSource)
  71         $(COMPILE_JAVAC) -g -source 6 -target 6 -d $(JvmtiOutDir) $(JvmtiGenSource)
  72 
  73 $(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
  74         @$(COMPILE_JAVAC) -g -source 6 -target 6 -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
  75 
  76 $(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
  77         @echo Generating $@
  78         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnter.xsl -OUT $(JvmtiOutDir)/jvmtiEnter.cpp -PARAM interface jvmti
  79 
  80 $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp: $(JvmtiGenClass) $(InterpreterSrcDir)/bytecodeInterpreter.cpp $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xml $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xsl
  81         @echo Generating $@
  82         @$(XSLT) -IN $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xml -XSL $(InterpreterSrcDir)/bytecodeInterpreterWithChecks.xsl -OUT $(JvmtiOutDir)/bytecodeInterpreterWithChecks.cpp
  83 
  84 $(JvmtiOutDir)/jvmtiEnterTrace.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
  85         @echo Generating $@
  86         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnter.xsl -OUT $(JvmtiOutDir)/jvmtiEnterTrace.cpp -PARAM interface jvmti -PARAM trace Trace
  87 
  88 $(JvmtiOutDir)/jvmtiEnvRecommended.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnv.xsl $(JvmtiSrcDir)/jvmtiEnv.cpp $(JvmtiEnvFillClass)
  89         @echo Generating $@
  90         @$(XSLT) -IN $(JvmtiSrcDir)/jvmti.xml -XSL $(JvmtiSrcDir)/jvmtiEnv.xsl -OUT $(JvmtiOutDir)/jvmtiEnvStub.cpp
  91         @$(RUN_JAVA) -classpath $(JvmtiOutDir) jvmtiEnvFill $(JvmtiSrcDir)/jvmtiEnv.cpp $(JvmtiOutDir)/jvmtiEnvStub.cpp $(JvmtiOutDir)/jvmtiEnvRecommended.cpp
  92 
  93 $(JvmtiOutDir)/jvmtiEnv.hpp: $(both) $(JvmtiSrcDir)/jvmtiHpp.xsl
  94         @echo Generating $@