build fix
[LibreOffice.git] / vcl / Executable_icontest.mk
blob102697b0daa2c2b58433e0e89c153188197eea49
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 glew \
20 endif
22 $(eval $(call gb_Executable_use_api,icontest,\
23 offapi \
24 udkapi \
27 $(eval $(call gb_Executable_use_static_libraries,icontest,\
28 vclmain \
31 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
32 $(eval $(call gb_Executable_add_libs,icontest,\
33 -lm $(DLOPEN_LIBS) \
34 -lpthread \
35 -lX11 \
38 $(eval $(call gb_Executable_use_static_libraries,icontest,\
39 glxtest \
41 else ifeq ($(OS),WNT)
43 $(eval $(call gb_Executable_use_system_win32_libs,icontest,\
44 opengl32 \
47 else ifeq ($(OS),MACOSX)
49 $(eval $(call gb_Executable_add_libs,icontest,\
50 -framework OpenGL \
53 endif
55 $(eval $(call gb_Executable_use_libraries,icontest,\
56 comphelper \
57 cppu \
58 cppuhelper \
59 sal \
60 tl \
61 ucbhelper \
62 vcl \
65 $(eval $(call gb_Executable_add_exception_objects,icontest,\
66 vcl/workben/icontest \
69 # vim: set noet sw=4 ts=4: