jdk/make/java/redist/Makefile
author dcubed
Thu, 17 May 2012 06:26:05 -0700
changeset 12697 79006a8e17dd
parent 12293 6c4b13381b81
child 20887 e6ca3d58bfe9
permissions -rw-r--r--
7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231 Summary: ZIP libjsig.debuginfo links into libjsig.diz files since aurora doesn't like dangling symlinks Reviewed-by: katleman
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
     2
# Copyright (c) 1997, 2012, 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
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    64
JVM_DIZ_NAME             = $(LIB_PREFIX)jvm.diz
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    65
LIBJSIG_DEBUGINFO_NAME   = $(LIB_PREFIX)jsig.debuginfo
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    66
LIBJSIG_DIZ_NAME         = $(LIB_PREFIX)jsig.diz
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    67
JVMDB_DEBUGINFO_NAME     = $(LIB_PREFIX)jvm$(DB_SUFFIX).debuginfo
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    68
JVMDB_DIZ_NAME           = $(LIB_PREFIX)jvm$(DB_SUFFIX).diz
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    69
JVMDTRACE_DEBUGINFO_NAME = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).debuginfo
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    70
JVMDTRACE_DIZ_NAME       = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).diz
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
    71
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
CLASSSHARINGDATA_DIR   = $(BUILDDIR)/tools/sharing
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
# Needed to do file copy
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
ABS_BUILDDIR :=$(call FullPath,$(BUILDDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
4917
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    77
SUBDIRS_desktop = fonts
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    78
SUBDIRS_tools   = sajdi
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    79
include $(BUILDDIR)/common/Subdirs.gmk
c98da2209f8c 6915413: Module build: building of specified jdk components instead of all
mchung
parents: 4665
diff changeset
    80
4665
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    81
all clean clobber::
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    82
	$(SUBDIRS-loop)
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    83
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
    84
all:: build
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
# List of files created here or coming from BUILDDIR area (this workspace)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
INTERNAL_IMPORT_LIST = $(LIBDIR)/classlist
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
# List of files coming from outside this workspace
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    90
ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    91
  IMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
    92
                $(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    93
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    94
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    95
      # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    96
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    97
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    98
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
    99
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   100
      # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   101
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   102
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   103
      endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   104
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   105
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   106
else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   107
  IMPORT_LIST =
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   108
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   110
# 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
   111
ifneq ($(ZERO_BUILD), true)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
                 $(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   115
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   116
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   117
      # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   118
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   119
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   120
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   121
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   122
      # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   123
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   124
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   125
      endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   126
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   127
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
endif
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   129
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
#  Windows     vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
IMPORT_LIST += $(MS_RUNTIME_LIBRARIES:%=$(BINDIR)/%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
1776
33e9405ab91b 6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents: 2
diff changeset
   136
$(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
	$(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
   138
	$(call chmod-file, a+x)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
# 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
   141
ifndef BUILD_CLIENT_ONLY
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   142
  IMPORT_LIST += $(LIBDIR)/$(JVMLIB_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   143
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   144
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   145
      # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   146
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   147
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   148
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   149
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   150
      # the import JDK may not contain .pdb files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   151
      ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   152
        # assume .map file is present if .pdb file is preset
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   153
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   154
	  $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   155
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   156
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   157
  endif
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
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   160
# 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
   161
# These are only available on 32-bit windows builds. 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
ifeq ($(ARCH_DATA_MODEL), 32)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   163
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   164
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   165
      # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   166
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   167
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   168
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   169
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   170
      # the import JDK may not contain .pdb files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   171
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   172
        # assume .map file is present if .pdb file is preset
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   173
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   174
                       $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   175
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   176
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   177
    ifeq ($(DO_KERNEL), true)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   178
      ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   179
        # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   180
        ifneq ($(wildcard $(HOTSPOT_KERNEL_PATH)/$(JVM_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   181
          IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   182
        endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   183
      else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   184
        # the import JDK may not contain .pdb files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   185
        ifneq ($(wildcard $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   186
          # assume .map file is present if .pdb file is preset
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   187
          IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME) \
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   188
                         $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   189
        endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   190
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   191
    endif
3114
f503507dcce5 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents: 3111
diff changeset
   192
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
$(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
	$(install-import-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
# it is OK for the .map and .pdb files to not exist, so do not force a 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
# dependency on them from the bootstrap location, and allow the copy to fail.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME)  $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   204
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME):
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   205
	@$(prep-target)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   206
	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMMAP_NAME)  $@
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   207
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   208
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   212
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)  $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   218
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME):
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   219
	@$(prep-target)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   220
	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME)  $@
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   221
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   222
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME):
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   223
	@$(prep-target)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   224
	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)  $@
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   225
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   226
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_DIZ_NAME):
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   227
	@$(prep-target)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   228
	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVM_DIZ_NAME)  $@
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   229
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   230
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   234
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   235
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME):
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   236
	@$(prep-target)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   237
	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME) $@
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   238
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
#  Windows     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
else # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
#  NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  NOT Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   244
IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_NAME) 
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   245
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   246
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   247
    # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   248
    ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   249
      IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   250
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   251
  else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   252
    # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   253
    ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   254
      IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   255
    endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   256
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   257
endif
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
  IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   260
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   261
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   262
      # the import JDK may not contain the target of the symlink
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   263
      ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   264
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DIZ_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   265
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   266
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   267
      # the import JDK may not contain the target of the symlink
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   268
      ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   269
        IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   270
      endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   271
    endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   272
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   273
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
ifeq ($(PLATFORM), solaris)
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   276
  ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   277
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   278
    ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   279
      ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   280
        # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   281
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDB_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   282
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   283
        endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   284
      else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   285
        # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   286
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDB_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   287
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   288
        endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   289
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   290
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   291
    # 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
   292
    ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   293
      IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   294
      ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   295
        ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   296
          # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   297
          ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   298
            IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   299
          endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   300
        else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   301
          # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   302
          ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   303
            IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   304
          endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   305
        endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   306
      endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   307
    else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   308
      $(warning WARNING: $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   309
    endif 
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   310
  endif 
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   311
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   313
ifneq ($(ZERO_BUILD), true)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   317
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   318
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   319
    # the import JDK may not contain the target of the symlink
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   320
    ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   321
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DIZ_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   322
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   323
  else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   324
    # the import JDK may not contain the target of the symlink
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   325
    ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   326
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   327
    endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   328
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   329
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
#  solaris   vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
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
   334
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   335
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   336
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   337
    # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   338
    ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   339
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   340
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   341
  else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   342
    # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   343
    ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   344
      IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   345
    endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   346
  endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   347
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
   348
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
   349
# 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
   350
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
   351
  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
   352
  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
   353
  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   354
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   355
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   356
      # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   357
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   358
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   359
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   360
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   361
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   362
    else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   363
      # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   364
      ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   365
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   366
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   367
        IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   368
      endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   369
    endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   370
  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
   371
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
   372
  $(warning WARNING: $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME) not found!)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   375
ifndef BUILD_CLIENT_ONLY
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   376
  # 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
   377
  ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   378
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   379
    ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   380
      ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   381
        # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   382
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   383
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   384
        endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   385
      else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   386
        # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   387
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   388
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   389
        endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   390
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   391
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   392
  else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   393
    $(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   394
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   396
  # 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
   397
  ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME)),)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   398
    IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_NAME)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   399
    ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   400
      ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   401
        # the import JDK may not contain .diz files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   402
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DIZ_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   403
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   404
        endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   405
      else
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   406
        # the import JDK may not contain .debuginfo files
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   407
        ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME)),)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   408
          IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   409
        endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   410
      endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   411
    endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   412
  else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   413
    $(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME) not found!)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   414
 endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
IMPORT_LIST += $(LIB_LOCATION)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
$(LIB_LOCATION)/$(JVM_NAME): $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
#  solaris   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
endif # 32bit solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
endif # 32bit
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
4111
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   428
endif # ZERO_BUILD
ffc9c33335f4 6891677: java/build integrate zero assembler JDK changes
gbenson
parents: 3288
diff changeset
   429
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
#  NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
endif # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   436
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   438
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   439
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   440
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   441
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   442
  else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   443
$(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
   444
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   445
  endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   446
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   447
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   448
$(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
   449
	$(install-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   450
	@$(call binary_file_verification,$@)
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   451
4062
203caeb1e9a8 6896472: Missing libjsig.so causes jdk build failure
ohair
parents: 3288
diff changeset
   452
$(LIB_LOCATION)/$(LIBJSIG_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_NAME)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   454
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   456
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   457
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   458
$(LIB_LOCATION)/$(LIBJSIG_DIZ_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   459
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   460
  else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   461
$(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
   462
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   463
  endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   464
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   465
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   466
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME):
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
	@$(prep-target)
4665
d14dc3d9e1fa 6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents: 4340
diff changeset
   470
	$(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
   471
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   472
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   473
# We don't create a symlink to a libjsig.diz file, but we do put
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   474
# the libjsig.debuginfo symlink into a libjsig.diz file. The aurora
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   475
# system does not like dangling symlinks.
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   476
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   477
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DIZ_NAME) \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   478
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DIZ_NAME):
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   479
	@$(prep-target)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   480
	$(LN) -s ../$(LIBJSIG_DEBUGINFO_NAME) $(@D)/$(LIBJSIG_DEBUGINFO_NAME)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   481
	( $(CD) $(@D) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   482
	 $(ZIPEXE) -y $(LIBJSIG_DIZ_NAME) $(LIBJSIG_DEBUGINFO_NAME) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   483
	 $(RM) $(LIBJSIG_DEBUGINFO_NAME) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   484
	)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   485
    else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   486
$(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
   487
$(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
   488
	@$(prep-target)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   489
	$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME))
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   490
    endif
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   491
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   492
else
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   493
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME):
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   494
	@$(prep-target)
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   495
	$(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
   496
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   497
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   498
# We don't create a symlink to a libjsig.diz file, but we do put
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   499
# the libjsig.debuginfo symlink into a libjsig.diz file. The aurora
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   500
# system does not like dangling symlinks.
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   501
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   502
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DIZ_NAME):
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   503
	@$(prep-target)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   504
	$(LN) -s ../$(LIBJSIG_DEBUGINFO_NAME) $(@D)/$(LIBJSIG_DEBUGINFO_NAME)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   505
	( $(CD) $(@D) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   506
	 $(ZIPEXE) -y $(LIBJSIG_DIZ_NAME) $(LIBJSIG_DEBUGINFO_NAME) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   507
	 $(RM) $(LIBJSIG_DEBUGINFO_NAME) ; \
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   508
	)
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   509
    else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   510
$(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
   511
	@$(prep-target)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   512
	$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME))
12697
79006a8e17dd 7168520: No jdk8 TL Nightly linux builds due to broken link in b39-2012-05-13_231
dcubed
parents: 12293
diff changeset
   513
    endif
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   514
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   515
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   519
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   523
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   525
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   526
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   527
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   528
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   529
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   530
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   531
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   532
  else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   533
$(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
   534
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   535
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   536
$(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
   537
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   538
  endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   539
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   540
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   541
ifndef BUILD_CLIENT_ONLY
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   544
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   548
	@$(call binary_file_verification,$@)
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   549
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   550
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   551
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   552
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   553
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   554
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   555
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   556
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   557
    else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   558
$(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
   559
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   560
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   561
$(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
   562
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   563
    endif
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   564
  endif
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   565
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
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
   567
$(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
   568
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   569
	@$(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
   570
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
   571
$(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
   572
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   573
	@$(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
   574
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   575
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   576
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   577
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   578
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   579
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   580
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   581
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   582
  else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   583
$(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
   584
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   585
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   586
$(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
   587
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   588
  endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   589
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   590
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   591
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
   592
$(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
   593
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   594
	@$(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
   595
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
   596
$(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
   597
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   598
	@$(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
   599
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
	$(install-import-file)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7668
diff changeset
   602
	@$(call binary_file_verification,$@)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   604
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   605
  ifeq ($(ZIP_DEBUGINFO_FILES),1)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   606
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   607
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   608
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   609
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   610
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   611
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   612
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   613
	$(install-import-file)
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   614
  else
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   615
$(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
   616
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   617
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   618
$(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
   619
	$(install-import-file)
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   620
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   621
$(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
   622
	$(install-import-file)
12293
6c4b13381b81 7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents: 12047
diff changeset
   623
  endif
10603
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   624
endif
c315c8424ce2 7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents: 9035
diff changeset
   625
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
$(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt : $(HOTSPOT_SERVER_PATH)/Xusage.txt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
	$(install-import-file)
8792
cd1dceb2d665 7027897: Build support for client-VM only configurations
dholmes
parents: 8018
diff changeset
   628
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
$(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt : $(HOTSPOT_CLIENT_PATH)/Xusage.txt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
	$(install-import-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
3111
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   633
$(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
   634
	$(install-file)
fefdeafb7ab9 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents: 2301
diff changeset
   635
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
#
7666
7b994e3dd41d 7008723: Remove binary plugs creation and use from openjdk
ohair
parents: 6378
diff changeset
   637
# Specific to non-OpenJDK building
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
#
7666
7b994e3dd41d 7008723: Remove binary plugs creation and use from openjdk
ohair
parents: 6378
diff changeset
   639
ifndef OPENJDK
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
INTERNAL_IMPORT_LIST += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
            $(LIBDIR)/security/US_export_policy.jar \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
            $(LIBDIR)/security/local_policy.jar \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
            $(LIBDIR)/jce.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   645
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
$(LIBDIR)/jce.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
	    $(BUILDDIR)/closed/tools/crypto/jce/jce.jar
8583
15dea0fdc2ea 7025631: Remove the modules build support from jdk 7
mchung
parents: 8018
diff changeset
   648
	$(install-file)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
$(LIBDIR)/security/US_export_policy.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   650
	    $(BUILDDIR)/closed/tools/crypto/jce/US_export_policy.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
	$(install-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
$(LIBDIR)/security/local_policy.jar: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
	    $(BUILDDIR)/closed/tools/crypto/jce/local_policy.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   654
	$(install-file)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   655
90ce3da70b43 Initial load
duke
parents:
diff changeset
   656
endif # OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   657
90ce3da70b43 Initial load
duke
parents:
diff changeset
   658
ADDJSUM_JARFILE = $(BUILDTOOLJARDIR)/addjsum.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   659
90ce3da70b43 Initial load
duke
parents:
diff changeset
   660
# Construct classlist file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   661
$(LIBDIR)/classlist: \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   662
    $(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   663
    $(ADDJSUM_JARFILE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   664
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   665
	@$(RM) -f $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   666
	$(BOOT_JAVA_CMD) -jar $(ADDJSUM_JARFILE) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   667
	    $(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   668
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   669
90ce3da70b43 Initial load
duke
parents:
diff changeset
   670
# Import internal files (ones that are stashed in this source tree)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   671
import_internal_files : $(INTERNAL_IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   672
90ce3da70b43 Initial load
duke
parents:
diff changeset
   673
# Import files from the JDK that we are not building
90ce3da70b43 Initial load
duke
parents:
diff changeset
   674
import_files: $(IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   675
90ce3da70b43 Initial load
duke
parents:
diff changeset
   676
# Get component information variables and rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
   677
include $(BUILDDIR)/common/internal/ImportComponents.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   678
90ce3da70b43 Initial load
duke
parents:
diff changeset
   679
# Security files we need to import
90ce3da70b43 Initial load
duke
parents:
diff changeset
   680
SEC_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   681
SEC_FILES_WIN_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-windows-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   682
JGSS_WIN32_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-i586-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   683
JGSS_WIN64_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-x64-bin.zip
90ce3da70b43 Initial load
duke
parents:
diff changeset
   684
90ce3da70b43 Initial load
duke
parents:
diff changeset
   685
# Unzip zip file $2 into directory $1 (if $2 exists)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   686
#   Warning: $2 must be absolute path not relative
90ce3da70b43 Initial load
duke
parents:
diff changeset
   687
define SecUnzipper
90ce3da70b43 Initial load
duke
parents:
diff changeset
   688
if [ -f $2 ] ; then \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   689
  $(MKDIR) -p $1; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   690
  $(ECHO) "( $(CD) $1 && $(UNZIP) -o $2 )"; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   691
  ( $(CD) $1 && $(UNZIP) -o $2 ); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   692
fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   693
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
   694
90ce3da70b43 Initial load
duke
parents:
diff changeset
   695
# If sec-bin exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   696
#   Also, the library recompile build indirectly depends on two SSL classes,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   697
#   so copy those as well   FIXUP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   698
#   if sec-windows-bin exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   699
#   if JGSS files exists, unpack it into the build directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
   700
$(TEMPDIR)/security_imported:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   701
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   702
	@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   703
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   704
	@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_WIN_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   705
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   706
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   707
    ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   708
	@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN32_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   709
    else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   710
	@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN64_FILES_ZIP))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   711
    endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   712
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   713
	@$(ECHO) "Imported on `$(DATE)`" > $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   714
90ce3da70b43 Initial load
duke
parents:
diff changeset
   715
# Import all files from other components
90ce3da70b43 Initial load
duke
parents:
diff changeset
   716
$(TEMPDIR)/components_imported:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   717
	@$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   718
	$(call import-component-binaries,$(ABS_OUTPUTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   719
	$(call import-component-sources,$(IMPORTSRCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   720
	$(call import-component-docs,$(IMPORTDOCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   721
	$(call import-component-classes,$(CLASSDESTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   722
	@$(ECHO) "Imported on `$(DATE)`" > $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   723
90ce3da70b43 Initial load
duke
parents:
diff changeset
   724
# Do pretty much everything
90ce3da70b43 Initial load
duke
parents:
diff changeset
   725
build : import_files \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   726
	import_internal_files \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   727
	$(TEMPDIR)/components_imported \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   728
	$(TEMPDIR)/security_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   729
90ce3da70b43 Initial load
duke
parents:
diff changeset
   730
# Clean up what we imported (except for component files)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   731
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   732
	$(RM) $(IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   733
	$(RM) $(INTERNAL_IMPORT_LIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   734
	$(call import-component-sources-clean,$(IMPORTSRCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   735
	$(call import-component-docs-clean,$(IMPORTDOCDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   736
	$(call import-component-classes-clean,$(CLASSDESTDIR))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   737
	$(RM) $(TEMPDIR)/components_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   738
	$(RM) $(TEMPDIR)/security_imported
90ce3da70b43 Initial load
duke
parents:
diff changeset
   739
90ce3da70b43 Initial load
duke
parents:
diff changeset
   740
.PHONY: import_files import_internal_files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   741