xref: /trunk/main/oox/Library_oox.mk (revision ef208b1dd24f9e3281b0a010c5546964f327cf57)
1###############################################################
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20###############################################################
21
22
23
24$(eval $(call gb_Library_Library,oox))
25
26$(eval $(call gb_Library_add_package_headers,oox,oox_inc))
27$(eval $(call gb_Library_add_package_headers,oox,oox_source))
28$(eval $(call gb_Library_add_package_headers,oox,oox_generated))
29
30$(eval $(call gb_Library_set_componentfile,oox,oox/util/oox))
31
32$(eval $(call gb_Library_add_api,oox,\
33    udkapi \
34    offapi \
35))
36
37$(eval $(call gb_Library_set_include,oox,\
38    -I$(SRCDIR)/oox/inc \
39    -I$(OUTDIR)/inc \
40    -I$(WORKDIR)/CustomTarget/oox/source \
41    $$(INCLUDE) \
42))
43
44$(eval $(call gb_Library_add_defs,oox,\
45    -DOOX_DLLIMPLEMENTATION \
46))
47
48$(eval $(call gb_Library_add_linked_libs,oox,\
49    basegfx \
50    comphelper \
51    cppu \
52    cppuhelper \
53    sal \
54    sax \
55    xcr \
56    stl \
57    $(gb_STDLIBS) \
58))
59
60$(call gb_Library_use_external,oox,openssl)
61
62# object files ----------------------------------------------------------------
63
64$(eval $(call gb_Library_add_exception_objects,oox,\
65    oox/source/core/binarycodec \
66    oox/source/core/binaryfilterbase \
67    oox/source/core/contexthandler \
68    oox/source/core/contexthandler2 \
69    oox/source/core/encryption \
70    oox/source/core/fastparser \
71    oox/source/core/fasttokenhandler \
72    oox/source/core/filterbase \
73    oox/source/core/filterdetect \
74    oox/source/core/fragmenthandler \
75    oox/source/core/fragmenthandler2 \
76    oox/source/core/recordparser \
77    oox/source/core/relations \
78    oox/source/core/relationshandler \
79    oox/source/core/services \
80    oox/source/core/xmlfilterbase \
81    oox/source/docprop/docprophandler \
82    oox/source/docprop/ooxmldocpropimport \
83    oox/source/drawingml/clrscheme \
84    oox/source/drawingml/clrschemecontext \
85    oox/source/drawingml/color \
86    oox/source/drawingml/colorchoicecontext \
87    oox/source/drawingml/connectorshapecontext \
88    oox/source/drawingml/customshapegeometry \
89    oox/source/drawingml/customshapeproperties \
90    oox/source/drawingml/drawingmltypes \
91    oox/source/drawingml/embeddedwavaudiofile \
92    oox/source/drawingml/fillproperties \
93    oox/source/drawingml/fillpropertiesgroupcontext \
94    oox/source/drawingml/graphicshapecontext \
95    oox/source/drawingml/guidcontext \
96    oox/source/drawingml/hyperlinkcontext \
97    oox/source/drawingml/lineproperties \
98    oox/source/drawingml/linepropertiescontext \
99    oox/source/drawingml/objectdefaultcontext \
100    oox/source/drawingml/shape \
101    oox/source/drawingml/shapecontext \
102    oox/source/drawingml/shapegroupcontext \
103    oox/source/drawingml/shapepropertiescontext \
104    oox/source/drawingml/shapepropertymap \
105    oox/source/drawingml/shapestylecontext \
106    oox/source/drawingml/spdefcontext \
107    oox/source/drawingml/textbody \
108    oox/source/drawingml/textbodycontext \
109    oox/source/drawingml/textbodyproperties \
110    oox/source/drawingml/textbodypropertiescontext \
111    oox/source/drawingml/textcharacterproperties \
112    oox/source/drawingml/textcharacterpropertiescontext \
113    oox/source/drawingml/textfield \
114    oox/source/drawingml/textfieldcontext \
115    oox/source/drawingml/textfont \
116    oox/source/drawingml/textliststyle \
117    oox/source/drawingml/textliststylecontext \
118    oox/source/drawingml/textparagraph \
119    oox/source/drawingml/textparagraphproperties \
120    oox/source/drawingml/textparagraphpropertiescontext \
121    oox/source/drawingml/textrun \
122    oox/source/drawingml/textspacingcontext \
123    oox/source/drawingml/texttabstoplistcontext \
124    oox/source/drawingml/theme \
125    oox/source/drawingml/themeelementscontext \
126    oox/source/drawingml/themefragmenthandler \
127    oox/source/drawingml/transform2dcontext \
128    oox/source/drawingml/chart/axiscontext \
129    oox/source/drawingml/chart/axisconverter \
130    oox/source/drawingml/chart/axismodel \
131    oox/source/drawingml/chart/chartcontextbase \
132    oox/source/drawingml/chart/chartconverter \
133    oox/source/drawingml/chart/chartdrawingfragment \
134    oox/source/drawingml/chart/chartspaceconverter \
135    oox/source/drawingml/chart/chartspacefragment \
136    oox/source/drawingml/chart/chartspacemodel \
137    oox/source/drawingml/chart/converterbase \
138    oox/source/drawingml/chart/datasourcecontext \
139    oox/source/drawingml/chart/datasourceconverter \
140    oox/source/drawingml/chart/datasourcemodel \
141    oox/source/drawingml/chart/modelbase \
142    oox/source/drawingml/chart/objectformatter \
143    oox/source/drawingml/chart/plotareacontext \
144    oox/source/drawingml/chart/plotareaconverter \
145    oox/source/drawingml/chart/plotareamodel \
146    oox/source/drawingml/chart/seriescontext \
147    oox/source/drawingml/chart/seriesconverter \
148    oox/source/drawingml/chart/seriesmodel \
149    oox/source/drawingml/chart/titlecontext \
150    oox/source/drawingml/chart/titleconverter \
151    oox/source/drawingml/chart/titlemodel \
152    oox/source/drawingml/chart/typegroupcontext \
153    oox/source/drawingml/chart/typegroupconverter \
154    oox/source/drawingml/chart/typegroupmodel \
155    oox/source/drawingml/diagram/datamodelcontext \
156    oox/source/drawingml/diagram/diagram \
157    oox/source/drawingml/diagram/diagramdefinitioncontext \
158    oox/source/drawingml/diagram/diagramfragmenthandler \
159    oox/source/drawingml/diagram/diagramlayoutatoms \
160    oox/source/drawingml/diagram/layoutnodecontext \
161    oox/source/drawingml/table/tablebackgroundstylecontext \
162    oox/source/drawingml/table/tablecell \
163    oox/source/drawingml/table/tablecellcontext \
164    oox/source/drawingml/table/tablecontext \
165    oox/source/drawingml/table/tablepartstylecontext \
166    oox/source/drawingml/table/tableproperties \
167    oox/source/drawingml/table/tablerow \
168    oox/source/drawingml/table/tablerowcontext \
169    oox/source/drawingml/table/tablestyle \
170    oox/source/drawingml/table/tablestylecellstylecontext \
171    oox/source/drawingml/table/tablestylecontext \
172    oox/source/drawingml/table/tablestylelist \
173    oox/source/drawingml/table/tablestylelistfragmenthandler \
174    oox/source/drawingml/table/tablestylepart \
175    oox/source/drawingml/table/tablestyletextstylecontext \
176    oox/source/dump/biffdumper \
177    oox/source/dump/dffdumper \
178    oox/source/dump/dumperbase \
179    oox/source/dump/oledumper \
180    oox/source/dump/pptxdumper \
181    oox/source/dump/xlsbdumper \
182    oox/source/helper/attributelist \
183    oox/source/helper/binaryinputstream \
184    oox/source/helper/binaryoutputstream \
185    oox/source/helper/binarystreambase \
186    oox/source/helper/containerhelper \
187    oox/source/helper/datetimehelper \
188    oox/source/helper/graphichelper \
189    oox/source/helper/modelobjecthelper \
190    oox/source/helper/openssl_wrapper \
191    oox/source/helper/progressbar \
192    oox/source/helper/propertymap \
193    oox/source/helper/propertyset \
194    oox/source/helper/storagebase \
195    oox/source/helper/textinputstream \
196    oox/source/helper/zipstorage \
197    oox/source/ole/axbinaryreader \
198    oox/source/ole/axcontrol \
199    oox/source/ole/axcontrolfragment \
200    oox/source/ole/olehelper \
201    oox/source/ole/oleobjecthelper \
202    oox/source/ole/olestorage \
203    oox/source/ole/vbacontrol \
204    oox/source/ole/vbahelper \
205    oox/source/ole/vbainputstream \
206    oox/source/ole/vbamodule \
207    oox/source/ole/vbaproject \
208    oox/source/ole/vbaprojectfilter \
209    oox/source/ppt/animationspersist \
210    oox/source/ppt/animationtypes \
211    oox/source/ppt/animvariantcontext \
212    oox/source/ppt/backgroundproperties \
213    oox/source/ppt/buildlistcontext \
214    oox/source/ppt/commonbehaviorcontext \
215    oox/source/ppt/commontimenodecontext \
216    oox/source/ppt/conditioncontext \
217    oox/source/ppt/customshowlistcontext \
218    oox/source/ppt/headerfootercontext \
219    oox/source/ppt/layoutfragmenthandler \
220    oox/source/ppt/pptfilterhelpers \
221    oox/source/ppt/pptimport \
222    oox/source/ppt/pptshape \
223    oox/source/ppt/pptshapecontext \
224    oox/source/ppt/pptshapegroupcontext \
225    oox/source/ppt/pptshapepropertiescontext \
226    oox/source/ppt/presentationfragmenthandler \
227    oox/source/ppt/slidefragmenthandler \
228    oox/source/ppt/slidemastertextstylescontext \
229    oox/source/ppt/slidepersist \
230    oox/source/ppt/slidetimingcontext \
231    oox/source/ppt/slidetransition \
232    oox/source/ppt/slidetransitioncontext \
233    oox/source/ppt/soundactioncontext \
234    oox/source/ppt/timeanimvaluecontext \
235    oox/source/ppt/timenode \
236    oox/source/ppt/timenodelistcontext \
237    oox/source/ppt/timetargetelementcontext \
238    oox/source/shape/ShapeContextHandler \
239    oox/source/shape/ShapeFilterBase \
240    oox/source/token/namespacemap \
241    oox/source/token/propertynames \
242    oox/source/token/tokenmap \
243    oox/source/vml/vmldrawing \
244    oox/source/vml/vmldrawingfragment \
245    oox/source/vml/vmlformatting \
246    oox/source/vml/vmlinputstream \
247    oox/source/vml/vmlshape \
248    oox/source/vml/vmlshapecontainer \
249    oox/source/vml/vmlshapecontext \
250    oox/source/vml/vmltextbox \
251    oox/source/vml/vmltextboxcontext \
252    oox/source/xls/addressconverter \
253    oox/source/xls/autofilterbuffer \
254    oox/source/xls/autofiltercontext \
255    oox/source/xls/biffcodec \
256    oox/source/xls/biffdetector \
257    oox/source/xls/biffhelper \
258    oox/source/xls/biffinputstream \
259    oox/source/xls/biffoutputstream \
260    oox/source/xls/chartsheetfragment \
261    oox/source/xls/commentsbuffer \
262    oox/source/xls/commentsfragment \
263    oox/source/xls/condformatbuffer \
264    oox/source/xls/condformatcontext \
265    oox/source/xls/connectionsbuffer \
266    oox/source/xls/connectionsfragment \
267    oox/source/xls/defnamesbuffer \
268    oox/source/xls/drawingbase \
269    oox/source/xls/drawingfragment \
270    oox/source/xls/drawingmanager \
271    oox/source/xls/excelchartconverter \
272    oox/source/xls/excelfilter \
273    oox/source/xls/excelhandlers \
274    oox/source/xls/excelvbaproject \
275    oox/source/xls/externallinkbuffer \
276    oox/source/xls/externallinkfragment \
277    oox/source/xls/formulabase \
278    oox/source/xls/formulaparser \
279    oox/source/xls/numberformatsbuffer \
280    oox/source/xls/ooxformulaparser \
281    oox/source/xls/pagesettings \
282    oox/source/xls/pivotcachebuffer \
283    oox/source/xls/pivotcachefragment \
284    oox/source/xls/pivottablebuffer \
285    oox/source/xls/pivottablefragment \
286    oox/source/xls/querytablebuffer \
287    oox/source/xls/querytablefragment \
288    oox/source/xls/richstring \
289    oox/source/xls/richstringcontext \
290    oox/source/xls/scenariobuffer \
291    oox/source/xls/scenariocontext \
292    oox/source/xls/sharedstringsbuffer \
293    oox/source/xls/sharedstringsfragment \
294    oox/source/xls/sheetdatabuffer \
295    oox/source/xls/sheetdatacontext \
296    oox/source/xls/stylesbuffer \
297    oox/source/xls/stylesfragment \
298    oox/source/xls/tablebuffer \
299    oox/source/xls/tablefragment \
300    oox/source/xls/themebuffer \
301    oox/source/xls/unitconverter \
302    oox/source/xls/viewsettings \
303    oox/source/xls/workbookfragment \
304    oox/source/xls/workbookhelper \
305    oox/source/xls/workbooksettings \
306    oox/source/xls/worksheetbuffer \
307    oox/source/xls/worksheetfragment \
308    oox/source/xls/worksheethelper \
309    oox/source/xls/worksheetsettings \
310))
311
312# vim: set noet sw=4 ts=4:
313