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_kde4)) 25 26$(eval $(call gb_Library_add_api,vclplug_kde4,\ 27 udkapi \ 28 offapi \ 29)) 30 31$(eval $(call gb_Library_set_include,vclplug_kde4,\ 32 $$(INCLUDE) \ 33 -I$(SRCDIR)/vcl/inc \ 34 -I$(SRCDIR)/vcl/inc/pch \ 35 -I$(SRCDIR)/solenv/inc \ 36 -I$(OUTDIR)/inc/stl \ 37 -I$(OUTDIR)/inc \ 38)) 39 40$(eval $(call gb_Library_set_include,vclplug_kde4,\ 41 $$(INCLUDE) \ 42 $$(KDE4_CFLAGS) \ 43)) 44 45$(eval $(call gb_Library_add_defs,vclplug_kde4,\ 46 -DVCLPLUG_KDE4_IMPLEMENTATION \ 47)) 48 49$(eval $(call gb_Library_add_libs,vclplug_kde4,\ 50 $$(KDE4_LIBS) \ 51)) 52 53$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\ 54 vclplug_gen \ 55 vcl \ 56 tl \ 57 utl \ 58 sot \ 59 ucbhelper \ 60 basegfx \ 61 comphelper \ 62 cppuhelper \ 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$(call gb_Library_use_externals,vclplug_kde4,\ 78 icule \ 79 icuuc \ 80) 81 82$(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\ 83 vcl/unx/kde4/KDEData \ 84 vcl/unx/kde4/KDESalDisplay \ 85 vcl/unx/kde4/KDESalFrame \ 86 vcl/unx/kde4/KDESalGraphics \ 87 vcl/unx/kde4/KDESalInstance \ 88 vcl/unx/kde4/KDEXLib \ 89 vcl/unx/kde4/main \ 90 vcl/unx/kde4/VCLKDEApplication \ 91)) 92 93ifeq ($(OS),LINUX) 94$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\ 95 dl \ 96 m \ 97 pthread \ 98)) 99endif 100 101# vim: set noet sw=4 ts=4: 102