Changeset 278 for trunk/openjdk/hotspot/make/Makefile
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/hotspot/make/Makefile
r245 r278 1 1 # 2 # Copyright 2005-2010 Sun Microsystems, Inc. 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 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 86 86 KERNEL_VM_TARGETS=productkernel fastdebugkernel optimizedkernel jvmgkernel 87 87 ZERO_VM_TARGETS=productzero fastdebugzero optimizedzero jvmgzero 88 SHARK_VM_TARGETS=productshark fastdebugshark optimizedshark jvmgshark 88 89 89 90 # JDK directory list … … 91 92 92 93 all: all_product all_fastdebug 94 ifndef BUILD_CLIENT_ONLY 93 95 all_product: product product1 productkernel docs export_product 94 96 all_fastdebug: fastdebug fastdebug1 fastdebugkernel docs export_fastdebug 95 97 all_debug: jvmg jvmg1 jvmgkernel docs export_debug 98 else 99 all_product: product1 docs export_product 100 all_fastdebug: fastdebug1 docs export_fastdebug 101 all_debug: jvmg1 docs export_debug 102 endif 96 103 all_optimized: optimized optimized1 optimizedkernel docs export_optimized 97 104 … … 102 109 all_optimizedzero: optimizedzero docs export_optimized 103 110 111 allshark: all_productshark all_fastdebugshark 112 all_productshark: productshark docs export_product 113 all_fastdebugshark: fastdebugshark docs export_fastdebug 114 all_debugshark: jvmgshark docs export_debug 115 all_optimizedshark: optimizedshark docs export_optimized 116 104 117 # Do everything 105 118 world: all create_jdk … … 131 144 $(CD) $(GAMMADIR)/make; \ 132 145 $(MAKE) VM_TARGET=$@ generic_buildzero $(ALT_OUT) 146 147 $(SHARK_VM_TARGETS): 148 $(CD) $(GAMMADIR)/make; \ 149 $(MAKE) VM_TARGET=$@ generic_buildshark $(ALT_OUT) 133 150 134 151 # Build compiler1 (client) rule, different for platforms … … 197 214 $(MAKE) -f $(ABS_OS_MAKEFILE) \ 198 215 $(MAKE_ARGS) $(VM_TARGET) 216 217 generic_buildshark: 218 $(MKDIR) -p $(OUTPUTDIR) 219 $(CD) $(OUTPUTDIR); \ 220 $(MAKE) -f $(ABS_OS_MAKEFILE) \ 221 $(MAKE_ARGS) $(VM_TARGET) 199 222 200 223 # Export file rule … … 229 252 KERNEL_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_kernel 230 253 ZERO_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_zero 254 SHARK_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_shark 231 255 C1_DIR=$(C1_BASE_DIR)/$(VM_SUBDIR) 232 256 C2_DIR=$(C2_BASE_DIR)/$(VM_SUBDIR) 233 257 KERNEL_DIR=$(KERNEL_BASE_DIR)/$(VM_SUBDIR) 234 258 ZERO_DIR=$(ZERO_BASE_DIR)/$(VM_SUBDIR) 259 SHARK_DIR=$(SHARK_BASE_DIR)/$(VM_SUBDIR) 235 260 236 261 # Misc files and generated files need to come from C1 or C2 area 237 262 ifeq ($(ZERO_BUILD), true) 263 ifeq ($(SHARK_BUILD), true) 264 MISC_DIR=$(SHARK_DIR) 265 GEN_DIR=$(SHARK_BASE_DIR)/generated 266 else 238 267 MISC_DIR=$(ZERO_DIR) 239 268 GEN_DIR=$(ZERO_BASE_DIR)/generated 269 endif 240 270 else 241 271 ifeq ($(ARCH_DATA_MODEL), 32) … … 311 341 ifneq ($(filter-out windows os2,$(OSNAME)),) 312 342 ifeq ($(ZERO_BUILD), true) 343 ifeq ($(SHARK_BUILD), true) 344 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(SHARK_DIR)/%.so 345 $(install-file) 346 $(EXPORT_SERVER_DIR)/%.so: $(SHARK_DIR)/%.so 347 $(install-file) 348 else 313 349 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(ZERO_DIR)/%.so 314 350 $(install-file) 315 351 $(EXPORT_SERVER_DIR)/%.so: $(ZERO_DIR)/%.so 316 352 $(install-file) 317 else 353 endif 354 else 355 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C1_DIR)/%.so 356 $(install-file) 318 357 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so 319 358 $(install-file) … … 369 408 $(RM) -r $(KERNEL_DIR) 370 409 $(RM) -r $(ZERO_DIR) 410 $(RM) -r $(SHARK_DIR) 371 411 clean_export: 372 412 $(RM) -r $(EXPORT_PATH)
Note:
See TracChangeset
for help on using the changeset viewer.