1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2009 by Sun Microsystems, Inc. 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,unordf)) 29 30$(eval $(call gb_Library_set_componentfile,unordf,unoxml/source/rdf/unordf)) 31 32$(eval $(call gb_Library_set_include,unordf,\ 33 $$(INCLUDE) \ 34 -I$(OUTDIR)/inc/offuh \ 35)) 36 37$(eval $(call gb_Library_set_defs,unordf,\ 38 $$(DEFS) \ 39)) 40 41$(eval $(call gb_Library_add_linked_libs,unordf,\ 42 cppuhelper \ 43 cppu \ 44 sal \ 45 stl \ 46 rdf \ 47 xslt \ 48 $(gb_STDLIBS) \ 49)) 50 51$(eval $(call gb_Library_add_exception_objects,unordf,\ 52 unoxml/source/rdf/CBlankNode \ 53 unoxml/source/rdf/CURI \ 54 unoxml/source/rdf/CLiteral \ 55 unoxml/source/rdf/librdf_repository \ 56 unoxml/source/rdf/librdf_services \ 57)) 58 59ifeq ($(SYSTEM_REDLAND),YES) 60$(eval $(call gb_Library_set_cxxflags,unordf,\ 61 $$(CXXFLAGS) \ 62 -DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \ 63)) 64endif 65 66ifeq ($(SYSTEM_LIBXSLT),YES) 67$(eval $(call gb_Library_set_cxxflags,unordf,\ 68 $$(CXXFLAGS) \ 69 $$(LIBXSLT_CFLAGS) \ 70)) 71endif 72 73# vim: set noet sw=4 ts=4: 74 75