LOK: support password-protected PDF docs
[LibreOffice.git] / vcl / Library_vclplug_kde5.mk
blobd7481690c8e380e7e8fbb0baa41ff31822b739c4
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_kde5))
22 $(eval $(call gb_Library_use_custom_headers,vclplug_kde5,vcl/unx/kde5))
24 $(eval $(call gb_Library_set_include,vclplug_kde5,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
29 $(eval $(call gb_Library_add_defs,vclplug_kde5,\
30 -DVCLPLUG_KDE5_IMPLEMENTATION \
33 $(eval $(call gb_Library_use_sdk_api,vclplug_kde5))
35 $(eval $(call gb_Library_use_libraries,vclplug_kde5,\
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_kde5,\
54 boost_headers \
55 cairo \
56 icuuc \
57 kde5 \
58 epoxy \
61 $(eval $(call gb_Library_add_libs,vclplug_kde5,\
62 -lX11 \
63 -lXext \
64 -lSM \
65 -lICE \
68 ifneq ($(QT5_HAVE_GLIB),)
69 $(eval $(call gb_Library_add_defs,vclplug_kde5,\
70 $(QT5_GLIB_CFLAGS) \
73 $(eval $(call gb_Library_add_libs,vclplug_kde5,\
74 $(QT5_GLIB_LIBS) \
76 endif
78 $(eval $(call gb_Library_add_defs,vclplug_kde5,\
79 $(KF5_CFLAGS) \
81 $(eval $(call gb_Library_add_libs,vclplug_kde5,\
82 $(KF5_LIBS) \
85 $(eval $(call gb_Library_add_exception_objects,vclplug_kde5,\
86 vcl/unx/kde5/KDE5Data \
87 vcl/unx/kde5/KDE5SalDisplay \
88 vcl/unx/kde5/KDE5SalFrame \
89 vcl/unx/kde5/KDE5SalGraphics \
90 vcl/unx/kde5/KDE5SalInstance \
91 vcl/unx/kde5/KDE5XLib \
92 vcl/unx/kde5/VCLKDE5Application \
93 vcl/unx/kde5/main \
96 ifeq ($(OS),LINUX)
97 $(eval $(call gb_Library_add_libs,vclplug_kde5,\
98 -lm \
99 -ldl \
100 -lpthread \
102 endif
104 # vim: set noet sw=4 ts=4: