Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / Executable_icontest.mk
blob11cc69d086fc61ce2ab52c5acf9ba467bb3e7ac3
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 glew \
15 glm_headers \
16 mesa_headers \
19 $(eval $(call gb_Executable_use_api,icontest,\
20 offapi \
21 udkapi \
24 $(eval $(call gb_Executable_use_static_libraries,icontest,\
25 vclmain \
28 ifeq ($(OS),LINUX)
29 $(eval $(call gb_Executable_add_libs,icontest,\
30 -lm \
31 -ldl \
32 -lpthread \
33 -lGL \
34 -lX11 \
37 $(eval $(call gb_Executable_use_static_libraries,icontest,\
38 glxtest \
40 else ifeq ($(OS),WNT)
42 $(eval $(call gb_Executable_use_system_win32_libs,icontest,\
43 opengl32 \
46 else ifeq ($(OS),MACOSX)
48 $(eval $(call gb_Executable_add_libs,icontest,\
49 -framework OpenGL \
52 endif
54 $(eval $(call gb_Executable_use_libraries,icontest,\
55 comphelper \
56 cppu \
57 cppuhelper \
58 sal \
59 tl \
60 ucbhelper \
61 vcl \
64 $(eval $(call gb_Executable_add_exception_objects,icontest,\
65 vcl/workben/icontest \
68 # vim: set noet sw=4 ts=4: