Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / vcl / Library_vclplug_tde.mk
blob2dd582a3a40ab6cd9ac9ee88158158c0db2140ba
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 epoxy \
60 icuuc \
63 $(eval $(call gb_Library_add_exception_objects,vclplug_tde,\
64 vcl/unx/kde/kdedata \
65 vcl/unx/kde/salnativewidgets-kde \
66 vcl/unx/kde/UnxCommandThread \
67 vcl/unx/kde/UnxFilePicker \
68 vcl/unx/kde/UnxNotifyThread \
71 # TDE/TQt consider -Wshadow more trouble than benefit
72 $(eval $(call gb_Library_add_cxxflags,vclplug_tde,\
73 -Wno-shadow \
76 $(eval $(call gb_Library_set_warnings_not_errors,vclplug_tde))
78 ifeq ($(OS),LINUX)
79 $(eval $(call gb_Library_add_libs,vclplug_tde,\
80 -lm \
81 -ldl \
82 -lpthread \
84 endif
86 # vim: set noet sw=4 ts=4: