Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / vcl / Library_vclplug_tde.mk
blob74551bdee907bc205056680316d1ed9f5fad6bfd
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)/solenv/inc \
18 -I$(SRCDIR)/vcl/inc/unx/tde \
21 $(eval $(call gb_Library_set_include,vclplug_tde,\
22 $$(INCLUDE) \
23 $$(TDE_CFLAGS) \
26 $(eval $(call gb_Library_add_defs,vclplug_tde,\
27 -DVCLPLUG_TDE_IMPLEMENTATION \
30 $(eval $(call gb_Library_use_sdk_api,vclplug_tde))
32 $(eval $(call gb_Library_add_libs,vclplug_tde,\
33 $(TDE_LIBS) \
34 -lX11 \
35 -lXext \
36 -lSM \
37 -lICE \
40 $(eval $(call gb_Library_use_libraries,vclplug_tde,\
41 vclplug_gen \
42 vcl \
43 tl \
44 utl \
45 sot \
46 ucbhelper \
47 basegfx \
48 comphelper \
49 cppuhelper \
50 i18nlangtag \
51 i18nutil \
52 $(if $(ENABLE_JAVA), \
53 jvmaccess) \
54 cppu \
55 sal \
58 $(eval $(call gb_Library_use_externals,vclplug_tde,\
59 boost_headers \
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: