make/common/Defs-windows.gmk

Print this page


   1 #
   2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


 416 # Values for the RC variables defined in RC_FLAGS
 417 JDK_RC_BUILD_ID = $(FULL_VERSION)
 418 JDK_RC_COMPANY = $(COMPANY_NAME)
 419 JDK_RC_COMPONENT = $(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) binary
 420 JDK_RC_VER = \
 421     $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VER).$(COOKED_BUILD_NUMBER)
 422 JDK_RC_COPYRIGHT = Copyright \xA9 $(COPYRIGHT_YEAR)
 423 JDK_RC_NAME = \
 424     $(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) $(JDK_MINOR_VERSION) $(JDK_UPDATE_META_TAG)
 425 JDK_RC_FVER = \
 426     $(JDK_MINOR_VERSION),$(JDK_MICRO_VERSION),$(JDK_UPDATE_VER),$(COOKED_BUILD_NUMBER)
 427 
 428 # JDK name required here
 429 RC_FLAGS += -d "JDK_BUILD_ID=$(JDK_RC_BUILD_ID)" \
 430             -d "JDK_COMPANY=$(JDK_RC_COMPANY)" \
 431             -d "JDK_COMPONENT=$(JDK_RC_COMPONENT)" \
 432             -d "JDK_VER=$(JDK_RC_VER)" \
 433             -d "JDK_COPYRIGHT=$(JDK_RC_COPYRIGHT)" \
 434             -d "JDK_NAME=$(JDK_RC_NAME)" \
 435             -d "JDK_FVER=$(JDK_RC_FVER)"
 436 
 437 # Enable 7-Zip LZMA file (de)compression for Java Kernel if it is available
 438 ifeq ($(ARCH_DATA_MODEL), 32)
 439   ifneq ($(KERNEL), off)
 440     # This is a hack to use until  7-Zip (and UPX) bundles can be put
 441     # under /java/devtools.
 442     ifndef DEPLOY_TOPDIR
 443       DEPLOY_TOPDIR=$(JDK_TOPDIR)/../deploy
 444     endif
 445     # Uncomment this block to cause build failure if above assumption false
 446     #DCHK = $(shell if [ ! -d $(DEPLOY_TOPDIR) ] ; then \
 447     #  $(ECHO) deploy_not_a_peer_of_j2se ; \
 448     #fi )
 449     #ifeq ($(DCHK), deploy_not_a_peer_of_j2se)
 450     #  If a build failure points to control coming here it means
 451     #  it means deploy is not in the same directory
 452     #  as j2se. Java Kernel can't tolerate that for the time being.
 453     #endif
 454     EC_TMP = $(shell if [ -d $(DEPLOY_TOPDIR)/make/lzma ] ; then \
 455       $(ECHO) true ; \
 456     else \
 457       $(ECHO) false ; \
 458     fi )
 459     ifeq ($(EC_TMP), true)
 460       EXTRA_COMP_INSTALL_PATH = lib\\\\deploy\\\\lzma.dll
 461       # Crazy but true: deploy/make/plugin/jinstall/Makefile.jkernel does
 462       # not include deploy/make/common/Defs-windows.gmk, either directly
 463       # or indirectly. But it does include this file, so redundantly declare
 464       # these variables that are in deploy/make/common/Defs-windows.gmk for
 465       # the sake of the Java Kernel part of the deploy build. Whew!
 466       EXTRA_COMP_LIB_NAME = lzma.dll
 467       EXTRA_COMP_PATH = $(OUTPUTDIR)/tmp/deploy/lzma/win32/obj
 468       EXTRA_COMP_CMD_PATH = $(EXTRA_COMP_PATH)/lzma.exe
 469       EXTRA_COMP_LIB_PATH = $(EXTRA_COMP_PATH)/$(EXTRA_COMP_LIB_NAME)
 470     endif
 471   endif
 472 endif
   1 #
   2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


 416 # Values for the RC variables defined in RC_FLAGS
 417 JDK_RC_BUILD_ID = $(FULL_VERSION)
 418 JDK_RC_COMPANY = $(COMPANY_NAME)
 419 JDK_RC_COMPONENT = $(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) binary
 420 JDK_RC_VER = \
 421     $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VER).$(COOKED_BUILD_NUMBER)
 422 JDK_RC_COPYRIGHT = Copyright \xA9 $(COPYRIGHT_YEAR)
 423 JDK_RC_NAME = \
 424     $(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) $(JDK_MINOR_VERSION) $(JDK_UPDATE_META_TAG)
 425 JDK_RC_FVER = \
 426     $(JDK_MINOR_VERSION),$(JDK_MICRO_VERSION),$(JDK_UPDATE_VER),$(COOKED_BUILD_NUMBER)
 427 
 428 # JDK name required here
 429 RC_FLAGS += -d "JDK_BUILD_ID=$(JDK_RC_BUILD_ID)" \
 430             -d "JDK_COMPANY=$(JDK_RC_COMPANY)" \
 431             -d "JDK_COMPONENT=$(JDK_RC_COMPONENT)" \
 432             -d "JDK_VER=$(JDK_RC_VER)" \
 433             -d "JDK_COPYRIGHT=$(JDK_RC_COPYRIGHT)" \
 434             -d "JDK_NAME=$(JDK_RC_NAME)" \
 435             -d "JDK_FVER=$(JDK_RC_FVER)"