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_set_include,vclplug_kde4,\ 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_kde4,\ 37 $$(CXXFLAGS) \ 38 $$(KDE4_CFLAGS) \ 39)) 40 41$(eval $(call gb_Library_set_defs,vclplug_kde4,\ 42 $$(DEFS) \ 43 -DVCLPLUG_KDE4_IMPLEMENTATION \ 44)) 45 46$(eval $(call gb_Library_set_ldflags,vclplug_kde4,\ 47 $$(KDE4_LIBS)\ 48 $$(LDFLAGS) \ 49)) 50 51$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\ 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_kde4,\ 78 vcl/unx/kde4/KDEData \ 79 vcl/unx/kde4/KDESalDisplay \ 80 vcl/unx/kde4/KDESalFrame \ 81 vcl/unx/kde4/KDESalGraphics \ 82 vcl/unx/kde4/KDESalInstance \ 83 vcl/unx/kde4/KDEXLib \ 84 vcl/unx/kde4/main \ 85 vcl/unx/kde4/VCLKDEApplication \ 86)) 87 88ifeq ($(OS),LINUX) 89$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\ 90 dl \ 91 m \ 92 pthread \ 93)) 94endif 95# vim: set noet sw=4 ts=4: 96