Changeset 278 for trunk/openjdk/jdk/make/common/Defs.gmk
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/jdk/make/common/Defs.gmk
r189 r278 1 1 # 2 # Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # 5 5 # This code is free software; you can redistribute it and/or modify it 6 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Sundesignates this7 # published by the Free Software Foundation. Oracle designates this 8 8 # particular file as subject to the "Classpath" exception as provided 9 # by Sunin the LICENSE file that accompanied this code.9 # by Oracle in the LICENSE file that accompanied this code. 10 10 # 11 11 # This code is distributed in the hope that it will be useful, but WITHOUT … … 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 … … 111 111 endif 112 112 113 # If OPENJDK is defined, we may still need to use some native libraries that114 # exist only as part of the closed source. If the closed sources are not115 # available, the libraries must have been pre-built. Since these libraries116 # and the JDK internal interfaces to these are reasonably stable this is not117 # a significant problem. But we do need to provide a way to locate them,118 # including a way to point to a new one when there have been changes.119 #120 # If you have a formal binary plugs download, set ALT_BINARY_PLUGS_PATH121 # to the location.122 # (Optionally you can set ALT_CLOSED_JDK_IMPORT_PATH to point to the latest123 # build JDK, or last promotion for this JDK version, but will not work124 # on windows).125 #126 # As the OPENJDK is built, the binary plugs are used instead of building the127 # libraries.128 # Individual Makefiles that specify USE_BINARY_PLUG_LIBRARY, will get129 # the binary plug copy (or a copy from a built JDK).130 #131 # See common/internal/BinaryPlugs.gmk for more information.132 #133 # Usage notes:134 #135 # ALT_BINARY_PLUGS_JARFILE is probably rarely needed. It can be used136 # to identify the exact jar file to be used for all closed classes..137 #138 # ALT_BINARY_PLUGS_PATH points to a directory containing precisely the139 # binaries needed to build.140 #141 # ALT_BUILD_BINARY_PLUGS_PATH points to a directory containing binary plug dirs142 # multiple architectures named using the standard conventions143 # This is useful for build scripts that need to build multiple architectures144 # of the OpenJDK.145 #146 # ALT_CLOSED_JDK_IMPORT_PATH points to the top-level of a specific platform147 # JDK image.148 #149 # The precedence is that150 # 1. ALT_BINARY_PLUGS_JARFILE overrides any other location of the classes151 # 2. ALT_BINARY_PLUGS_PATH overrides all locations of classes and libraries152 # 3. ALT_BUILD_BINARY_PLUGS_PATH is used to find a ALT_BINARY_PLUGS_PATH153 # 4. ALT_CLOSED_JDK_IMPORT_PATH is used to locate classes and libraries154 #155 156 # Always needed, defines the name of the imported/exported jarfile157 BINARY_PLUGS_JARNAME = rt-closed.jar158 159 ifdef OPENJDK160 ifndef IMPORT_BINARY_PLUGS161 IMPORT_BINARY_PLUGS=false162 endif163 ifdef ALT_CLOSED_JDK_IMPORT_PATH164 CLOSED_JDK_IMPORT_PATH = $(ALT_CLOSED_JDK_IMPORT_PATH)165 BINARY_PLUGS_PATH = $(CLOSED_JDK_IMPORT_PATH)166 BINARY_PLUGS_JARFILE = $(CLOSED_JDK_IMPORT_PATH)/jre/lib/rt.jar167 endif168 ifdef ALT_BUILD_BINARY_PLUGS_PATH169 BUILD_BINARY_PLUGS_PATH = $(ALT_BUILD_BINARY_PLUGS_PATH)170 else171 BUILD_BINARY_PLUGS_PATH = $(SLASH_JAVA)/re/openjdk/$(JDK_MINOR_VERSION)/promoted/latest/openjdk/binaryplugs172 endif173 BINARY_PLUGS_PATH = $(BUILD_BINARY_PLUGS_PATH)/$(PLATFORM)-$(ARCH)174 BINARY_PLUGS_JARFILE = $(BINARY_PLUGS_PATH)/jre/lib/$(BINARY_PLUGS_JARNAME)175 ifdef ALT_BINARY_PLUGS_PATH176 BINARY_PLUGS_PATH = $(ALT_BINARY_PLUGS_PATH)177 BINARY_PLUGS_JARFILE = $(BINARY_PLUGS_PATH)/jre/lib/$(BINARY_PLUGS_JARNAME)178 endif179 ifdef ALT_BINARY_PLUGS_JARFILE180 BINARY_PLUGS_JARFILE = $(ALT_BINARY_PLUGS_JARFILE)181 endif182 endif # OPENJDK183 184 113 # Default output directory 185 114 ifdef OPENJDK … … 291 220 292 221 LDLIBS_COMMON += $(EXTRA_LIBS) 293 294 #295 # Default is to build, not import native binaries296 #297 ifndef IMPORT_NATIVE_BINARIES298 IMPORT_NATIVE_BINARIES=false299 endif300 # If importing libraries in, no incremental builds301 ifeq ($(IMPORT_NATIVE_BINARIES),true)302 INCREMENTAL_BUILD=false303 endif304 222 305 223 # for generated libraries
Note:
See TracChangeset
for help on using the changeset viewer.