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_add_api,vclplug_kde,\ 27 udkapi \ 28 offapi \ 29)) 30 31$(eval $(call gb_Library_set_include,vclplug_kde,\ 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_kde,\ 41 $$(INCLUDE) \ 42 $$(KDE_CFLAGS) \ 43)) 44 45$(eval $(call gb_Library_add_defs,vclplug_kde,\ 46 -DVCLPLUG_KDE_IMPLEMENTATION \ 47)) 48 49$(eval $(call gb_Library_add_libs,vclplug_kde,\ 50 $$(KDE_LIBS) \ 51)) 52 53$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\ 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_kde,\ 78 icule \ 79 icuuc \ 80) 81 82$(eval $(call gb_Library_add_exception_objects,vclplug_kde,\ 83 vcl/unx/kde/kdedata \ 84 vcl/unx/kde/salnativewidgets-kde \ 85)) 86 87ifeq ($(OS),LINUX) 88$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\ 89 dl \ 90 m \ 91 pthread \ 92)) 93endif 94# vim: set noet sw=4 ts=4: 95