#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# 
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org.  If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************

$(eval $(call gb_Library_Library,xo))

$(eval $(call gb_Library_set_componentfile,xo,xmloff/util/xo))

$(eval $(call gb_Library_add_package_headers,xo,xmloff_inc))

$(eval $(call gb_Library_add_precompiled_header,xo,$(SRCDIR)/xmloff/inc/pch/precompiled_xmloff))

$(eval $(call gb_Library_set_include,xo,\
    $$(SOLARINC) \
    -I$(realpath $(SRCDIR)/xmloff/inc) \
    -I$(realpath $(SRCDIR)/xmloff/inc/pch) \
    -I$(OUTDIR)/inc/offuh \
))

$(eval $(call gb_Library_set_defs,xo,\
    $$(DEFS) \
    -DXMLOFF_DLLIMPLEMENTATION \
))

$(eval $(call gb_Library_add_linked_libs,xo,\
    basegfx \
    comphelper \
    cppu \
    cppuhelper \
    i18nisolang1 \
    sal \
    salhelper \
    svl \
    tl \
    utl \
    $(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_exception_objects,xo,\
    xmloff/source/chart/ColorPropertySet \
    xmloff/source/chart/PropertyMaps \
    xmloff/source/chart/SchXMLAutoStylePoolP \
    xmloff/source/chart/SchXMLAxisContext \
    xmloff/source/chart/SchXMLCalculationSettingsContext \
    xmloff/source/chart/SchXMLChartContext \
    xmloff/source/chart/SchXMLEnumConverter \
    xmloff/source/chart/SchXMLExport \
    xmloff/source/chart/SchXMLImport \
    xmloff/source/chart/SchXMLLegendContext \
    xmloff/source/chart/SchXMLParagraphContext \
    xmloff/source/chart/SchXMLPlotAreaContext \
    xmloff/source/chart/SchXMLSeries2Context \
    xmloff/source/chart/SchXMLSeriesHelper \
    xmloff/source/chart/SchXMLTableContext \
    xmloff/source/chart/SchXMLTextListContext \
    xmloff/source/chart/SchXMLTools \
    xmloff/source/chart/XMLAxisPositionPropertyHdl \
    xmloff/source/chart/XMLChartPropertyContext \
    xmloff/source/chart/XMLChartStyleContext \
    xmloff/source/chart/XMLErrorBarStylePropertyHdl \
    xmloff/source/chart/XMLErrorIndicatorPropertyHdl \
    xmloff/source/chart/XMLLabelSeparatorContext \
    xmloff/source/chart/XMLSymbolImageContext \
    xmloff/source/chart/XMLSymbolTypePropertyHdl \
    xmloff/source/chart/XMLTextOrientationHdl \
    xmloff/source/chart/contexts \
    xmloff/source/chart/transporttypes \
    xmloff/source/core/DocumentSettingsContext \
    xmloff/source/core/DomBuilderContext \
    xmloff/source/core/DomExport \
    xmloff/source/core/ProgressBarHelper \
    xmloff/source/core/PropertySetMerger \
    xmloff/source/core/RDFaExportHelper \
    xmloff/source/core/RDFaImportHelper \
    xmloff/source/core/SettingsExportHelper \
    xmloff/source/core/XMLBase64Export \
    xmloff/source/core/XMLBase64ImportContext \
    xmloff/source/core/XMLBasicExportFilter \
    xmloff/source/core/XMLEmbeddedObjectExportFilter \
    xmloff/source/core/XMLEmbeddedObjectImportContext \
    xmloff/source/core/attrlist \
    xmloff/source/core/facreg \
    xmloff/source/core/i18nmap \
    xmloff/source/core/nmspmap \
    xmloff/source/core/unoatrcn \
    xmloff/source/core/unointerfacetouniqueidentifiermapper \
    xmloff/source/core/xmlcnitm \
    xmloff/source/core/xmlehelp \
    xmloff/source/core/xmlerror \
    xmloff/source/core/xmlexp \
    xmloff/source/core/xmlictxt \
    xmloff/source/core/xmlimp \
    xmloff/source/core/xmltkmap \
    xmloff/source/core/xmltoken \
    xmloff/source/core/xmluconv \
    xmloff/source/draw/EnhancedCustomShapeToken \
    xmloff/source/draw/XMLGraphicsDefaultStyle \
    xmloff/source/draw/XMLImageMapContext \
    xmloff/source/draw/XMLImageMapExport \
    xmloff/source/draw/XMLNumberStyles \
    xmloff/source/draw/XMLReplacementImageContext \
    xmloff/source/draw/XMLShapePropertySetContext \
    xmloff/source/draw/XMLShapeStyleContext \
    xmloff/source/draw/animationexport \
    xmloff/source/draw/animationimport \
    xmloff/source/draw/animexp \
    xmloff/source/draw/animimp \
    xmloff/source/draw/descriptionimp \
    xmloff/source/draw/eventimp \
    xmloff/source/draw/layerexp \
    xmloff/source/draw/layerimp \
    xmloff/source/draw/numithdl \
    xmloff/source/draw/propimp0 \
    xmloff/source/draw/sdpropls \
    xmloff/source/draw/sdxmlexp \
    xmloff/source/draw/sdxmlimp \
    xmloff/source/draw/shapeexport \
    xmloff/source/draw/shapeexport2 \
    xmloff/source/draw/shapeexport3 \
    xmloff/source/draw/shapeexport4 \
    xmloff/source/draw/shapeimport \
    xmloff/source/draw/viewcontext \
    xmloff/source/draw/xexptran \
    xmloff/source/draw/ximp3dobject \
    xmloff/source/draw/ximp3dscene \
    xmloff/source/draw/ximpbody \
    xmloff/source/draw/ximpcustomshape \
    xmloff/source/draw/ximpgrp \
    xmloff/source/draw/ximplink \
    xmloff/source/draw/ximpnote \
    xmloff/source/draw/ximppage \
    xmloff/source/draw/ximpshap \
    xmloff/source/draw/ximpshow \
    xmloff/source/draw/ximpstyl \
    xmloff/source/forms/attriblistmerge \
    xmloff/source/forms/controlelement \
    xmloff/source/forms/controlpropertyhdl \
    xmloff/source/forms/controlpropertymap \
    xmloff/source/forms/elementexport \
    xmloff/source/forms/elementimport \
    xmloff/source/forms/eventexport \
    xmloff/source/forms/eventimport \
    xmloff/source/forms/formattributes \
    xmloff/source/forms/formcellbinding \
    xmloff/source/forms/formenums \
    xmloff/source/forms/formevents \
    xmloff/source/forms/formlayerexport \
    xmloff/source/forms/formlayerimport \
    xmloff/source/forms/formsimp \
    xmloff/source/forms/formstyles \
    xmloff/source/forms/gridcolumnproptranslator \
    xmloff/source/forms/layerexport \
    xmloff/source/forms/layerimport \
    xmloff/source/forms/logging \
    xmloff/source/forms/officeforms \
    xmloff/source/forms/propertyexport \
    xmloff/source/forms/propertyimport \
    xmloff/source/forms/property_meta_data \
    xmloff/source/forms/strings \
    xmloff/source/forms/valueproperties \
    xmloff/source/forms/handler/form_handler_factory \
    xmloff/source/forms/handler/property_handler_base \
    xmloff/source/forms/handler/vcl_date_handler \
    xmloff/source/forms/handler/vcl_time_handler \
    xmloff/source/meta/MetaExportComponent \
    xmloff/source/meta/MetaImportComponent \
    xmloff/source/meta/xmlmetae \
    xmloff/source/meta/xmlmetai \
    xmloff/source/meta/xmlversion \
    xmloff/source/script/XMLEventExport \
    xmloff/source/script/XMLEventImportHelper \
    xmloff/source/script/XMLEventsImportContext \
    xmloff/source/script/XMLScriptContextFactory \
    xmloff/source/script/XMLScriptExportHandler \
    xmloff/source/script/XMLStarBasicContextFactory \
    xmloff/source/script/XMLStarBasicExportHandler \
    xmloff/source/script/xmlbasici \
    xmloff/source/script/xmlscripti \
    xmloff/source/style/AttributeContainerHandler \
    xmloff/source/style/DashStyle \
    xmloff/source/style/DrawAspectHdl \
    xmloff/source/style/EnumPropertyHdl \
    xmloff/source/style/FillStyleContext \
    xmloff/source/style/GradientStyle \
    xmloff/source/style/HatchStyle \
    xmloff/source/style/ImageStyle \
    xmloff/source/style/MarkerStyle \
    xmloff/source/style/MultiPropertySetHelper \
    xmloff/source/style/NamedBoolPropertyHdl \
    xmloff/source/style/PageHeaderFooterContext \
    xmloff/source/style/PageMasterExportPropMapper \
    xmloff/source/style/PageMasterImportContext \
    xmloff/source/style/PageMasterImportPropMapper \
    xmloff/source/style/PageMasterPropHdl \
    xmloff/source/style/PageMasterPropHdlFactory \
    xmloff/source/style/PageMasterPropMapper \
    xmloff/source/style/PageMasterStyleMap \
    xmloff/source/style/PagePropertySetContext \
    xmloff/source/style/SinglePropertySetInfoCache \
    xmloff/source/style/StyleMap \
    xmloff/source/style/TransGradientStyle \
    xmloff/source/style/VisAreaContext \
    xmloff/source/style/VisAreaExport \
    xmloff/source/style/WordWrapPropertyHdl \
    xmloff/source/style/XMLBackgroundImageContext \
    xmloff/source/style/XMLBackgroundImageExport \
    xmloff/source/style/XMLBitmapLogicalSizePropertyHandler \
    xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler \
    xmloff/source/style/XMLClipPropertyHandler \
    xmloff/source/style/XMLConstantsPropertyHandler \
    xmloff/source/style/XMLElementPropertyContext \
    xmloff/source/style/XMLFillBitmapSizePropertyHandler \
    xmloff/source/style/XMLFontAutoStylePool \
    xmloff/source/style/XMLFontStylesContext \
    xmloff/source/style/XMLFootnoteSeparatorExport \
    xmloff/source/style/XMLFootnoteSeparatorImport \
    xmloff/source/style/XMLIsPercentagePropertyHandler \
    xmloff/source/style/XMLPageExport \
    xmloff/source/style/XMLPercentOrMeasurePropertyHandler \
    xmloff/source/style/XMLRectangleMembersHandler \
    xmloff/source/style/adjushdl \
    xmloff/source/style/backhdl \
    xmloff/source/style/bordrhdl \
    xmloff/source/style/breakhdl \
    xmloff/source/style/cdouthdl \
    xmloff/source/style/chrhghdl \
    xmloff/source/style/chrlohdl \
    xmloff/source/style/csmaphdl \
    xmloff/source/style/durationhdl \
    xmloff/source/style/escphdl \
    xmloff/source/style/fonthdl \
    xmloff/source/style/impastp1 \
    xmloff/source/style/impastp2 \
    xmloff/source/style/impastp3 \
    xmloff/source/style/impastp4 \
    xmloff/source/style/kernihdl \
    xmloff/source/style/lspachdl \
    xmloff/source/style/numehelp \
    xmloff/source/style/opaquhdl \
    xmloff/source/style/postuhdl \
    xmloff/source/style/prhdlfac \
    xmloff/source/style/prstylei \
    xmloff/source/style/shadwhdl \
    xmloff/source/style/shdwdhdl \
    xmloff/source/style/styleexp \
    xmloff/source/style/tabsthdl \
    xmloff/source/style/undlihdl \
    xmloff/source/style/uniref \
    xmloff/source/style/weighhdl \
    xmloff/source/style/xmlaustp \
    xmloff/source/style/xmlbahdl \
    xmloff/source/style/xmlexppr \
    xmloff/source/style/xmlimppr \
    xmloff/source/style/xmlnume \
    xmloff/source/style/xmlnumfe \
    xmloff/source/style/xmlnumfi \
    xmloff/source/style/xmlnumi \
    xmloff/source/style/xmlprcon \
    xmloff/source/style/xmlprhdl \
    xmloff/source/style/xmlprmap \
    xmloff/source/style/xmlstyle \
    xmloff/source/style/xmltabe \
    xmloff/source/style/xmltabi \
    xmloff/source/table/XMLTableExport \
    xmloff/source/table/XMLTableImport \
    xmloff/source/text/XMLAutoMarkFileContext \
    xmloff/source/text/XMLAutoTextContainerEventImport \
    xmloff/source/text/XMLAutoTextEventExport \
    xmloff/source/text/XMLAutoTextEventImport \
    xmloff/source/text/XMLCalculationSettingsContext \
    xmloff/source/text/XMLChangeElementImportContext \
    xmloff/source/text/XMLChangeImportContext \
    xmloff/source/text/XMLChangeInfoContext \
    xmloff/source/text/XMLChangedRegionImportContext \
    xmloff/source/text/XMLFootnoteBodyImportContext \
    xmloff/source/text/XMLFootnoteConfigurationImportContext \
    xmloff/source/text/XMLFootnoteImportContext \
    xmloff/source/text/XMLIndexAlphabeticalSourceContext \
    xmloff/source/text/XMLIndexBibliographyConfigurationContext \
    xmloff/source/text/XMLIndexBibliographyEntryContext \
    xmloff/source/text/XMLIndexBibliographySourceContext \
    xmloff/source/text/XMLIndexBodyContext \
    xmloff/source/text/XMLIndexChapterInfoEntryContext \
    xmloff/source/text/XMLIndexIllustrationSourceContext \
    xmloff/source/text/XMLIndexMarkExport \
    xmloff/source/text/XMLIndexObjectSourceContext \
    xmloff/source/text/XMLIndexSimpleEntryContext \
    xmloff/source/text/XMLIndexSourceBaseContext \
    xmloff/source/text/XMLIndexSpanEntryContext \
    xmloff/source/text/XMLIndexTOCContext \
    xmloff/source/text/XMLIndexTOCSourceContext \
    xmloff/source/text/XMLIndexTOCStylesContext \
    xmloff/source/text/XMLIndexTabStopEntryContext \
    xmloff/source/text/XMLIndexTableSourceContext \
    xmloff/source/text/XMLIndexTemplateContext \
    xmloff/source/text/XMLIndexTitleTemplateContext \
    xmloff/source/text/XMLIndexUserSourceContext \
    xmloff/source/text/XMLLineNumberingExport \
    xmloff/source/text/XMLLineNumberingImportContext \
    xmloff/source/text/XMLLineNumberingSeparatorImportContext \
    xmloff/source/text/XMLPropertyBackpatcher \
    xmloff/source/text/XMLRedlineExport \
    xmloff/source/text/XMLSectionExport \
    xmloff/source/text/XMLSectionFootnoteConfigExport \
    xmloff/source/text/XMLSectionFootnoteConfigImport \
    xmloff/source/text/XMLSectionImportContext \
    xmloff/source/text/XMLSectionSourceDDEImportContext \
    xmloff/source/text/XMLSectionSourceImportContext \
    xmloff/source/text/XMLStringBufferImportContext \
    xmloff/source/text/XMLTextCharStyleNamesElementExport \
    xmloff/source/text/XMLTextColumnsContext \
    xmloff/source/text/XMLTextColumnsExport \
    xmloff/source/text/XMLTextFrameContext \
    xmloff/source/text/XMLTextFrameHyperlinkContext \
    xmloff/source/text/XMLTextHeaderFooterContext \
    xmloff/source/text/XMLTextListAutoStylePool \
    xmloff/source/text/XMLTextListBlockContext \
    xmloff/source/text/XMLTextListItemContext \
    xmloff/source/text/XMLTextMarkImportContext \
    xmloff/source/text/XMLTextMasterPageContext \
    xmloff/source/text/XMLTextMasterPageExport \
    xmloff/source/text/XMLTextMasterStylesContext \
    xmloff/source/text/XMLTextNumRuleInfo \
    xmloff/source/text/XMLTextPropertySetContext \
    xmloff/source/text/XMLTextShapeImportHelper \
    xmloff/source/text/XMLTextShapeStyleContext \
    xmloff/source/text/XMLTextTableContext \
    xmloff/source/text/XMLTrackedChangesImportContext \
    xmloff/source/text/txtdrope \
    xmloff/source/text/txtdropi \
    xmloff/source/text/txtexppr \
    xmloff/source/text/txtflde \
    xmloff/source/text/txtfldi \
    xmloff/source/text/txtftne \
    xmloff/source/text/txtimp \
    xmloff/source/text/txtimppr \
    xmloff/source/text/txtlists \
    xmloff/source/text/txtparae \
    xmloff/source/text/txtparai \
    xmloff/source/text/txtprhdl \
    xmloff/source/text/txtprmap \
    xmloff/source/text/txtsecte \
    xmloff/source/text/txtstyle \
    xmloff/source/text/txtstyli \
    xmloff/source/text/txtvfldi \
    xmloff/source/xforms/SchemaContext \
    xmloff/source/xforms/SchemaRestrictionContext \
    xmloff/source/xforms/SchemaSimpleTypeContext \
    xmloff/source/xforms/TokenContext \
    xmloff/source/xforms/XFormsBindContext \
    xmloff/source/xforms/XFormsInstanceContext \
    xmloff/source/xforms/XFormsModelContext \
    xmloff/source/xforms/XFormsSubmissionContext \
    xmloff/source/xforms/xformsapi \
    xmloff/source/xforms/xformsexport \
    xmloff/source/xforms/xformsimport \
))

# vim: set noet ts=4 sw=4: