Changeset 40
- Timestamp:
- Jun 23, 2010, 10:48:53 PM (15 years ago)
- Location:
- trunk/openjdk/hotspot/make
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/hotspot/make/Makefile
r2 r40 20 20 # CA 95054 USA or visit www.sun.com if you need additional information or 21 21 # have any questions. 22 # 22 # 23 23 # 24 24 … … 107 107 # Build or export docs 108 108 docs: 109 ifeq ($( OSNAME),windows)110 @$(ECHO) "No docs ($(VM_TARGET)) for windows "109 ifeq ($(filter-out windows os2,$(OSNAME)),) 110 @$(ECHO) "No docs ($(VM_TARGET)) for windows/os2" 111 111 else 112 112 $(CD) $(OUTPUTDIR); \ … … 135 135 generic_build1: 136 136 $(MKDIR) -p $(OUTPUTDIR) 137 ifeq ($( OSNAME),windows)137 ifeq ($(filter-out windows os2,$(OSNAME)),) 138 138 ifeq ($(ARCH_DATA_MODEL), 32) 139 139 $(CD) $(OUTPUTDIR); \ … … 160 160 generic_build2: 161 161 $(MKDIR) -p $(OUTPUTDIR) 162 ifeq ($( OSNAME),windows)162 ifeq ($(filter-out windows os2,$(OSNAME)),) 163 163 $(CD) $(OUTPUTDIR); \ 164 164 $(NMAKE) -f $(ABS_OS_MAKEFILE) \ … … 176 176 generic_buildkernel: 177 177 $(MKDIR) -p $(OUTPUTDIR) 178 ifeq ($( OSNAME),windows)178 ifeq ($(filter-out windows os2,$(OSNAME)),) 179 179 ifeq ($(ARCH_DATA_MODEL), 32) 180 180 $(CD) $(OUTPUTDIR); \ … … 248 248 endif 249 249 250 # Bin files (windows )251 ifeq ($( OSNAME),windows)252 253 # Get jvm.lib 250 # Bin files (windows, os2) 251 ifeq ($(filter-out windows os2,$(OSNAME)),) 252 253 # Get jvm.lib 254 254 $(EXPORT_LIB_DIR)/%.lib: $(MISC_DIR)/%.lib 255 255 $(install-file) … … 258 258 $(EXPORT_JRE_BIN_DIR)/%.dll: $(MISC_DIR)/%.dll 259 259 $(install-file) 260 ifeq ($(OSNAME),os2) 260 261 $(EXPORT_JRE_BIN_DIR)/%.pdb: $(MISC_DIR)/%.pdb 261 262 $(install-file) 263 endif 262 264 $(EXPORT_JRE_BIN_DIR)/%.map: $(MISC_DIR)/%.map 263 265 $(install-file) … … 266 268 $(EXPORT_CLIENT_DIR)/%.dll: $(C1_DIR)/%.dll 267 269 $(install-file) 270 ifeq ($(OSNAME),os2) 268 271 $(EXPORT_CLIENT_DIR)/%.pdb: $(C1_DIR)/%.pdb 269 272 $(install-file) 273 endif 270 274 $(EXPORT_CLIENT_DIR)/%.map: $(C1_DIR)/%.map 271 275 $(install-file) … … 274 278 $(EXPORT_SERVER_DIR)/%.dll: $(C2_DIR)/%.dll 275 279 $(install-file) 280 ifeq ($(OSNAME),os2) 276 281 $(EXPORT_SERVER_DIR)/%.pdb: $(C2_DIR)/%.pdb 277 282 $(install-file) 283 endif 278 284 $(EXPORT_SERVER_DIR)/%.map: $(C2_DIR)/%.map 279 285 $(install-file) … … 282 288 $(EXPORT_KERNEL_DIR)/%.dll: $(KERNEL_DIR)/%.dll 283 289 $(install-file) 290 ifeq ($(OSNAME),os2) 284 291 $(EXPORT_KERNEL_DIR)/%.pdb: $(KERNEL_DIR)/%.pdb 285 292 $(install-file) 293 endif 286 294 $(EXPORT_KERNEL_DIR)/%.map: $(KERNEL_DIR)/%.map 287 295 $(install-file) … … 289 297 290 298 # Shared Library 291 ifneq ($( OSNAME),windows)299 ifneq ($(filter-out windows os2,$(OSNAME)),) 292 300 ifeq ($(ZERO_BUILD), true) 293 301 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(ZERO_DIR)/%.so … … 428 436 intro_help: 429 437 @$(ECHO) \ 430 "Makefile for the Hotspot workspace." 438 "Makefile for the Hotspot workspace." 431 439 @$(ECHO) \ 432 440 "Default behavior is to build and create an export area for the j2se builds." … … 530 538 " $(MAKE) world" 531 539 @$(ECHO) \ 532 " $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(PREVIOUS_JDK_VERSION)" 540 " $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(PREVIOUS_JDK_VERSION)" 533 541 @$(ECHO) \ 534 542 " $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk$(JDK_VERSION)" -
trunk/openjdk/hotspot/make/defs.make
r2 r40 20 20 # CA 95054 USA or visit www.sun.com if you need additional information or 21 21 # have any questions. 22 # 22 # 23 23 # 24 24 … … 117 117 endif 118 118 119 # On eComStation, OS is "ecs", ignore it to let uname be used 120 ifeq ($(OS),ecs) 121 OS := 122 endif 123 119 124 # Windows should have OS predefined 120 125 ifeq ($(OS),) … … 123 128 endif 124 129 125 # If not SunOS and not Linux , assume Windows130 # If not SunOS and not Linux and not OS/2, assume Windows 126 131 ifneq ($(OS), Linux) 127 132 ifneq ($(OS), SunOS) 128 OSNAME=windows 133 ifneq ($(OS), OS/2) 134 OSNAME=windows 135 else 136 OSNAME=os2 137 endif 129 138 else 130 139 OSNAME=solaris … … 170 179 endif 171 180 172 # The platform dependent defs.make defines platform specific variable such 181 # The platform dependent defs.make defines platform specific variable such 173 182 # as ARCH, EXPORT_LIST etc. We must place the include here after BOOTDIR is defined. 174 183 include $(GAMMADIR)/make/$(OSNAME)/makefiles/defs.make … … 178 187 # some definitions are common for both linux and solaris, 179 188 # so we put them here. 180 ifneq ($( OSNAME),windows)189 ifneq ($(filter-out windows os2,$(OSNAME)),) 181 190 ABS_OUTPUTDIR := $(shell mkdir -p $(OUTPUTDIR); $(CD) $(OUTPUTDIR); $(PWD)) 182 191 ABS_BOOTDIR := $(shell $(CD) $(BOOTDIR); $(PWD)) … … 192 201 193 202 # Use uname output for SRCARCH, but deal with platform differences. If ARCH 194 # is not explicitly listed below, it is treated as x86. 203 # is not explicitly listed below, it is treated as x86. 195 204 SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 zero,$(ARCH))) 196 205 ARCH/ = x86
Note:
See TracChangeset
for help on using the changeset viewer.