make/windows/projectfiles/common/Makefile

Print this page
rev 2073 : imported patch vcproj-64


  37 !else
  38 !ifdef JAVA_HOME
  39 BootStrapDir=$(JAVA_HOME)
  40 !else
  41 !ifdef HOTSPOTJDKDIST
  42 BootStrapDir=$(HOTSPOTJDKDIST)
  43 !endif
  44 !endif
  45 !endif
  46 !endif
  47 
  48 
  49 
  50 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
  51 !include $(WorkSpace)/make/windows/makefiles/compile.make
  52 
  53 # Pick up rules for building JVMTI (JSR-163)
  54 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
  55 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
  56 
  57 Platform=$(HOTSPOTWORKSPACE)/make/windows/platform_$(BUILDARCH)
  58 
  59 !if "$(Variant)" == "compiler2"
  60 # Pick up rules for building adlc
  61 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  62 !endif
  63 
  64 !if "$(Variant)" == "tiered"
  65 # Pick up rules for building adlc
  66 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  67 !endif
  68 
  69 HS_INTERNAL_NAME=jvm
  70 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make
  71 
  72 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
  73 
  74 !include $(HOTSPOTWORKSPACE)/make/hotspot_version
  75 
  76 !if "$(HOTSPOT_RELEASE_VERSION)" != ""
  77 HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)"
  78 !else


  88 !endif
  89 !if "$(JRE_RELEASE_VERSION)" != ""
  90 JRE_RELEASE_VERSION="$(JRE_RELEASE_VERSION)"
  91 !else
  92 JRE_RELEASE_VERSION="$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)"
  93 !endif
  94 
  95 # Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,
  96 # and if it is not see if we have the src/closed directory
  97 !if "$(HOTSPOT_VM_DISTRO)" != ""
  98 HOTSPOT_VM_DISTRO="$(HOTSPOT_VM_DISTRO)"
  99 !else
 100 !if exists($(HOTSPOTWORKSPACE)\src\closed)
 101 HOTSPOT_VM_DISTRO="Java HotSpot(TM)"
 102 !else
 103 HOTSPOT_VM_DISTRO="OpenJDK"
 104 !endif
 105 !endif
 106 
 107 ProjectCreatorIDEOptions =       $(ProjectCreatorIDEOptions) \
 108       -platform            $(Platform) \
 109       -define              HOTSPOT_RELEASE_VERSION=\\\"$(HOTSPOT_RELEASE_VERSION)\\\" \
 110       -define              JRE_RELEASE_VERSION=\\\"$(JRE_RELEASE_VERSION)\\\" \
 111       -define              HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\"
 112 
 113 $(HOTSPOTBUILDROOT)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class
 114         @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions)
 115 
 116 clean:
 117         @rm -rf $(HOTSPOTBUILDSPACE)/classes
 118         @rm -r ../$(ProjectFile)
 119 
 120 $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources)
 121         @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
 122         @mkdir $(HOTSPOTBUILDSPACE)\classes
 123         @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources)
 124 
 125 FORCE:


  37 !else
  38 !ifdef JAVA_HOME
  39 BootStrapDir=$(JAVA_HOME)
  40 !else
  41 !ifdef HOTSPOTJDKDIST
  42 BootStrapDir=$(HOTSPOTJDKDIST)
  43 !endif
  44 !endif
  45 !endif
  46 !endif
  47 
  48 
  49 
  50 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
  51 !include $(WorkSpace)/make/windows/makefiles/compile.make
  52 
  53 # Pick up rules for building JVMTI (JSR-163)
  54 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
  55 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
  56 


  57 !if "$(Variant)" == "compiler2"
  58 # Pick up rules for building adlc
  59 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  60 !endif
  61 
  62 !if "$(Variant)" == "tiered"
  63 # Pick up rules for building adlc
  64 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  65 !endif
  66 
  67 HS_INTERNAL_NAME=jvm
  68 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make
  69 
  70 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
  71 
  72 !include $(HOTSPOTWORKSPACE)/make/hotspot_version
  73 
  74 !if "$(HOTSPOT_RELEASE_VERSION)" != ""
  75 HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)"
  76 !else


  86 !endif
  87 !if "$(JRE_RELEASE_VERSION)" != ""
  88 JRE_RELEASE_VERSION="$(JRE_RELEASE_VERSION)"
  89 !else
  90 JRE_RELEASE_VERSION="$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)"
  91 !endif
  92 
  93 # Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,
  94 # and if it is not see if we have the src/closed directory
  95 !if "$(HOTSPOT_VM_DISTRO)" != ""
  96 HOTSPOT_VM_DISTRO="$(HOTSPOT_VM_DISTRO)"
  97 !else
  98 !if exists($(HOTSPOTWORKSPACE)\src\closed)
  99 HOTSPOT_VM_DISTRO="Java HotSpot(TM)"
 100 !else
 101 HOTSPOT_VM_DISTRO="OpenJDK"
 102 !endif
 103 !endif
 104 
 105 ProjectCreatorIDEOptions =       $(ProjectCreatorIDEOptions) \

 106       -define              HOTSPOT_RELEASE_VERSION=\\\"$(HOTSPOT_RELEASE_VERSION)\\\" \
 107       -define              JRE_RELEASE_VERSION=\\\"$(JRE_RELEASE_VERSION)\\\" \
 108       -define              HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\"
 109 
 110 $(HOTSPOTBUILDSPACE)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class
 111         @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions)
 112 
 113 clean:
 114         @rm -rf $(HOTSPOTBUILDSPACE)/classes
 115         @rm -r $(HOTSPOTBUILDSPACE)/$(ProjectFile)
 116 
 117 $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources)
 118         @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
 119         @mkdir $(HOTSPOTBUILDSPACE)\classes
 120         @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources)
 121 
 122 FORCE: