tdf#119030: Disable entries if open file read-only is unchecked
[LibreOffice.git] / vcl / Executable_icontest.mk
blob8c917b71cd0e78c61cb710b4c072d26633f46813
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 $(eval $(call gb_Executable_Executable,icontest))
12 $(eval $(call gb_Executable_use_externals,icontest,\
13 boost_headers \
14 glm_headers \
16 ifeq ($(ENABLE_HEADLESS),)
17 $(eval $(call gb_Executable_use_externals,icontest,\
18 epoxy \
20 endif
22 ifeq ($(SYSTEM_GLM),TRUE)
23 $(eval $(call gb_Executable_add_defs,icontest,\
24 -DGLM_ENABLE_EXPERIMENTAL \
26 endif
28 $(eval $(call gb_Executable_use_api,icontest,\
29 offapi \
30 udkapi \
33 $(eval $(call gb_Executable_use_static_libraries,icontest,\
34 vclmain \
37 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
38 $(eval $(call gb_Executable_add_libs,icontest,\
39 -lm $(DLOPEN_LIBS) \
40 -lpthread \
41 -lX11 \
44 $(eval $(call gb_Executable_use_static_libraries,icontest,\
45 glxtest \
48 endif
50 $(eval $(call gb_Executable_use_libraries,icontest,\
51 comphelper \
52 cppu \
53 cppuhelper \
54 sal \
55 tl \
56 ucbhelper \
57 vcl \
60 $(eval $(call gb_Executable_add_exception_objects,icontest,\
61 vcl/workben/icontest \
64 # vim: set noet sw=4 ts=4: