jdk/make/java/redist/Makefile
author michaelm
Tue, 06 Mar 2012 20:34:38 +0000
changeset 12047 320a714614e9
parent 10603 c315c8424ce2
child 12293 6c4b13381b81
permissions -rw-r--r--
7113349: Initial changeset for Macosx port to jdk Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks Contributed-by: Alan Bateman <alan.bateman@oracle.com>, Alexander Potochkin <alexander.potochkin@oracle.com>, Alexander Zuev <alexander.zuev@oracle.com>, Andrew Brygin <andrew.brygin@oracle.com>, Artem Ananiev <artem.ananiev@oracle.com>, Alex Strange <astrange@apple.com>, Bino George <bino@apple.com>, Christine Lu <christine.lu@oracle.com>, David Katleman <david.katleman@oracle.com>, David Durrence <david_durrence@apple.com>, Dmitry Cherepanov <dmitry.cherepanov@oracle.com>, Greg Lewis <glewis@eyesbeyond.com>, Kevin Miller <kevin_m_miller@apple.com>, Kurt Miller <kurt@intricatesoftware.com>, Landon Fuller <landonf@plausiblelabs.com>, Leonid Romanov <leonid.romanov@oracle.com>, Loefty Walkowiak <loefty@apple.com>, Mark Reinhold <mark.reinhold@oracle.com>, Naoto Sato <naoto.sato@oracle.com>, Philip Race <philip.race@oracle.com>, Roger Hoover <rhoover@apple.com>, Scott Kovatch <scott.kovatch@oracle.com>, Sergey ByloKhov <sergey.bylokhov@oracle.com>, Mike Swingler <swingler@apple.com>, Tomas Hurka <tomas.hurka@oracle.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
9035
1255eb81cc2f 7033660: Update copyright year to 2011 on any files changed in 2011
ohair
parents: 8793
diff changeset
     2
# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# Imports files exported by a hotspot build or provided from an external
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#   location into the OUTPUTDIR, and also primes the OUTPUTDIR with files
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#   that are provided inside this workspace.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# IMPORT_LIST contains the list of destination files that are copied 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#     from external places (outside this workspace).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
BUILDDIR = ../..
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
PRODUCT  = java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
include $(BUILDDIR)/common/Defs.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
SERVER_LOCATION = server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
CLIENT_LOCATION = client
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
DB_SUFFIX = _db
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
    45
DTRACE_SUFFIX = _dtrace
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
  LIB_LOCATION = $(BINDIR)
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10603
diff changeset
    49
else ifeq ($(PLATFORM), macosx)
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10603
diff changeset
    50
  LIB_LOCATION = $(LIBDIR)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
  LIB_LOCATION = $(LIBDIR)/$(LIBARCH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
JVM_NAME               = $(LIB_PREFIX)jvm.$(LIBRARY_SUFFIX)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
JVMLIB_NAME            = $(LIB_PREFIX)jvm.$(LIB_SUFFIX)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
JVMMAP_NAME            = $(LIB_PREFIX)jvm.map
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
JVMPDB_NAME            = $(LIB_PREFIX)jvm.pdb
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
LIBJSIG_NAME           = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
JVMDB_NAME             = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX)
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
    61
JVMDTRACE_NAME         = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).$(LIBRARY_SUFFIX)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    63
JVM_DEBUGINFO_NAME       = $(LIB_PREFIX)jvm.debuginfo
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    64
LIBJSIG_DEBUGINFO_NAME   = $(LIB_PREFIX)jsig.debuginfo
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    65
JVMDB_DEBUGINFO_NAME     = $(LIB_PREFIX)jvm$(DB_SUFFIX).debuginfo
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    66
JVMDTRACE_DEBUGINFO_NAME = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).debuginfo
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    67
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
CLASSSHARINGDATA_DIR   = $(BUILDDIR)/tools/sharing
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
# Needed to do file copy
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
ABS_BUILDDIR :=$(call FullPath,$(BUILDDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    73
SUBDIRS_desktop = fonts
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    74
SUBDIRS_tools   = sajdi
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    75
include $(BUILDDIR)/common/Subdirs.gmk
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    76
4665
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    77
all clean clobber::
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    78
	$(SUBDIRS-loop)
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    79
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    80
all:: build
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
# List of files created here or coming from BUILDDIR area (this workspace)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
INTERNAL_IMPORT_LIST = $(LIBDIR)/classlist
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
# List of files coming from outside this workspace
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    86
ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    87
  IMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    88
                $(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    89
  ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    90
    # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    91
    ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    92
      IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    93
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    94
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    95
else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    96
  IMPORT_LIST =
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    97
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
    99
# Hotspot client is only available on 32-bit non-Zero builds
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   100
ifneq ($(ZERO_BUILD), true)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                 $(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   104
  ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   105
    # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   106
    ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   107
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   108
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   109
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
endif
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   111
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
#  Windows     vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
IMPORT_LIST += $(MS_RUNTIME_LIBRARIES:%=$(BINDIR)/%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
1776
33e9405ab91b 6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents: 2
diff changeset
   118
$(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
	$(install-import-file)
4665
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
   120
	$(call chmod-file, a+x)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
# Get the hotspot .map and .pdb files for client and server
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   123
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
IMPORT_LIST += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
	$(LIBDIR)/$(JVMLIB_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
	$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
	$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME)
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   128
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   130
# Add .map and .pdb files to the import path for client and kernel VMs. 
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   131
# These are only available on 32-bit windows builds. 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME)
3114
f503507dcce5 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents: 3111
diff changeset
   135
  ifeq ($(DO_KERNEL), true)
f503507dcce5 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents: 3111
diff changeset
   136
    IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME) \
f503507dcce5 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents: 3111
diff changeset
   137
                   $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME)
f503507dcce5 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents: 3111
diff changeset
   138
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
$(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
	$(install-import-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
# it is OK for the .map and .pdb files to not exist, so do not force a 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
# dependency on them from the bootstrap location, and allow the copy to fail.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME)  $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   150
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME):
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   151
	@$(prep-target)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   152
	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMMAP_NAME)  $@
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   153
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   154
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   158
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)  $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   164
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME):
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   165
	@$(prep-target)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   166
	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME)  $@
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   167
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   168
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   172
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
#  Windows     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
else # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
#  NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  NOT Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   178
IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_NAME) 
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   179
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   180
  # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   181
  ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   182
    IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   183
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   184
endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   185
ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   186
  IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   187
  ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   188
    # the import JDK may not contain the target of the symlink
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   189
    ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   190
      IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   191
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   192
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   193
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
ifeq ($(PLATFORM), solaris)
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   196
  ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   197
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   198
    ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   199
      # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   200
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDB_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   201
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   202
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   203
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   204
    # The conditional can be removed when import JDKs contain these files.
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   205
    ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   206
      IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   207
      ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   208
        # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   209
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   210
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   211
        endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   212
      endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   213
    else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   214
      $(warning WARNING: $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   215
    endif 
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   216
  endif 
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   217
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   219
ifneq ($(ZERO_BUILD), true)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   223
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   224
  # the import JDK may not contain the target of the symlink
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   225
  ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   226
    IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   227
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   228
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
#  solaris   vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   233
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   234
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   235
  # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   236
  ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   237
    IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   238
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   239
endif
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   240
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   241
# The conditional can be removed when import JDKs contain these files.
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   242
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME)),)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   243
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   244
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   245
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   246
  ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   247
    # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   248
    ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   249
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   250
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   251
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   252
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   253
  endif
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   254
else
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   255
  $(warning WARNING: $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME) not found!)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   258
ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   259
  # The conditional can be removed when import JDKs contain these files.
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   260
  ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   261
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   262
    ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   263
      # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   264
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   265
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   266
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   267
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   268
  else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   269
    $(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   270
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   272
  # The conditional can be removed when import JDKs contain these files.
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   273
  ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   274
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_NAME)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   275
    ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   276
      # the import JDK may not contain .debuginfo files
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   277
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME)),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   278
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   279
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   280
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   281
  else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   282
    $(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   283
 endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
IMPORT_LIST += $(LIB_LOCATION)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
$(LIB_LOCATION)/$(JVM_NAME): $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
#  solaris   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
endif # 32bit solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
endif # 32bit
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   297
endif # ZERO_BUILD
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   298
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
#  NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
endif # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   305
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   307
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   308
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   309
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   310
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   311
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   312
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_NAME): $(HOTSPOT_KERNEL_PATH)/$(JVM_NAME)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   313
	$(install-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   314
	@$(call binary_file_verification,$@)
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   315
4062
203caeb1e9a8 6896472: Missing libjsig.so causes jdk build failure
ohair
parents: 3288
diff changeset
   316
$(LIB_LOCATION)/$(LIBJSIG_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_NAME)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   318
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   320
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   321
$(LIB_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   322
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   323
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   324
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   325
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
	@$(prep-target)
4665
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
   329
	$(call install-sym-link, ../$(LIBJSIG_NAME))
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   330
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   331
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   332
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) \
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   333
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME):
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   334
	@$(prep-target)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   335
	$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME))
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   336
endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   337
else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   338
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME):
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   339
	@$(prep-target)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   340
	$(call install-sym-link, ../$(LIBJSIG_NAME))
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   341
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   342
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   343
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME):
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   344
	@$(prep-target)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   345
	$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME))
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   346
endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   347
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   351
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   355
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   357
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   358
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   359
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   360
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   361
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   362
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   363
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   364
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   365
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   368
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   372
	@$(call binary_file_verification,$@)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   373
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   374
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   375
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   376
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   377
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   378
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   379
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   380
endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   381
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   383
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   384
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   385
	@$(call binary_file_verification,$@)
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   386
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   387
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   388
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   389
	@$(call binary_file_verification,$@)
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   390
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   391
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   392
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   393
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   394
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   395
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   396
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   397
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   398
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   399
ifndef BUILD_CLIENT_ONLY
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   400
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   401
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   402
	@$(call binary_file_verification,$@)
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   403
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   404
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME)
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   405
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   406
	@$(call binary_file_verification,$@)
