xref: /trunk/main/oox/Library_oox.mk (revision bcc22a4c08e1268a4f06e54fb146f88ef49f2cdc)
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/fastparser \
70    oox/source/core/fasttokenhandler \
71    oox/source/core/filterbase \
72    oox/source/core/filterdetect \
73    oox/source/core/fragmenthandler \
74    oox/source/core/fragmenthandler2 \
75    oox/source/core/recordparser \
76    oox/source/core/relations \
77    oox/source/core/relationshandler \
78    oox/source/core/services \
79    oox/source/core/xmlfilterbase \
80    oox/source/docprop/docprophandler \
81    oox/source/docprop/ooxmldocpropimport \
82    oox/source/drawingml/clrscheme \
83    oox/source/drawingml/clrschemecontext \
84    oox/source/drawingml/color \
85    oox/source/drawingml/colorchoicecontext \
86    oox/source/drawingml/connectorshapecontext \
87    oox/source/drawingml/customshapegeometry \
88    oox/source/drawingml/customshapeproperties \
89    oox/source/drawingml/drawingmltypes \
90    oox/source/drawingml/embeddedwavaudiofile \
91    oox/source/drawingml/fillproperties \
92    oox/source/drawingml/fillpropertiesgroupcontext \
93    oox/source/drawingml/graphicshapecontext \
94    oox/source/drawingml/guidcontext \
95    oox/source/drawingml/hyperlinkcontext \
96    oox/source/drawingml/lineproperties \
97    oox/source/drawingml/linepropertiescontext \
98    oox/source/drawingml/objectdefaultcontext \
99    oox/source/drawingml/shape \
100    oox/source/drawingml/shapecontext \
101    oox/source/drawingml/shapegroupcontext \
102    oox/source/drawingml/shapepropertiescontext \
103    oox/source/drawingml/shapepropertymap \
104    oox/source/drawingml/shapestylecontext \
105    oox/source/drawingml/spdefcontext \
106    oox/source/drawingml/textbody \
107    oox/source/drawingml/textbodycontext \
108    oox/source/drawingml/textbodyproperties \
109    oox/source/drawingml/textbodypropertiescontext \
110    oox/source/drawingml/textcharacterproperties \
111    oox/source/drawingml/textcharacterpropertiescontext \
112    oox/source/drawingml/textfield \
113    oox/source/drawingml/textfieldcontext \
114    oox/source/drawingml/textfont \
115    oox/source/drawingml/textliststyle \
116    oox/source/drawingml/textliststylecontext \
117    oox/source/drawingml/textparagraph \
118    oox/source/drawingml/textparagraphproperties \
119    oox/source/drawingml/textparagraphpropertiescontext \
120    oox/source/drawingml/textrun \
121    oox/source/drawingml/textspacingcontext \
122    oox/source/drawingml/texttabstoplistcontext \
123    oox/source/drawingml/theme \
124    oox/source/drawingml/themeelementscontext \
125    oox/source/drawingml/themefragmenthandler \
126    oox/source/drawingml/transform2dcontext \
127    oox/source/drawingml/chart/axiscontext \
128    oox/source/drawingml/chart/axisconverter \
129    oox/source/drawingml/chart/axismodel \
130    oox/source/drawingml/chart/chartcontextbase \
131    oox/source/drawingml/chart/chartconverter \
132    oox/source/drawingml/chart/chartdrawingfragment \
133    oox/source/drawingml/chart/chartspaceconverter \
134    oox/source/drawingml/chart/chartspacefragment \
135    oox/source/drawingml/chart/chartspacemodel \
136    oox/source/drawingml/chart/converterbase \
137    oox/source/drawingml/chart/datasourcecontext \
138    oox/source/drawingml/chart/datasourceconverter \
139    oox/source/drawingml/chart/datasourcemodel \
140    oox/source/drawingml/chart/modelbase \
141    oox/source/drawingml/chart/objectformatter \
142    oox/source/drawingml/chart/plotareacontext \
143    oox/source/drawingml/chart/plotareaconverter \
144    oox/source/drawingml/chart/plotareamodel \
145    oox/source/drawingml/chart/seriescontext \
146    oox/source/drawingml/chart/seriesconverter \
147    oox/source/drawingml/chart/seriesmodel \
148    oox/source/drawingml/chart/titlecontext \
149    oox/source/drawingml/chart/titleconverter \
150    oox/source/drawingml/chart/titlemodel \
151    oox/source/drawingml/chart/typegroupcontext \
152    oox/source/drawingml/chart/typegroupconverter \
153    oox/source/drawingml/chart/typegroupmodel \
154    oox/source/drawingml/diagram/datamodelcontext \
155    oox/source/drawingml/diagram/diagram \
156    oox/source/drawingml/diagram/diagramdefinitioncontext \
157    oox/source/drawingml/diagram/diagramfragmenthandler \
158    oox/source/drawingml/diagram/diagramlayoutatoms \
159    oox/source/drawingml/diagram/layoutnodecontext \
160    oox/source/drawingml/table/tablebackgroundstylecontext \
161    oox/source/drawingml/table/tablecell \
162    oox/source/drawingml/table/tablecellcontext \
163    oox/source/drawingml/table/tablecontext \
164    oox/source/drawingml/table/tablepartstylecontext \
165    oox/source/drawingml/table/tableproperties \
166    oox/source/drawingml/table/tablerow \
167    oox/source/drawingml/table/tablerowcontext \
168    oox/source/drawingml/table/tablestyle \
169    oox/source/drawingml/table/tablestylecellstylecontext \
170    oox/source/drawingml/table/tablestylecontext \
171    oox/source/drawingml/table/tablestylelist \
172    oox/source/drawingml/table/tablestylelistfragmenthandler \
173    oox/source/drawingml/table/tablestylepart \
174    oox/source/drawingml/table/tablestyletextstylecontext \
175    oox/source/dump/biffdumper \
176    oox/source/dump/dffdumper \
177    oox/source/dump/dumperbase \
178    oox/source/dump/oledumper \
179    oox/source/dump/pptxdumper \
180    oox/source/dump/xlsbdumper \
181    oox/source/helper/attributelist \
182    oox/source/helper/binaryinputstream \
183    oox/source/helper/binaryoutputstream \
184    oox/source/helper/binarystreambase \
185    oox/source/helper/containerhelper \
186    oox/source/helper/graphichelper \
187    oox/source/helper/modelobjecthelper \
188    oox/source/helper/progressbar \
189    oox/source/helper/propertymap \
190    oox/source/helper/propertyset \
191    oox/source/helper/storagebase \
192    oox/source/helper/textinputstream \
193    oox/source/helper/zipstorage \
194    oox/source/ole/axbinaryreader \
195    oox/source/ole/axcontrol \
196    oox/source/ole/axcontrolfragment \
197    oox/source/ole/olehelper \
198    oox/source/ole/oleobjecthelper \
199    oox/source/ole/olestorage \
200    oox/source/ole/vbacontrol \
201    oox/source/ole/vbahelper \
202    oox/source/ole/vbainputstream \
203    oox/source/ole/vbamodule \
204    oox/source/ole/vbaproject \
205    oox/source/ole/vbaprojectfilter \
206    oox/source/ppt/animationspersist \
207    oox/source/ppt/animationtypes \
208    oox/source/ppt/animvariantcontext \
209    oox/source/ppt/backgroundproperties \
210    oox/source/ppt/buildlistcontext \
211    oox/source/ppt/commonbehaviorcontext \
212    oox/source/ppt/commontimenodecontext \
213    oox/source/ppt/conditioncontext \
214    oox/source/ppt/customshowlistcontext \
215    oox/source/ppt/headerfootercontext \
216    oox/source/ppt/layoutfragmenthandler \
217    oox/source/ppt/pptfilterhelpers \
218    oox/source/ppt/pptimport \
219    oox/source/ppt/pptshape \
220    oox/source/ppt/pptshapecontext \
221    oox/source/ppt/pptshapegroupcontext \
222    oox/source/ppt/pptshapepropertiescontext \
223    oox/source/ppt/presentationfragmenthandler \
224    oox/source/ppt/slidefragmenthandler \
225    oox/source/ppt/slidemastertextstylescontext \
226    oox/source/ppt/slidepersist \
227    oox/source/ppt/slidetimingcontext \
228    oox/source/ppt/slidetransition \
229    oox/source/ppt/slidetransitioncontext \
230    oox/source/ppt/soundactioncontext \
231    oox/source/ppt/timeanimvaluecontext \
232    oox/source/ppt/timenode \
233    oox/source/ppt/timenodelistcontext \
234    oox/source/ppt/timetargetelementcontext \
235    oox/source/shape/ShapeContextHandler \
236    oox/source/shape/ShapeFilterBase \
237    oox/source/token/namespacemap \
238    oox/source/token/propertynames \
239    oox/source/token/tokenmap \
240    oox/source/vml/vmldrawing \
241    oox/source/vml/vmldrawingfragment \
242    oox/source/vml/vmlformatting \
243    oox/source/vml/vmlinputstream \
244    oox/source/vml/vmlshape \
245    oox/source/vml/vmlshapecontainer \
246    oox/source/vml/vmlshapecontext \
247    oox/source/vml/vmltextbox \
248    oox/source/vml/vmltextboxcontext \
249    oox/source/xls/addressconverter \
250    oox/source/xls/autofilterbuffer \
251    oox/source/xls/autofiltercontext \
252    oox/source/xls/biffcodec \
253    oox/source/xls/biffdetector \
254    oox/source/xls/biffhelper \
255    oox/source/xls/biffinputstream \
256    oox/source/xls/biffoutputstream \
257    oox/source/xls/chartsheetfragment \
258    oox/source/xls/commentsbuffer \
259    oox/source/xls/commentsfragment \
260    oox/source/xls/condformatbuffer \
261    oox/source/xls/condformatcontext \
262    oox/source/xls/connectionsbuffer \
263    oox/source/xls/connectionsfragment \
264    oox/source/xls/defnamesbuffer \
265    oox/source/xls/drawingbase \
266    oox/source/xls/drawingfragment \
267    oox/source/xls/drawingmanager \
268    oox/source/xls/excelchartconverter \
269    oox/source/xls/excelfilter \
270    oox/source/xls/excelhandlers \
271    oox/source/xls/excelvbaproject \
272    oox/source/xls/externallinkbuffer \
273    oox/source/xls/externallinkfragment \
274    oox/source/xls/formulabase \
275    oox/source/xls/formulaparser \
276    oox/source/xls/numberformatsbuffer \
277    oox/source/xls/ooxformulaparser \
278    oox/source/xls/pagesettings \
279    oox/source/xls/pivotcachebuffer \
280    oox/source/xls/pivotcachefragment \
281    oox/source/xls/pivottablebuffer \
282    oox/source/xls/pivottablefragment \
283    oox/source/xls/querytablebuffer \
284    oox/source/xls/querytablefragment \
285    oox/source/xls/richstring \
286    oox/source/xls/richstringcontext \
287    oox/source/xls/scenariobuffer \
288    oox/source/xls/scenariocontext \
289    oox/source/xls/sharedstringsbuffer \
290    oox/source/xls/sharedstringsfragment \
291    oox/source/xls/sheetdatabuffer \
292    oox/source/xls/sheetdatacontext \
293    oox/source/xls/stylesbuffer \
294    oox/source/xls/stylesfragment \
295    oox/source/xls/tablebuffer \
296    oox/source/xls/tablefragment \
297    oox/source/xls/themebuffer \
298    oox/source/xls/unitconverter \
299    oox/source/xls/viewsettings \
300    oox/source/xls/workbookfragment \
301    oox/source/xls/workbookhelper \
302    oox/source/xls/workbooksettings \
303    oox/source/xls/worksheetbuffer \
304    oox/source/xls/worksheetfragment \
305    oox/source/xls/worksheethelper \
306    oox/source/xls/worksheetsettings \
307))
308
309# vim: set noet sw=4 ts=4:
310