1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # The Initial Developer of the Original Code is
15 # David Tardon, Red Hat Inc. <dtardon@redhat.com>
16 # Portions created by the Initial Developer are Copyright (C) 2010 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 include $(realpath
$(SRCDIR
)/writerfilter
/debug_setup.mk
)
30 include $(realpath
$(SRCDIR
)/writerfilter
/source
/generated.mk
)
32 $(eval
$(call gb_Library_Library
,ooxml
))
34 $(eval
$(call gb_Library_set_include
,ooxml
,\
36 -I
$(realpath
$(SRCDIR
)/writerfilter
/inc
) \
37 -I
$(realpath
$(SRCDIR
)/writerfilter
/source
/ooxml
) \
38 -I
$(realpath
$(SRCDIR
)/writerfilter
/source
/dmapper
) \
39 -I
$(WORKDIR
)/CustomTarget
/writerfilter
/source \
40 -I
$(WORKDIR
)/CustomTarget
/writerfilter
/source
/ooxml \
41 -I
$(WORKDIR
)/CustomTarget
/writerfilter
/source
/doctok \
45 $(eval
$(call gb_Library_add_defs
,ooxml
,\
46 -DWRITERFILTER_OOXML_DLLIMPLEMENTATION \
47 $(writerfilter_debug_flags
) \
50 $(eval
$(call gb_Library_add_api
,ooxml
,\
55 $(eval
$(call gb_Library_add_linked_libs
,ooxml
,\
68 $(eval
$(call gb_Library_use_external
,ooxml
,libxml2
))
70 $(eval
$(call gb_Library_add_exception_objects
,ooxml
,\
71 writerfilter
/source
/dmapper
/BorderHandler \
72 writerfilter
/source
/dmapper
/CellColorHandler \
73 writerfilter
/source
/dmapper
/CellMarginHandler \
74 writerfilter
/source
/dmapper
/ConversionHelper \
75 writerfilter
/source
/dmapper
/DomainMapper \
76 writerfilter
/source
/dmapper
/DomainMapper_Impl \
77 writerfilter
/source
/dmapper
/DomainMapperTableHandler \
78 writerfilter
/source
/dmapper
/DomainMapperTableManager \
79 writerfilter
/source
/dmapper
/FFDataHandler \
80 writerfilter
/source
/dmapper
/FontTable \
81 writerfilter
/source
/dmapper
/FormControlHelper \
82 writerfilter
/source
/dmapper
/GraphicHelpers \
83 writerfilter
/source
/dmapper
/GraphicImport \
84 writerfilter
/source
/dmapper
/MeasureHandler \
85 writerfilter
/source
/dmapper
/ModelEventListener \
86 writerfilter
/source
/dmapper
/NumberingManager \
87 writerfilter
/source
/dmapper
/OLEHandler \
88 writerfilter
/source
/dmapper
/PageBordersHandler \
89 writerfilter
/source
/dmapper
/PropertyIds \
90 writerfilter
/source
/dmapper
/PropertyMap \
91 writerfilter
/source
/dmapper
/PropertyMapHelper \
92 writerfilter
/source
/dmapper
/SectionColumnHandler \
93 writerfilter
/source
/dmapper
/SettingsTable \
94 writerfilter
/source
/dmapper
/StyleSheetTable \
95 writerfilter
/source
/dmapper
/TablePropertiesHandler \
96 writerfilter
/source
/dmapper
/TblStylePrHandler \
97 writerfilter
/source
/dmapper
/TDefTableHandler \
98 writerfilter
/source
/dmapper
/ThemeTable \
99 writerfilter
/source
/dmapper
/WrapPolygonHandler \
100 writerfilter
/source
/ooxml
/Handler \
101 writerfilter
/source
/ooxml
/OOXMLBinaryObjectReference \
102 writerfilter
/source
/ooxml
/OOXMLDocumentImpl \
103 writerfilter
/source
/ooxml
/OOXMLFactory \
104 writerfilter
/source
/ooxml
/OOXMLFastContextHandler \
105 writerfilter
/source
/ooxml
/OOXMLFastDocumentHandler \
106 writerfilter
/source
/ooxml
/OOXMLFastTokenHandler \
107 writerfilter
/source
/ooxml
/OOXMLParserState \
108 writerfilter
/source
/ooxml
/OOXMLPropertySetImpl \
109 writerfilter
/source
/ooxml
/OOXMLStreamImpl \
112 $(eval
$(call gb_Library_add_generated_exception_objects
,ooxml
,\
113 $(patsubst %,CustomTarget
/writerfilter
/source
/OOXMLFactory_
%,$(WRITERFILTER_OOXMLNAMESPACES
)) \
114 CustomTarget
/writerfilter
/source
/OOXMLFactory_generated \
115 CustomTarget
/writerfilter
/source
/OOXMLFactory_values \
118 # vim: set noet sw=4 ts=4: