xref: /aoo41x/main/vcl/Library_vclplug_kde.mk (revision 752c0af7)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,vclplug_kde))
25
26$(eval $(call gb_Library_set_include,vclplug_kde,\
27	$$(INCLUDE) \
28	-I$(SRCDIR)/vcl/inc \
29	-I$(SRCDIR)/vcl/inc/pch \
30	-I$(SRCDIR)/solenv/inc \
31	-I$(OUTDIR)/inc/offuh \
32	-I$(OUTDIR)/inc/stl \
33	-I$(OUTDIR)/inc \
34))
35
36$(eval $(call gb_Library_set_cxxflags,vclplug_kde,\
37    $$(CXXFLAGS) \
38    $$(KDE_CFLAGS) \
39))
40
41$(eval $(call gb_Library_set_defs,vclplug_kde,\
42	$$(DEFS) \
43    -DVCLPLUG_KDE_IMPLEMENTATION \
44))
45
46$(eval $(call gb_Library_set_ldflags,vclplug_kde,\
47    $$(KDE_LIBS)\
48    $$(LDFLAGS) \
49))
50
51$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\
52    vclplug_gen \
53    vcl \
54    tl \
55    utl \
56    sot \
57    ucbhelper \
58	basegfx \
59	comphelper \
60    cppuhelper \
61    icuuc \
62    icule \
63	i18nisolang1 \
64	i18npaper \
65    i18nutil \
66    jvmaccess \
67	stl \
68	cppu \
69	sal \
70	vos3 \
71    X11 \
72    Xext \
73    SM \
74    ICE \
75))
76
77$(eval $(call gb_Library_add_exception_objects,vclplug_kde,\
78    vcl/unx/kde/kdedata \
79    vcl/unx/kde/salnativewidgets-kde \
80))
81
82ifeq ($(OS),LINUX)
83$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\
84	dl \
85	m \
86	pthread \
87))
88endif
89# vim: set noet sw=4 ts=4:
90