make/windows/makefiles/defs.make

Print this page




  90     MAKE_ARGS += ARCH=x86
  91     MAKE_ARGS += BUILDARCH=amd64
  92     MAKE_ARGS += Platform_arch=x86
  93     MAKE_ARGS += Platform_arch_model=x86_64
  94   endif
  95 
  96 # NB later OS versions than 2003 may report "Intel64"
  97   ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),)
  98     ARCH_DATA_MODEL=64
  99     PLATFORM=windows-amd64
 100     VM_PLATFORM=windows_amd64
 101     HS_ARCH=x86
 102     MAKE_ARGS += LP64=1
 103     MAKE_ARGS += ARCH=x86
 104     MAKE_ARGS += BUILDARCH=amd64
 105     MAKE_ARGS += Platform_arch=x86
 106     MAKE_ARGS += Platform_arch_model=x86_64
 107   endif
 108 endif
 109 
















 110 JDK_INCLUDE_SUBDIR=win32
 111 
 112 # Library suffix
 113 LIBRARY_SUFFIX=dll
 114 
 115 # HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined
 116 # and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make.
 117 
 118 # next parameters are defined in $(GAMMADIR)/make/defs.make.
 119 MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION)
 120 MAKE_ARGS += JDK_MAJOR_VER=$(JDK_MAJOR_VERSION)
 121 MAKE_ARGS += JDK_MINOR_VER=$(JDK_MINOR_VERSION)
 122 MAKE_ARGS += JDK_MICRO_VER=$(JDK_MICRO_VERSION)
 123 
 124 ifdef COOKED_JDK_UPDATE_VERSION
 125   MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION)
 126 endif
 127 
 128 # COOKED_BUILD_NUMBER should only be set if we have a numeric
 129 # build number.  It must not be zero padded.


 162 # we want to release it.  If we build it here,
 163 # the SDK makefiles will copy it over and put it into
 164 # the created image.
 165 BUILD_WIN_SA = 1
 166 ifneq ($(ALT_BUILD_WIN_SA),)
 167   BUILD_WIN_SA = $(ALT_BUILD_WIN_SA)
 168 endif
 169 
 170 ifeq ($(BUILD_WIN_SA), 1)
 171   ifeq ($(ARCH),ia64)
 172     BUILD_WIN_SA = 0
 173   endif
 174 endif
 175 
 176 EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
 177 EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client
 178 EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel
 179 
 180 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
 181 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX)
 182 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb
 183 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map






 184 EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib
 185 ifeq ($(ARCH_DATA_MODEL), 32)
 186   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
 187   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX)




 188   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb
 189   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map


 190   # kernel vm
 191   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt
 192   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX)




 193   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb
 194   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map


 195 endif
 196 
 197 EXPORT_LIST += $(EXPORT_JRE_LIB_DIR)/wb.jar
 198 
 199 ifeq ($(BUILD_WIN_SA), 1)
 200   EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX)




 201   EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb
 202   EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map


 203   EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
 204   # Must pass this down to nmake.
 205   MAKE_ARGS += BUILD_WIN_SA=1
 206 endif
 207 
 208 # Propagate compiler and tools paths from configure to nmake. 
 209 # Need to make sure they contain \\ and not /.
 210 ifneq ($(SPEC),)
 211   ifeq ($(USING_CYGWIN), true)
 212     MAKE_ARGS += CXX="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(CXX)))"
 213     MAKE_ARGS += LD="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(LD)))"
 214     MAKE_ARGS += RC="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(RC)))"
 215     MAKE_ARGS += MT="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(MT)))"
 216   else
 217     MAKE_ARGS += CXX="$(subst /,\\,$(CXX))"
 218     MAKE_ARGS += LD="$(subst /,\\,$(LD))"
 219     MAKE_ARGS += RC="$(subst /,\\,$(RC))"
 220     MAKE_ARGS += MT="$(subst /,\\,$(MT))"
 221   endif
 222 endif


  90     MAKE_ARGS += ARCH=x86
  91     MAKE_ARGS += BUILDARCH=amd64
  92     MAKE_ARGS += Platform_arch=x86
  93     MAKE_ARGS += Platform_arch_model=x86_64
  94   endif
  95 
  96 # NB later OS versions than 2003 may report "Intel64"
  97   ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),)
  98     ARCH_DATA_MODEL=64
  99     PLATFORM=windows-amd64
 100     VM_PLATFORM=windows_amd64
 101     HS_ARCH=x86
 102     MAKE_ARGS += LP64=1
 103     MAKE_ARGS += ARCH=x86
 104     MAKE_ARGS += BUILDARCH=amd64
 105     MAKE_ARGS += Platform_arch=x86
 106     MAKE_ARGS += Platform_arch_model=x86_64
 107   endif
 108 endif
 109 
 110 # Full Debug Symbols has been enabled on Windows since JDK1.4.1 so
 111 # there is no need for an "earlier than JDK7 check".
 112 # Default is enabled with debug info files ZIP'ed to save space.
 113 
 114 ENABLE_FULL_DEBUG_SYMBOLS ?= 1
 115 MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)
 116 
 117 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 118   ZIP_DEBUGINFO_FILES ?= 1
 119 else
 120   ZIP_DEBUGINFO_FILES=0
 121 endif
 122 MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)
 123 MAKE_ARGS += RM="$(RM)"
 124 MAKE_ARGS += ZIPEXE=$(ZIPEXE)
 125 
 126 JDK_INCLUDE_SUBDIR=win32
 127 
 128 # Library suffix
 129 LIBRARY_SUFFIX=dll
 130 
 131 # HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined
 132 # and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make.
 133 
 134 # next parameters are defined in $(GAMMADIR)/make/defs.make.
 135 MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION)
 136 MAKE_ARGS += JDK_MAJOR_VER=$(JDK_MAJOR_VERSION)
 137 MAKE_ARGS += JDK_MINOR_VER=$(JDK_MINOR_VERSION)
 138 MAKE_ARGS += JDK_MICRO_VER=$(JDK_MICRO_VERSION)
 139 
 140 ifdef COOKED_JDK_UPDATE_VERSION
 141   MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION)
 142 endif
 143 
 144 # COOKED_BUILD_NUMBER should only be set if we have a numeric
 145 # build number.  It must not be zero padded.


 178 # we want to release it.  If we build it here,
 179 # the SDK makefiles will copy it over and put it into
 180 # the created image.
 181 BUILD_WIN_SA = 1
 182 ifneq ($(ALT_BUILD_WIN_SA),)
 183   BUILD_WIN_SA = $(ALT_BUILD_WIN_SA)
 184 endif
 185 
 186 ifeq ($(BUILD_WIN_SA), 1)
 187   ifeq ($(ARCH),ia64)
 188     BUILD_WIN_SA = 0
 189   endif
 190 endif
 191 
 192 EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
 193 EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client
 194 EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel
 195 
 196 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
 197 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX)
 198 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 199   ifeq ($(ZIP_DEBUGINFO_FILES),1)
 200     EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.diz
 201   else
 202     EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb
 203     EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map
 204   endif
 205 endif
 206 EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib
 207 ifeq ($(ARCH_DATA_MODEL), 32)
 208   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
 209   EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX)
 210   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 211     ifeq ($(ZIP_DEBUGINFO_FILES),1)
 212       EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.diz
 213     else
 214       EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb
 215       EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map
 216     endif
 217   endif
 218   # kernel vm
 219   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt
 220   EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX)
 221   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 222     ifeq ($(ZIP_DEBUGINFO_FILES),1)
 223       EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.diz
 224     else
 225       EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb
 226       EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map
 227     endif
 228   endif
 229 endif
 230 
 231 EXPORT_LIST += $(EXPORT_JRE_LIB_DIR)/wb.jar
 232 
 233 ifeq ($(BUILD_WIN_SA), 1)
 234   EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX)
 235   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 236     ifeq ($(ZIP_DEBUGINFO_FILES),1)
 237       EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.diz
 238     else
 239       EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb
 240       EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map
 241     endif
 242   endif
 243   EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
 244   # Must pass this down to nmake.
 245   MAKE_ARGS += BUILD_WIN_SA=1
 246 endif
 247 
 248 # Propagate compiler and tools paths from configure to nmake. 
 249 # Need to make sure they contain \\ and not /.
 250 ifneq ($(SPEC),)
 251   ifeq ($(USING_CYGWIN), true)
 252     MAKE_ARGS += CXX="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(CXX)))"
 253     MAKE_ARGS += LD="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(LD)))"
 254     MAKE_ARGS += RC="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(RC)))"
 255     MAKE_ARGS += MT="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(MT)))"
 256   else
 257     MAKE_ARGS += CXX="$(subst /,\\,$(CXX))"
 258     MAKE_ARGS += LD="$(subst /,\\,$(LD))"
 259     MAKE_ARGS += RC="$(subst /,\\,$(RC))"
 260     MAKE_ARGS += MT="$(subst /,\\,$(MT))"
 261   endif
 262 endif