xref: /trunk/main/vcl/Library_vclplug_kde4.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.	If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,vclplug_kde4))
29
30$(eval $(call gb_Library_set_include,vclplug_kde4,\
31	$$(INCLUDE) \
32	-I$(SRCDIR)/vcl/inc \
33	-I$(SRCDIR)/vcl/inc/pch \
34	-I$(SRCDIR)/solenv/inc \
35	-I$(OUTDIR)/inc/offuh \
36	-I$(OUTDIR)/inc/stl \
37	-I$(OUTDIR)/inc \
38))
39
40$(eval $(call gb_Library_set_cxxflags,vclplug_kde4,\
41    $$(CXXFLAGS) \
42    $$(KDE4_CFLAGS) \
43))
44
45$(eval $(call gb_Library_set_defs,vclplug_kde4,\
46	$$(DEFS) \
47    -DVCLPLUG_KDE4_IMPLEMENTATION \
48))
49
50$(eval $(call gb_Library_set_ldflags,vclplug_kde4,\
51    $$(KDE4_LIBS)\
52    $$(LDFLAGS) \
53))
54
55$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
56    vclplug_gen \
57    vcl \
58    tl \
59    utl \
60    sot \
61    ucbhelper \
62	basegfx \
63	comphelper \
64    cppuhelper \
65    icuuc \
66    icule \
67	i18nisolang1 \
68	i18npaper \
69    i18nutil \
70    jvmaccess \
71	stl \
72	cppu \
73	sal \
74	vos3 \
75    X11 \
76    Xext \
77    SM \
78    ICE \
79))
80
81$(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
82    vcl/unx/kde4/KDEData \
83    vcl/unx/kde4/KDESalDisplay \
84    vcl/unx/kde4/KDESalFrame \
85    vcl/unx/kde4/KDESalGraphics \
86    vcl/unx/kde4/KDESalInstance \
87    vcl/unx/kde4/KDEXLib \
88    vcl/unx/kde4/main \
89    vcl/unx/kde4/VCLKDEApplication \
90))
91
92ifeq ($(OS),LINUX)
93$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
94	dl \
95	m \
96	pthread \
97))
98endif
99# vim: set noet sw=4 ts=4:
100