sa.make revision 2318
1178N/A# or visit www.oracle.com if you need additional information or have any
1178N/A# Already warned about this in build.make
1178N/A# This first part is used to build sa-jdi.jar
1178N/A!include $(WorkSpace)/make/windows/makefiles/rules.make
1178N/A!include $(WorkSpace)/make/sa.files
1178N/ASA_BUILD_VERSION_PROP = sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)
1178N/ASA_PROPERTIES = $(SA_CLASSDIR)\sa.properties
0N/Adefault:: $(GENERATED)\sa-jdi.jar
0N/A$(GENERATED)\sa-jdi.jar: $(AGENT_FILES1:/=\) $(AGENT_FILES2:/=\)
0N/A @$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES1:/=\)
0N/A @$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES2:/=\)
1178N/A $(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
1178N/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
1178N/A $(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
1178N/A $(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
1178N/A $(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR:/=\) META-INF\services\com.sun.jdi.connect.Connector
1178N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
1178N/A $(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
1178N/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
1178N/A# This second part is used to build sawindbg.dll
1178N/ASAWINDBG=sawindbg.dll
1178N/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
1178N/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
1178N/A# On amd64, VS2005 compiler requires bufferoverflowU.lib on the link command line,
1178N/ASA_LINK_FLAGS = bufferoverflowU.lib
1178N/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
1178N/ASASRCFILE = $(AGENT_DIR)/src/os/win32/windbg/sawindbg.cpp
1178N/A# Note that we do not keep sawindbj.obj around as it would then
1178N/A# get included in the dumpbin command in build_vm_def.sh
1178N/A /I"$(BootStrapDir)/include" /I"$(BootStrapDir)/include/win32"
1178N/A /out:sawindbg.obj
1178N/A -@rm -f sawindbg.obj
0N/A rm -rf $(GENERATED:\=/)/sa-jdi.jar