1472N/A# or visit www.oracle.com if you need additional information or have any
0N/A# Already warned about this in build.make
0N/A# This first part is used to build sa-jdi.jar
91N/A!include $(WorkSpace)/make/windows/makefiles/rules.make
91N/A!include $(WorkSpace)/make/sa.files
3953N/ASA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar
0N/ASA_BUILD_VERSION_PROP = sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)
3953N/ASA_PROPERTIES = $(SA_CLASSDIR)/sa.properties
3953N/Adefault:: $(GENERATED)/sa-jdi.jar
3953N/A$(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
3953N/A @$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES)
0N/A $(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
311N/A $(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
311N/A $(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
456N/A $(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
3953N/A $(QUIETLY) mkdir $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
456N/A $(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
3953N/A $(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
0N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
0N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
0N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.ia64.IA64ThreadContext
0N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
0N/A# This second part is used to build sawindbg.dll
0N/ASAWINDBG=sawindbg.dll
3953N/ASA_CFLAGS = -nologo $(MS_RUNTIME_OPTION) -W3 $(GX_OPTION) -Od -D "WIN32" -D "WIN64" -D "_WINDOWS" -D "_DEBUG" -D "_CONSOLE" -D "_MBCS" -YX -FD -c
3953N/ASA_CFLAGS = -nologo $(MS_RUNTIME_OPTION) -W3 $(GX_OPTION) -Od -D "WIN32" -D "WIN64" -D "_WINDOWS" -D "_DEBUG" -D "_CONSOLE" -D "_MBCS" -YX -FD -c
0N/A# On amd64, VS2005 compiler requires bufferoverflowU.lib on the link command line,
3178N/ASA_LD_FLAGS = bufferoverflowU.lib
3953N/ASA_CFLAGS = -nologo $(MS_RUNTIME_OPTION) -W3 -Gm $(GX_OPTION) -Od -D "WIN32" -D "_WINDOWS" -D "_DEBUG" -D "_CONSOLE" -D "_MBCS" -YX -FD -GZ -c
0N/ASASRCFILE = $(AGENT_DIR)/src/os/win32/windbg/sawindbg.cpp
0N/A# Note that we do not keep sawindbj.obj around as it would then
0N/A# get included in the dumpbin command in build_vm_def.sh
3953N/A -I"$(BootStrapDir)/include" -I"$(BootStrapDir)/include/win32"
3953N/A $(LD) -out:$@ -DLL $*.obj dbgeng.lib $(SA_LFLAGS)
3953N/A rm -rf $(GENERATED)/sa-jdi.jar