Bump for 4.0-15
[LibreOffice.git] / vcl / Library_vclplug_tde.mk
blob600f00a9aa3590d19f9fb5928e3ad133a7b546e2
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
6 # The contents of this file are subject to the Mozilla Public License Version
7 # 1.1 (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 # http://www.mozilla.org/MPL/
11 # Software distributed under the License is distributed on an "AS IS" basis,
12 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 # for the specific language governing rights and limitations under the
14 # License.
16 # The Initial Developer of the Original Code is
17 # Timothy Pearson <kb9vqf@pearsoncomputing.net> (C) 2012, All Rights Reserved.
19 # Alternatively, the contents of this file may be used under the terms of
20 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
21 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
22 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
23 # instead of those above.
25 #*************************************************************************
27 $(eval $(call gb_Library_Library,vclplug_tde))
29 $(eval $(call gb_Library_set_include,vclplug_tde,\
30 $$(INCLUDE) \
31 -I$(SRCDIR)/vcl/inc \
32 -I$(SRCDIR)/solenv/inc \
33 -I$(SRCDIR)/vcl/inc/unx/tde \
36 $(eval $(call gb_Library_set_include,vclplug_tde,\
37 $$(INCLUDE) \
38 $$(TDE_CFLAGS) \
41 $(eval $(call gb_Library_add_defs,vclplug_tde,\
42 -DVCLPLUG_TDE_IMPLEMENTATION \
45 $(eval $(call gb_Library_use_sdk_api,vclplug_tde))
47 $(eval $(call gb_Library_add_libs,vclplug_tde,\
48 $(TDE_LIBS) \
49 -lX11 \
50 -lXext \
51 -lSM \
52 -lICE \
55 $(eval $(call gb_Library_use_libraries,vclplug_tde,\
56 vclplug_gen \
57 vcl \
58 tl \
59 utl \
60 sot \
61 ucbhelper \
62 basegfx \
63 comphelper \
64 cppuhelper \
65 i18nisolang1 \
66 i18nutil \
67 jvmaccess \
68 cppu \
69 sal \
72 $(eval $(call gb_Library_use_externals,vclplug_tde,\
73 icule \
74 icuuc \
77 $(eval $(call gb_Library_add_exception_objects,vclplug_tde,\
78 vcl/unx/kde/kdedata \
79 vcl/unx/kde/salnativewidgets-kde \
80 vcl/unx/kde/UnxCommandThread \
81 vcl/unx/kde/UnxFilePicker \
82 vcl/unx/kde/UnxNotifyThread \
85 # TDE/TQt consider -Wshadow more trouble than benefit
86 $(eval $(call gb_Library_add_cxxflags,vclplug_tde,\
87 -Wno-shadow \
90 $(eval $(call gb_Library_set_warnings_not_errors,vclplug_tde))
92 ifeq ($(OS),LINUX)
93 $(eval $(call gb_Library_add_libs,vclplug_tde,\
94 -lm \
95 -ldl \
96 -lpthread \
98 endif
100 # vim: set noet sw=4 ts=4: