1 # |
1 # |
2 # Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
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 |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
175 JDK_INCLUDE_SUBDIR=win32 |
175 JDK_INCLUDE_SUBDIR=win32 |
176 |
176 |
177 # Library suffix |
177 # Library suffix |
178 LIBRARY_SUFFIX=dll |
178 LIBRARY_SUFFIX=dll |
179 |
179 |
180 # HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined |
|
181 # and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make. |
|
182 |
|
183 # next parameters are defined in $(GAMMADIR)/make/defs.make. |
180 # next parameters are defined in $(GAMMADIR)/make/defs.make. |
184 MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION) |
181 MAKE_ARGS += VERSION_SHORT=$(VERSION_SHORT) |
185 MAKE_ARGS += JDK_MAJOR_VERSION=$(JDK_MAJOR_VERSION) |
182 MAKE_ARGS += VERSION_MAJOR=$(VERSION_MAJOR) |
186 MAKE_ARGS += JDK_MINOR_VERSION=$(JDK_MINOR_VERSION) |
183 MAKE_ARGS += VERSION_MINOR=$(VERSION_MINOR) |
187 MAKE_ARGS += JDK_MICRO_VERSION=$(JDK_MICRO_VERSION) |
184 MAKE_ARGS += VERSION_SECURITY=$(VERSION_SECURITY) |
188 |
185 MAKE_ARGS += VERSION_BUILD=$(VERSION_BUILD) |
189 ifdef COOKED_JDK_UPDATE_VERSION |
186 |
190 MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION) |
187 # JDK_DOTVER and JDK_VER are needed in Windows RC files |
191 endif |
188 COMMA:=, |
192 |
189 MAKE_ARGS += JDK_DOTVER=$(VERSION_NUMBER_FOUR_POSITIONS) |
193 # COOKED_BUILD_NUMBER should only be set if we have a numeric |
190 MAKE_ARGS += JDK_VER=$(subst .,$(COMMA),$(VERSION_NUMBER_FOUR_POSITIONS)) |
194 # build number. It must not be zero padded. |
|
195 ifdef COOKED_BUILD_NUMBER |
|
196 MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER) |
|
197 endif |
|
198 |
191 |
199 NMAKE= MAKEFLAGS= MFLAGS= EXTRA_CFLAGS="$(EXTRA_CFLAGS)" nmake -NOLOGO |
192 NMAKE= MAKEFLAGS= MFLAGS= EXTRA_CFLAGS="$(EXTRA_CFLAGS)" nmake -NOLOGO |
200 ifndef SYSTEM_UNAME |
193 ifndef SYSTEM_UNAME |
201 SYSTEM_UNAME := $(shell uname) |
194 SYSTEM_UNAME := $(shell uname) |
202 export SYSTEM_UNAME |
195 export SYSTEM_UNAME |