Changeset 278 for trunk/openjdk/hotspot/make/linux
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 43 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/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 #
Note:
See TracChangeset
for help on using the changeset viewer.