Changeset 309 for trunk/openjdk/hotspot/make/windows
- Timestamp:
- Feb 13, 2012, 10:07:12 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 2 deleted
- 27 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:mergeinfo changed
/branches/vendor/oracle/openjdk6/b24 (added) merged: 308 /branches/vendor/oracle/openjdk6/current merged: 307
- Property svn:mergeinfo changed
-
trunk/openjdk/hotspot/make/windows/build.bat
r278 r309 1 1 @echo off 2 2 REM 3 REM Copyright (c) 1997, 20 08, Oracle and/or its affiliates. All rights reserved.3 REM Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 4 4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 REM -
trunk/openjdk/hotspot/make/windows/build.make
r278 r309 1 1 # 2 # Copyright (c) 1998, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 20 20 # or visit www.oracle.com if you need additional information or have any 21 21 # questions. 22 # 22 # 23 23 # 24 24 … … 73 73 !endif 74 74 75 !if "$(BUILDARCH)" != "amd64"76 75 !if "$(BUILDARCH)" != "ia64" 77 76 !ifndef CC_INTERP 77 !ifndef FORCE_TIERED 78 78 FORCE_TIERED=1 79 79 !endif … … 103 103 VARIANT_TEXT=Client 104 104 !elseif "$(Variant)" == "compiler2" 105 !if def FORCE_TIERED105 !if "$(FORCE_TIERED)" == "1" 106 106 VARIANT_TEXT=Server 107 107 realVariant=tiered … … 136 136 # we use only integers in the file version field. So: 137 137 # JDK_UPDATE_VER = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION 138 # 138 # 139 139 JDK_UPDATE_VER=0 140 140 JDK_BUILD_NUMBER=0 … … 149 149 # 150 150 # JDK_* variables are defined in make/hotspot_version or on command line 151 # 151 # 152 152 JDK_VER=$(JDK_MINOR_VER),$(JDK_MICRO_VER),$(JDK_UPDATE_VER),$(JDK_BUILD_NUMBER) 153 153 JDK_DOTVER=$(JDK_MINOR_VER).$(JDK_MICRO_VER).$(JDK_UPDATE_VER).$(JDK_BUILD_NUMBER) … … 163 163 # Hotspot Express VM FileVersion: 164 164 # 10.0-b<yz> will have DLL version 10.0.0.yz (need 4 numbers). 165 # 165 # 166 166 # HS_* variables are defined in make/hotspot_version 167 167 # … … 183 183 184 184 # We don't support SA on ia64, and we can't 185 # build it if we are using a version of Vis Studio 185 # build it if we are using a version of Vis Studio 186 186 # older than .Net 2003. 187 187 # SA_INCLUDE and SA_LIB are hold-overs from a previous -
trunk/openjdk/hotspot/make/windows/build_vm_def.sh
r278 r309 1 1 # 2 # Copyright (c) 2000, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 46 46 47 47 AWK="$MKS_HOME/awk.exe" 48 if [ ! -e $AWK ]; then 49 AWK="$MKS_HOME/gawk.exe" 50 fi 48 51 GREP="$MKS_HOME/grep.exe" 49 52 SORT="$MKS_HOME/sort.exe" … … 58 61 fi 59 62 60 if [ "x$LINK_VER" != "x800" -a "x$LINK_VER" != "x900" ]; then63 if [ "x$LINK_VER" != "x800" -a "x$LINK_VER" != "x900" -a "x$LINK_VER" != "x1000" ]; then 61 64 $DUMPBIN /symbols *.obj | "$GREP" "??_7.*@@6B@" | "$GREP" -v "type_info" | "$AWK" '{print $7}' | "$SORT" | "$UNIQ" > vm2.def 62 65 else -
trunk/openjdk/hotspot/make/windows/create.bat
r278 r309 1 1 @echo off 2 2 REM 3 REM Copyright (c) 1999, 20 09, Oracle and/or its affiliates. All rights reserved.3 REM Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 4 4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 REM … … 27 27 REM build execution script). It creates $HotSpotBuildSpace if necessary, 28 28 REM copies the appropriate files out of $HotSpotWorkSpace into it, and 29 REM builds and runs MakeDepsin it. This has the side-effect of creating29 REM builds and runs ProjectCreator in it. This has the side-effect of creating 30 30 REM the vm.vcproj file in the buildspace, which is then used in Visual C++. 31 REM32 REM The generated project file depends upon the include databases. If33 REM those are changed then MakeDeps is rerun.34 31 35 32 REM … … 40 37 REM that "grep" be accessible on the PATH. An MKS install does this. 41 38 REM 39 40 cl 2>NUL >NUL 41 if %errorlevel% == 0 goto nexttest 42 echo Make sure cl.exe is in your PATH before running this script. 43 goto end 44 45 :nexttest 46 grep -V 2>NUL >NUL 47 if %errorlevel% == 0 goto testit 48 echo Make sure grep.exe is in your PATH before running this script. Either cygwin or MKS should work. 49 goto end 50 51 52 :testit 42 53 cl 2>&1 | grep "IA-64" >NUL 43 54 if %errorlevel% == 0 goto isia64 … … 48 59 set Platform_arch=x86 49 60 set Platform_arch_model=x86_32 50 goto end61 goto done 51 62 :amd64 52 63 set ARCH=x86 … … 54 65 set Platform_arch=x86 55 66 set Platform_arch_model=x86_64 56 goto end67 goto done 57 68 :isia64 58 69 set ARCH=ia64 … … 60 71 set Platform_arch=ia64 61 72 set Platform_arch_model=ia64 62 : end73 :done 63 74 64 75 setlocal … … 66 77 if "%1" == "" goto usage 67 78 68 if not "%4" == "" goto usage 69 70 set HotSpotWorkSpace=%1 71 set HotSpotBuildSpace=%2 72 set HotSpotJDKDist=%3 79 if not "%2" == "" goto usage 80 81 REM Set HotSpotWorkSpace to the directy two steps above this script 82 for %%i in ("%~dp0..") do ( set HotSpotWorkSpace=%%~dpi) 83 set HotSpotBuildRoot=%HotSpotWorkSpace%build 84 set HotSpotBuildSpace=%HotSpotBuildRoot%\vs 85 set HotSpotJDKDist=%1 86 73 87 74 88 REM figure out MSC version … … 76 90 77 91 echo ************************************************************** 78 set ProjectFile= vm.vcproj92 set ProjectFile=jvm.vcproj 79 93 if "%MSC_VER%" == "1200" ( 80 set ProjectFile= vm.dsp94 set ProjectFile=jvm.dsp 81 95 echo Will generate VC6 project {unsupported} 82 96 ) else ( … … 87 101 echo Will generate VC9 {Visual Studio 2008} 88 102 ) else ( 103 if "%MSC_VER%" == "1600" ( 104 echo Detected Visual Studio 2010, but 105 echo will generate VC9 {Visual Studio 2008} 106 echo Use conversion wizard in VS 2010. 107 ) else ( 89 108 echo Will generate VC7 project {Visual Studio 2003 .NET} 109 ) 90 110 ) 91 111 ) … … 122 142 :test3 123 143 if not "%HOTSPOTMKSHOME%" == "" goto makedir 144 if exist c:\cygwin\bin set HOTSPOTMKSHOME=c:\cygwin\bin 145 if not "%HOTSPOTMKSHOME%" == "" goto makedir 124 146 echo Warning: please set variable HOTSPOTMKSHOME to place where 125 147 echo your MKS/Cygwin installation is … … 137 159 :copyfiles 138 160 for /D %%i in (compiler1, compiler2, tiered, core, kernel) do ( 139 if NOT EXIST %HotSpotBuildSpace%\%%i mkdir %HotSpotBuildSpace%\%%i140 copy %HotSpotWorkSpace%\make\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\ > NUL161 if NOT EXIST %HotSpotBuildSpace%\%%i\generated mkdir %HotSpotBuildSpace%\%%i\generated 162 copy %HotSpotWorkSpace%\make\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\generated > NUL 141 163 ) 142 164 … … 145 167 146 168 for /D %%i in (compiler1, compiler2, tiered, core, kernel) do ( 147 148 echo # Generated file! > %HotSpotBuildSpace%\%%i\local.make169 echo -- %%i -- 170 echo # Generated file! > %HotSpotBuildSpace%\%%i\local.make 149 171 echo # Changing a variable below and then deleting %ProjectFile% will cause >> %HotSpotBuildSpace%\%%i\local.make 150 172 echo # %ProjectFile% to be regenerated with the new values. Changing the >> %HotSpotBuildSpace%\%%i\local.make 151 echo # version requires rerunning create.bat. >> %HotSpotBuildSpace%\%%i\local.make173 echo # version requires rerunning create.bat. >> %HotSpotBuildSpace%\%%i\local.make 152 174 echo. >> %HotSpotBuildSpace%\%%i\local.make 175 echo Variant=%%i >> %HotSpotBuildSpace%\%%i\local.make 176 echo WorkSpace=%HotSpotWorkSpace% >> %HotSpotBuildSpace%\%%i\local.make 153 177 echo HOTSPOTWORKSPACE=%HotSpotWorkSpace% >> %HotSpotBuildSpace%\%%i\local.make 178 echo HOTSPOTBUILDROOT=%HotSpotBuildRoot% >> %HotSpotBuildSpace%\%%i\local.make 154 179 echo HOTSPOTBUILDSPACE=%HotSpotBuildSpace% >> %HotSpotBuildSpace%\%%i\local.make 155 180 echo HOTSPOTJDKDIST=%HotSpotJDKDist% >> %HotSpotBuildSpace%\%%i\local.make … … 159 184 echo Platform_arch_model=%Platform_arch_model% >> %HotSpotBuildSpace%\%%i\local.make 160 185 161 REM build config specific stuff 162 163 pushd %HotSpotBuildSpace%\%%i 186 for /D %%j in (debug, fastdebug, product) do ( 187 if NOT EXIST %HotSpotBuildSpace%\%%i\%%j mkdir %HotSpotBuildSpace%\%%i\%%j 188 ) 189 190 pushd %HotSpotBuildSpace%\%%i\generated 164 191 nmake /nologo 165 192 popd 166 ) 193 194 ) 195 196 pushd %HotSpotBuildRoot% 197 198 REM It doesn't matter which variant we use here, "compiler1" is as good as any of the others - we need the common variables 199 nmake /nologo /F %HotSpotWorkSpace%/make/windows/projectfiles/common/Makefile LOCAL_MAKE=%HotSpotBuildSpace%\compiler1\local.make %HotSpotBuildRoot%/%ProjectFile% 200 201 popd 167 202 168 203 goto end 169 204 170 205 :usage 171 echo Usage: create HotSpot WorkSpace HotSpotBuildSpace HotSpotJDKDist172 echo. 173 echo This is the interactivebuild setup script (as opposed to the batch174 echo build execution script). It creates HotSpotBuildSpaceif necessary,175 echo copies the appropriate files out of HotSpotWorkSpace into it, and176 echo builds and runs MakeDepsin it. This has the side-effect of creating206 echo Usage: create HotSpotJDKDist 207 echo. 208 echo This is the VS build setup script (as opposed to the batch 209 echo build execution script). It creates a build directory if necessary, 210 echo copies the appropriate files out of the workspace into it, and 211 echo builds and runs ProjectCreator in it. This has the side-effect of creating 177 212 echo the %ProjectFile% file in the build space, which is then used in Visual C++. 178 echo The HotSpotJDKDist defines place where JVM binaries should be placed. 213 echo. 214 echo The HotSpotJDKDist defines the JDK that should be used when running the JVM. 179 215 echo Environment variable FORCE_MSC_VER allows to override MSVC version autodetection. 180 echo.181 echo The generated project file depends upon the include databases. If182 echo those are changed then MakeDeps is rerun.183 216 echo. 184 217 echo NOTE that it is now NOT safe to modify any of the files in the build -
trunk/openjdk/hotspot/make/windows/get_msc_ver.sh
r278 r309 1 1 # 2 # Copyright (c) 2005, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # -
trunk/openjdk/hotspot/make/windows/makefiles/adlc.make
r278 r309 1 1 # 2 # Copyright (c) 1999, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 !include $(WorkSpace)/make/windows/makefiles/compile.make26 25 27 26 # Rules for building adlc.exe … … 47 46 !endif 48 47 49 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE 48 ADLC_CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE 50 49 51 50 CPP_INCLUDE_DIRS=\ 52 /I "..\generated" \ 53 /I "$(WorkSpace)\src\share\vm\compiler" \ 54 /I "$(WorkSpace)\src\share\vm\code" \ 55 /I "$(WorkSpace)\src\share\vm\interpreter" \ 56 /I "$(WorkSpace)\src\share\vm\classfile" \ 57 /I "$(WorkSpace)\src\share\vm\asm" \ 58 /I "$(WorkSpace)\src\share\vm\memory" \ 59 /I "$(WorkSpace)\src\share\vm\oops" \ 60 /I "$(WorkSpace)\src\share\vm\prims" \ 61 /I "$(WorkSpace)\src\share\vm\runtime" \ 62 /I "$(WorkSpace)\src\share\vm\utilities" \ 63 /I "$(WorkSpace)\src\share\vm\libadt" \ 64 /I "$(WorkSpace)\src\share\vm\opto" \ 65 /I "$(WorkSpace)\src\os\windows\vm" \ 51 /I "..\generated" \ 52 /I "$(WorkSpace)\src\share\vm" \ 53 /I "$(WorkSpace)\src\os\windows\vm" \ 66 54 /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm" 67 55 68 # NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_ INCL69 # and MakeDepsIDEOptions in makedeps.make.56 # NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_DIR 57 # and ProjectCreatorIDEOptions in projectcreator.make. 70 58 GENERATED_NAMES=\ 71 59 ad_$(Platform_arch_model).cpp \ … … 82 70 83 71 # NOTE! This must be kept in sync with GENERATED_NAMES 84 GENERATED_NAMES_IN_ INCL=\85 incls/ad_$(Platform_arch_model).cpp \86 incls/ad_$(Platform_arch_model).hpp \87 incls/ad_$(Platform_arch_model)_clone.cpp \88 incls/ad_$(Platform_arch_model)_expand.cpp \89 incls/ad_$(Platform_arch_model)_format.cpp \90 incls/ad_$(Platform_arch_model)_gen.cpp \91 incls/ad_$(Platform_arch_model)_misc.cpp \92 incls/ad_$(Platform_arch_model)_peephole.cpp \93 incls/ad_$(Platform_arch_model)_pipeline.cpp \94 incls/adGlobals_$(Platform_arch_model).hpp \95 incls/dfa_$(Platform_arch_model).cpp72 GENERATED_NAMES_IN_DIR=\ 73 $(AdlcOutDir)\ad_$(Platform_arch_model).cpp \ 74 $(AdlcOutDir)\ad_$(Platform_arch_model).hpp \ 75 $(AdlcOutDir)\ad_$(Platform_arch_model)_clone.cpp \ 76 $(AdlcOutDir)\ad_$(Platform_arch_model)_expand.cpp \ 77 $(AdlcOutDir)\ad_$(Platform_arch_model)_format.cpp \ 78 $(AdlcOutDir)\ad_$(Platform_arch_model)_gen.cpp \ 79 $(AdlcOutDir)\ad_$(Platform_arch_model)_misc.cpp \ 80 $(AdlcOutDir)\ad_$(Platform_arch_model)_peephole.cpp \ 81 $(AdlcOutDir)\ad_$(Platform_arch_model)_pipeline.cpp \ 82 $(AdlcOutDir)\adGlobals_$(Platform_arch_model).hpp \ 83 $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp 96 84 97 85 {$(WorkSpace)\src\share\vm\adlc}.cpp.obj:: 98 $(CPP) $( CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<86 $(CPP) $(ADLC_CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $< 99 87 100 88 {$(WorkSpace)\src\share\vm\opto}.cpp.obj:: 101 $(CPP) $( CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<89 $(CPP) $(ADLC_CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $< 102 90 103 91 adlc.exe: main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.obj \ … … 111 99 !endif 112 100 113 $(GENERATED_NAMES_IN_ INCL): $(Platform_arch_model).ad adlc.exe includeDB.current101 $(GENERATED_NAMES_IN_DIR): $(Platform_arch_model).ad adlc.exe 114 102 rm -f $(GENERATED_NAMES) 103 if exist $(AdlcOutDir) rmdir /s /q $(AdlcOutDir) 104 mkdir $(AdlcOutDir) 115 105 $(ADLC) $(ADLCFLAGS) $(Platform_arch_model).ad 116 mv $(GENERATED_NAMES) incls/106 mv $(GENERATED_NAMES) $(AdlcOutDir)/ 117 107 118 108 $(Platform_arch_model).ad: $(WorkSpace)/src/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad $(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm/windows_$(Platform_arch_model).ad -
trunk/openjdk/hotspot/make/windows/makefiles/compile.make
r278 r309 1 1 # 2 # Copyright (c) 1997, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 80 80 CPP=ARCH_ERROR 81 81 !endif 82 83 CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS" 84 85 # Must specify this for sharedRuntimeTrig.cpp 86 CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN" 87 88 # Used for platform dispatching 89 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_FAMILY_windows 90 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_$(Platform_arch) 91 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model) 92 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch) 93 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model) 94 CPP_FLAGS=$(CPP_FLAGS) /D TARGET_COMPILER_visCPP 95 82 96 83 97 # MSC_VER is a 4 digit number that tells us what compiler is being used … … 139 153 140 154 # Always add the _STATIC_CPPLIB flag 141 STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB 155 STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB /D _DISABLE_DEPRECATE_STATIC_CPPLIB 142 156 MS_RUNTIME_OPTION = $(MS_RUNTIME_OPTION) $(STATIC_CPPLIB_OPTION) 143 157 CPP_FLAGS=$(CPP_FLAGS) $(MS_RUNTIME_OPTION) -
trunk/openjdk/hotspot/make/windows/makefiles/debug.make
r278 r309 1 1 # 2 # Copyright (c) 1997, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 29 29 GENERATED=../generated 30 30 31 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA 31 # Allow the user to turn off precompiled headers from the command line. 32 !if "$(USE_PRECOMPILED_HEADER)" != "0" 33 BUILD_PCH_FILE=_build_pch_file.obj 34 !endif 35 36 default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA 32 37 33 38 !include ../local.make … … 39 44 !include local.make 40 45 41 !include $(GENERATED)/Dependencies42 43 46 HS_BUILD_ID=$(HS_BUILD_VER)-debug 44 47 … … 46 49 $(Res_Files): FORCE 47 50 48 $(AOUT): $(Res_Files)$(Obj_Files)51 vm.def: $(Obj_Files) 49 52 sh $(WorkSpace)/make/windows/build_vm_def.sh 53 54 $(AOUT): $(Res_Files) $(Obj_Files) vm.def 50 55 $(LINK) @<< 51 56 $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) … … 60 65 !include $(WorkSpace)/make/windows/makefiles/shared.make 61 66 !include $(WorkSpace)/make/windows/makefiles/sa.make 67 !include $(WorkSpace)/make/windows/makefiles/launcher.make -
trunk/openjdk/hotspot/make/windows/makefiles/defs.make
r278 r309 1 1 # 2 # Copyright (c) 2006, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # -
trunk/openjdk/hotspot/make/windows/makefiles/fastdebug.make
r278 r309 1 1 # 2 # Copyright (c) 2005, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 29 29 GENERATED=../generated 30 30 31 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA 31 # Allow the user to turn off precompiled headers from the command line. 32 !if "$(USE_PRECOMPILED_HEADER)" != "0" 33 BUILD_PCH_FILE=_build_pch_file.obj 34 !endif 35 36 default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA 32 37 33 38 !include ../local.make … … 39 44 !include local.make 40 45 41 !include $(GENERATED)/Dependencies42 43 46 HS_BUILD_ID=$(HS_BUILD_VER)-fastdebug 44 47 … … 46 49 $(Res_Files): FORCE 47 50 48 $(AOUT): $(Res_Files)$(Obj_Files)51 vm.def: $(Obj_Files) 49 52 sh $(WorkSpace)/make/windows/build_vm_def.sh 53 54 $(AOUT): $(Res_Files) $(Obj_Files) vm.def 50 55 $(LINK) @<< 51 56 $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) … … 58 63 !endif 59 64 60 61 65 !include $(WorkSpace)/make/windows/makefiles/shared.make 62 66 !include $(WorkSpace)/make/windows/makefiles/sa.make 67 !include $(WorkSpace)/make/windows/makefiles/launcher.make -
trunk/openjdk/hotspot/make/windows/makefiles/generated.make
r278 r309 1 1 # 2 # Copyright (c) 2005, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 24 24 25 25 !include ../local.make 26 !include $(WorkSpace)/make/windows/makefiles/ makedeps.make26 !include $(WorkSpace)/make/windows/makefiles/projectcreator.make 27 27 !include local.make 28 28 … … 34 34 !include $(WorkSpace)/make/windows/makefiles/sa.make 35 35 36 AdlcOutDir=adfiles 37 36 38 !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered") 37 default:: includeDB.current Dependencies incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles)39 default:: $(AdlcOutDir)/ad_$(Platform_arch_model).cpp $(AdlcOutDir)/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles) buildobjfiles 38 40 !else 39 default:: includeDB.current Dependencies $(JvmtiGeneratedFiles)41 default:: $(JvmtiGeneratedFiles) buildobjfiles 40 42 !endif 41 43 42 # core plus serial gc 43 IncludeDBs_base=$(WorkSpace)/src/share/vm/includeDB_core \ 44 $(WorkSpace)/src/share/vm/includeDB_jvmti \ 45 $(WorkSpace)/src/share/vm/includeDB_gc \ 46 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_serial 44 buildobjfiles: 45 @ sh $(WorkSpace)/make/windows/create_obj_files.sh $(Variant) $(Platform_arch) $(Platform_arch_model) $(WorkSpace) . > objfiles.make 47 46 48 # parallel gc 49 IncludeDBs_gc= $(WorkSpace)/src/share/vm/includeDB_gc_parallel \ 50 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \ 51 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_shared \ 52 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parNew \ 53 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \ 54 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_g1 55 56 IncludeDBs_core=$(IncludeDBs_base) $(IncludeDBs_gc) \ 57 $(WorkSpace)/src/share/vm/includeDB_features 58 59 !if "$(Variant)" == "core" 60 IncludeDBs=$(IncludeDBs_core) 61 !endif 62 63 !if "$(Variant)" == "kernel" 64 IncludeDBs=$(IncludeDBs_base) $(WorkSpace)/src/share/vm/includeDB_compiler1 65 !endif 66 67 !if "$(Variant)" == "compiler1" 68 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1 69 !endif 70 71 72 !if "$(Variant)" == "compiler2" 73 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler2 74 !endif 75 76 !if "$(Variant)" == "tiered" 77 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1 \ 78 $(WorkSpace)/src/share/vm/includeDB_compiler2 79 !endif 80 81 # Note we don't generate a Visual C++ project file using MakeDeps for 82 # the batch build. 83 includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs) 84 cat $(IncludeDBs) > includeDB 85 if exist incls rmdir /s /q incls 86 mkdir incls 87 $(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/make/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions) 88 rm -f includeDB.current 89 cp includeDB includeDB.current 90 91 classes/MakeDeps.class: $(MakeDepsSources) 47 classes/ProjectCreator.class: $(ProjectCreatorSources) 92 48 if exist classes rmdir /s /q classes 93 49 mkdir classes 94 $(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\ MakeDeps -d classes $(MakeDepsSources)50 $(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\ProjectCreator -d classes $(ProjectCreatorSources) 95 51 96 52 !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered") 97 53 54 !include $(WorkSpace)/make/windows/makefiles/compile.make 98 55 !include $(WorkSpace)/make/windows/makefiles/adlc.make 99 56 -
trunk/openjdk/hotspot/make/windows/makefiles/product.make
r278 r309 1 1 # 2 # Copyright (c) 2005, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 28 28 GENERATED=../generated 29 29 30 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA 30 # Allow the user to turn off precompiled headers from the command line. 31 !if "$(USE_PRECOMPILED_HEADER)" != "0" 32 BUILD_PCH_FILE=_build_pch_file.obj 33 !endif 34 35 default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA 31 36 32 37 !include ../local.make … … 42 47 !include local.make 43 48 44 !include $(GENERATED)/Dependencies45 46 49 HS_BUILD_ID=$(HS_BUILD_VER) 47 50 … … 56 59 << 57 60 !else 58 $(AOUT): $(Res_Files)$(Obj_Files)61 vm.def: $(Obj_Files) 59 62 sh $(WorkSpace)/make/windows/build_vm_def.sh 63 64 $(AOUT): $(Res_Files) $(Obj_Files) vm.def 60 65 $(LINK) @<< 61 66 $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) … … 71 76 !include $(WorkSpace)/make/windows/makefiles/shared.make 72 77 !include $(WorkSpace)/make/windows/makefiles/sa.make 78 !include $(WorkSpace)/make/windows/makefiles/launcher.make -
trunk/openjdk/hotspot/make/windows/makefiles/rules.make
r278 r309 1 1 # 2 # Copyright (c) 2003, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 49 49 BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION) 50 50 51 ProjectFile= vm.vcproj51 ProjectFile=jvm.vcproj 52 52 53 53 !if "$(MSC_VER)" == "1200" … … 64 64 VcVersion=VC9 65 65 66 !elseif "$(MSC_VER)" == "1600" 67 68 # for compatibility - we don't yet have a ProjectCreator for VC10 69 VcVersion=VC9 70 66 71 !else 67 72 -
trunk/openjdk/hotspot/make/windows/makefiles/sanity.make
r278 r309 1 1 # 2 # Copyright (c) 2006, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # -
trunk/openjdk/hotspot/make/windows/makefiles/vm.make
r278 r309 1 1 # 2 # Copyright (c) 1997, 20 09, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 25 25 # Resource file containing VERSIONINFO 26 26 Res_Files=.\version.res 27 28 !include ..\generated\objfiles.make 27 29 28 30 !ifdef RELEASE … … 70 72 CPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\"" 71 73 72 CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS" $(CPP_INCLUDE_DIRS) 73 74 # Must specify this for sharedRuntimeTrig.cpp 75 CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN" 74 CPP_FLAGS=$(CPP_FLAGS) $(CPP_INCLUDE_DIRS) 76 75 77 76 # Define that so jni.h is on correct side … … 95 94 !endif 96 95 96 # If you modify exports below please do the corresponding changes in 97 # src/share/tools/ProjectCreator/WinGammaPlatformVC7.java 97 98 LINK_FLAGS=$(LINK_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \ 98 99 /export:JNI_GetDefaultJavaVMInitArgs \ … … 112 113 113 114 CPP_INCLUDE_DIRS=\ 114 /I "..\generated" \ 115 /I "..\generated\jvmtifiles" \ 116 /I "$(WorkSpace)\src\share\vm\c1" \ 117 /I "$(WorkSpace)\src\share\vm\compiler" \ 118 /I "$(WorkSpace)\src\share\vm\code" \ 119 /I "$(WorkSpace)\src\share\vm\interpreter" \ 120 /I "$(WorkSpace)\src\share\vm\ci" \ 121 /I "$(WorkSpace)\src\share\vm\classfile" \ 122 /I "$(WorkSpace)\src\share\vm\gc_implementation\parallelScavenge"\ 123 /I "$(WorkSpace)\src\share\vm\gc_implementation\shared"\ 124 /I "$(WorkSpace)\src\share\vm\gc_implementation\parNew"\ 125 /I "$(WorkSpace)\src\share\vm\gc_implementation\concurrentMarkSweep"\ 126 /I "$(WorkSpace)\src\share\vm\gc_implementation\g1"\ 127 /I "$(WorkSpace)\src\share\vm\gc_interface"\ 128 /I "$(WorkSpace)\src\share\vm\asm" \ 129 /I "$(WorkSpace)\src\share\vm\memory" \ 130 /I "$(WorkSpace)\src\share\vm\oops" \ 131 /I "$(WorkSpace)\src\share\vm\prims" \ 132 /I "$(WorkSpace)\src\share\vm\runtime" \ 133 /I "$(WorkSpace)\src\share\vm\services" \ 134 /I "$(WorkSpace)\src\share\vm\utilities" \ 135 /I "$(WorkSpace)\src\share\vm\libadt" \ 136 /I "$(WorkSpace)\src\share\vm\opto" \ 137 /I "$(WorkSpace)\src\os\windows\vm" \ 115 /I "..\generated" \ 116 /I "$(WorkSpace)\src\share\vm" \ 117 /I "$(WorkSpace)\src\share\vm\prims" \ 118 /I "$(WorkSpace)\src\os\windows\vm" \ 138 119 /I "$(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm" \ 139 120 /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm" 140 121 141 CPP_USE_PCH=/Fp"vm.pch" /Yu"incls/_precompiled.incl" 122 CPP_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER 123 124 !if "$(USE_PRECOMPILED_HEADER)" != "0" 125 CPP_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp" 126 !else 127 CPP_USE_PCH=$(CPP_DONT_USE_PCH) 128 !endif 142 129 143 130 # Where to find the source code for the virtual machine 144 VM_PATH=../generated/incls 131 VM_PATH=../generated 132 VM_PATH=$(VM_PATH);../generated/adfiles 145 133 VM_PATH=$(VM_PATH);../generated/jvmtifiles 146 134 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1 … … 174 162 175 163 c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp 176 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp164 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp 177 165 178 166 os_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp 179 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp167 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp 180 168 181 169 os_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp 182 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp170 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp 183 171 184 172 osThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp 185 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp173 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp 186 174 187 175 conditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp 188 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp176 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp 189 177 190 178 getThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp 191 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp179 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp 192 180 193 181 opcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp 194 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp182 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp 195 183 196 184 bytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp 197 $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp185 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp 198 186 199 187 bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp 200 $(CPP) $(CPP_FLAGS) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp188 $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp 201 189 202 190 # Default rules for the Virtual Machine … … 281 269 $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $< 282 270 271 {..\generated\adfiles}.cpp.obj:: 272 $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $< 273 283 274 {..\generated\jvmtifiles}.cpp.obj:: 284 275 $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $< … … 287 278 288 279 _build_pch_file.obj: 289 @echo #include " incls/_precompiled.incl" > ../generated/_build_pch_file.cpp290 $(CPP) $(CPP_FLAGS) /Fp"vm.pch" /Yc" incls/_precompiled.incl" /c ../generated/_build_pch_file.cpp280 @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp 281 $(CPP) $(CPP_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp -
trunk/openjdk/hotspot/make/windows/projectfiles/common/Makefile
r278 r309 1 1 # 2 # Copyright (c) 1999, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 !ifdef LOCAL_MAKE 26 !include $(LOCAL_MAKE) 27 !endif 28 29 25 30 WorkSpace=$(HOTSPOTWORKSPACE) 26 31 … … 33 38 !ifdef JAVA_HOME 34 39 BootStrapDir=$(JAVA_HOME) 40 !else 41 !ifdef HOTSPOTJDKDIST 42 BootStrapDir=$(HOTSPOTJDKDIST) 43 !endif 35 44 !endif 36 45 !endif 37 46 !endif 38 47 39 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/makedeps.make 48 49 50 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make 51 !include $(WorkSpace)/make/windows/makefiles/compile.make 40 52 41 53 # Pick up rules for building JVMTI (JSR-163) 42 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\ jvmtifiles54 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles 43 55 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make 44 56 45 57 Platform=$(HOTSPOTWORKSPACE)/make/windows/platform_$(BUILDARCH) 46 58 47 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)48 49 IncludeDBs_base=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_core \50 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_jvmti \51 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc \52 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_serial53 54 # Parallel gc files55 IncludeDBs_gc=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc_parallel \56 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_shared \57 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parNew \58 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \59 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \60 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_g161 62 63 IncludeDBs_kernel =$(IncludeDBs_base) \64 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler165 66 IncludeDBs_core =$(IncludeDBs_base) $(IncludeDBs_gc) \67 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_features68 69 IncludeDBs_compiler1=$(IncludeDBs_core) \70 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler171 72 IncludeDBs_compiler2=$(IncludeDBs_core) \73 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler274 75 IncludeDBs_tiered=$(IncludeDBs_core) \76 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1 \77 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler278 79 80 !if "$(Variant)" == "compiler1"81 IncludeDBs = $(IncludeDBs_compiler1)82 !endif83 84 59 !if "$(Variant)" == "compiler2" 85 IncludeDBs = $(IncludeDBs_compiler2)86 60 # Pick up rules for building adlc 87 61 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make … … 89 63 90 64 !if "$(Variant)" == "tiered" 91 IncludeDBs = $(IncludeDBs_tiered)92 65 # Pick up rules for building adlc 93 66 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make 94 67 !endif 95 68 96 !if "$(Variant)" == "core" 97 IncludeDBs = $(IncludeDBs_core) 98 !endif 69 HS_INTERNAL_NAME=jvm 70 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make 99 71 100 !if "$(Variant)" == "kernel" 101 IncludeDBs = $(IncludeDBs_kernel) 102 !endif 72 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles) 103 73 104 74 !include $(HOTSPOTWORKSPACE)/make/hotspot_version … … 109 79 HOTSPOT_RELEASE_VERSION="$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)" 110 80 !endif 81 !if "$(USER_RELEASE_SUFFIX)" != "" 82 HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal-$(USER_RELEASE_SUFFIX) 83 !else 111 84 HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal 85 !endif 112 86 !if "$(HOTSPOT_BUILD_VERSION)" != "" 113 87 HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)" … … 131 105 !endif 132 106 133 MakeDepsIDEOptions = $(MakeDepsIDEOptions) \ 134 -includeDB_kernel $(HOTSPOTBUILDSPACE)\includeDB_kernel \ 135 -includeDB_core $(HOTSPOTBUILDSPACE)\includeDB_core \ 136 -includeDB_compiler1 $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \ 137 -includeDB_compiler2 $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \ 138 -includeDB_tiered $(HOTSPOTBUILDSPACE)\includeDB_tiered \ 107 ProjectCreatorIDEOptions = $(ProjectCreatorIDEOptions) \ 139 108 -platform $(Platform) \ 140 109 -define HOTSPOT_RELEASE_VERSION=\\\"$(HOTSPOT_RELEASE_VERSION)\\\" \ … … 142 111 -define HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\" 143 112 144 incls: 145 @mkdir incls 146 147 includeDB.current $(ProjectFile) Dependencies: local.make $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class \ 148 $(IncludeDBs) incls 149 @rm -f includeDB $(HOTSPOTBUILDSPACE)\includeDB_kernel \ 150 $(HOTSPOTBUILDSPACE)\includeDB_core \ 151 $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \ 152 $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \ 153 $(HOTSPOTBUILDSPACE)\includeDB_tiered 154 @cat $(IncludeDBs_kernel) > $(HOTSPOTBUILDSPACE)\includeDB_kernel 155 @cat $(IncludeDBs_core) > $(HOTSPOTBUILDSPACE)\includeDB_core 156 @cat $(IncludeDBs_compiler1) > $(HOTSPOTBUILDSPACE)\includeDB_compiler1 157 @cat $(IncludeDBs_compiler2) > $(HOTSPOTBUILDSPACE)\includeDB_compiler2 158 @cat $(IncludeDBs_tiered) > $(HOTSPOTBUILDSPACE)\includeDB_tiered 159 @echo java.cpp jni.h > includeDB 160 @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps diffs WinGammaPlatform$(VcVersion) \ 161 $(Platform) includeDB.current $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions) 162 @rm -f includeDB.current 163 @cp includeDB includeDB.current 164 165 lists: $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class FORCE 166 @if exist incls rmdir /s /q incls 167 @rm -f includeDB 168 @cat $(IncludeDBs) > includeDB 169 @mkdir incls 170 @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps WinGammaPlatform$(VcVersion) \ 171 $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions) 172 @rm -f includeDB.current 173 @cp includeDB includeDB.current 113 $(HOTSPOTBUILDROOT)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class 114 @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions) 174 115 175 116 clean: 176 @rm -rf incls$(HOTSPOTBUILDSPACE)/classes177 @rm - f includeDB includeDB.current $(ProjectFile) Dependencies117 @rm -rf $(HOTSPOTBUILDSPACE)/classes 118 @rm -r ../$(ProjectFile) 178 119 179 $(HOTSPOTBUILDSPACE)/classes/ MakeDeps.class: $(MakeDepsSources)120 $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources) 180 121 @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes 181 122 @mkdir $(HOTSPOTBUILDSPACE)\classes 182 @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ MakeDeps -d $(HOTSPOTBUILDSPACE)/classes $(MakeDepsSources)123 @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources) 183 124 184 125 FORCE: -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler1/Makefile
r278 r309 1 1 # 2 # Copyright (c) 1999, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 Variant=compiler1 26 !include local.make 25 !include ../local.make 27 26 28 27 !include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler1/vm.def
r2 r309 3 3 ; generated during the build process. See 4 4 ; make\windows\build_vm_def.sh and 5 ; make\windows\makefiles\ makedeps.make (esp. the "-prelink"5 ; make\windows\makefiles\projectcreator.make (esp. the "-prelink" 6 6 ; options). 7 7 ; -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler2/Makefile
r278 r309 1 1 # 2 # Copyright (c) 1998, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 Variant=compiler2 26 !include local.make 27 AdditionalTargets= incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp25 !include ../local.make 26 AdlcOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\adfiles 27 AdditionalTargets=$(AdlcOutDir)\ad_$(Platform_arch_model).cpp $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp 28 28 29 29 !include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler2/vm.def
r2 r309 3 3 ; generated during the build process. See 4 4 ; make\windows\build_vm_def.sh and 5 ; make\windows\makefiles\ makedeps.make (esp. the "-prelink"5 ; make\windows\makefiles\projectcreator.make (esp. the "-prelink" 6 6 ; options). 7 7 ; -
trunk/openjdk/hotspot/make/windows/projectfiles/core/Makefile
r278 r309 1 1 # 2 # Copyright (c) 1998, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 Variant=core 26 !include local.make 25 !include ../local.make 27 26 28 27 !include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile -
trunk/openjdk/hotspot/make/windows/projectfiles/core/vm.def
r2 r309 3 3 ; generated during the build process. See 4 4 ; make\windows\build_vm_def.sh and 5 ; make\windows\makefiles\ makedeps.make (esp. the "-prelink"5 ; make\windows\makefiles\projectcreator.make (esp. the "-prelink" 6 6 ; options). 7 7 ; -
trunk/openjdk/hotspot/make/windows/projectfiles/kernel/Makefile
r278 r309 1 1 # 2 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2007, 2010 Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 Variant=compiler1 26 !include local.make 25 !include ../local.make 27 26 28 27 !include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile -
trunk/openjdk/hotspot/make/windows/projectfiles/kernel/vm.def
r2 r309 3 3 ; generated during the build process. See 4 4 ; make\windows\build_vm_def.sh and 5 ; make\windows\makefiles\ makedeps.make (esp. the "-prelink"5 ; make\windows\makefiles\projectcreator.make (esp. the "-prelink" 6 6 ; options). 7 7 ; -
trunk/openjdk/hotspot/make/windows/projectfiles/tiered/Makefile
r278 r309 1 1 # 2 # Copyright (c) 2006, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 23 23 # 24 24 25 Variant=tiered 26 !include local.make 27 AdditionalTargets= incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp25 !include ../local.make 26 AdlcOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\adfiles 27 AdditionalTargets=$(AdlcOutDir)\ad_$(Platform_arch_model).cpp $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp 28 28 29 29 !include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile -
trunk/openjdk/hotspot/make/windows/projectfiles/tiered/vm.def
r2 r309 3 3 ; generated during the build process. See 4 4 ; make\windows\build_vm_def.sh and 5 ; make\windows\makefiles\ makedeps.make (esp. the "-prelink"5 ; make\windows\makefiles\projectcreator.make (esp. the "-prelink" 6 6 ; options). 7 7 ;
Note:
See TracChangeset
for help on using the changeset viewer.