update credits
[LibreOffice.git] / writerfilter / Library_writerfilter.mk
blob19935907c18a5f91288bb4bf1797610e9e9b3531
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,writerfilter))
12 $(eval $(call gb_Library_use_custom_headers,writerfilter,\
13 oox/generated \
14 writerfilter/source \
17 $(eval $(call gb_Library_set_precompiled_header,writerfilter,$(SRCDIR)/writerfilter/inc/pch/precompiled_writerfilter))
19 $(eval $(call gb_Library_set_include,writerfilter,\
20 $$(INCLUDE) \
21 -I$(SRCDIR)/writerfilter/inc \
22 -I$(SRCDIR)/writerfilter/source \
25 $(eval $(call gb_Library_use_sdk_api,writerfilter))
27 $(eval $(call gb_Library_set_componentfile,writerfilter,writerfilter/util/writerfilter))
29 $(eval $(call gb_Library_add_defs,writerfilter,\
30 -DWRITERFILTER_DOCTOK_DLLIMPLEMENTATION \
31 -DWRITERFILTER_OOXML_DLLIMPLEMENTATION \
32 -DWRITERFILTER_RESOURCEMODEL_DLLIMPLEMENTATION \
33 -DWRITERFILTER_RTFTOK_DLLIMPLEMENTATION \
34 -DWRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION \
35 $(if $(filter-out 0 1,$(gb_DEBUGLEVEL)), \
36 -DDEBUG_DOMAINMAPPER \
37 -DDEBUG_ELEMENT \
38 -DDEBUG_RESOLVE \
39 -DDEBUG_CONTEXT_STACK \
40 -DDEBUG_ATTRIBUTES \
41 -DDEBUG_PROPERTIES \
42 -DDEBUG_CONTEXT_HANDLER \
43 -DDEBUG_IMPORT \
44 -DDEBUG_LOGGING \
45 -DDEBUG_DMAPPER_PROPERTY_MAP \
46 -DDEBUG_DMAPPER_TABLE_HANDLER \
47 -DDEBUG_TABLE \
48 -DDEBUG_DMAPPER_SETTINGS_TABLE \
49 ) \
52 $(eval $(call gb_Library_use_libraries,writerfilter,\
53 comphelper \
54 cppu \
55 cppuhelper \
56 editeng \
57 i18nlangtag \
58 i18nutil \
59 msfilter \
60 oox \
61 sal \
62 sfx \
63 sot \
64 svt \
65 tl \
66 utl \
67 vcl \
68 $(gb_UWINAPI) \
71 $(eval $(call gb_Library_use_externals,writerfilter,\
72 boost_headers \
73 icu_headers \
74 libxml2 \
77 $(eval $(call gb_Library_add_exception_objects,writerfilter,\
78 writerfilter/source/rtftok/rtfcharsets \
79 writerfilter/source/rtftok/rtfcontrolwords \
80 writerfilter/source/rtftok/rtfdocumentfactory \
81 writerfilter/source/rtftok/rtfdocumentimpl \
82 writerfilter/source/rtftok/rtfreferenceproperties \
83 writerfilter/source/rtftok/rtfreferencetable \
84 writerfilter/source/rtftok/rtfsdrimport \
85 writerfilter/source/rtftok/rtfskipdestination \
86 writerfilter/source/rtftok/rtfsprm \
87 writerfilter/source/rtftok/rtftokenizer \
88 writerfilter/source/rtftok/rtfvalue \
89 writerfilter/source/dmapper/BorderHandler \
90 writerfilter/source/dmapper/CellColorHandler \
91 writerfilter/source/dmapper/CellMarginHandler \
92 writerfilter/source/dmapper/ConversionHelper \
93 writerfilter/source/dmapper/DomainMapper \
94 writerfilter/source/dmapper/DomainMapperTableHandler \
95 writerfilter/source/dmapper/DomainMapperTableManager \
96 writerfilter/source/dmapper/DomainMapper_Impl \
97 writerfilter/source/dmapper/FFDataHandler \
98 writerfilter/source/dmapper/FontTable \
99 writerfilter/source/dmapper/FormControlHelper \
100 writerfilter/source/dmapper/GraphicHelpers \
101 writerfilter/source/dmapper/GraphicImport \
102 writerfilter/source/dmapper/MeasureHandler \
103 writerfilter/source/dmapper/ModelEventListener \
104 writerfilter/source/dmapper/NumberingManager \
105 writerfilter/source/dmapper/OLEHandler \
106 writerfilter/source/dmapper/PageBordersHandler \
107 writerfilter/source/dmapper/PropertyIds \
108 writerfilter/source/dmapper/PropertyMap \
109 writerfilter/source/dmapper/PropertyMapHelper \
110 writerfilter/source/dmapper/SdtHelper \
111 writerfilter/source/dmapper/SectionColumnHandler \
112 writerfilter/source/dmapper/SettingsTable \
113 writerfilter/source/dmapper/StyleSheetTable \
114 writerfilter/source/dmapper/TDefTableHandler \
115 writerfilter/source/dmapper/TablePositionHandler \
116 writerfilter/source/dmapper/TablePropertiesHandler \
117 writerfilter/source/dmapper/TblStylePrHandler \
118 writerfilter/source/dmapper/ThemeTable \
119 writerfilter/source/dmapper/WrapPolygonHandler \
120 writerfilter/source/doctok/Dff \
121 writerfilter/source/doctok/DffImpl \
122 writerfilter/source/doctok/WW8Annotation \
123 writerfilter/source/doctok/WW8BinTableImpl \
124 writerfilter/source/doctok/WW8Clx \
125 writerfilter/source/doctok/WW8CpAndFc \
126 writerfilter/source/doctok/WW8DocumentImpl \
127 writerfilter/source/doctok/WW8FKPImpl \
128 writerfilter/source/doctok/WW8FontTable \
129 writerfilter/source/doctok/WW8LFOTable \
130 writerfilter/source/doctok/WW8ListTable \
131 writerfilter/source/doctok/WW8OutputWithDepth \
132 writerfilter/source/doctok/WW8Picture \
133 writerfilter/source/doctok/WW8PieceTableImpl \
134 writerfilter/source/doctok/WW8PropertySetImpl \
135 writerfilter/source/doctok/WW8ResourceModelImpl \
136 writerfilter/source/doctok/WW8StreamImpl \
137 writerfilter/source/doctok/WW8StructBase \
138 writerfilter/source/doctok/WW8Sttbf \
139 writerfilter/source/doctok/WW8StyleSheet \
140 writerfilter/source/doctok/WW8Table \
141 writerfilter/source/doctok/WW8Text \
142 writerfilter/source/filter/ImportFilter \
143 writerfilter/source/filter/RtfFilter \
144 writerfilter/source/filter/WriterFilter \
145 writerfilter/source/filter/WriterFilterDetection \
146 writerfilter/source/ooxml/Handler \
147 writerfilter/source/ooxml/OOXMLBinaryObjectReference \
148 writerfilter/source/ooxml/OOXMLDocumentImpl \
149 writerfilter/source/ooxml/OOXMLFactory \
150 writerfilter/source/ooxml/OOXMLFastContextHandler \
151 writerfilter/source/ooxml/OOXMLFastDocumentHandler \
152 writerfilter/source/ooxml/OOXMLFastTokenHandler \
153 writerfilter/source/ooxml/OOXMLParserState \
154 writerfilter/source/ooxml/OOXMLPropertySetImpl \
155 writerfilter/source/ooxml/OOXMLStreamImpl \
156 writerfilter/source/resourcemodel/Fraction \
157 writerfilter/source/resourcemodel/LoggedResources \
158 writerfilter/source/resourcemodel/Protocol \
159 writerfilter/source/resourcemodel/ResourceModelHelper \
160 writerfilter/source/resourcemodel/TagLogger \
161 writerfilter/source/resourcemodel/XPathLogger \
162 writerfilter/source/resourcemodel/qnametostrcore \
163 writerfilter/source/resourcemodel/resourcemodel \
164 writerfilter/source/resourcemodel/util \
167 $(eval $(call gb_Library_add_generated_exception_objects,writerfilter,\
168 CustomTarget/writerfilter/source/resources \
169 $(patsubst %,CustomTarget/writerfilter/source/OOXMLFactory_%,$(writerfilter_OOXMLNAMESPACES)) \
170 CustomTarget/writerfilter/source/OOXMLFactory_generated \
171 CustomTarget/writerfilter/source/OOXMLFactory_values \
172 CustomTarget/writerfilter/source/sprmcodetostr \
173 CustomTarget/writerfilter/source/doctok/qnametostr \
174 CustomTarget/writerfilter/source/ooxml/qnametostr \
177 # vim: set noet sw=4 ts=4: