- Timestamp:
- Jun 17, 2010, 4:08:35 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/env.cmd
r19 r27 85 85 */ 86 86 call EnvSetIfEmtpy 'ALT_BOOTDIR', UnixSlashes(G.PATH_TOOL_BOOT_JDK) 87 call EnvSetIfEmtpy 'ALT_ODINSDK_PATH', UnixSlashes(G.PATH_LIB_ODIN32) 87 88 call EnvSetIfEmtpy 'ALT_FREETYPE_HEADERS_PATH', UnixSlashes(ScriptDir'libs\freetype\include') 88 89 call EnvSetIfEmtpy 'ALT_FREETYPE_LIB_PATH', UnixSlashes(ScriptDir'libs\freetype\lib') -
trunk/openjdk/Makefile
r2 r27 116 116 endif 117 117 118 build:: sanity 118 build:: sanity 119 119 120 120 clobber:: … … 141 141 142 142 ifeq ($(BUILD_HOTSPOT), true) 143 build:: $(HOTSPOT) 143 build:: $(HOTSPOT) 144 144 clobber:: hotspot-clobber 145 145 endif … … 168 168 # ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix 169 169 # The resulting j2sdk-image is used by the install makefiles to create a 170 # debug install bundle jdk-*-debug-** bundle (tar or zip) 170 # debug install bundle jdk-*-debug-** bundle (tar or zip) 171 171 # which will install in the debug or fastdebug subdirectory of the 172 172 # normal product install area. … … 281 281 @$(ECHO) "=================================================" 282 282 @$(ECHO) " " 283 283 284 284 endif 285 285 endif … … 294 294 clean: clobber 295 295 296 all:: 296 all:: 297 297 @$(ECHO) Control build finished: `$(DATE) '+%y-%m-%d %H:%M'` 298 298 … … 384 384 MSDEVTOOLS_PATH.desc = Root directory of VC++ tools (e.g. rc.exe) 385 385 MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll 386 ODINSDK_PATH.desc = Root directory of Odin32 SDK (OS/2) 386 387 387 388 # Make variables to print out (description and value) … … 402 403 JDK_IMPORT_PATH \ 403 404 COMPILER_PATH \ 404 DEVTOOLS_PATH 405 DEVTOOLS_PATH 405 406 406 407 # Make variables that should refer to files that exist … … 420 421 MSDEVTOOLS_PATH \ 421 422 MSVCRT_DLL_PATH 423 424 endif 425 426 # Some are OS/2 specific 427 ifeq ($(PLATFORM), os2) 428 429 VARIABLE_PRINTVAL_LIST += \ 430 ODINSDK_PATH 431 432 VARIABLE_CHECKDIR_LIST += \ 433 ODINSDK_PATH 422 434 423 435 endif … … 483 495 # Cycle build. Build the jdk, use it to build the jdk again. 484 496 ################################################################ 485 497 486 498 ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk 487 499 488 500 boot_cycle: 489 501 $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) product_build -
trunk/openjdk/jdk/make/Makefile
r2 r27 106 106 UNICOWS_DLL_PATH.desc = Directory containing unicows.dll 107 107 UNICOWS_LIB_PATH.desc = Directory containing unicows.lib 108 ODINSDK_PATH.desc = Root directory of Odin32 SDK (OS/2) 108 109 109 110 # Make variables to print out (description and value) … … 151 152 UNICOWS_DLL_PATH \ 152 153 UNICOWS_LIB_PATH 154 155 endif 156 157 # Some are OS/2 specific 158 ifeq ($(PLATFORM), os2) 159 160 VARIABLE_PRINTVAL_LIST += \ 161 ODINSDK_PATH 162 163 VARIABLE_CHECKDIR_LIST += \ 164 ODINSDK_PATH 153 165 154 166 endif … … 213 225 # 'all' target intro 214 226 # 215 all:: 227 all:: 216 228 @$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build started: $(shell $(DATE) '+%y-%m-%d %H:%M') 217 229 … … 283 295 # workspace, and if it is a Teamware workspace, then see if there are 284 296 # any files which are not under SCCS control. 285 clean clobber:: 297 clean clobber:: 286 298 ifndef EXTERNALSANITYCONTROL 287 299 @if [ -d $(TOPDIR)/Codemgr_wsdata ]; then \ -
trunk/openjdk/jdk/make/common/Defs-os2.gmk
r14 r27 44 44 45 45 ifndef PLATFORM_SRC 46 PLATFORM_SRC = $(BUILDDIR)/../src/os2 46 # We mostly reuse the windows code so far. 47 PLATFORM_SRC = $(BUILDDIR)/../src/windows 47 48 endif # PLATFORM_SRC 48 49 … … 75 76 # level. 76 77 # 77 HPIS = os278 HPIS = windows 78 79 79 80 # … … 134 135 # Linker options 135 136 # 136 LDFLAGS_COMMON = -Zomf -Z stack 0x2000 -Zlinker "DISABLE 1121" -Zhigh-mem137 LDFLAGS_COMMON = -Zomf -Zmap -Zstack 0x2000 -Zlinker "DISABLE 1121" -Zhigh-mem 137 138 LDFLAGS_OPT = -s 138 139 LDFLAGS_DBG = 140 141 # 142 # Additional libraries needed by all targets 143 # 144 145 CPPFLAGS_COMMON += -D__WIN32OS2__ -D__i386__ 146 CPPFLAGS_COMMON += -I$(ODINSDK_PATH)/include/Win -I$(ODINSDK_PATH)/include 147 LDFLAGS_COMMON += -L$(ODINSDK_PATH)/lib -L$(ODINSDK_PATH)/lib/Release 148 EXTRA_LIBS += 139 149 140 150 # -
trunk/openjdk/jdk/make/common/Library.gmk
r2 r27 40 40 41 41 ifeq ($(LIBRARY), fdlibm) 42 ifeq ($( PLATFORM),windows)42 ifeq ($(filter-out windows os2,$(PLATFORM)),) 43 43 ACTUAL_LIBRARY_NAME = $(LIB_PREFIX)$(LIBRARY).$(FDDLIBM_SUFFIX) 44 44 ACTUAL_LIBRARY_DIR = $(OBJDIR) … … 177 177 @$(OBJDIR)/$(LIBRARY).lcf $(OTHER_LCF) $(LDLIBS_COMMON) 178 178 else # LIBRARY 179 # build it into $(OBJDIR) so that the other generated files get put 179 # build it into $(OBJDIR) so that the other generated files get put 180 180 # there, then copy just the DLL (and MAP file) to the requested directory. 181 181 # … … 196 196 @$(prep-target) 197 197 @$(MKDIR) -p $(TEMPDIR) 198 @$(ECHO) $(FILES_o) > $@ 198 @$(ECHO) $(FILES_o) > $@ 199 199 ifndef LOCAL_RESOURCE_FILE 200 200 @$(ECHO) $(OBJDIR)/$(LIBRARY).res >> $@ 201 201 endif 202 @$(ECHO) Created $@ 202 @$(ECHO) Created $@ 203 203 204 204 # J2SE name required here … … 219 219 $(ACTUAL_LIBRARY):: $(LIBDIR)/$(LIBRARY).lib 220 220 221 clean:: 221 clean:: 222 222 -$(RM) $(LIBDIR)/$(LIBRARY).lib 223 223 … … 257 257 ifeq ($(PLATFORM),solaris) 258 258 lint.errors : $(FILES_ln) 259 $(LINT.c) $(FILES_ln) $(LDLIBS) 259 $(LINT.c) $(FILES_ln) $(LDLIBS) 260 260 endif 261 261 -
trunk/openjdk/jdk/make/common/Sanity.gmk
r2 r27 73 73 sane-ant_version \ 74 74 sane-zip_version \ 75 sane-msvcrt_path 75 sane-msvcrt_path \ 76 sane-odinsdk 76 77 77 78 # The rules sanity-* have a one-to-one correspondence with the major targets -
trunk/openjdk/jdk/make/common/shared/Defs-os2.gmk
r16 r27 140 140 _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION) 141 141 endif 142 143 # ODINSDK_PATH: Path to the root directory of Odin32 SDK 144 ifdef ALT_ODINSDK_PATH 145 xALT_ODINSDK_PATH :="$(subst \,/,$(ALT_ODINSDK_PATH))" 146 ODINSDK_PATH :=$(call FullPath,$(xALT_ODINSDK_PATH)) 147 endif 148 ODINSDK_PATH :=$(call AltCheckSpaces,ODINSDK_PATH) 149 ODINSDK_PATH :=$(call AltCheckValue,ODINSDK_PATH) 142 150 143 151 # Import JDK images allow for partial builds, components not built are -
trunk/openjdk/jdk/make/common/shared/Sanity-Settings.gmk
r16 r27 247 247 endif 248 248 endif 249 ifeq ($(PLATFORM),os2) 250 ALL_SETTINGS+=$(call addAltSetting,ODINSDK_PATH) 251 endif 249 252 ALL_SETTINGS+=$(call addAltSetting,CACERTS_FILE) 250 253 ifndef OPENJDK -
trunk/openjdk/jdk/make/common/shared/Sanity.gmk
r12 r27 1344 1344 1345 1345 ###################################################### 1346 # Check for Odin32 SDK directory 1347 ###################################################### 1348 sane-odinsdk: 1349 ifeq ($(PLATFORM), os2) 1350 @if [ ! -r $(ODINSDK_PATH)/include/odin.h ]; then \ 1351 $(ECHO) "ERROR: You do not have access to a valid Odin32 SDK include dir.\n" \ 1352 " The value of ODINSDK_PATH must point a valid Odin32 SDK dir.\n" \ 1353 " Please check your access to \n" \ 1354 " $(ODINSDK_PATH)/include \n" \ 1355 " and/or check your value of ALT_ODINSDK_PATH.\n" \ 1356 "" >> $(ERROR_FILE) ; \ 1357 fi 1358 @if [ ! -r $(ODINSDK_PATH)/lib/odincrt.lib -a \ 1359 ! -r $(ODINSDK_PATH)/lib/Release/odincrt.lib ]; then \ 1360 $(ECHO) "ERROR: You do not have access to a valid Odin32 SDK lib dir.\n" \ 1361 " The value of ODINSDK_PATH must point a valid Odin32 SDK dir.\n" \ 1362 " Please check your access to \n" \ 1363 " $(ODINSDK_PATH)/lib or \n" \ 1364 " $(ODINSDK_PATH)/lib/Release \n" \ 1365 " and/or check your value of ALT_ODINSDK_PATH.\n" \ 1366 "" >> $(ERROR_FILE) ; \ 1367 fi 1368 endif 1369 1370 ###################################################### 1346 1371 # Check the linker version(s) 1347 1372 ######################################################
Note:
See TracChangeset
for help on using the changeset viewer.