Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / vcl / Library_vclplug_kde4.mk
blobacd7bd5981da5328310bafa0cf7258ef8550210f
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 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vclplug_kde4))
22 $(eval $(call gb_Library_use_custom_headers,vclplug_kde4,vcl/unx/kde4))
24 $(eval $(call gb_Library_set_include,vclplug_kde4,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
29 $(eval $(call gb_Library_add_defs,vclplug_kde4,\
30 -DVCLPLUG_KDE4_IMPLEMENTATION \
33 $(eval $(call gb_Library_use_sdk_api,vclplug_kde4))
35 $(eval $(call gb_Library_use_libraries,vclplug_kde4,\
36 vclplug_gen \
37 vcl \
38 tl \
39 utl \
40 sot \
41 ucbhelper \
42 basegfx \
43 comphelper \
44 cppuhelper \
45 i18nlangtag \
46 i18nutil \
47 $(if $(ENABLE_JAVA), \
48 jvmaccess) \
49 cppu \
50 sal \
53 $(eval $(call gb_Library_use_externals,vclplug_kde4,\
54 boost_headers \
55 icuuc \
56 kde4 \
57 epoxy \
60 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
61 -lX11 \
62 -lXext \
63 -lSM \
64 -lICE \
67 ifneq ($(KDE4_HAVE_GLIB),)
68 $(eval $(call gb_Library_add_defs,vclplug_kde4,\
69 $(KDE4_GLIB_CFLAGS) \
72 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
73 $(KDE4_GLIB_LIBS) \
75 endif
78 $(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
79 vcl/unx/kde4/KDEData \
80 vcl/unx/kde4/KDE4FilePicker \
81 vcl/unx/kde4/KDESalDisplay \
82 vcl/unx/kde4/KDESalFrame \
83 vcl/unx/kde4/KDESalGraphics \
84 vcl/unx/kde4/KDESalInstance \
85 vcl/unx/kde4/KDEXLib \
86 vcl/unx/kde4/main \
87 vcl/unx/kde4/VCLKDEApplication \
90 ifeq ($(OS),LINUX)
91 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
92 -lm \
93 -ldl \
94 -lpthread \
96 endif
98 # vim: set noet sw=4 ts=4: