Changeset 287
- Timestamp:
- Apr 23, 2011, 12:55:51 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/env.cmd
r273 r287 37 37 38 38 /* 39 * get flags 40 */ 39 * get options 40 */ 41 41 42 aFlags = '' 42 if (left(aArgs, 1) == '-') then do 43 parse var aArgs '-'aFlags aArgs 44 end 43 fTargets = '' 44 aNewArgs = '' 45 46 do i = 1 to words(aArgs) 47 a = word(aArgs, i) 48 if (left(a, 1) == '-') then do 49 f = substr(a, 2, 1) 50 select 51 when f == 't' then do 52 fTargets = substr(a, 3) 53 end 54 otherwise do 55 aFlags = aFlags || substr(a, 2) 56 end 57 end 58 end 59 else do 60 aNewArgs = aNewArgs' 'a 61 end 62 end 63 aArgs = strip(aNewArgs) 64 drop aNewArgs 45 65 46 66 if (verify(aFlags, 'Hh?', 'M')) then do 47 67 say 'Flags for 'ScriptFile':' 48 say ' -r Start commands in release environment' 49 say ' -l Use debug version of LIBC DLL' 50 say ' -L Use log check version of LIBC DLL' 51 say ' -j Enable java launcher debug output' 52 say ' -o Enable Odin extended logging' 53 say ' -R Start commands in PRODUCT RELEASE environment' 68 say ' -r Start commands in release environment' 69 say ' -l Use debug version of LIBC DLL' 70 say ' -L Use log check version of LIBC DLL' 71 say ' -j Enable java launcher debug output' 72 say ' -o Enable Odin extended logging' 73 say ' -R Start commands in PRODUCT RELEASE environment' 74 say ' -t<list> Narrow down the list of targets (possble values are' 75 say ' jdk,hotspot,jaxp,jaxws,corba,langtools)' 54 76 55 77 if (UnderSE) then call EnvSet 'SE_CMD_ARGS', 'exit' … … 64 86 fProductRelease = pos('R', aFlags) \= 0 65 87 88 fTargets = translate(fTargets, ' ', ',') 89 66 90 if (fProductRelease) then fRelease = 1 67 91 … … 148 172 call EnvSetIfEmpty 'ALT_FREETYPE_LIB_PATH', UnixSlashes(ScriptDir'libs\freetype\lib') 149 173 call EnvSetIfEmpty 'ALT_JDK_IMPORT_PATH', UnixSlashes(G.PATH_JDK_IMPORT) 174 175 if (fTargets \== '') then do 176 call EnvSet 'SKIP_BUILD_JDK', 'true' 177 call EnvSet 'SKIP_BUILD_HOTSPOT', 'true' 178 call EnvSet 'SKIP_BUILD_JAXP', 'true' 179 call EnvSet 'SKIP_BUILD_JAXWS', 'true' 180 call EnvSet 'SKIP_BUILD_CORBA', 'true' 181 call EnvSet 'SKIP_BUILD_LANGTOOLS', 'true' 182 do i = 1 to words(fTargets) 183 call EnvSet 'SKIP_BUILD_'translate(word(fTargets, i)) 184 end 185 end 150 186 151 187 /** -
trunk/openjdk/Makefile
r278 r287 97 97 98 98 ifeq ($(BUILD_LANGTOOLS), true) 99 ifneq ($(SKIP_BUILD_LANGTOOLS), true) 99 100 generic_build_repo_series:: langtools 100 101 clobber:: langtools-clobber 101 102 endif 103 endif 102 104 103 105 ifeq ($(BUILD_CORBA), true) 106 ifneq ($(SKIP_BUILD_CORBA), true) 104 107 generic_build_repo_series:: corba 105 108 clobber:: corba-clobber 106 109 endif 110 endif 107 111 108 112 ifeq ($(BUILD_JAXP), true) 113 ifneq ($(SKIP_BUILD_JAXP), true) 109 114 generic_build_repo_series:: jaxp 110 115 clobber:: jaxp-clobber 111 116 endif 117 endif 112 118 113 119 ifeq ($(BUILD_JAXWS), true) 120 ifneq ($(SKIP_BUILD_JAXWS), true) 114 121 generic_build_repo_series:: jaxws 115 122 clobber:: jaxws-clobber 116 123 endif 124 endif 117 125 118 126 ifeq ($(BUILD_HOTSPOT), true) 127 ifneq ($(SKIP_BUILD_HOTSPOT), true) 119 128 generic_build_repo_series:: $(HOTSPOT) 120 129 clobber:: hotspot-clobber 121 130 endif 131 endif 122 132 123 133 ifeq ($(BUILD_JDK), true) 134 ifneq ($(SKIP_BUILD_JDK), true) 124 135 generic_build_repo_series:: $(JDK_JAVA_EXE) 125 136 clobber:: jdk-clobber 137 endif 126 138 endif 127 139
Note:
See TracChangeset
for help on using the changeset viewer.