Trying to fix packaging of SDK
[LibreOffice.git] / vcl / Library_vclplug_kde4.mk
blob8476fafe8e256cf91913b71cdb6bc0a99fbd4d4b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2010 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,vclplug_kde4))
31 $(eval $(call gb_Library_add_package_headers,vcl,vcl_kde4moc))
33 $(eval $(call gb_Library_set_include,vclplug_kde4,\
34 $$(INCLUDE) \
35 -I$(SRCDIR)/vcl/inc \
36 -I$(SRCDIR)/vcl/inc/pch \
37 -I$(SRCDIR)/solenv/inc \
38 -I$(OUTDIR)/inc \
39 -I$(WORKDIR)/CustomTarget/vcl/unx/kde4 \
42 $(eval $(call gb_Library_set_include,vclplug_kde4,\
43 $$(INCLUDE) \
44 $$(KDE4_CFLAGS) \
47 $(eval $(call gb_Library_add_defs,vclplug_kde4,\
48 -DVCLPLUG_KDE4_IMPLEMENTATION \
51 $(eval $(call gb_Library_add_api,vclplug_kde4,\
52 offapi \
53 udkapi \
56 $(eval $(call gb_Library_add_libs,vclplug_kde4,\
57 $$(KDE4_LIBS) \
60 $(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
61 vclplug_gen \
62 vcl \
63 tl \
64 utl \
65 sot \
66 ucbhelper \
67 basegfx \
68 comphelper \
69 cppuhelper \
70 i18nisolang1 \
71 i18npaper \
72 i18nutil \
73 jvmaccess \
74 cppu \
75 sal \
76 X11 \
77 Xext \
78 SM \
79 ICE \
82 $(eval $(call gb_Library_use_externals,vclplug_kde4,\
83 icule \
84 icuuc \
87 $(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
88 vcl/unx/kde4/KDEData \
89 vcl/unx/kde4/KDESalDisplay \
90 vcl/unx/kde4/KDESalFrame \
91 vcl/unx/kde4/KDESalGraphics \
92 vcl/unx/kde4/KDESalInstance \
93 vcl/unx/kde4/KDEXLib \
94 vcl/unx/kde4/main \
95 vcl/unx/kde4/VCLKDEApplication \
98 ifeq ($(OS),LINUX)
99 $(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
100 dl \
102 pthread \
104 endif
105 # vim: set noet sw=4 ts=4: