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
,\
18 $(eval
$(call gb_Library_set_precompiled_header
,writerfilter
,$(SRCDIR
)/writerfilter
/inc
/pch
/precompiled_writerfilter
))
20 $(eval
$(call gb_Library_set_include
,writerfilter
,\
22 -I
$(SRCDIR
)/writerfilter
/inc \
23 -I
$(SRCDIR
)/writerfilter
/source \
26 $(eval
$(call gb_Library_use_sdk_api
,writerfilter
))
28 $(eval
$(call gb_Library_set_componentfile
,writerfilter
,writerfilter
/util
/writerfilter
))
30 $(eval
$(call gb_Library_add_defs
,writerfilter
,\
31 -DWRITERFILTER_DOCTOK_DLLIMPLEMENTATION \
32 -DWRITERFILTER_OOXML_DLLIMPLEMENTATION \
33 -DWRITERFILTER_RESOURCEMODEL_DLLIMPLEMENTATION \
34 -DWRITERFILTER_RTFTOK_DLLIMPLEMENTATION \
35 -DWRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION \
36 $(if
$(filter-out 0 1,$(gb_DEBUGLEVEL
)), \
37 -DDEBUG_DOMAINMAPPER \
40 -DDEBUG_CONTEXT_STACK \
43 -DDEBUG_CONTEXT_HANDLER \
46 -DDEBUG_DMAPPER_PROPERTY_MAP \
47 -DDEBUG_DMAPPER_TABLE_HANDLER \
49 -DDEBUG_DMAPPER_SETTINGS_TABLE \
51 -DDEBUG_DMAPPER_GRAPHIC_IMPORT \
55 $(eval
$(call gb_Library_use_libraries
,writerfilter
,\
76 $(eval
$(call gb_Library_use_externals
,writerfilter
,\
82 $(eval
$(call gb_Library_add_exception_objects
,writerfilter
,\
83 writerfilter
/source
/rtftok
/rtfcharsets \
84 writerfilter
/source
/rtftok
/rtfcontrolwords \
85 writerfilter
/source
/rtftok
/rtfdocumentfactory \
86 writerfilter
/source
/rtftok
/rtfdocumentimpl \
87 writerfilter
/source
/rtftok
/rtflookahead \
88 writerfilter
/source
/rtftok
/rtfreferenceproperties \
89 writerfilter
/source
/rtftok
/rtfreferencetable \
90 writerfilter
/source
/rtftok
/rtfsdrimport \
91 writerfilter
/source
/rtftok
/rtfskipdestination \
92 writerfilter
/source
/rtftok
/rtfsprm \
93 writerfilter
/source
/rtftok
/rtftokenizer \
94 writerfilter
/source
/rtftok
/rtfvalue \
95 writerfilter
/source
/dmapper
/BorderHandler \
96 writerfilter
/source
/dmapper
/CellColorHandler \
97 writerfilter
/source
/dmapper
/CellMarginHandler \
98 writerfilter
/source
/dmapper
/ConversionHelper \
99 writerfilter
/source
/dmapper
/DomainMapper \
100 writerfilter
/source
/dmapper
/DomainMapperTableHandler \
101 writerfilter
/source
/dmapper
/DomainMapperTableManager \
102 writerfilter
/source
/dmapper
/DomainMapper_Impl \
103 writerfilter
/source
/dmapper
/FFDataHandler \
104 writerfilter
/source
/dmapper
/FontTable \
105 writerfilter
/source
/dmapper
/FormControlHelper \
106 writerfilter
/source
/dmapper
/GraphicHelpers \
107 writerfilter
/source
/dmapper
/GraphicImport \
108 writerfilter
/source
/dmapper
/LatentStyleHandler \
109 writerfilter
/source
/dmapper
/MeasureHandler \
110 writerfilter
/source
/dmapper
/TrackChangesHandler \
111 writerfilter
/source
/dmapper
/ModelEventListener \
112 writerfilter
/source
/dmapper
/NumberingManager \
113 writerfilter
/source
/dmapper
/OLEHandler \
114 writerfilter
/source
/dmapper
/PageBordersHandler \
115 writerfilter
/source
/dmapper
/PropertyIds \
116 writerfilter
/source
/dmapper
/PropertyMap \
117 writerfilter
/source
/dmapper
/PropertyMapHelper \
118 writerfilter
/source
/dmapper
/SdtHelper \
119 writerfilter
/source
/dmapper
/SectionColumnHandler \
120 writerfilter
/source
/dmapper
/SettingsTable \
121 writerfilter
/source
/dmapper
/StyleSheetTable \
122 writerfilter
/source
/dmapper
/TDefTableHandler \
123 writerfilter
/source
/dmapper
/TablePositionHandler \
124 writerfilter
/source
/dmapper
/TablePropertiesHandler \
125 writerfilter
/source
/dmapper
/TextEffectsHandler \
126 writerfilter
/source
/dmapper
/TblStylePrHandler \
127 writerfilter
/source
/dmapper
/ThemeTable \
128 writerfilter
/source
/dmapper
/WrapPolygonHandler \
129 writerfilter
/source
/filter/ImportFilter \
130 writerfilter
/source
/filter/RtfFilter \
131 writerfilter
/source
/filter/WriterFilter \
132 writerfilter
/source
/filter/WriterFilterDetection \
133 writerfilter
/source
/ooxml
/Handler \
134 writerfilter
/source
/ooxml
/OOXMLBinaryObjectReference \
135 writerfilter
/source
/ooxml
/OOXMLDocumentImpl \
136 writerfilter
/source
/ooxml
/OOXMLFactory \
137 writerfilter
/source
/ooxml
/OOXMLFastContextHandler \
138 writerfilter
/source
/ooxml
/OOXMLFastDocumentHandler \
139 writerfilter
/source
/ooxml
/OOXMLFastTokenHandler \
140 writerfilter
/source
/ooxml
/OOXMLParserState \
141 writerfilter
/source
/ooxml
/OOXMLPropertySetImpl \
142 writerfilter
/source
/ooxml
/OOXMLStreamImpl \
143 writerfilter
/source
/resourcemodel
/Fraction \
144 writerfilter
/source
/resourcemodel
/LoggedResources \
145 writerfilter
/source
/resourcemodel
/ResourceModelHelper \
146 writerfilter
/source
/resourcemodel
/TagLogger \
147 writerfilter
/source
/resourcemodel
/XPathLogger \
148 writerfilter
/source
/resourcemodel
/qnametostrcore \
149 writerfilter
/source
/resourcemodel
/util \
152 $(eval
$(call gb_Library_add_generated_exception_objects
,writerfilter
,\
153 $(patsubst %,CustomTarget
/writerfilter
/source
/OOXMLFactory_
%,$(writerfilter_OOXMLNAMESPACES
)) \
154 CustomTarget
/writerfilter
/source
/OOXMLFactory_generated \
155 CustomTarget
/writerfilter
/source
/ooxml
/qnametostr \
158 # vim: set noet sw=4 ts=4: