sa.make revision 3178
0N/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
0N/A!include $(WorkSpace)/make/windows/makefiles/rules.make
0N/A!include $(WorkSpace)/make/sa.files
0N/ASA_BUILD_VERSION_PROP = sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)
0N/ASA_PROPERTIES = $(SA_CLASSDIR)\sa.properties
0N/Adefault:: $(GENERATED)\sa-jdi.jar
0N/A$(GENERATED)\sa-jdi.jar: $(AGENT_FILES:/=\)
0N/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
0N/A $(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
0N/A $(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
0N/A $(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
0N/A $(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
0N/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
0N/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/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,
0N/ASA_LD_FLAGS = bufferoverflowU.lib
0N/ASA_CFLAGS = /nologo $(MS_RUNTIME_OPTION) /W3 /Gm $(GX_OPTION) /ZI /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
0N/A /I"$(BootStrapDir)/include" /I"$(BootStrapDir)/include/win32"
0N/A /out:sawindbg.obj
0N/A -@rm -f sawindbg.obj
0N/A rm -rf $(GENERATED:\=/)/sa-jdi.jar