158 # Optional fourth element for use by OpenJDK consumers (numerical) 159 VERSION_PATCH := @VERSION_PATCH@ 160 # The pre-release identifier (string) 161 VERSION_PRE := @VERSION_PRE@ 162 # The build number (numerical) 163 VERSION_BUILD := @VERSION_BUILD@ 164 # Optional build information (string) 165 VERSION_OPT := @VERSION_OPT@ 166 167 ## Composite variables 168 # The version number as a dot separated sequence of numbers, e.g. 9.0.1 169 VERSION_NUMBER := @VERSION_NUMBER@ 170 # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions. 171 VERSION_NUMBER_FOUR_POSITIONS := @VERSION_NUMBER_FOUR_POSITIONS@ 172 # The complete version string, with additional build information 173 VERSION_STRING := @VERSION_STRING@ 174 # The short version string, without trailing zeroes and just PRE, if present. 175 VERSION_SHORT := @VERSION_SHORT@ 176 # The Java specification version. It should be equal to version number. 177 VERSION_SPECIFICATION := @VERSION_NUMBER@ 178 179 # Convenience CFLAGS settings for passing version information into native programs. 180 VERSION_CFLAGS := \ 181 -DVERSION_MAJOR=$(VERSION_MAJOR) \ 182 -DVERSION_MINOR=$(VERSION_MINOR) \ 183 -DVERSION_SECURITY=$(VERSION_SECURITY) \ 184 -DVERSION_PATCH=$(VERSION_PATCH) \ 185 -DVERSION_PRE='"$(VERSION_PRE)"' \ 186 -DVERSION_BUILD=$(VERSION_BUILD) \ 187 -DVERSION_OPT='"$(VERSION_OPT)"' \ 188 -DVERSION_NUMBER='"$(VERSION_NUMBER)"' \ 189 -DVERSION_STRING='"$(VERSION_STRING)"' \ 190 -DVERSION_SHORT='"$(VERSION_SHORT)"' \ 191 -DVERSION_SPECIFICATION='"$(VERSION_SPECIFICATION)"' \ 192 # 193 194 # Platform naming variables 195 LAUNCHER_NAME:=@LAUNCHER_NAME@ 196 PRODUCT_NAME:=@PRODUCT_NAME@ 197 PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@ | 158 # Optional fourth element for use by OpenJDK consumers (numerical) 159 VERSION_PATCH := @VERSION_PATCH@ 160 # The pre-release identifier (string) 161 VERSION_PRE := @VERSION_PRE@ 162 # The build number (numerical) 163 VERSION_BUILD := @VERSION_BUILD@ 164 # Optional build information (string) 165 VERSION_OPT := @VERSION_OPT@ 166 167 ## Composite variables 168 # The version number as a dot separated sequence of numbers, e.g. 9.0.1 169 VERSION_NUMBER := @VERSION_NUMBER@ 170 # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions. 171 VERSION_NUMBER_FOUR_POSITIONS := @VERSION_NUMBER_FOUR_POSITIONS@ 172 # The complete version string, with additional build information 173 VERSION_STRING := @VERSION_STRING@ 174 # The short version string, without trailing zeroes and just PRE, if present. 175 VERSION_SHORT := @VERSION_SHORT@ 176 # The Java specification version. It should be equal to version number. 177 VERSION_SPECIFICATION := @VERSION_NUMBER@ 178 # A GA version is defined by the PRE string being empty. Rather than testing for 179 # that, this variable defines it with true/false. 180 VERSION_IS_GA := @VERSION_IS_GA@ 181 182 # Convenience CFLAGS settings for passing version information into native programs. 183 VERSION_CFLAGS := \ 184 -DVERSION_MAJOR=$(VERSION_MAJOR) \ 185 -DVERSION_MINOR=$(VERSION_MINOR) \ 186 -DVERSION_SECURITY=$(VERSION_SECURITY) \ 187 -DVERSION_PATCH=$(VERSION_PATCH) \ 188 -DVERSION_PRE='"$(VERSION_PRE)"' \ 189 -DVERSION_BUILD=$(VERSION_BUILD) \ 190 -DVERSION_OPT='"$(VERSION_OPT)"' \ 191 -DVERSION_NUMBER='"$(VERSION_NUMBER)"' \ 192 -DVERSION_STRING='"$(VERSION_STRING)"' \ 193 -DVERSION_SHORT='"$(VERSION_SHORT)"' \ 194 -DVERSION_SPECIFICATION='"$(VERSION_SPECIFICATION)"' \ 195 # 196 197 # Platform naming variables 198 LAUNCHER_NAME:=@LAUNCHER_NAME@ 199 PRODUCT_NAME:=@PRODUCT_NAME@ 200 PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@ |