Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / oox / Library_oox.mk
blobf9ac63e6dc6f40afdfc2bc036a28174542939c67
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,oox))
12 $(eval $(call gb_Library_set_precompiled_header,oox,$(SRCDIR)/oox/inc/pch/precompiled_oox))
14 $(eval $(call gb_Library_use_custom_headers,oox,oox/generated))
16 $(eval $(call gb_Library_set_include,oox,\
17 $$(INCLUDE) \
18 -I$(SRCDIR)/oox/inc \
21 ifeq ($(COM)-$(OS)-$(CPUNAME),GCC-LINUX-IA64)
22 # at least Debian Linux ia64 fails at compile time on
23 # link libooxlo.so which is apparently too large
24 # for the toolchain to handle with default optimization
25 $(eval $(call gb_Library_add_cxxflags,oox,\
26 -Os \
28 endif
30 $(eval $(call gb_Library_add_defs,oox,\
31 -DOOX_DLLIMPLEMENTATION \
34 $(eval $(call gb_Library_use_sdk_api,oox))
36 $(eval $(call gb_Library_use_libraries,oox,\
37 basegfx \
38 comphelper \
39 cppu \
40 cppuhelper \
41 editeng \
42 drawinglayer \
43 fastsax \
44 msfilter \
45 sal \
46 i18nlangtag \
47 sax \
48 sfx \
49 svl \
50 svt \
51 svx \
52 svxcore \
53 sot \
54 tl \
55 utl \
56 vcl \
57 xo \
58 xmlscript \
59 $(gb_UWINAPI) \
62 ifeq ($(TLS),OPENSSL)
63 $(eval $(call gb_Library_use_externals,oox,\
64 boost_headers \
65 openssl \
66 openssl_headers \
68 else
69 ifeq ($(TLS),NSS)
70 $(eval $(call gb_Library_use_externals,oox,\
71 boost_headers \
72 plc4 \
73 nss3 \
75 endif
76 endif
78 $(eval $(call gb_Library_set_componentfile,oox,oox/util/oox))
80 $(eval $(call gb_Library_add_exception_objects,oox,\
81 oox/source/core/binarycodec \
82 oox/source/core/contexthandler2 \
83 oox/source/core/contexthandler \
84 oox/source/core/fastparser \
85 oox/source/core/fasttokenhandler \
86 oox/source/core/filterbase \
87 oox/source/core/filterdetect \
88 oox/source/core/fragmenthandler2 \
89 oox/source/core/fragmenthandler \
90 oox/source/core/recordparser \
91 oox/source/core/relations \
92 oox/source/core/relationshandler \
93 oox/source/core/services \
94 oox/source/core/xmlfilterbase \
95 oox/source/crypto/AgileEngine \
96 oox/source/crypto/CryptTools \
97 oox/source/crypto/DocumentEncryption \
98 oox/source/crypto/DocumentDecryption \
99 oox/source/crypto/Standard2007Engine \
100 oox/source/docprop/docprophandler \
101 oox/source/docprop/ooxmldocpropimport \
102 oox/source/drawingml/chart/axiscontext \
103 oox/source/drawingml/chart/axisconverter \
104 oox/source/drawingml/chart/axismodel \
105 oox/source/drawingml/chart/chartcontextbase \
106 oox/source/drawingml/chart/chartconverter \
107 oox/source/drawingml/chart/chartdrawingfragment \
108 oox/source/drawingml/chart/chartspaceconverter \
109 oox/source/drawingml/chart/chartspacefragment \
110 oox/source/drawingml/chart/chartspacemodel \
111 oox/source/drawingml/chart/converterbase \
112 oox/source/drawingml/chart/datasourcecontext \
113 oox/source/drawingml/chart/datasourceconverter \
114 oox/source/drawingml/chart/datasourcemodel \
115 oox/source/drawingml/chart/modelbase \
116 oox/source/drawingml/chart/objectformatter \
117 oox/source/drawingml/chart/plotareacontext \
118 oox/source/drawingml/chart/plotareaconverter \
119 oox/source/drawingml/chart/plotareamodel \
120 oox/source/drawingml/chart/seriescontext \
121 oox/source/drawingml/chart/seriesconverter \
122 oox/source/drawingml/chart/seriesmodel \
123 oox/source/drawingml/chart/titlecontext \
124 oox/source/drawingml/chart/titleconverter \
125 oox/source/drawingml/chart/titlemodel \
126 oox/source/drawingml/chart/typegroupcontext \
127 oox/source/drawingml/chart/typegroupconverter \
128 oox/source/drawingml/chart/typegroupmodel \
129 oox/source/drawingml/clrschemecontext \
130 oox/source/drawingml/clrscheme \
131 oox/source/drawingml/colorchoicecontext \
132 oox/source/drawingml/color \
133 oox/source/drawingml/connectorshapecontext \
134 oox/source/drawingml/customshapegeometry \
135 oox/source/drawingml/customshapepresets1 \
136 oox/source/drawingml/customshapepresets2 \
137 oox/source/drawingml/customshapepresets3 \
138 oox/source/drawingml/customshapepresets4 \
139 oox/source/drawingml/customshapepresets5 \
140 oox/source/drawingml/customshapepresets6 \
141 oox/source/drawingml/customshapeproperties \
142 oox/source/drawingml/diagram/constraintlistcontext \
143 oox/source/drawingml/diagram/datamodelcontext \
144 oox/source/drawingml/diagram/diagram \
145 oox/source/drawingml/diagram/diagramdefinitioncontext \
146 oox/source/drawingml/diagram/diagramfragmenthandler \
147 oox/source/drawingml/diagram/diagramlayoutatoms \
148 oox/source/drawingml/diagram/layoutnodecontext \
149 oox/source/drawingml/drawingmltypes \
150 oox/source/drawingml/effectproperties \
151 oox/source/drawingml/effectpropertiescontext \
152 oox/source/drawingml/embeddedwavaudiofile \
153 oox/source/drawingml/fillproperties \
154 oox/source/drawingml/fillpropertiesgroupcontext \
155 oox/source/drawingml/graphicshapecontext \
156 oox/source/drawingml/guidcontext \
157 oox/source/drawingml/hyperlinkcontext \
158 oox/source/drawingml/linepropertiescontext \
159 oox/source/drawingml/lineproperties \
160 oox/source/drawingml/objectdefaultcontext \
161 oox/source/drawingml/shapecontext \
162 oox/source/drawingml/shape \
163 oox/source/drawingml/shape3dproperties \
164 oox/source/drawingml/shapegroupcontext \
165 oox/source/drawingml/shapepropertiescontext \
166 oox/source/drawingml/shapepropertymap \
167 oox/source/drawingml/shapestylecontext \
168 oox/source/drawingml/spdefcontext \
169 oox/source/drawingml/table/tablebackgroundstylecontext \
170 oox/source/drawingml/table/tablecellcontext \
171 oox/source/drawingml/table/tablecell \
172 oox/source/drawingml/table/tablecontext \
173 oox/source/drawingml/table/tablepartstylecontext \
174 oox/source/drawingml/table/tableproperties \
175 oox/source/drawingml/table/tablerowcontext \
176 oox/source/drawingml/table/tablerow \
177 oox/source/drawingml/table/tablestylecellstylecontext \
178 oox/source/drawingml/table/tablestylecontext \
179 oox/source/drawingml/table/tablestyle \
180 oox/source/drawingml/table/tablestylelist \
181 oox/source/drawingml/table/tablestylelistfragmenthandler \
182 oox/source/drawingml/table/tablestylepart \
183 oox/source/drawingml/table/tablestyletextstylecontext \
184 oox/source/drawingml/textbodycontext \
185 oox/source/drawingml/textbody \
186 oox/source/drawingml/textbodypropertiescontext \
187 oox/source/drawingml/textbodyproperties \
188 oox/source/drawingml/textcharacterpropertiescontext \
189 oox/source/drawingml/textcharacterproperties \
190 oox/source/drawingml/textfieldcontext \
191 oox/source/drawingml/textfield \
192 oox/source/drawingml/textfont \
193 oox/source/drawingml/textliststylecontext \
194 oox/source/drawingml/textliststyle \
195 oox/source/drawingml/textparagraph \
196 oox/source/drawingml/textparagraphpropertiescontext \
197 oox/source/drawingml/textparagraphproperties \
198 oox/source/drawingml/textrun \
199 oox/source/drawingml/textspacingcontext \
200 oox/source/drawingml/texttabstoplistcontext \
201 oox/source/drawingml/theme \
202 oox/source/drawingml/themeelementscontext \
203 oox/source/drawingml/themefragmenthandler \
204 oox/source/drawingml/transform2dcontext \
205 oox/source/dump/dffdumper \
206 oox/source/dump/dumperbase \
207 oox/source/dump/oledumper \
208 oox/source/dump/pptxdumper \
209 oox/source/export/chartexport \
210 oox/source/export/ColorPropertySet \
211 oox/source/export/drawingml \
212 oox/source/export/shapes \
213 oox/source/export/vmlexport \
214 oox/source/helper/attributelist \
215 oox/source/helper/binaryinputstream \
216 oox/source/helper/binaryoutputstream \
217 oox/source/helper/binarystreambase \
218 oox/source/helper/containerhelper \
219 oox/source/helper/graphichelper \
220 oox/source/helper/modelobjecthelper \
221 oox/source/helper/progressbar \
222 oox/source/helper/propertymap \
223 oox/source/helper/propertyset \
224 oox/source/helper/storagebase \
225 oox/source/helper/textinputstream \
226 oox/source/helper/zipstorage \
227 oox/source/mathml/export \
228 oox/source/mathml/import \
229 oox/source/mathml/importutils \
230 oox/source/ole/axbinaryreader \
231 oox/source/ole/axbinarywriter \
232 oox/source/ole/axfontdata \
233 oox/source/ole/axcontrol \
234 oox/source/ole/axcontrolfragment \
235 oox/source/ole/olehelper \
236 oox/source/ole/oleobjecthelper \
237 oox/source/ole/olestorage \
238 oox/source/ole/vbacontrol \
239 oox/source/ole/vbahelper \
240 oox/source/ole/vbainputstream \
241 oox/source/ole/vbamodule \
242 oox/source/ole/vbaproject \
243 oox/source/ppt/animationspersist \
244 oox/source/ppt/animationtypes \
245 oox/source/ppt/animvariantcontext \
246 oox/source/ppt/backgroundproperties \
247 oox/source/ppt/buildlistcontext \
248 oox/source/ppt/comments \
249 oox/source/ppt/commonbehaviorcontext \
250 oox/source/ppt/commontimenodecontext \
251 oox/source/ppt/conditioncontext \
252 oox/source/ppt/customshowlistcontext \
253 oox/source/ppt/dgmimport \
254 oox/source/ppt/dgmlayout \
255 oox/source/ppt/headerfootercontext \
256 oox/source/ppt/layoutfragmenthandler \
257 oox/source/ppt/pptfilterhelpers \
258 oox/source/ppt/pptgraphicshapecontext \
259 oox/source/ppt/pptimport \
260 oox/source/ppt/pptshapecontext \
261 oox/source/ppt/pptshape \
262 oox/source/ppt/pptshapegroupcontext \
263 oox/source/ppt/pptshapepropertiescontext \
264 oox/source/ppt/presentationfragmenthandler \
265 oox/source/ppt/slidefragmenthandler \
266 oox/source/ppt/slidemastertextstylescontext \
267 oox/source/ppt/slidepersist \
268 oox/source/ppt/slidetimingcontext \
269 oox/source/ppt/slidetransitioncontext \
270 oox/source/ppt/slidetransition \
271 oox/source/ppt/soundactioncontext \
272 oox/source/ppt/timeanimvaluecontext \
273 oox/source/ppt/timenode \
274 oox/source/ppt/timenodelistcontext \
275 oox/source/ppt/timetargetelementcontext \
276 oox/source/ppt/extdrawingfragmenthandler \
277 oox/source/shape/LockedCanvasContext \
278 oox/source/shape/ShapeContextHandler \
279 oox/source/shape/ShapeDrawingFragmentHandler \
280 oox/source/shape/ShapeFilterBase \
281 oox/source/shape/WpsContext \
282 oox/source/token/namespacemap \
283 oox/source/token/propertynames \
284 oox/source/token/tokenmap \
285 oox/source/vml/vmldrawing \
286 oox/source/vml/vmldrawingfragment \
287 oox/source/vml/vmlformatting \
288 oox/source/vml/vmlinputstream \
289 oox/source/vml/vmlshapecontainer \
290 oox/source/vml/vmlshapecontext \
291 oox/source/vml/vmlshape \
292 oox/source/vml/vmltextboxcontext \
293 oox/source/vml/vmltextbox \
296 $(eval $(call gb_Library_add_generated_exception_objects,oox,\
297 CustomTarget/oox/generated/misc/vmlexport-shape-types \
300 # vim: set noet sw=4 ts=4: