Changeset 278 for trunk/openjdk/jdk/make/common/Library.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/Library.gmk
r274 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 … … 84 84 endif 85 85 86 # FIXUP: unpack needs the zip .o files. So we must build zip?87 # or fix unpack makefile so it uses Program.gmk.88 ifneq ($(IMPORT_NATIVE_BINARIES),true)89 COMPILE_IT=true90 else91 ifeq ($(LIBRARY),zip)92 COMPILE_IT=true93 else94 COMPILE_IT=false95 endif96 endif97 98 # If a Makefile has specified a pre-compiled closed src lib, just copy it.99 ifdef USE_BINARY_PLUG_LIBRARY100 COMPILE_IT=false101 endif102 103 # We either need to import (copy) libraries in, or build them104 ifeq ($(COMPILE_IT),true)105 106 86 $(ACTUAL_LIBRARY):: $(INIT) $(TEMPDIR) $(LIBDIR) $(BINDIR) $(EXTDIR) classheaders 107 87 … … 303 283 endif 304 284 305 else # COMPILE_IT306 307 # OpenJDK rule is first so any lib is preferentially copied from that location.308 ifndef USE_BINARY_PLUG_LIBRARY309 310 # In this case we are just copying the file.311 ifneq ($(LIBRARY), fdlibm)312 # Copies in the file from the JDK_IMPORT_PATH area313 $(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/%314 $(install-import-file)315 $(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/native_threads/%316 $(install-import-file)317 $(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/headless/%318 $(install-import-file)319 $(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/motif21/%320 $(install-import-file)321 $(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/xawt/%322 $(install-import-file)323 else # fdlibm324 $(ACTUAL_LIBRARY_DIR)/%:325 $(prep-target)326 endif # fdlibm327 328 endif # USE_BINARY_PLUG_LIBRARY329 330 endif # COMPILE_IT331 332 285 # 333 286 # Class libraries with JNI native methods get a include to the package.
Note:
See TracChangeset
for help on using the changeset viewer.