Branch libreoffice-5-0-4
[LibreOffice.git] / solenv / gbuild / platform / windows.mk
blobea0e476ec45605ac4fd4bdde20a201799cb65e79
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 # to avoid flashing windows during tests
12 export VCL_HIDE_WINDOWS=1
14 gb_LICENSE := license.txt
15 gb_README = readme_$(1).txt
17 gb_Helper_get_rcfile = $(1).ini
19 gb_Helper_LIBRARY_PATH_VAR := PATH
21 gb_MKTEMP := mktemp --tmpdir=$(gb_TMPDIR) gbuild.XXXXXX
23 # define _WIN32_WINNT and WINVER will be derived from it in sdkddkver.h
24 # with a 7.1 SDK target Windows XP, with 8.x SDK target Windows Vista
25 # currently _WIN32_IE is defined to a higher version than would be derived
26 # in sdkddkver.h from _WIN32_WINNT=0x0502 but if _WIN32_WINNT >= 0x0600
27 # the derived value is sufficient
28 gb_OSDEFS := \
29 -D_WIN32_WINNT=$(if $(filter 70,$(WINDOWS_SDK_VERSION)),0x0502,0x0600) \
30 -D_WIN32_IE=0x0700 \
31 -DWIN32 \
32 -DWNT \
33 -DNOMINMAX \
35 gb_UWINAPI := uwinapi
37 gb_Executable_LAYER := \
38 $(foreach exe,$(gb_Executable_UREBIN),$(exe):UREBIN) \
39 $(foreach exe,$(gb_Executable_SDK),$(exe):SDKBIN) \
40 $(foreach exe,$(gb_Executable_OOO),$(exe):OOO) \
41 $(foreach exe,$(gb_Executable_NONE),$(exe):NONE) \
43 # empty to avoid --warn-undefined-functions
44 gb_Library__set_soversion_script_platform =
46 # vim:set noexpandtab: