Bump for 4.0-15
[LibreOffice.git] / vcl / Library_vclplug_kde.mk
blob70ee7f906da575b133308a18212064ed8ed972e3
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_kde))
22 $(eval $(call gb_Library_use_packages,vclplug_kde,\
23 shell_inc \
26 $(eval $(call gb_Library_set_include,vclplug_kde,\
27 $$(INCLUDE) \
28 -I$(SRCDIR)/vcl/inc \
31 $(eval $(call gb_Library_add_defs,vclplug_kde,\
32 -DVCLPLUG_KDE_IMPLEMENTATION \
35 $(eval $(call gb_Library_use_sdk_api,vclplug_kde))
37 $(eval $(call gb_Library_use_libraries,vclplug_kde,\
38 vclplug_gen \
39 vcl \
40 tl \
41 utl \
42 sot \
43 ucbhelper \
44 basegfx \
45 comphelper \
46 cppuhelper \
47 i18nisolang1 \
48 i18nutil \
49 jvmaccess \
50 cppu \
51 sal \
54 $(eval $(call gb_Library_use_externals,vclplug_kde,\
55 icule \
56 icuuc \
57 kde \
60 $(eval $(call gb_Library_add_libs,vclplug_kde,\
61 -lX11 \
62 -lXext \
63 -lSM \
64 -lICE \
67 $(eval $(call gb_Library_add_exception_objects,vclplug_kde,\
68 vcl/unx/kde/kdedata \
69 vcl/unx/kde/salnativewidgets-kde \
70 vcl/unx/kde/UnxCommandThread \
71 vcl/unx/kde/UnxFilePicker \
72 vcl/unx/kde/UnxNotifyThread \
75 $(eval $(call gb_Library_set_warnings_not_errors,vclplug_kde))
77 ifeq ($(OS),LINUX)
78 $(eval $(call gb_Library_add_libs,vclplug_kde,\
79 -lm \
80 -ldl \
81 -lpthread \
83 endif
85 # vim: set noet sw=4 ts=4: