hotspot/make/windows/makefiles/defs.make
author jprovino
Wed, 10 Oct 2012 14:35:58 -0400
changeset 13975 2f7431485cfa
parent 13474 ebc4c657841a
child 14383 f31aacbd0f36
permissions -rw-r--r--
7189254: Change makefiles for more flexibility to override defaults Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles. Reviewed-by: dholmes, coleenp
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
     2
# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
# accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
#
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5377
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5377
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5377
diff changeset
    21
# questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
#  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
# The common definitions for hotspot windows builds.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
# Include the top level defs.make under make directory instead of this one.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
# This file is included into make/defs.make.
1546
a02228c60567 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 979
diff changeset
    28
# On windows it is only used to construct parameters for
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    29
# make/windows/build.make when make/Makefile is used to build VM.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
SLASH_JAVA ?= J:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
PATH_SEP = ;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
5747
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    35
ifeq ($(ARCH_DATA_MODEL),32)
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    36
  ARCH_DATA_MODEL=32
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    37
  PLATFORM=windows-i586
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    38
  VM_PLATFORM=windows_i486
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    39
  HS_ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    40
  MAKE_ARGS += ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    41
  MAKE_ARGS += BUILDARCH=i486
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    42
  MAKE_ARGS += Platform_arch=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    43
  MAKE_ARGS += Platform_arch_model=x86_32
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    44
endif
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    45
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) x86),)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
  ARCH_DATA_MODEL=32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
  PLATFORM=windows-i586
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
  VM_PLATFORM=windows_i486
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
  HS_ARCH=x86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
  MAKE_ARGS += ARCH=x86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
  MAKE_ARGS += BUILDARCH=i486
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
  MAKE_ARGS += Platform_arch=x86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
  MAKE_ARGS += Platform_arch_model=x86_32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
5747
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    57
ifneq ($(ARCH_DATA_MODEL),32)
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    58
  ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),)
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    59
    ARCH_DATA_MODEL=64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    60
    PLATFORM=windows-ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    61
    VM_PLATFORM=windows_ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    62
    HS_ARCH=ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    63
    MAKE_ARGS += LP64=1
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    64
    MAKE_ARGS += ARCH=ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    65
    MAKE_ARGS += BUILDARCH=ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    66
    MAKE_ARGS += Platform_arch=ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    67
    MAKE_ARGS += Platform_arch_model=ia64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    68
  endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
5377
bcf55c5acf4e 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 1609
diff changeset
    70
# http://support.microsoft.com/kb/888731 : this can be either
bcf55c5acf4e 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 1609
diff changeset
    71
# AMD64 for AMD, or EM64T for Intel chips.
5747
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    72
  ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),)
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    73
    ARCH_DATA_MODEL=64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    74
    PLATFORM=windows-amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    75
    VM_PLATFORM=windows_amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    76
    HS_ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    77
    MAKE_ARGS += LP64=1
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    78
    MAKE_ARGS += ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    79
    MAKE_ARGS += BUILDARCH=amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    80
    MAKE_ARGS += Platform_arch=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    81
    MAKE_ARGS += Platform_arch_model=x86_64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    82
  endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
5663
50e6ba3de490 6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents: 5547
diff changeset
    84
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) EM64T),)
5747
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    85
    ARCH_DATA_MODEL=64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    86
    PLATFORM=windows-amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    87
    VM_PLATFORM=windows_amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    88
    HS_ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    89
    MAKE_ARGS += LP64=1
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    90
    MAKE_ARGS += ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    91
    MAKE_ARGS += BUILDARCH=amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    92
    MAKE_ARGS += Platform_arch=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    93
    MAKE_ARGS += Platform_arch_model=x86_64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    94
  endif
5663
50e6ba3de490 6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents: 5547
diff changeset
    95
5377
bcf55c5acf4e 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 1609
diff changeset
    96
# NB later OS versions than 2003 may report "Intel64"
5747
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    97
  ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),)
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    98
    ARCH_DATA_MODEL=64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
    99
    PLATFORM=windows-amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   100
    VM_PLATFORM=windows_amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   101
    HS_ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   102
    MAKE_ARGS += LP64=1
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   103
    MAKE_ARGS += ARCH=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   104
    MAKE_ARGS += BUILDARCH=amd64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   105
    MAKE_ARGS += Platform_arch=x86
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   106
    MAKE_ARGS += Platform_arch_model=x86_64
bc463c283871 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 5663
diff changeset
   107
  endif
5377
bcf55c5acf4e 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 1609
diff changeset
   108
endif
bcf55c5acf4e 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 1609
diff changeset
   109
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   110
# Full Debug Symbols has been enabled on Windows since JDK1.4.1 so
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   111
# there is no need for an "earlier than JDK7 check".
12502
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   112
# The Full Debug Symbols (FDS) default for BUILD_FLAVOR == product
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   113
# builds is enabled with debug info files ZIP'ed to save space. For
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   114
# BUILD_FLAVOR != product builds, FDS is always enabled, after all a
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   115
# debug build without debug info isn't very useful.
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   116
# The ZIP_DEBUGINFO_FILES option only has meaning when FDS is enabled.
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   117
#
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   118
# If you invoke a build with FULL_DEBUG_SYMBOLS=0, then FDS will be
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   119
# disabled for a BUILD_FLAVOR == product build.
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   120
#
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   121
# Note: Use of a different variable name for the FDS override option
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   122
# versus the FDS enabled check is intentional (FULL_DEBUG_SYMBOLS
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   123
# versus ENABLE_FULL_DEBUG_SYMBOLS). For auto build systems that pass
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   124
# in options via environment variables, use of distinct variables
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   125
# prevents strange behaviours. For example, in a BUILD_FLAVOR !=
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   126
# product build, the FULL_DEBUG_SYMBOLS environment variable will be
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   127
# 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   128
# the same variable name is used, then different values can be picked
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   129
# up by different parts of the build. Just to be clear, we only need
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   130
# two variable names because the incoming option value can be
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   131
# overridden in some situations, e.g., a BUILD_FLAVOR != product
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   132
# build.
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   133
12502
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   134
ifeq ($(BUILD_FLAVOR), product)
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   135
  FULL_DEBUG_SYMBOLS ?= 1
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   136
  ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   137
else
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   138
  # debug variants always get Full Debug Symbols (if available)
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   139
  ENABLE_FULL_DEBUG_SYMBOLS = 1
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   140
endif
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   141
_JUNK_ := $(shell \
a37189400e0d 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 12501
diff changeset
   142
  echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   143
MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   144
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   145
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
12768
dcubed
parents: 12737
diff changeset
   146
  ZIP_DEBUGINFO_FILES ?= 1
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   147
else
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   148
  ZIP_DEBUGINFO_FILES=0
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   149
endif
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   150
MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   151
MAKE_ARGS += RM="$(RM)"
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   152
MAKE_ARGS += ZIPEXE=$(ZIPEXE)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   153
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   154
# On 32 bit windows we build server, client and kernel, on 64 bit just server.
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   155
ifeq ($(JVM_VARIANTS),)
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   156
  ifeq ($(ARCH_DATA_MODEL), 32)
13975
2f7431485cfa 7189254: Change makefiles for more flexibility to override defaults
jprovino
parents: 13474
diff changeset
   157
    JVM_VARIANTS:=client,server
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   158
    JVM_VARIANT_CLIENT:=true
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   159
    JVM_VARIANT_SERVER:=true
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   160
  else
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   161
    JVM_VARIANTS:=server
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   162
    JVM_VARIANT_SERVER:=true
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   163
  endif
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   164
endif
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   165
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
JDK_INCLUDE_SUBDIR=win32
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   168
# Library suffix
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   169
LIBRARY_SUFFIX=dll
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   170
1546
a02228c60567 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 979
diff changeset
   171
# HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
# and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
# next parameters are defined in $(GAMMADIR)/make/defs.make.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
MAKE_ARGS += JDK_MAJOR_VER=$(JDK_MAJOR_VERSION)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
MAKE_ARGS += JDK_MINOR_VER=$(JDK_MINOR_VERSION)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
MAKE_ARGS += JDK_MICRO_VER=$(JDK_MICRO_VERSION)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
ifdef COOKED_JDK_UPDATE_VERSION
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
  MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
# COOKED_BUILD_NUMBER should only be set if we have a numeric
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
# build number.  It must not be zero padded.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
ifdef COOKED_BUILD_NUMBER
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
  MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
13474
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   190
NMAKE= MAKEFLAGS= MFLAGS= nmake -NOLOGO
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   191
ifndef SYSTEM_UNAME
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   192
  SYSTEM_UNAME := $(shell uname)
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   193
  export SYSTEM_UNAME
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   194
endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
# Check for CYGWIN
13474
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   197
ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
  USING_CYGWIN=true
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
  USING_CYGWIN=false
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
endif
13474
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   202
# Check for MinGW
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   203
ifneq (,$(findstring MINGW,$(SYSTEM_UNAME)))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   204
  USING_MINGW=true
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   205
endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
VM_DEBUG=debug
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
# Windows wants particular paths due to nmake (must be after macros defined)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
#   It is important that gnumake invokes nmake with C:\\...\\  formated
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
#   strings so that nmake gets C:\...\ style strings.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
# Check for CYGWIN
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
ifeq ($(USING_CYGWIN), true)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
  ABS_OUTPUTDIR   := $(subst /,\\,$(shell /bin/cygpath -m -a "$(OUTPUTDIR)"))
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
  ABS_BOOTDIR     := $(subst /,\\,$(shell /bin/cygpath -m -a "$(BOOTDIR)"))
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
  ABS_GAMMADIR    := $(subst /,\\,$(shell /bin/cygpath -m -a "$(GAMMADIR)"))
979
c9479f1e0a94 6730514: assertion failure in mangling code when expanding by 0 bytes
jmasa
parents: 670
diff changeset
   217
  ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_MAKE_DIR)/$(OSNAME)")/build.make
13474
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   218
else ifeq ($(USING_MINGW), true)
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   219
    ABS_OUTPUTDIR   := $(shell $(CD) $(OUTPUTDIR);$(PWD))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   220
    ABS_BOOTDIR     := $(shell $(CD) $(BOOTDIR);$(PWD))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   221
    ABS_GAMMADIR    := $(shell $(CD) $(GAMMADIR);$(PWD))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   222
    ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   223
  else
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   224
    ABS_OUTPUTDIR   := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD)))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   225
    ABS_BOOTDIR     := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD)))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   226
    ABS_GAMMADIR    := $(subst /,\\,$(shell $(CD) $(GAMMADIR);$(PWD)))
ebc4c657841a 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 12768
diff changeset
   227
    ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
489c9b5090e2 Initial load
duke
parents:
diff changeset
   230
# Disable building SA on windows until we are sure
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
# we want to release it.  If we build it here,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
# the SDK makefiles will copy it over and put it into
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
# the created image.
1609
5eacab926e22 6743339: Enable building sa-jdi.jar and sawindbg.dll on Windows with hotspot build
poonam
parents: 1546
diff changeset
   234
BUILD_WIN_SA = 1
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
ifneq ($(ALT_BUILD_WIN_SA),)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   236
  BUILD_WIN_SA = $(ALT_BUILD_WIN_SA)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   237
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   238
489c9b5090e2 Initial load
duke
parents:
diff changeset
   239
ifeq ($(BUILD_WIN_SA), 1)
1546
a02228c60567 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 979
diff changeset
   240
  ifeq ($(ARCH),ia64)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   241
    BUILD_WIN_SA = 0
489c9b5090e2 Initial load
duke
parents:
diff changeset
   242
  endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   243
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   244
489c9b5090e2 Initial load
duke
parents:
diff changeset
   245
EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
10259
fc6e02d351c4 7075559: JPRT windows_x64 build failure
kvn
parents: 7662
diff changeset
   246
EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client
fc6e02d351c4 7075559: JPRT windows_x64 build failure
kvn
parents: 7662
diff changeset
   247
EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel
fc6e02d351c4 7075559: JPRT windows_x64 build failure
kvn
parents: 7662
diff changeset
   248
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   249
ifeq ($(JVM_VARIANT_SERVER),true)
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   250
  EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   251
  EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX)
12503
dcubed
parents: 12156 12502
diff changeset
   252
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
dcubed
parents: 12156 12502
diff changeset
   253
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
dcubed
parents: 12156 12502
diff changeset
   254
      EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.diz
dcubed
parents: 12156 12502
diff changeset
   255
    else
dcubed
parents: 12156 12502
diff changeset
   256
      EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb
dcubed
parents: 12156 12502
diff changeset
   257
      EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map
dcubed
parents: 12156 12502
diff changeset
   258
    endif
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   259
  endif
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   260
  EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   261
endif
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   262
ifeq ($(JVM_VARIANT_CLIENT),true)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   263
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   264
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX)
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   265
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   266
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   267
      EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.diz
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   268
    else
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   269
      EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   270
      EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   271
    endif
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   272
  endif
12156
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   273
endif
fb31de03f649 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 12099
diff changeset
   274
ifeq ($(JVM_VARIANT_KERNEL),true)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   275
  EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   276
  EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX)
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   277
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   278
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   279
      EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.diz
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   280
    else
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   281
      EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   282
      EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   283
    endif
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   284
  endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   285
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   286
12095
cc3d6f08a4c4 7148152: Add whitebox testing API to HotSpot
mgerdin
parents: 10565
diff changeset
   287
EXPORT_LIST += $(EXPORT_JRE_LIB_DIR)/wb.jar
cc3d6f08a4c4 7148152: Add whitebox testing API to HotSpot
mgerdin
parents: 10565
diff changeset
   288
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   289
ifeq ($(BUILD_WIN_SA), 1)
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10259
diff changeset
   290
  EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX)
12501
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   291
  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   292
    ifeq ($(ZIP_DEBUGINFO_FILES),1)
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   293
      EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.diz
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   294
    else
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   295
      EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   296
      EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   297
    endif
ea7feae692ae 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 10565
diff changeset
   298
  endif
1546
a02228c60567 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 979
diff changeset
   299
  EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   300
  # Must pass this down to nmake.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   301
  MAKE_ARGS += BUILD_WIN_SA=1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   302
endif
11955
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   303
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   304
# Propagate compiler and tools paths from configure to nmake. 
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   305
# Need to make sure they contain \\ and not /.
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   306
ifneq ($(SPEC),)
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   307
  ifeq ($(USING_CYGWIN), true)
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   308
    MAKE_ARGS += CXX="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(CXX)))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   309
    MAKE_ARGS += LD="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(LD)))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   310
    MAKE_ARGS += RC="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(RC)))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   311
    MAKE_ARGS += MT="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(MT)))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   312
  else
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   313
    MAKE_ARGS += CXX="$(subst /,\\,$(CXX))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   314
    MAKE_ARGS += LD="$(subst /,\\,$(LD))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   315
    MAKE_ARGS += RC="$(subst /,\\,$(RC))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   316
    MAKE_ARGS += MT="$(subst /,\\,$(MT))"
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   317
  endif
aeca8151886e 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 10565
diff changeset
   318
endif