poppler: Upgrade 24.05.0
[LibreOffice.git] / solenv / gbuild / Conditions.mk
blob0a7b889695573276bfe765f2c8af1b759fa7409b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # IMPORTANT NOTE: make sure, the "else" part works as expected. This normally
11 # means, that the condition ends with "$(1),$(2))" or the reverse. It should
12 # just end in two (!) braces, otherwise you may need to use either the $(1)
13 # or the $(2) multiple times.
15 define gb_CondExeLockfile
16 $(if $(and $(filter-out ANDROID MACOSX iOS WNT,$(OS))),$(1),$(2))
17 endef
19 define gb_CondExeRegistryTools
20 $(if $(or $(DISABLE_DYNLOADING),$(ENABLE_MACOSX_SANDBOX)),$(2),$(1))
21 endef
23 define gb_CondExeSp2bv
24 $(if $(and $(filter WNT,$(OS)),$(call gb_Helper_optionals_and,DESKTOP ODK,$(true))),$(1),$(2))
25 endef
27 define gb_CondExeUno
28 $(if $(and $(filter DESKTOP,$(BUILD_TYPE)),$(if $(DISABLE_DYNLOADING),,$(true))),$(1),$(2))
29 endef
31 define gb_CondExeUnopkg
32 $(if $(and $(filter DESKTOP,$(BUILD_TYPE)),$(if $(DISABLE_DYNLOADING),,$(true))),$(1),$(2))
33 endef
35 define gb_CondLibSalTextenc
36 $(if $(or $(filter ANDROID,$(OS)),$(DISABLE_DYNLOADING)),$(2),$(1))
37 endef
39 # vim: set noet sw=4 ts=4: