Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/jdk/make/common/Library.gmk

    r274 r278  
    11#
    2 # Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
    55# This code is free software; you can redistribute it and/or modify it
    66# under the terms of the GNU General Public License version 2 only, as
    7 # published by the Free Software Foundation.  Sun designates this
     7# published by the Free Software Foundation.  Oracle designates this
    88# particular file as subject to the "Classpath" exception as provided
    9 # by Sun in the LICENSE file that accompanied this code.
     9# by Oracle in the LICENSE file that accompanied this code.
    1010#
    1111# This code is distributed in the hope that it will be useful, but WITHOUT
     
    1919# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    2020#
    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 or
    23 # have any questions.
     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.
    2424#
    2525
     
    8484endif
    8585
    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=true
    90 else
    91   ifeq ($(LIBRARY),zip)
    92     COMPILE_IT=true
    93   else
    94     COMPILE_IT=false
    95   endif
    96 endif
    97 
    98 # If a Makefile has specified a pre-compiled closed src lib, just copy it.
    99 ifdef USE_BINARY_PLUG_LIBRARY
    100   COMPILE_IT=false
    101 endif
    102 
    103 # We either need to import (copy) libraries in, or build them
    104 ifeq ($(COMPILE_IT),true)
    105 
    10686$(ACTUAL_LIBRARY):: $(INIT) $(TEMPDIR) $(LIBDIR) $(BINDIR) $(EXTDIR) classheaders
    10787
     
    303283endif
    304284
    305 else  # COMPILE_IT
    306 
    307 # OpenJDK rule is first so any lib is preferentially copied from that location.
    308 ifndef USE_BINARY_PLUG_LIBRARY
    309 
    310 # In this case we are just copying the file.
    311 ifneq ($(LIBRARY), fdlibm)
    312 # Copies in the file from the JDK_IMPORT_PATH area
    313 $(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 # fdlibm
    324 $(ACTUAL_LIBRARY_DIR)/%:
    325         $(prep-target)
    326 endif # fdlibm
    327 
    328 endif # USE_BINARY_PLUG_LIBRARY
    329 
    330 endif # COMPILE_IT
    331 
    332285#
    333286# Class libraries with JNI native methods get a include to the package.
Note: See TracChangeset for help on using the changeset viewer.