tdf#119030: Disable entries if open file read-only is unchecked
[LibreOffice.git] / vcl / Library_vclplug_kde4.mk
blob88dfd50f41f7ace7b968c120b7528b75f1ac79ff
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 harfbuzz \
56 icuuc \
57 kde4 \
58 epoxy \
61 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
62 -lX11 \
63 -lXext \
64 -lSM \
65 -lICE \
68 ifneq ($(KDE4_HAVE_GLIB),)
69 $(eval $(call gb_Library_add_defs,vclplug_kde4,\
70 $(KDE4_GLIB_CFLAGS) \
73 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
74 $(KDE4_GLIB_LIBS) \
76 endif
79 $(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
80 vcl/unx/kde4/KDEData \
81 vcl/unx/kde4/KDE4FilePicker \
82 vcl/unx/kde4/KDESalDisplay \
83 vcl/unx/kde4/KDESalFrame \
84 vcl/unx/kde4/KDESalGraphics \
85 vcl/unx/kde4/KDESalInstance \
86 vcl/unx/kde4/KDEXLib \
87 vcl/unx/kde4/main \
88 vcl/unx/kde4/VCLKDEApplication \
91 ifeq ($(OS),LINUX)
92 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
93 -lm \
94 -ldl \
95 -lpthread \
97 endif
99 # vim: set noet sw=4 ts=4: