make/windows/makefiles/sa.make

changeset 891
b6272ef4a18f
parent 862
3c07cda72b7d
child 1080
c3a720eefe82
     1.1 --- a/make/windows/makefiles/sa.make	Wed Nov 26 09:24:57 2008 -0800
     1.2 +++ b/make/windows/makefiles/sa.make	Thu Nov 27 18:19:23 2008 -0800
     1.3 @@ -49,6 +49,9 @@
     1.4  
     1.5  default::  $(GENERATED)\sa-jdi.jar
     1.6  
     1.7 +# Remove the space between $(SA_BUILD_VERSION_PROP) and > below as it adds a white space
     1.8 +# at the end of SA version string and causes a version mismatch with the target VM version.
     1.9 +
    1.10  $(GENERATED)\sa-jdi.jar: $(AGENT_FILES1:/=\) $(AGENT_FILES2:/=\)
    1.11  	@if not exist $(SA_CLASSDIR) mkdir $(SA_CLASSDIR)
    1.12  	@echo ...Building sa-jdi.jar
    1.13 @@ -56,15 +59,15 @@
    1.14  	@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1:/=\)
    1.15  	@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2:/=\)
    1.16  	$(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
    1.17 -	$(QUIETLY) echo $(SA_BUILD_VERSION_PROP) > $(SA_PROPERTIES)
    1.18 -	$(RUN_JAR) cf $@ -C saclasses . 
    1.19 -	$(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR:/=\) META-INF\services\com.sun.jdi.connect.Connector 
    1.20 +	$(QUIETLY) echo $(SA_BUILD_VERSION_PROP)> $(SA_PROPERTIES)
    1.21  	$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
    1.22  	$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
    1.23 -	$(QUIETLY) mkdir -p $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
    1.24 -	$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/*
    1.25 -	$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/
    1.26 -	$(QUIETLY) cp -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
    1.27 +	$(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
    1.28 +	$(QUIETLY) mkdir $(SA_CLASSDIR)\sun\jvm\hotspot\ui\resources
    1.29 +	$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
    1.30 +	$(QUIETLY) cp -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)
    1.31 +	$(RUN_JAR) cf $@ -C saclasses .
    1.32 +	$(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR:/=\) META-INF\services\com.sun.jdi.connect.Connector
    1.33  	$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
    1.34  	$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext 
    1.35  	$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.ia64.IA64ThreadContext 
    1.36 @@ -93,7 +96,7 @@
    1.37  SA_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
    1.38  !endif
    1.39  !if "$(MT)" != ""
    1.40 -    SA_LINK_FLAGS = /manifest $(SA_LINK_FLAGS)
    1.41 +SA_LINK_FLAGS = /manifest $(SA_LINK_FLAGS)
    1.42  !endif
    1.43  SASRCFILE = $(AGENT_DIR)/src/os/win32/windbg/sawindbg.cpp
    1.44  SA_LFLAGS = $(SA_LINK_FLAGS) /nologo /subsystem:console /map /debug /machine:$(MACHINE)

mercurial