6378
5c7242a0a4a5 6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents: 5506
diff changeset
   407
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   410
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   412
ifneq ($(OBJCOPY),)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   413
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   414
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   415
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   416
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   417
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   418
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   419
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_DEBUGINFO_NAME)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   420
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   421
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   422
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
$(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt : $(HOTSPOT_SERVER_PATH)/Xusage.txt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
	$(install-import-file)
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   425
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
$(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt : $(HOTSPOT_CLIENT_PATH)/Xusage.txt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
	$(install-import-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   430
$(LIB_LOCATION)/$(KERNEL_LOCATION)/Xusage.txt : $(HOTSPOT_KERNEL_PATH)/Xusage.txt
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   431
	$(install-file)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   432
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
#
7666
7b994e3dd41d 7008723: Remove binary plugs creation and use from openjdk
ohair
parents: 6378
diff changeset
   434
# Specific to non-OpenJDK building
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
#
7666
7b994e3dd41d 7008723: Remove binary plugs creation and use from openjdk
ohair
parents: 6378
diff changeset
   436
ifndef OPENJDK
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
INTERNAL_IMPORT_LIST += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
            $(LIBDIR)/security/US_export_policy.jar \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
            $(LIBDIR)/security/local_policy.jar \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
            $(LIBDIR)/jce.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
$(LIBDIR)/jce.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
	    $(BUILDDIR)/closed/tools/crypto/jce/jce.jar
8583
15dea0fdc2ea 7025631: Remove the modules build support from jdk 7
mchung
parents: 8018
diff changeset
   445
	$(install-file)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
$(LIBDIR)/security/US_export_policy.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
	    $(BUILDDIR)/closed/tools/crypto/jce/US_export_policy.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
	$(install-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
$(LIBDIR)/security/local_policy.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
	    $(BUILDDIR)/closed/tools/crypto/jce/local_policy.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
	$(install-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
endif # OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
ADDJSUM_JARFILE = $(BUILDTOOLJARDIR)/addjsum.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
# Construct classlist file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
$(LIBDIR)/classlist: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
    $(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
    $(ADDJSUM_JARFILE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
	@$(RM) -f $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
	$(BOOT_JAVA_CMD) -jar $(ADDJSUM_JARFILE) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
	    $(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
# Import internal files (ones that are stashed in this source tree)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
import_internal_files : $(INTERNAL_IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
# Import files from the JDK that we are not building
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
import_files: $(IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
# Get component information variables and rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
include $(BUILDDIR)/common/internal/ImportComponents.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
# Security files we need to import
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
SEC_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
SEC_FILES_WIN_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-windows-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
JGSS_WIN32_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-i586-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
JGSS_WIN64_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-x64-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
# Unzip zip file $2 into directory $1 (if $2 exists)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
#   Warning: $2 must be absolute path not relative
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
define SecUnzipper
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
if [ -f $2 ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
  $(MKDIR) -p $1; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
  $(ECHO) "( $(CD) $1 && $(UNZIP) -o $2 )"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
  ( $(CD) $1 && $(UNZIP) -o $2 ); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
# If sec-bin exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
#   Also, the library recompile build indirectly depends on two SSL classes,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
#   so copy those as well   FIXUP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
#   if sec-windows-bin exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
#   if JGSS files exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
$(TEMPDIR)/security_imported:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
	@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
	@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_WIN_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
    ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
	@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN32_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
    else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
	@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN64_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
    endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
	@$(ECHO) "Imported on `$(DATE)`" > $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
# Import all files from other components
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
$(TEMPDIR)/components_imported:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
	$(call import-component-binaries,$(ABS_OUTPUTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
	$(call import-component-sources,$(IMPORTSRCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
	$(call import-component-docs,$(IMPORTDOCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
	$(call import-component-classes,$(CLASSDESTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
	@$(ECHO) "Imported on `$(DATE)`" > $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
# Do pretty much everything
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
build : import_files \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
	import_internal_files \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
	$(TEMPDIR)/components_imported \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
	$(TEMPDIR)/security_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
# Clean up what we imported (except for component files)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
	$(RM) $(IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
	$(RM) $(INTERNAL_IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
	$(call import-component-sources-clean,$(IMPORTSRCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
	$(call import-component-docs-clean,$(IMPORTDOCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
	$(call import-component-classes-clean,$(CLASSDESTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
	$(RM) $(TEMPDIR)/components_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
	$(RM) $(TEMPDIR)/security_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
.PHONY: import_files import_internal_files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538