Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / Library_vclplug_tde.mk
blobad1ed409a5c9d62230d3d5c7c24a3c35a3331b76
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/.
9 # Copyright (C) 2012, Timothy Pearson <kb9vqf@pearsoncomputing.net>
12 $(eval $(call gb_Library_Library,vclplug_tde))
14 $(eval $(call gb_Library_set_include,vclplug_tde,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/vcl/inc \
17 -I$(SRCDIR)/vcl/inc/unx/kde \
20 $(eval $(call gb_Library_set_include,vclplug_tde,\
21 $$(INCLUDE) \
22 $$(TDE_CFLAGS) \
25 $(eval $(call gb_Library_add_defs,vclplug_tde,\
26 -DVCLPLUG_TDE_IMPLEMENTATION \
29 $(eval $(call gb_Library_use_sdk_api,vclplug_tde))
31 $(eval $(call gb_Library_add_libs,vclplug_tde,\
32 $(TDE_LIBS) \
33 -lX11 \
34 -lXext \
35 -lSM \
36 -lICE \
39 $(eval $(call gb_Library_use_libraries,vclplug_tde,\
40 vclplug_gen \
41 vcl \
42 tl \
43 utl \
44 sot \
45 ucbhelper \
46 basegfx \
47 comphelper \
48 cppuhelper \
49 i18nlangtag \
50 i18nutil \
51 $(if $(ENABLE_JAVA), \
52 jvmaccess) \
53 cppu \
54 sal \
57 $(eval $(call gb_Library_use_externals,vclplug_tde,\
58 boost_headers \
59 icuuc \
62 $(eval $(call gb_Library_add_exception_objects,vclplug_tde,\
63 vcl/unx/kde/kdedata \
64 vcl/unx/kde/salnativewidgets-kde \
65 vcl/unx/kde/UnxCommandThread \
66 vcl/unx/kde/UnxFilePicker \
67 vcl/unx/kde/UnxNotifyThread \
70 # TDE/TQt consider -Wshadow more trouble than benefit
71 $(eval $(call gb_Library_add_cxxflags,vclplug_tde,\
72 -Wno-shadow \
75 $(eval $(call gb_Library_set_warnings_not_errors,vclplug_tde))
77 ifeq ($(OS),LINUX)
78 $(eval $(call gb_Library_add_libs,vclplug_tde,\
79 -lm \
80 -ldl \
81 -lpthread \
83 endif
85 # vim: set noet sw=4 ts=4: