Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / Executable_vcldemo.mk
blob3aee6ac11dc9c15005930de7c8d8e45232be414d
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 $(eval $(call gb_Executable_Executable,vcldemo))
13 $(eval $(call gb_Executable_use_api,vcldemo,\
14 offapi \
15 udkapi \
18 $(eval $(call gb_Executable_use_externals,vcldemo,\
19 boost_headers \
20 glew \
21 glm_headers \
22 mesa_headers \
25 $(eval $(call gb_Executable_set_include,vcldemo,\
26 $$(INCLUDE) \
27 -I$(SRCDIR)/vcl/inc \
30 $(eval $(call gb_Executable_use_libraries,vcldemo,\
31 basegfx \
32 comphelper \
33 cppu \
34 cppuhelper \
35 tl \
36 sal \
37 salhelper \
38 vcl \
41 $(eval $(call gb_Executable_add_exception_objects,vcldemo,\
42 vcl/workben/vcldemo \
45 $(eval $(call gb_Executable_use_static_libraries,vcldemo,\
46 vclmain \
49 ifeq ($(OS),LINUX)
50 $(eval $(call gb_Executable_add_libs,vcldemo,\
51 -lm \
52 -ldl \
53 -lpthread \
54 -lGL \
55 -lX11 \
58 $(eval $(call gb_Executable_use_static_libraries,vcldemo,\
59 glxtest \
61 endif
63 # vim: set noet sw=4 ts=4: