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_kde)) 29 30$(eval $(call gb_Library_set_include,vclplug_kde,\ 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_kde,\ 41 $$(CXXFLAGS) \ 42 $$(KDE_CFLAGS) \ 43)) 44 45$(eval $(call gb_Library_set_defs,vclplug_kde,\ 46 $$(DEFS) \ 47 -DVCLPLUG_KDE_IMPLEMENTATION \ 48)) 49 50$(eval $(call gb_Library_set_ldflags,vclplug_kde,\ 51 $$(KDE_LIBS)\ 52 $$(LDFLAGS) \ 53)) 54 55$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\ 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_kde,\ 82 vcl/unx/kde/kdedata \ 83 vcl/unx/kde/salnativewidgets-kde \ 84)) 85 86ifeq ($(OS),LINUX) 87$(eval $(call gb_Library_add_linked_libs,vclplug_kde,\ 88 dl \ 89 m \ 90 pthread \ 91)) 92endif 93# vim: set noet sw=4 ts=4: 94