common/autoconf/spec.gmk.in
changeset 33944 e1e20245e153
parent 32559 8a1504b43ad8
parent 33943 e7c2c3694189
child 33946 ccade8b7b973
equal deleted inserted replaced
32714:b280322fc88f 33944:e1e20245e153
   127 JAXWS_TOPDIR:=@JAXWS_TOPDIR@
   127 JAXWS_TOPDIR:=@JAXWS_TOPDIR@
   128 HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@
   128 HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@
   129 NASHORN_TOPDIR:=@NASHORN_TOPDIR@
   129 NASHORN_TOPDIR:=@NASHORN_TOPDIR@
   130 COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@
   130 COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@
   131 
   131 
   132 # Information gathered from the version.numbers file.
   132 # New (JEP-223) version information
   133 JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@
   133 
   134 JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@
   134 ## Building blocks of the version string
   135 JDK_MICRO_VERSION:=@JDK_MICRO_VERSION@
   135 # First three version numbers, with well-specified meanings (numerical)
   136 JDK_UPDATE_VERSION:=@JDK_UPDATE_VERSION@
   136 VERSION_MAJOR := @VERSION_MAJOR@
   137 JDK_BUILD_NUMBER:=@JDK_BUILD_NUMBER@
   137 VERSION_MINOR := @VERSION_MINOR@
   138 MILESTONE:=@MILESTONE@
   138 VERSION_SECURITY := @VERSION_SECURITY@
       
   139 # Optional fourth element for use by OpenJDK consumers (numerical)
       
   140 VERSION_PATCH := @VERSION_PATCH@
       
   141 # The pre-release identifier (string)
       
   142 VERSION_PRE := @VERSION_PRE@
       
   143 # The build number (numerical)
       
   144 VERSION_BUILD := @VERSION_BUILD@
       
   145 # Optional build information (string)
       
   146 VERSION_OPT := @VERSION_OPT@
       
   147 
       
   148 ## Composite variables
       
   149 # The version number as a dot separated sequence of numbers, e.g. 9.0.1
       
   150 VERSION_NUMBER := @VERSION_NUMBER@
       
   151 # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions.
       
   152 VERSION_NUMBER_FOUR_POSITIONS := @VERSION_NUMBER_FOUR_POSITIONS@
       
   153 # The complete version string, with additional build information
       
   154 VERSION_STRING := @VERSION_STRING@
       
   155 # The short version string, without trailing zeroes and just PRE, if present.
       
   156 VERSION_SHORT := @VERSION_SHORT@
       
   157 # The Java specification version. It should be equal to version number.
       
   158 VERSION_SPECIFICATION := @VERSION_NUMBER@
       
   159 # A GA version is defined by the PRE string being empty. Rather than testing for
       
   160 # that, this variable defines it with true/false.
       
   161 VERSION_IS_GA := @VERSION_IS_GA@
       
   162 
       
   163 # Convenience CFLAGS settings for passing version information into native programs.
       
   164 VERSION_CFLAGS := \
       
   165     -DVERSION_MAJOR=$(VERSION_MAJOR) \
       
   166     -DVERSION_MINOR=$(VERSION_MINOR) \
       
   167     -DVERSION_SECURITY=$(VERSION_SECURITY) \
       
   168     -DVERSION_PATCH=$(VERSION_PATCH) \
       
   169     -DVERSION_PRE='"$(VERSION_PRE)"' \
       
   170     -DVERSION_BUILD=$(VERSION_BUILD) \
       
   171     -DVERSION_OPT='"$(VERSION_OPT)"' \
       
   172     -DVERSION_NUMBER='"$(VERSION_NUMBER)"' \
       
   173     -DVERSION_STRING='"$(VERSION_STRING)"' \
       
   174     -DVERSION_SHORT='"$(VERSION_SHORT)"' \
       
   175     -DVERSION_SPECIFICATION='"$(VERSION_SPECIFICATION)"' \
       
   176     #
       
   177 
       
   178 # Platform naming variables
   139 LAUNCHER_NAME:=@LAUNCHER_NAME@
   179 LAUNCHER_NAME:=@LAUNCHER_NAME@
   140 PRODUCT_NAME:=@PRODUCT_NAME@
   180 PRODUCT_NAME:=@PRODUCT_NAME@
   141 PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
   181 PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
   142 JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
   182 JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
   143 COMPANY_NAME:=@COMPANY_NAME@
   183 COMPANY_NAME:=@COMPANY_NAME@
   144 MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
   184 MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
   145 MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
   185 MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
   146 USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@
   186 
   147 
   187 # Different naming strings generated from the above information.
   148 # Different version strings generated from the above information.
       
   149 JDK_VERSION:=@JDK_VERSION@
       
   150 RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX)
   188 RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX)
   151 COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
       
   152 # These variables need to be generated here so that MILESTONE and
       
   153 # JDK_BUILD_NUMBER can be overridden on the make command line.
       
   154 ifeq ($(MILESTONE), fcs)
       
   155   RELEASE=$(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
       
   156 else
       
   157   RELEASE=$(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE)
       
   158 endif
       
   159 
       
   160 ifneq ($(USER_RELEASE_SUFFIX), )
       
   161   FULL_VERSION=$(RELEASE)-$(USER_RELEASE_SUFFIX)-$(JDK_BUILD_NUMBER)
       
   162 else
       
   163   FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
       
   164 endif
       
   165 JRE_RELEASE_VERSION:=$(FULL_VERSION)
       
   166 JDK_VERSION_FOR_MANIFEST := $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(if $(JDK_UPDATE_VERSION),$(JDK_UPDATE_VERSION),0).$(COOKED_BUILD_NUMBER)
       
   167 
   189 
   168 # How to compile the code: release, fastdebug or slowdebug
   190 # How to compile the code: release, fastdebug or slowdebug
   169 DEBUG_LEVEL:=@DEBUG_LEVEL@
   191 DEBUG_LEVEL:=@DEBUG_LEVEL@
   170 
   192 
   171 # This is the JDK variant to build.
   193 # This is the JDK variant to build.
   664 # Symbols image
   686 # Symbols image
   665 SYMBOLS_IMAGE_SUBDIR:=symbols
   687 SYMBOLS_IMAGE_SUBDIR:=symbols
   666 SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
   688 SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
   667 
   689 
   668 # Macosx bundles directory definitions
   690 # Macosx bundles directory definitions
   669 JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
   691 JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle/jdk$(VERSION_NUMBER).jdk/Contents
   670 JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
   692 JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle/jre$(VERSION_NUMBER).jre/Contents
   671 JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
   693 JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
   672 JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
   694 JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
   673 
   695 
   674 # This macro is called to allow inclusion of closed source counterparts.
   696 # This macro is called to allow inclusion of closed source counterparts.
   675 # Unless overridden in closed sources, it expands to nothing.
   697 # Unless overridden in closed sources, it expands to nothing.