Changeset 278 for trunk/openjdk/hotspot/make
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 132 edited
- 2 copied
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) -
trunk/openjdk/hotspot/make/defs.make
r40 r278 1 1 # 2 # Copyright 2006-2010 Sun Microsystems, Inc. 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 # … … 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 # … … 202 202 # Use uname output for SRCARCH, but deal with platform differences. If ARCH 203 203 # is not explicitly listed below, it is treated as x86. 204 SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 zero,$(ARCH)))204 SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc zero,$(ARCH))) 205 205 ARCH/ = x86 206 206 ARCH/sparc = sparc … … 209 209 ARCH/amd64 = x86 210 210 ARCH/x86_64 = x86 211 ARCH/ppc64 = ppc 212 ARCH/ppc = ppc 213 ARCH/arm = arm 211 214 ARCH/zero = zero 212 215 … … 233 236 LIBARCH/sparcv9 = sparcv9 234 237 LIBARCH/ia64 = ia64 238 LIBARCH/ppc64 = ppc 239 LIBARCH/ppc = ppc 240 LIBARCH/arm = arm 235 241 LIBARCH/zero = $(ZERO_LIBARCH) 236 242 -
trunk/openjdk/hotspot/make/hotspot_distro
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 … … 29 29 # Don't put quotes (fail windows build). 30 30 HOTSPOT_VM_DISTRO=Java HotSpot(TM) 31 COMPANY_NAME= Sun Microsystems, Inc.31 COMPANY_NAME=Oracle Corporation 32 32 PRODUCT_NAME=Java(TM) Platform SE -
trunk/openjdk/hotspot/make/hotspot_version
r2 r278 1 1 # 2 # Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2009, 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 … … 32 32 33 33 # Don't put quotes (fail windows build). 34 HOTSPOT_VM_COPYRIGHT=Copyright 20 0934 HOTSPOT_VM_COPYRIGHT=Copyright 2010 35 35 36 HS_MAJOR_VER=1 636 HS_MAJOR_VER=19 37 37 HS_MINOR_VER=0 38 HS_BUILD_NUMBER= 1338 HS_BUILD_NUMBER=09 39 39 40 40 JDK_MAJOR_VER=1 -
trunk/openjdk/hotspot/make/jprt.gmk
r2 r278 1 1 # 2 # Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 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 # … … 30 30 endif 31 31 32 ifeq ($(OSNAME),windows) 33 ZIPFLAGS=-q 34 else 35 # store symbolic links as the link 36 ZIPFLAGS=-q -y 37 endif 38 32 39 jprt_build_product: all_product copy_product_jdk export_product_jdk 33 40 ( $(CD) $(JDK_IMAGE_DIR) && \ 34 $(ZIPEXE) -q-r $(JPRT_ARCHIVE_BUNDLE) . )41 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) 35 42 36 43 jprt_build_fastdebug: all_fastdebug copy_fastdebug_jdk export_fastdebug_jdk 37 44 ( $(CD) $(JDK_IMAGE_DIR)/fastdebug && \ 38 $(ZIPEXE) -q-r $(JPRT_ARCHIVE_BUNDLE) . )45 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) 39 46 40 47 jprt_build_debug: all_debug copy_debug_jdk export_debug_jdk 41 48 ( $(CD) $(JDK_IMAGE_DIR)/debug && \ 42 $(ZIPEXE) -q-r $(JPRT_ARCHIVE_BUNDLE) . )49 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) 43 50 44 51 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug -
trunk/openjdk/hotspot/make/jprt.properties
r2 r278 1 1 # 2 # Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2009, 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 # … … 40 40 41 41 #jprt.tools.default.release=${jprt.submit.release} 42 jprt.tools.default.release=jdk6u18 43 42 jprt.tools.default.release=jdk6perf 43 44 # Disable syncing the source after builds and tests are done. 45 46 jprt.sync.push=false 44 47 45 48 # Define the Solaris platforms we want for the various releases … … 51 54 jprt.my.solaris.sparc.jdk6u14=solaris_sparc_5.8 52 55 jprt.my.solaris.sparc.jdk6u18=solaris_sparc_5.8 56 jprt.my.solaris.sparc.jdk6u20=solaris_sparc_5.8 53 57 jprt.my.solaris.sparc=${jprt.my.solaris.sparc.${jprt.tools.default.release}} 54 58 … … 59 63 jprt.my.solaris.sparcv9.jdk6u14=solaris_sparcv9_5.8 60 64 jprt.my.solaris.sparcv9.jdk6u18=solaris_sparcv9_5.8 65 jprt.my.solaris.sparcv9.jdk6u20=solaris_sparcv9_5.8 61 66 jprt.my.solaris.sparcv9=${jprt.my.solaris.sparcv9.${jprt.tools.default.release}} 62 67 … … 67 72 jprt.my.solaris.i586.jdk6u14=solaris_i586_5.8 68 73 jprt.my.solaris.i586.jdk6u18=solaris_i586_5.8 74 jprt.my.solaris.i586.jdk6u20=solaris_i586_5.8 69 75 jprt.my.solaris.i586=${jprt.my.solaris.i586.${jprt.tools.default.release}} 70 76 … … 75 81 jprt.my.solaris.x64.jdk6u14=solaris_x64_5.10 76 82 jprt.my.solaris.x64.jdk6u18=solaris_x64_5.10 83 jprt.my.solaris.x64.jdk6u20=solaris_x64_5.10 77 84 jprt.my.solaris.x64=${jprt.my.solaris.x64.${jprt.tools.default.release}} 78 85 … … 83 90 jprt.my.linux.i586.jdk6u14=linux_i586_2.4 84 91 jprt.my.linux.i586.jdk6u18=linux_i586_2.4 92 jprt.my.linux.i586.jdk6u20=linux_i586_2.4 85 93 jprt.my.linux.i586=${jprt.my.linux.i586.${jprt.tools.default.release}} 86 94 … … 91 99 jprt.my.linux.x64.jdk6u14=linux_x64_2.4 92 100 jprt.my.linux.x64.jdk6u18=linux_x64_2.4 101 jprt.my.linux.x64.jdk6u20=linux_x64_2.4 93 102 jprt.my.linux.x64=${jprt.my.linux.x64.${jprt.tools.default.release}} 94 103 … … 99 108 jprt.my.windows.i586.jdk6u14=windows_i586_5.0 100 109 jprt.my.windows.i586.jdk6u18=windows_i586_5.0 110 jprt.my.windows.i586.jdk6u20=windows_i586_5.0 101 111 jprt.my.windows.i586=${jprt.my.windows.i586.${jprt.tools.default.release}} 102 112 … … 107 117 jprt.my.windows.x64.jdk6u14=windows_x64_5.2 108 118 jprt.my.windows.x64.jdk6u18=windows_x64_5.2 119 jprt.my.windows.x64.jdk6u20=windows_x64_5.2 109 120 jprt.my.windows.x64=${jprt.my.windows.x64.${jprt.tools.default.release}} 110 121 -
trunk/openjdk/hotspot/make/linux/Makefile
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. 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 # … … 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 # … … 169 169 # productzero zero <os>_<arch>_zero/product 170 170 # 171 # debugshark shark <os>_<arch>_shark/debug 172 # fastdebugshark shark <os>_<arch>_shark/fastdebug 173 # jvmgshark shark <os>_<arch>_shark/jvmg 174 # optimizedshark shark <os>_<arch>_shark/optimized 175 # profiledshark shark <os>_<arch>_shark/profiled 176 # productshark shark <os>_<arch>_shark/product 177 # 171 178 # What you get with each target: 172 179 # … … 192 199 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS)) 193 200 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS)) 201 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS)) 194 202 195 203 TARGETS_C2 = $(TARGETS) … … 198 206 TARGETS_CORE = $(addsuffix core,$(TARGETS)) 199 207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS)) 208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS)) 200 209 201 210 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make … … 214 223 @echo " $(TARGETS_CORE)" 215 224 @echo " $(TARGETS_ZERO)" 225 @echo " $(TARGETS_SHARK)" 216 226 217 227 checks: check_os_version check_j2se_version … … 267 277 $(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH) 268 278 279 $(SUBDIRS_SHARK): $(BUILDTREE_MAKE) platform_zero 280 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 281 $(BUILDTREE) VARIANT=shark VARIANTARCH=$(VARIANTARCH) 282 269 283 platform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in 270 284 $(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@ … … 305 319 ifdef INSTALL 306 320 cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install 321 endif 322 323 $(TARGETS_SHARK): $(SUBDIRS_SHARK) 324 cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) 325 cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && ./test_gamma 326 ifdef INSTALL 327 cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install 307 328 endif 308 329 … … 312 333 treecore: $(SUBDIRS_CORE) 313 334 treezero: $(SUBDIRS_ZERO) 335 treeshark: $(SUBDIRS_SHARK) 314 336 315 337 # Doc target. This is the same for all build options. … … 328 350 zero: jvmgzero productzero 329 351 352 shark: jvmgshark productshark 353 330 354 clean_docs: 331 355 rm -rf $(SUBDIR_DOCS) 332 356 333 clean_compiler1 clean_compiler2 clean_core clean_zero :357 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark: 334 358 rm -rf $(OSNAME)_$(BUILDARCH)_$(subst clean_,,$@) 335 359 336 clean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_ docs360 clean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_shark clean_docs 337 361 338 362 include $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make … … 340 364 #------------------------------------------------------------------------------- 341 365 342 .PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) 343 .PHONY: tree tree1 treecore treezero 344 .PHONY: all compiler1 compiler2 core zero 345 .PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero docs clean_docs366 .PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) $(TARGETS_SHARK) 367 .PHONY: tree tree1 treecore treezero treeshark 368 .PHONY: all compiler1 compiler2 core zero shark 369 .PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark docs clean_docs 346 370 .PHONY: checks check_os_version check_j2se_version -
trunk/openjdk/hotspot/make/linux/README
r2 r278 1 Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.1 Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. 2 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 3 … … 16 16 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 17 18 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,19 CA 95054 USA or visit www.sun.com if you need additional information or 20 have anyquestions.18 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 or visit www.oracle.com if you need additional information or have any 20 questions. 21 21 22 22 ________________________________________________________________________ -
trunk/openjdk/hotspot/make/linux/build.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/linux/makefiles/adjust-mflags.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/linux/makefiles/adlc.make
r2 r278 1 1 # 2 # Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2009, 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 # … … 128 128 TEMPDIR := $(OUTDIR)/mktmp$(shell echo $$$$) 129 129 130 # Debuggable by default 131 CFLAGS += -g 132 130 133 # Pass -D flags into ADLC. 131 134 ADLCFLAGS += $(SYSDEFS) … … 136 139 # Normally, debugging is done directly on the ad_<arch>*.cpp files. 137 140 # But -g will put #line directives in those files pointing back to <arch>.ad. 138 #ADLCFLAGS += -g 141 # Some builds of gcc 3.2 have a bug that gets tickled by the extra #line directives 142 # so skip it for 3.2 and ealier. 143 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" 144 ADLCFLAGS += -g 145 endif 139 146 140 147 ifdef LP64 -
trunk/openjdk/hotspot/make/linux/makefiles/amd64.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/buildtree.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 340 340 echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." 341 341 342 CROSS_COMPILING_MSG = \ 343 echo "Cross compiling for ARCH $(CROSS_COMPILE_ARCH), skipping gamma run." 344 342 345 test_gamma: $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java 343 346 @echo Creating $@ ... … … 346 349 $(BUILDTREE_COMMENT); \ 347 350 echo '. ./env.sh'; \ 351 echo "if [ \"$(CROSS_COMPILE_ARCH)\" != \"\" ]; then { $(CROSS_COMPILING_MSG); exit 0; }; fi"; \ 348 352 echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ 349 353 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ -
trunk/openjdk/hotspot/make/linux/makefiles/compiler1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/compiler2.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/core.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/cscope.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/debug.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 39 39 "----------------------------------------------------------------------\n") 40 40 41 G_SUFFIX = 41 G_SUFFIX = _g 42 42 VERSION = debug 43 43 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/linux/makefiles/defs.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 # … … 99 99 endif 100 100 101 # ARM 102 ifeq ($(ARCH), arm) 103 ARCH_DATA_MODEL = 32 104 PLATFORM = linux-arm 105 VM_PLATFORM = linux_arm 106 HS_ARCH = arm 107 endif 108 109 # PPC 110 ifeq ($(ARCH), ppc) 111 ARCH_DATA_MODEL = 32 112 PLATFORM = linux-ppc 113 VM_PLATFORM = linux_ppc 114 HS_ARCH = ppc 115 endif 116 101 117 JDK_INCLUDE_SUBDIR=linux 102 118 … … 105 121 106 122 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html 123 124 # client and server subdirectories have symbolic links to ../libjsig.so 125 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so 107 126 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server 127 128 ifndef BUILD_CLIENT_ONLY 108 129 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt 109 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so110 130 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so 131 endif 132 111 133 ifneq ($(ZERO_BUILD), true) 112 134 ifeq ($(ARCH_DATA_MODEL), 32) 113 135 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client 114 136 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt 115 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so116 137 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so 117 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so118 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar119 else120 ifeq ($(ARCH),ia64)121 else122 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so123 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar124 endif125 138 endif 126 139 endif 140 141 # Serviceability Binaries 142 # No SA Support for PPC, IA64, ARM or zero 143 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so \ 144 $(EXPORT_LIB_DIR)/sa-jdi.jar 145 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so \ 146 $(EXPORT_LIB_DIR)/sa-jdi.jar 147 ADD_SA_BINARIES/ppc = 148 ADD_SA_BINARIES/ia64 = 149 ADD_SA_BINARIES/arm = 150 ADD_SA_BINARIES/zero = 151 152 EXPORT_LIST += $(ADD_SA_BINARIES/$(HS_ARCH)) 153 154 -
trunk/openjdk/hotspot/make/linux/makefiles/dtrace.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/fastdebug.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 59 59 MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug 60 60 61 G_SUFFIX = 61 G_SUFFIX = _g 62 62 VERSION = optimized 63 63 SYSDEFS += -DASSERT -DFASTDEBUG -
trunk/openjdk/hotspot/make/linux/makefiles/gcc.make
r2 r278 1 1 # 2 # Copyright 1999-2009 Sun Microsystems, Inc. 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 # … … 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 # … … 26 26 # CC, CPP & AS 27 27 28 ifdef ALT_COMPILER_PATH 29 CPP = $(ALT_COMPILER_PATH)/g++ 30 CC = $(ALT_COMPILER_PATH)/gcc 31 else 28 32 CPP = g++ 29 33 CC = gcc 34 endif 35 30 36 AS = $(CC) -c 31 37 … … 55 61 ifeq ($(ZERO_BUILD), true) 56 62 CFLAGS += $(LIBFFI_CFLAGS) 63 endif 64 ifeq ($(SHARK_BUILD), true) 65 CFLAGS += $(LLVM_CFLAGS) 57 66 endif 58 67 CFLAGS += $(VM_PICFLAG) … … 68 77 ARCHFLAG/sparc = -m32 -mcpu=v9 69 78 ARCHFLAG/sparcv9 = -m64 -mcpu=v9 79 ARCHFLAG/arm = -fsigned-char 70 80 ARCHFLAG/zero = $(ZERO_ARCHFLAG) 81 ifndef E500V2 82 ARCHFLAG/ppc = -mcpu=powerpc 83 endif 71 84 72 85 CFLAGS += $(ARCHFLAG) … … 75 88 ASFLAGS += $(ARCHFLAG) 76 89 90 ifdef E500V2 91 CFLAGS += -DE500V2 92 endif 93 77 94 # Use C++ Interpreter 78 95 ifdef CC_INTERP 79 96 CFLAGS += -DCC_INTERP 97 endif 98 99 # Build for embedded targets 100 ifdef JAVASE_EMBEDDED 101 CFLAGS += -DJAVASE_EMBEDDED 80 102 endif 81 103 … … 172 194 DEBUG_CFLAGS/ia64 = -g 173 195 DEBUG_CFLAGS/amd64 = -g 196 DEBUG_CFLAGS/arm = -g 197 DEBUG_CFLAGS/ppc = -g 174 198 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) 175 199 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) … … 182 206 CFLAGS += $(DEBUG_CFLAGS) 183 207 endif 208 209 # If we are building HEADLESS, pass on to VM 210 # so it can set the java.awt.headless property 211 ifdef HEADLESS 212 CFLAGS += -DHEADLESS 213 endif 214 215 # We are building Embedded for a small device 216 # favor code space over speed 217 ifdef MINIMIZE_RAM_USAGE 218 CFLAGS += -DMINIMIZE_RAM_USAGE 219 endif -
trunk/openjdk/hotspot/make/linux/makefiles/hp.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/hp1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/i486.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/ia64.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/jsig.make
r2 r278 1 1 # 2 # Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2009, 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 # … … 26 26 27 27 # libjsig[_g].so: signal interposition library 28 JSIG = jsig $(G_SUFFIX)28 JSIG = jsig 29 29 LIBJSIG = lib$(JSIG).so 30 31 JSIG_G = $(JSIG)$(G_SUFFIX) 32 LIBJSIG_G = lib$(JSIG_G).so 30 33 31 34 JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm … … 47 50 endif 48 51 49 # DEBUG_BINARIES overrides everything, use full -g debug information50 ifeq ($(DEBUG_BINARIES), true)51 JSIG_DEBUG_CFLAGS = -g52 endif53 54 52 $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE) 55 53 @echo Making signal interposition lib... 56 54 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ 57 55 $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) -o $@ $< -ldl 56 $(QUIETLY) [ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); } 58 57 59 58 install_jsig: $(LIBJSIG) -
trunk/openjdk/hotspot/make/linux/makefiles/jvmg.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 36 36 MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug 37 37 38 G_SUFFIX = 38 G_SUFFIX = _g 39 39 VERSION = debug 40 40 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/linux/makefiles/jvmti.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/launcher.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 26 26 27 27 # gamma[_g]: launcher 28 LAUNCHER = gamma$(G_SUFFIX) 28 29 LAUNCHER = gamma 30 LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX) 29 31 30 32 LAUNCHERDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher … … 71 73 $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \ 72 74 $(LINK_LAUNCHER/POST_HOOK) \ 75 [ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \ 73 76 } -
trunk/openjdk/hotspot/make/linux/makefiles/makedeps.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/mapfile-vers-debug
r2 r278 4 4 5 5 # 6 # Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.6 # Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. 7 7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 8 # … … 21 21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 22 # 23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,24 # CA 95054 USA or visit www.sun.com if you need additional information or25 # have anyquestions.23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 24 # or visit www.oracle.com if you need additional information or have any 25 # questions. 26 26 # 27 27 # … … 291 291 # This is for Forte Analyzer profiling support. 292 292 AsyncGetCallTrace; 293 294 # INSERT VTABLE SYMBOLS HERE 295 293 296 local: 294 297 *; -
trunk/openjdk/hotspot/make/linux/makefiles/mapfile-vers-jsig
r2 r278 2 2 3 3 # 4 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/linux/makefiles/mapfile-vers-product
r2 r278 4 4 5 5 # 6 # Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.6 # Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. 7 7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 8 # … … 21 21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 22 # 23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,24 # CA 95054 USA or visit www.sun.com if you need additional information or25 # have anyquestions.23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 24 # or visit www.oracle.com if you need additional information or have any 25 # questions. 26 26 # 27 27 # … … 286 286 # This is for Forte Analyzer profiling support. 287 287 AsyncGetCallTrace; 288 289 # INSERT VTABLE SYMBOLS HERE 290 288 291 local: 289 292 *; -
trunk/openjdk/hotspot/make/linux/makefiles/optimized.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/product.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 47 47 # use -g to strip library as -x will discard its symbol table; -x is fine for 48 48 # executables. 49 STRIP = strip 49 ifdef CROSS_COMPILE_ARCH 50 STRIP = $(ALT_COMPILER_PATH)/strip 51 else 52 STRIP = strip 53 endif 50 54 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1; 51 55 STRIP_AOUT = $(STRIP) -x $@ || exit 1; -
trunk/openjdk/hotspot/make/linux/makefiles/profiled.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/rules.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/sa.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # … … 41 41 SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar 42 42 43 # TODO: if it's a modules image, check if SA module is installed. 44 MODULELIB_PATH= $(BOOT_JAVA_HOME)/lib/modules 45 43 46 # gnumake 3.78.1 does not accept the *s that 44 47 # are in AGENT_FILES1 and AGENT_FILES2, so use the shell to expand them … … 53 56 54 57 # if $(AGENT_DIR) does not exist, we don't build SA 55 # also, we don't build SA on Itanium or zero.58 # also, we don't build SA on Itanium, PowerPC, ARM or zero. 56 59 57 60 all: 58 if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" -a "$(SRCARCH)" != "zero" ] ; then \ 61 if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" \ 62 -a "$(SRCARCH)" != "arm" \ 63 -a "$(SRCARCH)" != "ppc" \ 64 -a "$(SRCARCH)" != "zero" ] ; then \ 59 65 $(MAKE) -f sa.make $(GENERATED)/sa-jdi.jar; \ 60 66 fi … … 66 72 exit 1; \ 67 73 fi 68 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) ] ; then \74 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) -a ! -d $(MODULELIB_PATH) ] ; then \ 69 75 echo "Missing $(SA_CLASSPATH) file. Use 1.6.0 or later version of JDK";\ 70 76 echo ""; \ -
trunk/openjdk/hotspot/make/linux/makefiles/saproc.make
r2 r278 1 1 # 2 # Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2009, 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 # … … 26 26 27 27 # libsaproc[_g].so: serviceability agent 28 SAPROC = saproc$(G_SUFFIX) 28 29 SAPROC = saproc 29 30 LIBSAPROC = lib$(SAPROC).so 31 32 SAPROC_G = $(SAPROC)$(G_SUFFIX) 33 LIBSAPROC_G = lib$(SAPROC_G).so 30 34 31 35 AGENT_DIR = $(GAMMADIR)/agent … … 50 54 51 55 # if $(AGENT_DIR) does not exist, we don't build SA 52 # also, we don't build SA on Itanium or zero.56 # also, we don't build SA on Itanium, PPC, ARM or zero. 53 57 54 58 checkAndBuildSA: 55 $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" -a "$(SRCARCH)" != " zero" ] ; then \59 $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" -a "$(SRCARCH)" != "arm" -a "$(SRCARCH)" != "ppc" -a "$(SRCARCH)" != "zero" ] ; then \ 56 60 $(MAKE) -f vm.make $(LIBSAPROC); \ 57 61 fi … … 76 80 -o $@ \ 77 81 -lthread_db 82 $(QUIETLY) [ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); } 78 83 79 84 install_saproc: checkAndBuildSA -
trunk/openjdk/hotspot/make/linux/makefiles/sparc.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/sparcWorks.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/sparcv9.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 -
trunk/openjdk/hotspot/make/linux/makefiles/tiered.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 # -
trunk/openjdk/hotspot/make/linux/makefiles/top.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. 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 # … … 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 # … … 76 76 Include_DBs/TIERED = $(Include_DBs/CORE) $(VM)/includeDB_compiler1 $(VM)/includeDB_compiler2 77 77 Include_DBs/ZERO = $(Include_DBs/CORE) $(VM)/includeDB_zero 78 Include_DBs/SHARK = $(Include_DBs/ZERO) $(VM)/includeDB_shark 78 79 Include_DBs = $(Include_DBs/$(TYPE)) 79 80 -
trunk/openjdk/hotspot/make/linux/makefiles/vm.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. 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 # … … 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 # … … 99 99 # Extra flags from gnumake's invocation or environment 100 100 CFLAGS += $(EXTRA_CFLAGS) 101 LFLAGS += $(EXTRA_CFLAGS) 101 102 102 103 LIBS += -lm -ldl -lpthread … … 114 115 # JVM 115 116 116 JVM = jvm$(G_SUFFIX) 117 LIBJVM = lib$(JVM).so 117 JVM = jvm 118 LIBJVM = lib$(JVM).so 119 LIBJVM_G = lib$(JVM)$(G_SUFFIX).so 118 120 119 121 JVM_OBJ_FILES = $(Obj_Files) … … 121 123 vm_version.o: $(filter-out vm_version.o,$(JVM_OBJ_FILES)) 122 124 123 mapfile : $(MAPFILE) 125 mapfile : $(MAPFILE) vm.def 124 126 rm -f $@ 125 cat $^ > $@ 127 awk '{ if ($$0 ~ "INSERT VTABLE SYMBOLS HERE") \ 128 { system ("cat vm.def"); } \ 129 else \ 130 { print $$0 } \ 131 }' > $@ < $(MAPFILE) 126 132 127 133 mapfile_reorder : mapfile $(REORDERFILE) … … 129 135 cat $^ > $@ 130 136 131 ifeq ($(ZERO_LIBARCH), ppc64) 137 vm.def: $(Res_Files) $(Obj_Files) 138 sh $(GAMMADIR)/make/linux/makefiles/build_vm_def.sh *.o > $@ 139 140 ifeq ($(SHARK_BUILD), true) 132 141 STATIC_CXX = false 133 142 else 134 STATIC_CXX = true 143 ifeq ($(ZERO_LIBARCH), ppc64) 144 STATIC_CXX = false 145 else 146 STATIC_CXX = true 147 endif 135 148 endif 136 149 … … 159 172 ifeq ($(ZERO_BUILD), true) 160 173 LIBS_VM += $(LIBFFI_LIBS) 174 endif 175 ifeq ($(SHARK_BUILD), true) 176 LFLAGS_VM += $(LLVM_LDFLAGS) 177 LIBS_VM += $(LLVM_LIBS) 161 178 endif 162 179 … … 202 219 $(LINK_LIB.CC/POST_HOOK) \ 203 220 rm -f $@.1; ln -s $@ $@.1; \ 204 if [ -x /usr/sbin/selinuxenabled ] ; then \ 205 /usr/sbin/selinuxenabled; \ 206 if [ $$? = 0 ] ; then \ 207 /usr/bin/chcon -t textrel_shlib_t $@; \ 208 if [ $$? != 0 ]; then \ 209 echo "ERROR: Cannot chcon $@"; \ 210 fi \ 211 fi \ 212 fi \ 221 [ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \ 222 if [ \"$(CROSS_COMPILE_ARCH)\" = \"\" ] ; then \ 223 if [ -x /usr/sbin/selinuxenabled ] ; then \ 224 /usr/sbin/selinuxenabled; \ 225 if [ $$? = 0 ] ; then \ 226 /usr/bin/chcon -t textrel_shlib_t $@; \ 227 if [ $$? != 0 ]; then \ 228 echo "ERROR: Cannot chcon $@"; \ 229 fi \ 230 fi \ 231 fi \ 232 fi \ 213 233 } 214 234 -
trunk/openjdk/hotspot/make/linux/makefiles/zero.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # Copyright 2009 Red Hat, Inc. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/linux/makefiles/zeroshark.make
r2 r278 1 1 # 2 # Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 # Copyright 2007, 2008 Red Hat, Inc. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/openjdk_distro
r2 r278 1 1 # 2 # Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2007, 2008, 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 -
trunk/openjdk/hotspot/make/pic.make
r2 r278 1 1 # 2 # Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2007, 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 # -
trunk/openjdk/hotspot/make/sa.files
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/scm.make
r2 r278 1 1 # 2 # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2007, 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 -
trunk/openjdk/hotspot/make/solaris/Makefile
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/build.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/solaris/makefiles/adjust-mflags.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/solaris/makefiles/adlc.make
r2 r278 1 1 # 2 # Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2009, 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 # … … 148 148 TEMPDIR := $(OUTDIR)/mktmp$(shell echo $$$$) 149 149 150 # Debuggable by default 151 CFLAGS += -g 152 150 153 # Pass -D flags into ADLC. 151 154 ADLCFLAGS += $(SYSDEFS) … … 156 159 # Normally, debugging is done directly on the ad_<arch>*.cpp files. 157 160 # But -g will put #line directives in those files pointing back to <arch>.ad. 158 #ADLCFLAGS += -g161 ADLCFLAGS += -g 159 162 160 163 ifdef LP64 -
trunk/openjdk/hotspot/make/solaris/makefiles/amd64.make
r2 r278 1 1 # 2 # Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2004, 2008, 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 # … … 34 34 ifeq ("${Platform_compiler}", "sparcWorks") 35 35 36 # Temporary until C++ compiler is fixed37 38 # _lwp_create_interpose must have a frame39 OPT_CFLAGS/os_solaris_x86_64.o = -xO140 41 36 # Temporary until SS10 C++ compiler is fixed 42 37 OPT_CFLAGS/generateOptoStub.o = -xO2 43 OPT_CFLAGS/thread.o = -xO244 38 45 39 else -
trunk/openjdk/hotspot/make/solaris/makefiles/buildtree.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/compiler1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/compiler2.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/core.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/cscope.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/debug.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # … … 55 55 "-------------------------------------------------------------------------\n") 56 56 57 G_SUFFIX = 57 G_SUFFIX = _g 58 58 VERSION = debug 59 59 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/solaris/makefiles/defs.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 # … … 66 66 67 67 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html 68 69 # client and server subdirectories have symbolic links to ../libjsig.so 70 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so 71 68 72 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server 73 ifneq ($(BUILD_CLIENT_ONLY),true) 69 74 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt 70 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so71 75 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so 72 76 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so 73 77 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so 78 endif 74 79 ifeq ($(ARCH_DATA_MODEL), 32) 75 80 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client 76 81 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt 77 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so78 82 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so 79 83 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so 80 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so 81 ifeq ($(ARCH),sparc) 84 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so 85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so 86 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so 87 ifneq ($(BUILD_CLIENT_ONLY), true) 82 88 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so 83 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so84 89 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so 85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so86 90 endif 87 91 endif -
trunk/openjdk/hotspot/make/solaris/makefiles/dtrace.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 25 25 # Rules to build jvm_db/dtrace, used by vm.make 26 26 27 # we build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER228 # but not for CORE configuration27 # We build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER2 28 # but not for CORE or KERNEL configurations. 29 29 30 30 ifneq ("${TYPE}", "CORE") … … 38 38 else 39 39 40 41 40 JVM_DB = libjvm_db 42 LIBJVM_DB = libjvm$(G_SUFFIX)_db.so 41 LIBJVM_DB = libjvm_db.so 42 LIBJVM_DB_G = libjvm$(G_SUFFIX)_db.so 43 43 44 44 JVM_DTRACE = jvm_dtrace 45 LIBJVM_DTRACE = libjvm$(G_SUFFIX)_dtrace.so 45 LIBJVM_DTRACE = libjvm_dtrace.so 46 LIBJVM_DTRACE_G = libjvm$(G_SUFFIX)_dtrace.so 46 47 47 48 JVMOFFS = JvmOffsets … … 78 79 else 79 80 LFLAGS_JVM_DB += -mt $(PICFLAG) -xnolib 80 LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib 81 LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib -ldl 81 82 endif 82 83 … … 87 88 88 89 XLIBJVM_DB = 64/$(LIBJVM_DB) 90 XLIBJVM_DB_G = 64/$(LIBJVM_DB_G) 89 91 XLIBJVM_DTRACE = 64/$(LIBJVM_DTRACE) 92 XLIBJVM_DTRACE_G = 64/$(LIBJVM_DTRACE_G) 90 93 91 94 $(XLIBJVM_DB): $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS).h $(LIBJVM_DB_MAPFILE) … … 94 97 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. -I$(GENERATED) \ 95 98 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc 99 [ -f $(XLIBJVM_DB_G) ] || { ln -s $(LIBJVM_DB) $(XLIBJVM_DB_G); } 100 96 101 $(XLIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) 97 102 @echo Making $@ … … 99 104 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. \ 100 105 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor 106 [ -f $(XLIBJVM_DTRACE_G) ] || { ln -s $(LIBJVM_DTRACE) $(XLIBJVM_DTRACE_G); } 107 101 108 endif # ifneq ("${ISA}","${BUILDARCH}") 102 109 … … 143 150 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. -I$(GENERATED) \ 144 151 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc 152 [ -f $(LIBJVM_DB_G) ] || { ln -s $@ $(LIBJVM_DB_G); } 145 153 146 154 $(LIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(XLIBJVM_DTRACE) $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) … … 148 156 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. \ 149 157 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor 158 [ -f $(LIBJVM_DTRACE_G) ] || { ln -s $@ $(LIBJVM_DTRACE_G); } 150 159 151 160 $(DTRACE).d: $(DTRACE_SRCDIR)/hotspot.d $(DTRACE_SRCDIR)/hotspot_jni.d \ -
trunk/openjdk/hotspot/make/solaris/makefiles/fastdebug.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # … … 37 37 OPT_CFLAGS/SLOWER = -xO2 38 38 39 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876)40 39 ifeq ($(COMPILER_REV_NUMERIC), 509) 41 # To avoid jvm98 crash 42 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) 43 # Not clear this workaround could be skipped in some cases. 44 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) 45 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) 46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) 47 endif 40 # To avoid jvm98 crash 41 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) 42 endif # COMPILER_NUMERIC_REV == 509 43 44 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 45 # dtrace cannot handle tail call optimization (6672627, 6693876) 46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 47 endif # COMPILER_NUMERIC_REV >= 509 48 48 49 49 ifeq ($(COMPILER_REV_NUMERIC), 505) … … 91 91 OPT_CFLAGS/ciEnv.o = $(OPT_CFLAGS) -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_ 92 92 93 94 93 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) 95 94 … … 116 115 MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) 117 116 118 119 G_SUFFIX = 117 G_SUFFIX = _g 120 118 VERSION = optimized 121 119 SYSDEFS += -DASSERT -DFASTDEBUG -DCHECK_UNHANDLED_OOPS -
trunk/openjdk/hotspot/make/solaris/makefiles/gcc.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/hp.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/hp1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/i486.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # … … 34 34 # 35 35 ifeq ("${Platform_compiler}", "sparcWorks") 36 37 # _lwp_create_interpose must have a frame38 OPT_CFLAGS/os_solaris_x86.o = -xO139 else40 41 ifeq ("${Platform_compiler}", "gcc")42 # gcc43 # _lwp_create_interpose must have a frame44 OPT_CFLAGS/os_solaris_x86.o = -fno-omit-frame-pointer45 #46 else47 # error48 _JUNK2_ := $(shell echo >&2 \49 "*** ERROR: this compiler is not yet supported by this code base!")50 @exit 151 endif52 endif53 54 ifeq ("${Platform_compiler}", "sparcWorks")55 36 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7) 56 37 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 507), 1) -
trunk/openjdk/hotspot/make/solaris/makefiles/jsig.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 26 26 27 27 # libjsig[_g].so: signal interposition library 28 JSIG = jsig$(G_SUFFIX) 29 LIBJSIG = lib$(JSIG).so 28 JSIG = jsig 29 LIBJSIG = lib$(JSIG).so 30 31 JSIG_G = $(JSIG)$(G_SUFFIX) 32 LIBJSIG_G = lib$(JSIG_G).so 30 33 31 34 JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm … … 47 50 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ 48 51 $(LFLAGS_JSIG) -o $@ $< -ldl 52 [ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); } 49 53 50 54 install_jsig: $(LIBJSIG) -
trunk/openjdk/hotspot/make/solaris/makefiles/jvmg.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 52 52 MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) 53 53 54 G_SUFFIX = 54 G_SUFFIX = _g 55 55 VERSION = debug 56 56 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/solaris/makefiles/jvmti.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/kernel.make
r2 r278 1 1 # 2 # Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2007, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/launcher.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 26 26 27 27 # gamma[_g]: launcher 28 LAUNCHER = gamma$(G_SUFFIX) 28 LAUNCHER = gamma 29 LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX) 29 30 30 31 LAUNCHERDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher … … 80 81 81 82 $(LAUNCHER): $(LAUNCHER.o) $(LIBJVM) $(LAUNCHER_MAPFILE) 83 ifeq ($(filter -sbfast -xsbfast, $(CFLAGS_BROWSE)),) 84 @echo Linking launcher... 85 $(QUIETLY) $(LINK_LAUNCHER/PRE_HOOK) 82 86 $(QUIETLY) \ 83 case "$(CFLAGS_BROWSE)" in \ 84 -sbfast|-xsbfast) \ 85 ;; \ 86 *) \ 87 echo Linking launcher...; \ 88 $(LINK_LAUNCHER/PRE_HOOK) \ 89 $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \ 90 $(LINK_LAUNCHER/POST_HOOK) \ 91 ;; \ 92 esac 87 $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER) 88 $(QUIETLY) $(LINK_LAUNCHER/POST_HOOK) 89 [ -f $(LAUNCHER_G) ] || ln -s $@ $(LAUNCHER_G) 90 endif # filter -sbfast -xsbfast 91 -
trunk/openjdk/hotspot/make/solaris/makefiles/makedeps.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers
r2 r278 4 4 5 5 # 6 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.6 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 7 7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 8 # … … 21 21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 22 # 23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,24 # CA 95054 USA or visit www.sun.com if you need additional information or25 # have anyquestions.23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 24 # or visit www.oracle.com if you need additional information or have any 25 # questions. 26 26 # 27 27 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-COMPILER1
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-COMPILER2
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-CORE
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-TIERED
r2 r278 2 2 3 3 # 4 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-debug
r2 r278 2 2 3 3 # 4 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jsig
r2 r278 2 2 3 3 # 4 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jvm_db
r2 r278 2 2 3 3 # 4 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jvm_dtrace
r2 r278 2 2 3 3 # 4 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-nonproduct
r2 r278 2 2 3 3 # 4 # Copyright 2001-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/optimized.make
r2 r278 1 1 # 2 # Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2009, 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 # … … 33 33 ifeq ("${Platform_compiler}", "sparcWorks") 34 34 35 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 36 ifeq ($(COMPILER_REV_NUMERIC),509) 37 # Not clear this workaround could be skipped in some cases. 38 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 39 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 40 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 41 endif 35 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 36 # dtrace cannot handle tail call optimization (6672627, 6693876) 37 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 38 endif # COMPILER_NUMERIC_REV >= 509 42 39 43 40 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) -
trunk/openjdk/hotspot/make/solaris/makefiles/product.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # … … 41 41 ifeq ("${Platform_compiler}", "sparcWorks") 42 42 43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 44 ifeq ($(COMPILER_REV_NUMERIC),509) 45 # Not clear this workaround could be skipped in some cases. 46 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 47 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 48 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 49 endif 43 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 44 # dtrace cannot handle tail call optimization (6672627, 6693876) 45 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 46 endif # COMPILER_NUMERIC_REV >= 509 50 47 51 48 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) -
trunk/openjdk/hotspot/make/solaris/makefiles/profiled.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/rules.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/sa.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # … … 36 36 # tools.jar is needed by the JDI - SA binding 37 37 SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar 38 39 # TODO: if it's a modules image, check if SA module is installed. 40 MODULELIB_PATH= $(BOOT_JAVA_HOME)/lib/modules 38 41 39 42 # gnumake 3.78.1 does not accept the *s that … … 60 63 exit 1; \ 61 64 fi 62 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) ] ; then \65 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) -a ! -d $(MODULELIB_PATH) ] ; then \ 63 66 echo "Missing $(SA_CLASSPATH) file. Use 1.6.0 or later version of JDK";\ 64 67 echo ""; \ -
trunk/openjdk/hotspot/make/solaris/makefiles/saproc.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # … … 26 26 27 27 # libsaproc[_g].so: serviceability agent 28 SAPROC = saproc$(G_SUFFIX) 28 29 SAPROC = saproc 29 30 LIBSAPROC = lib$(SAPROC).so 31 32 SAPROC_G = $(SAPROC)$(G_SUFFIX) 33 LIBSAPROC_G = lib$(SAPROC_G).so 30 34 31 35 AGENT_DIR = $(GAMMADIR)/agent … … 70 74 -o $@ \ 71 75 -ldl -ldemangle -lthread -lc 76 [ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); } 72 77 73 78 install_saproc: checkAndBuildSA -
trunk/openjdk/hotspot/make/solaris/makefiles/sparc.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/sparcWorks.make
r2 r278 1 1 # 2 # Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2009, 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 # … … 49 49 ifeq ($(JRE_RELEASE_VER),1.6.0) 50 50 # Validated compiler for JDK6 is SS11 (5.8) 51 VALIDATED_COMPILER_REV := 5.8 52 VALIDATED_C_COMPILER_REV := 5.8 53 else 54 # Validated compiler for JDK7 is SS12 (5.9) 55 VALIDATED_COMPILER_REV := 5.9 56 VALIDATED_C_COMPILER_REV := 5.9 57 endif 58 59 # Warning messages about not using the above validated version 60 ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := ${VALIDATED_COMPILER_REV} 61 ifneq (${COMPILER_REV},${ENFORCE_COMPILER_REV}) 62 dummy_target_to_enforce_compiler_rev:=\ 63 $(shell echo >&2 WARNING: You are using CC version ${COMPILER_REV} \ 64 and should be using version ${ENFORCE_COMPILER_REV}. Set ENFORCE_COMPILER_REV=${COMPILER_REV} to avoid this warning.) 65 endif 66 67 ENFORCE_C_COMPILER_REV${ENFORCE_C_COMPILER_REV} := ${VALIDATED_C_COMPILER_REV} 68 ifneq (${C_COMPILER_REV},${ENFORCE_C_COMPILER_REV}) 69 dummy_target_to_enforce_c_compiler_rev:=\ 70 $(shell echo >&2 WARNING: You are using cc version ${C_COMPILER_REV} \ 71 and should be using version ${ENFORCE_C_COMPILER_REV}. Set ENFORCE_C_COMPILER_REV=${C_COMPILER_REV} to avoid this warning.) 51 VALIDATED_COMPILER_REVS := 5.8 52 VALIDATED_C_COMPILER_REVS := 5.8 53 else 54 # Validated compilers for JDK7 are SS12 (5.9) or SS12 update 1 (5.10) 55 VALIDATED_COMPILER_REVS := 5.9 5.10 56 VALIDATED_C_COMPILER_REVS := 5.9 5.10 57 endif 58 59 # Warning messages about not using the above validated versions 60 ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := $(strip ${VALIDATED_COMPILER_REVS}) 61 ifeq ($(filter ${ENFORCE_COMPILER_REV},${COMPILER_REV}),) 62 PRINTABLE_CC_REVS := $(subst $(shell echo ' '), or ,${ENFORCE_COMPILER_REV}) 63 dummy_var_to_enforce_compiler_rev := $(shell \ 64 echo >&2 WARNING: You are using CC version ${COMPILER_REV} and \ 65 should be using version ${PRINTABLE_CC_REVS}.; \ 66 echo >&2 Set ENFORCE_COMPILER_REV=${COMPILER_REV} to avoid this \ 67 warning.) 68 endif 69 70 ENFORCE_C_COMPILER_REV${ENFORCE_C_COMPILER_REV} := $(strip ${VALIDATED_C_COMPILER_REVS}) 71 ifeq ($(filter ${ENFORCE_C_COMPILER_REV},${C_COMPILER_REV}),) 72 PRINTABLE_C_REVS := $(subst $(shell echo ' '), or ,${ENFORCE_C_COMPILER_REV}) 73 dummy_var_to_enforce_c_compiler_rev := $(shell \ 74 echo >&2 WARNING: You are using cc version ${C_COMPILER_REV} and \ 75 should be using version ${PRINTABLE_C_REVS}.; \ 76 echo >&2 Set ENFORCE_C_COMPILER_REV=${C_COMPILER_REV} to avoid this \ 77 warning.) 72 78 endif 73 79 … … 141 147 142 148 ################################################# 149 # Begin current (>=5.9) Forte compiler options # 150 ################################################# 151 152 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 153 ifeq ($(Platform_arch), x86) 154 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz 155 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz 156 OPT_CFLAGS/stubGenerator_x86_32.o = $(OPT_CFLAGS) -xspace 157 OPT_CFLAGS/stubGenerator_x86_64.o = $(OPT_CFLAGS) -xspace 158 endif # Platform_arch == x86 159 ifeq ("${Platform_arch}", "sparc") 160 OPT_CFLAGS/stubGenerator_sparc.o = $(OPT_CFLAGS) -xspace 161 endif 162 endif # COMPILER_REV_NUMERIC >= 509 163 164 ################################################# 143 165 # Begin current (>=5.6) Forte compiler options # 144 166 ################################################# … … 182 204 ifeq ("${Platform_arch_model}", "x86_32") 183 205 184 OPT_CFLAGS=-xtarget=pentium $(EXTRA_OPT_CFLAGS) 185 186 # UBE (CC 5.5) has bug 4923569 with -xO4 187 OPT_CFLAGS+=-xO3 206 OPT_CFLAGS=-xtarget=pentium -xO4 $(EXTRA_OPT_CFLAGS) 188 207 189 208 endif # 32bit x86 … … 282 301 endif 283 302 284 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_sparc/vm/solaris_sparc.il285 286 303 endif # sparc 287 304 … … 294 311 OPT_CFLAGS+=-xO3 295 312 296 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_x86/vm/solaris_x86_32.il297 298 313 endif # 32bit x86 299 314 300 315 # no more exceptions 301 316 CFLAGS/NOEX=-noex 317 318 # Inline functions 319 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_${Platform_arch}/vm/solaris_${Platform_arch_model}.il 302 320 303 321 # Reduce code bloat by reverting back to 5.0 behavior for static initializers … … 313 331 PICFLAG/BYFILE = $(PICFLAG/$@)$(PICFLAG/DEFAULT$(PICFLAG/$@)) 314 332 333 # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file. 334 MAPFLAG = -M FILENAME 335 336 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj 337 SONAMEFLAG = -h SONAME 338 339 # Build shared library 340 SHARED_FLAG = -G 341 315 342 # Would be better if these weren't needed, since we link with CC, but 316 343 # at present removing them causes run-time errors … … 454 481 455 482 # Special global options for SS12 456 ifeq ($( COMPILER_REV_NUMERIC),509)483 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 457 484 # There appears to be multiple issues with the new Dwarf2 debug format, so 458 485 # we tell the compiler to use the older 'stabs' debug format all the time. -
trunk/openjdk/hotspot/make/solaris/makefiles/sparcv9.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/tiered.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/top.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/solaris/makefiles/vm.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # … … 109 109 LIBS += -lsocket -lsched -ldl $(LIBM) -lCrun -lthread -ldoor -lc 110 110 else 111 ifeq ($(COMPILER_REV_NUMERIC), 502) 112 # SC6.1 has it's own libm.so: specifying anything else provokes a name conflict. 113 LIBS += -ldl -lthread -lsocket -lm -lsched -ldoor 114 else 111 115 LIBS += -ldl -lthread -lsocket $(LIBM) -lsched -ldoor 112 endif 116 endif # 502 117 endif # 505 113 118 else 114 119 LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc 115 endif 120 endif # sparcWorks 116 121 117 122 # By default, link the *.o into the library, not the executable. … … 127 132 # JVM 128 133 129 JVM = jvm$(G_SUFFIX) 130 LIBJVM = lib$(JVM).so 134 JVM = jvm 135 LIBJVM = lib$(JVM).so 136 LIBJVM_G = lib$(JVM)$(G_SUFFIX).so 131 137 132 138 JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS) … … 169 175 # making the library: 170 176 $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) 171 $(QUIETLY) \ 172 case "$(CFLAGS_BROWSE)" in \ 173 -sbfast|-xsbfast) \ 174 ;; \ 175 *) \ 176 echo Linking vm...; \ 177 $(LINK_LIB.CC/PRE_HOOK) \ 178 $(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \ 179 $(LINK_LIB.CC/POST_HOOK) \ 180 rm -f $@.1; ln -s $@ $@.1; \ 181 ;; \ 182 esac 177 ifeq ($(filter -sbfast -xsbfast, $(CFLAGS_BROWSE)),) 178 @echo Linking vm... 179 $(QUIETLY) $(LINK_LIB.CC/PRE_HOOK) 180 $(QUIETLY) $(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM) 181 $(QUIETLY) $(LINK_LIB.CC/POST_HOOK) 182 $(QUIETLY) rm -f $@.1 && ln -s $@ $@.1 183 $(QUIETLY) [ -f $(LIBJVM_G) ] || ln -s $@ $(LIBJVM_G) 184 $(QUIETLY) [ -f $(LIBJVM_G).1 ] || ln -s $@.1 $(LIBJVM_G).1 185 endif # filter -sbfast -xsbfast 186 183 187 184 188 DEST_JVM = $(JDK_LIBDIR)/$(VM_SUBDIR)/$(LIBJVM) -
trunk/openjdk/hotspot/make/solaris/reorder.sh
r2 r278 1 1 #!/bin/sh -x 2 2 # 3 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/templates/bsd-header
r2 r278 1 Copyright %YEARS% Sun Microsystems, Inc. All Rights Reserved.1 Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved. 2 2 3 3 Redistribution and use in source and binary forms, with or without … … 12 12 documentation and/or other materials provided with the distribution. 13 13 14 - Neither the name of Sun Microsystemsnor the names of its14 - Neither the name of Oracle nor the names of its 15 15 contributors may be used to endorse or promote products derived 16 16 from this software without specific prior written permission. -
trunk/openjdk/hotspot/make/templates/gpl-cp-header
r2 r278 1 Copyright %YEARS% Sun Microsystems, Inc. All Rights Reserved.1 Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved. 2 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 3 4 4 This code is free software; you can redistribute it and/or modify it 5 5 under the terms of the GNU General Public License version 2 only, as 6 published by the Free Software Foundation. Sundesignates this6 published by the Free Software Foundation. Oracle designates this 7 7 particular file as subject to the "Classpath" exception as provided 8 by Sunin the LICENSE file that accompanied this code.8 by Oracle in the LICENSE file that accompanied this code. 9 9 10 10 This code is distributed in the hope that it will be useful, but WITHOUT … … 18 18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 20 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 CA 95054 USA or visit www.sun.com if you need additional information or 22 have anyquestions.20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 or visit www.oracle.com if you need additional information or have any 22 questions. -
trunk/openjdk/hotspot/make/templates/gpl-header
r2 r278 1 Copyright %YEARS% Sun Microsystems, Inc. All Rights Reserved.1 Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved. 2 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 3 … … 16 16 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 17 18 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,19 CA 95054 USA or visit www.sun.com if you need additional information or 20 have anyquestions.18 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 or visit www.oracle.com if you need additional information or have any 20 questions. -
trunk/openjdk/hotspot/make/test/Queens.java
r2 r278 1 1 /* 2 * Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, 2008, 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 */ -
trunk/openjdk/hotspot/make/windows/README
r2 r278 1 Copyright (c) 200 7 Sun Microsystems, Inc. All Rights Reserved.1 Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 2 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 3 … … 16 16 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 17 18 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,19 CA 95054 USA or visit www.sun.com if you need additional information or 20 have anyquestions.18 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 or visit www.oracle.com if you need additional information or have any 20 questions. 21 21 22 22 ________________________________________________________________________________ -
trunk/openjdk/hotspot/make/windows/build.bat
r2 r278 1 1 @echo off 2 2 REM 3 REM Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.3 REM Copyright (c) 1997, 2008, 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 … … 18 18 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 REM 20 REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 REM CA 95054 USA or visit www.sun.com if you need additional information or22 REM have anyquestions.20 REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 REM or visit www.oracle.com if you need additional information or have any 22 REM questions. 23 23 REM 24 24 REM … … 28 28 REM Since we don't have uname and we could be cross-compiling, 29 29 REM Use the compiler to determine which ARCH we are building 30 REM 31 REM Note: Running this batch file from the Windows command shell requires 32 REM that "grep" be accessible on the PATH. An MKS install does this. 30 33 REM 31 34 cl 2>&1 | grep "IA-64" >NUL … … 58 61 if "%1" == "debug" goto test1 59 62 if "%1" == "fastdebug" goto test1 63 if "%1" == "tree" goto test1 60 64 goto usage 61 65 62 66 :test1 63 67 if "%2" == "core" goto test2 64 if "%2" == "kernel" goto test268 if "%2" == "kernel" goto test2 65 69 if "%2" == "compiler1" goto test2 66 70 if "%2" == "compiler2" goto test2 … … 71 75 72 76 :test2 77 if "%1" == "tree" goto build_tree 73 78 REM check_j2se_version 74 79 REM jvmti.make requires J2SE 1.4.x or newer. … … 94 99 goto end 95 100 101 :build_tree 102 nmake -f %3/make/windows/build.make Variant=%2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION="%5" %1 103 goto end 104 96 105 :usage 97 106 echo Usage: build flavor version workspace bootstrap_dir [build_id] [windbg_home] … … 101 110 echo version is "core", "kernel", "compiler1", "compiler2", or "tiered", 102 111 echo workspace is source directory without trailing slash, 103 echo bootstrap_dir is a full path to echoa JDK in which bin/java104 echo and bin/javac are present and working, and echobuild_id is an112 echo bootstrap_dir is a full path to a JDK in which bin/java 113 echo and bin/javac are present and working, and build_id is an 105 114 echo optional build identifier displayed by java -version 115 exit /b 1 106 116 107 117 :end 118 exit /b %errorlevel% -
trunk/openjdk/hotspot/make/windows/build.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # … … 27 27 # environment variables (Variant, WorkSpace, BootStrapDir, BuildUser, HOTSPOT_BUILD_VERSION) 28 28 # are passed in as command line arguments. 29 30 # Note: Running nmake or build.bat from the Windows command shell requires 31 # that "sh" be accessible on the PATH. An MKS install does this. 29 32 30 33 # SA components are built if BUILD_WIN_SA=1 is specified. … … 233 236 cd $(variantDir) 234 237 nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product DEVELOP=1 ARCH=$(ARCH) 238 239 # target to create just the directory structure 240 tree: checks $(variantDir) $(variantDir)\local.make sanity 241 mkdir $(variantDir)\product 242 mkdir $(variantDir)\debug 243 mkdir $(variantDir)\fastdebug 235 244 236 245 sanity: -
trunk/openjdk/hotspot/make/windows/build_vm_def.sh
r2 r278 1 1 # 2 # Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2009, 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 # … … 59 59 60 60 if [ "x$LINK_VER" != "x800" -a "x$LINK_VER" != "x900" ]; then 61 $DUMPBIN /symbols *.obj | "$GREP" "??_7.*@@6B@" | "$ AWK" '{print $7}' | "$SORT" | "$UNIQ" > vm2.def61 $DUMPBIN /symbols *.obj | "$GREP" "??_7.*@@6B@" | "$GREP" -v "type_info" | "$AWK" '{print $7}' | "$SORT" | "$UNIQ" > vm2.def 62 62 else 63 63 # Can't use pipes when calling cl.exe or link.exe from IDE. Using transit file vm3.def 64 64 $DUMPBIN /OUT:vm3.def /symbols *.obj 65 "$CAT" vm3.def | "$GREP" "??_7.*@@6B@" | "$ AWK" '{print $7}' | "$SORT" | "$UNIQ" > vm2.def65 "$CAT" vm3.def | "$GREP" "??_7.*@@6B@" | "$GREP" -v "type_info" | "$AWK" '{print $7}' | "$SORT" | "$UNIQ" > vm2.def 66 66 "$RM" -f vm3.def 67 67 fi -
trunk/openjdk/hotspot/make/windows/create.bat
r2 r278 1 1 @echo off 2 2 REM 3 REM Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.3 REM Copyright (c) 1999, 2009, 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 … … 18 18 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 REM 20 REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 REM CA 95054 USA or visit www.sun.com if you need additional information or22 REM have anyquestions.20 REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 REM or visit www.oracle.com if you need additional information or have any 22 REM questions. 23 23 REM 24 24 REM … … 36 36 REM Since we don't have uname and we could be cross-compiling, 37 37 REM Use the compiler to determine which ARCH we are building 38 REM 39 REM Note: Running this batch file from the Windows command shell requires 40 REM that "grep" be accessible on the PATH. An MKS install does this. 38 41 REM 39 42 cl 2>&1 | grep "IA-64" >NUL -
trunk/openjdk/hotspot/make/windows/cross_build.bat
r2 r278 1 1 @echo off 2 2 REM 3 REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.3 REM Copyright (c) 2003, 2008, 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 … … 18 18 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 REM 20 REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 REM CA 95054 USA or visit www.sun.com if you need additional information or22 REM have anyquestions.20 REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 REM or visit www.oracle.com if you need additional information or have any 22 REM questions. 23 23 REM 24 24 REM -
trunk/openjdk/hotspot/make/windows/get_msc_ver.sh
r2 r278 1 1 # 2 # Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2009, 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 # 24 25 set -e 24 26 25 27 # This shell script echoes "MSC_VER=<munged version of cl>" … … 39 41 40 42 if [ "x$HotSpotMksHome" != "x" ]; then 41 MKS_HOME="$HotSpotMksHome"43 TOOL_DIR="$HotSpotMksHome" 42 44 else 43 SH=`which sh` 44 MKS_HOME=`dirname "$SH"` 45 # HotSpotMksHome is not set so use the directory that contains "sh". 46 # This works with both MKS and Cygwin. 47 SH=`which sh` 48 TOOL_DIR=`dirname "$SH"` 45 49 fi 46 50 47 HEAD="$MKS_HOME/head" 48 ECHO="$MKS_HOME/echo" 49 EXPR="$MKS_HOME/expr" 50 CUT="$MKS_HOME/cut" 51 SED="$MKS_HOME/sed" 51 DIRNAME="$TOOL_DIR/dirname" 52 HEAD="$TOOL_DIR/head" 53 ECHO="$TOOL_DIR/echo" 54 EXPR="$TOOL_DIR/expr" 55 CUT="$TOOL_DIR/cut" 56 SED="$TOOL_DIR/sed" 52 57 53 58 if [ "x$FORCE_MSC_VER" != "x" ]; then … … 71 76 echo "LINK_VER=$FORCE_LINK_VER" 72 77 else 73 LINK_VER_RAW=`link 2>&1 | "$HEAD" -n 1 | "$SED" 's/.*Version[\ ]*\([0-9][0-9.]*\).*/\1/'` 78 # use the "link" command that is co-located with the "cl" command 79 cl_cmd=`which cl` 80 if [ "x$cl_cmd" != "x" ]; then 81 link_cmd=`$DIRNAME "$cl_cmd"`/link 82 else 83 # which can't find "cl" so just use which ever "link" we find 84 link_cmd="link" 85 fi 86 LINK_VER_RAW=`"$link_cmd" 2>&1 | "$HEAD" -n 1 | "$SED" 's/.*Version[\ ]*\([0-9][0-9.]*\).*/\1/'` 74 87 LINK_VER_MAJOR=`"$ECHO" $LINK_VER_RAW | "$CUT" -d'.' -f1` 75 88 LINK_VER_MINOR=`"$ECHO" $LINK_VER_RAW | "$CUT" -d'.' -f2` -
trunk/openjdk/hotspot/make/windows/makefiles/adlc.make
r2 r278 1 1 # 2 # Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2009, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/compile.make
r2 r278 1 1 # 2 # Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2009, 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 # … … 93 93 # 1400 is for VS2005 94 94 # 1500 is for VS2008 95 # 1600 is for VS2010 95 96 # Do not confuse this MSC_VER with the predefined macro _MSC_VER that the 96 97 # compiler provides, when MSC_VER==1399, _MSC_VER will be 1400. … … 122 123 COMPILER_NAME=VS2008 123 124 !endif 125 !if "$(MSC_VER)" == "1600" 126 COMPILER_NAME=VS2010 127 !endif 124 128 !endif 125 129 … … 174 178 175 179 !if "$(COMPILER_NAME)" == "VS2008" 180 PRODUCT_OPT_OPTION = /O2 /Oy- 181 FASTDEBUG_OPT_OPTION = /O2 /Oy- 182 DEBUG_OPT_OPTION = /Od 183 GX_OPTION = /EHsc 184 LINK_FLAGS = /manifest $(LINK_FLAGS) 185 # Manifest Tool - used in VS2005 and later to adjust manifests stored 186 # as resources inside build artifacts. 187 MT=mt.exe 188 !endif 189 190 !if "$(COMPILER_NAME)" == "VS2010" 176 191 PRODUCT_OPT_OPTION = /O2 /Oy- 177 192 FASTDEBUG_OPT_OPTION = /O2 /Oy- -
trunk/openjdk/hotspot/make/windows/makefiles/debug.make
r2 r278 1 1 # 2 # Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/defs.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 # … … 33 33 34 34 # Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name 35 ifeq ($(ARCH_DATA_MODEL),32) 36 ARCH_DATA_MODEL=32 37 PLATFORM=windows-i586 38 VM_PLATFORM=windows_i486 39 HS_ARCH=x86 40 MAKE_ARGS += ARCH=x86 41 MAKE_ARGS += BUILDARCH=i486 42 MAKE_ARGS += Platform_arch=x86 43 MAKE_ARGS += Platform_arch_model=x86_32 44 endif 45 35 46 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) x86),) 36 47 ARCH_DATA_MODEL=32 … … 44 55 endif 45 56 46 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),) 47 ARCH_DATA_MODEL=64 48 PLATFORM=windows-ia64 49 VM_PLATFORM=windows_ia64 50 HS_ARCH=ia64 51 MAKE_ARGS += LP64=1 52 MAKE_ARGS += ARCH=ia64 53 MAKE_ARGS += BUILDARCH=ia64 54 MAKE_ARGS += Platform_arch=ia64 55 MAKE_ARGS += Platform_arch_model=ia64 56 endif 57 58 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),) 59 ARCH_DATA_MODEL=64 60 PLATFORM=windows-amd64 61 VM_PLATFORM=windows_amd64 62 HS_ARCH=x86 63 MAKE_ARGS += LP64=1 64 MAKE_ARGS += ARCH=x86 65 MAKE_ARGS += BUILDARCH=amd64 66 MAKE_ARGS += Platform_arch=x86 67 MAKE_ARGS += Platform_arch_model=x86_64 57 ifneq ($(ARCH_DATA_MODEL),32) 58 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),) 59 ARCH_DATA_MODEL=64 60 PLATFORM=windows-ia64 61 VM_PLATFORM=windows_ia64 62 HS_ARCH=ia64 63 MAKE_ARGS += LP64=1 64 MAKE_ARGS += ARCH=ia64 65 MAKE_ARGS += BUILDARCH=ia64 66 MAKE_ARGS += Platform_arch=ia64 67 MAKE_ARGS += Platform_arch_model=ia64 68 endif 69 70 # http://support.microsoft.com/kb/888731 : this can be either 71 # AMD64 for AMD, or EM64T for Intel chips. 72 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),) 73 ARCH_DATA_MODEL=64 74 PLATFORM=windows-amd64 75 VM_PLATFORM=windows_amd64 76 HS_ARCH=x86 77 MAKE_ARGS += LP64=1 78 MAKE_ARGS += ARCH=x86 79 MAKE_ARGS += BUILDARCH=amd64 80 MAKE_ARGS += Platform_arch=x86 81 MAKE_ARGS += Platform_arch_model=x86_64 82 endif 83 84 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) EM64T),) 85 ARCH_DATA_MODEL=64 86 PLATFORM=windows-amd64 87 VM_PLATFORM=windows_amd64 88 HS_ARCH=x86 89 MAKE_ARGS += LP64=1 90 MAKE_ARGS += ARCH=x86 91 MAKE_ARGS += BUILDARCH=amd64 92 MAKE_ARGS += Platform_arch=x86 93 MAKE_ARGS += Platform_arch_model=x86_64 94 endif 95 96 # NB later OS versions than 2003 may report "Intel64" 97 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),) 98 ARCH_DATA_MODEL=64 99 PLATFORM=windows-amd64 100 VM_PLATFORM=windows_amd64 101 HS_ARCH=x86 102 MAKE_ARGS += LP64=1 103 MAKE_ARGS += ARCH=x86 104 MAKE_ARGS += BUILDARCH=amd64 105 MAKE_ARGS += Platform_arch=x86 106 MAKE_ARGS += Platform_arch_model=x86_64 107 endif 68 108 endif 69 109 -
trunk/openjdk/hotspot/make/windows/makefiles/fastdebug.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/generated.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/jvmti.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/makedeps.make
r2 r278 1 1 # 2 # Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2009, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/product.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/rules.make
r2 r278 1 1 # 2 # Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2009, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/sa.make
r2 r278 1 1 # 2 # Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2009, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/sanity.make
r2 r278 1 1 # 2 # Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2009, 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 # … … 28 28 29 29 checkCL: 30 @ if "$(MSC_VER)" NEQ "1310" if "$(MSC_VER)" NEQ "1399" if "$(MSC_VER)" NEQ "1400" if "$(MSC_VER)" NEQ "1500" \30 @ if "$(MSC_VER)" NEQ "1310" if "$(MSC_VER)" NEQ "1399" if "$(MSC_VER)" NEQ "1400" if "$(MSC_VER)" NEQ "1500" if "$(MSC_VER)" NEQ "1600" \ 31 31 echo *** WARNING *** unrecognized cl.exe version $(MSC_VER) ($(RAW_MSC_VER)). Use FORCE_MSC_VER to override automatic detection. 32 32 33 33 checkLink: 34 @ if "$(LINK_VER)" NEQ "710" if "$(LINK_VER)" NEQ "800" if "$(LINK_VER)" NEQ "900" \34 @ if "$(LINK_VER)" NEQ "710" if "$(LINK_VER)" NEQ "800" if "$(LINK_VER)" NEQ "900" if "$(LINK_VER)" NEQ "1000" \ 35 35 echo *** WARNING *** unrecognized link.exe version $(LINK_VER) ($(RAW_LINK_VER)). Use FORCE_LINK_VER to override automatic detection. -
trunk/openjdk/hotspot/make/windows/makefiles/shared.make
r2 r278 1 1 # 2 # Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/top.make
r2 r278 1 1 # 2 # Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/makefiles/vm.make
r2 r278 1 1 # 2 # Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2009, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/common/Makefile
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler1/Makefile
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/compiler2/Makefile
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/core/Makefile
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/kernel/Makefile
r2 r278 1 1 # 2 # Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2007, 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 # -
trunk/openjdk/hotspot/make/windows/projectfiles/tiered/Makefile
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, 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 #
Note:
See TracChangeset
for help on using the changeset viewer.