lok: symbolic link to the "include" directory when builddir != srcdir
[LibreOffice.git] / vcl / Executable_ui-previewer.mk
blobbee97cbac14b67cb8c1a976868aae11214ee9a14
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,ui-previewer))
12 $(eval $(call gb_Executable_use_external,ui-previewer,boost_headers))
14 $(eval $(call gb_Executable_use_api,ui-previewer,\
15 offapi \
16 udkapi \
19 $(eval $(call gb_Executable_use_static_libraries,ui-previewer,\
20 vclmain \
23 $(eval $(call gb_Executable_use_libraries,ui-previewer,\
24 comphelper \
25 cppu \
26 cppuhelper \
27 sal \
28 tl \
29 ucbhelper \
30 vcl \
33 $(eval $(call gb_Executable_add_exception_objects,ui-previewer,\
34 vcl/source/uipreviewer/previewer \
37 $(eval $(call gb_Executable_add_defs,ui-previewer,\
38 -DVCL_INTERNALS \
41 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
42 $(eval $(call gb_Executable_add_libs,ui-previewer,\
43 -lm $(DLOPEN_LIBS) \
44 -lX11 \
47 $(eval $(call gb_Executable_use_static_libraries,ui-previewer,\
48 glxtest \
50 endif
52 $(eval $(call gb_Executable_add_default_nativeres,ui-previewer))
54 # vim: set noet sw=4 ts=4: