summaryrefslogtreecommitdiff
path: root/sc/Library_scfilt.mk
blob: e4b6fe154e89b1ba044098b22ef852f3ed6c03a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,scfilt))

$(eval $(call gb_Library_set_componentfile,scfilt,sc/util/scfilt))

$(eval $(call gb_Library_set_include,scfilt,\
	-I$(SRCDIR)/sc/source/core/inc \
	-I$(SRCDIR)/sc/source/filter/inc \
	-I$(SRCDIR)/sc/source/ui/inc \
	-I$(SRCDIR)/sc/inc \
	$$(INCLUDE) \
))

$(eval $(call gb_Library_set_precompiled_header,scfilt,$(SRCDIR)/sc/inc/pch/precompiled_scfilt))

$(eval $(call gb_Library_use_sdk_api,scfilt))

$(eval $(call gb_Library_use_custom_headers,scfilt,\
	oox/generated \
	officecfg/registry \
))

$(eval $(call gb_Library_use_externals,scfilt,\
	boost_headers \
	$(call gb_Helper_optional,OPENCL,clew) \
	mdds_headers \
))

$(eval $(call gb_Library_use_libraries,scfilt,\
	basegfx \
	comphelper \
	cppu \
	cppuhelper \
	drawinglayer \
	editeng \
	for \
	msfilter \
	oox \
	sal \
	salhelper \
	sax \
	sb \
	sc \
	sfx \
	sot \
	svl \
	svt \
	svx \
	svxcore \
	tk \
	tl \
	ucbhelper \
	utl \
	vcl \
	i18nlangtag \
))

$(eval $(call gb_Library_add_exception_objects,scfilt,\
	sc/source/filter/dif/difexp \
	sc/source/filter/dif/difimp \
	sc/source/filter/excel/colrowst \
	sc/source/filter/excel/excdoc \
	sc/source/filter/excel/excel \
	sc/source/filter/excel/excform \
	sc/source/filter/excel/excform8 \
	sc/source/filter/excel/excimp8 \
	sc/source/filter/excel/excrecds \
	sc/source/filter/excel/exctools \
	sc/source/filter/excel/expop2 \
	sc/source/filter/excel/fontbuff \
	sc/source/filter/excel/frmbase \
	sc/source/filter/excel/impop \
	sc/source/filter/excel/namebuff \
	sc/source/filter/excel/read \
	sc/source/filter/excel/tokstack \
	sc/source/filter/excel/xechart \
	sc/source/filter/excel/xecontent \
	sc/source/filter/excel/xedbdata \
	sc/source/filter/excel/xeescher \
	sc/source/filter/excel/xeextlst \
	sc/source/filter/excel/xeformula \
	sc/source/filter/excel/xehelper \
	sc/source/filter/excel/xelink \
	sc/source/filter/excel/xename \
	sc/source/filter/excel/xepage \
	sc/source/filter/excel/xepivot \
	sc/source/filter/excel/xepivotxml \
	sc/source/filter/excel/xerecord \
	sc/source/filter/excel/xeroot \
	sc/source/filter/excel/xestream \
	sc/source/filter/excel/xestring \
	sc/source/filter/excel/xestyle \
	sc/source/filter/excel/xetable \
	sc/source/filter/excel/xeview \
	sc/source/filter/excel/xichart \
	sc/source/filter/excel/xicontent \
	sc/source/filter/excel/xiescher \
	sc/source/filter/excel/xiformula \
	sc/source/filter/excel/xihelper \
	sc/source/filter/excel/xilink \
	sc/source/filter/excel/xiname \
	sc/source/filter/excel/xipage \
	sc/source/filter/excel/xipivot \
	sc/source/filter/excel/xiroot \
	sc/source/filter/excel/xistream \
	sc/source/filter/excel/xistring \
	sc/source/filter/excel/xistyle \
	sc/source/filter/excel/xiview \
	sc/source/filter/excel/xladdress \
	sc/source/filter/excel/xlchart \
	sc/source/filter/excel/xlescher \
	sc/source/filter/excel/xlformula \
	sc/source/filter/excel/xlpage \
	sc/source/filter/excel/xlpivot \
	sc/source/filter/excel/xlroot \
	sc/source/filter/excel/xlstyle \
	sc/source/filter/excel/xltoolbar \
	sc/source/filter/excel/xltools \
	sc/source/filter/excel/xltracer \
	sc/source/filter/excel/xlview \
	sc/source/filter/ftools/fapihelper \
	sc/source/filter/ftools/fprogressbar \
	sc/source/filter/ftools/ftools \
	sc/source/filter/ftools/sharedformulagroups \
	sc/source/filter/html/htmlexp \
	sc/source/filter/html/htmlexp2 \
	sc/source/filter/html/htmlimp \
	sc/source/filter/html/htmlpars \
	sc/source/filter/lotus/filter \
	sc/source/filter/lotus/lotattr \
	sc/source/filter/lotus/lotform \
	sc/source/filter/lotus/lotimpop \
	sc/source/filter/lotus/lotread \
	sc/source/filter/lotus/lotus \
	sc/source/filter/lotus/memory \
	sc/source/filter/lotus/op \
	sc/source/filter/lotus/optab \
	sc/source/filter/lotus/tool \
	sc/source/filter/qpro/qpro \
	sc/source/filter/qpro/qproform \
	sc/source/filter/qpro/qprostyle \
	sc/source/filter/rtf/eeimpars \
	sc/source/filter/rtf/expbase \
	sc/source/filter/rtf/rtfexp \
	sc/source/filter/rtf/rtfimp \
	sc/source/filter/rtf/rtfparse \
	sc/source/filter/xcl97/XclExpChangeTrack \
	sc/source/filter/xcl97/XclImpChangeTrack \
	sc/source/filter/xcl97/xcl97esc \
	sc/source/filter/xcl97/xcl97rec \
	sc/source/filter/oox/excelfilter \
	sc/source/filter/oox/addressconverter \
	sc/source/filter/oox/autofilterbuffer \
	sc/source/filter/oox/autofiltercontext \
	sc/source/filter/oox/biffhelper \
	sc/source/filter/oox/chartsheetfragment \
	sc/source/filter/oox/commentsbuffer \
	sc/source/filter/oox/commentsfragment \
	sc/source/filter/oox/condformatbuffer \
	sc/source/filter/oox/condformatcontext \
	sc/source/filter/oox/connectionsbuffer \
	sc/source/filter/oox/connectionsfragment \
	sc/source/filter/oox/defnamesbuffer \
	sc/source/filter/oox/drawingbase \
	sc/source/filter/oox/drawingfragment \
	sc/source/filter/oox/excelchartconverter \
	sc/source/filter/oox/excelhandlers \
	sc/source/filter/oox/excelvbaproject \
	sc/source/filter/oox/externallinkbuffer \
	sc/source/filter/oox/externallinkfragment \
	sc/source/filter/oox/extlstcontext \
	sc/source/filter/oox/formulabase \
	sc/source/filter/oox/formulabuffer \
	sc/source/filter/oox/formulaparser \
	sc/source/filter/oox/numberformatsbuffer \
	sc/source/filter/oox/ooxformulaparser \
	sc/source/filter/oox/pagesettings \
	sc/source/filter/oox/pivotcachebuffer \
	sc/source/filter/oox/pivotcachefragment \
	sc/source/filter/oox/pivottablebuffer \
	sc/source/filter/oox/pivottablefragment \
	sc/source/filter/oox/querytablebuffer \
	sc/source/filter/oox/querytablefragment \
	sc/source/filter/oox/revisionfragment \
	sc/source/filter/oox/richstringcontext \
	sc/source/filter/oox/richstring \
	sc/source/filter/oox/scenariobuffer \
	sc/source/filter/oox/scenariocontext \
	sc/source/filter/oox/sharedstringsbuffer \
	sc/source/filter/oox/sharedstringsfragment \
	sc/source/filter/oox/sheetdatabuffer \
	sc/source/filter/oox/sheetdatacontext \
	sc/source/filter/oox/stylesbuffer \
	sc/source/filter/oox/stylesfragment \
	sc/source/filter/oox/tablebuffer \
	sc/source/filter/oox/tablecolumnsbuffer \
	sc/source/filter/oox/tablecolumnscontext \
	sc/source/filter/oox/tablefragment \
	sc/source/filter/oox/themebuffer \
	sc/source/filter/oox/unitconverter \
	sc/source/filter/oox/viewsettings \
	sc/source/filter/oox/workbookfragment \
	sc/source/filter/oox/workbookhelper \
	sc/source/filter/oox/workbooksettings \
	sc/source/filter/oox/worksheetbuffer \
	sc/source/filter/oox/worksheetfragment \
	sc/source/filter/oox/worksheethelper \
	sc/source/filter/oox/worksheetsettings \
))

$(eval $(call gb_Library_use_externals,scfilt,\
	orcus \
	orcus-parser \
	boost_filesystem \
	boost_system \
	boost_iostreams \
	zlib \
))

$(eval $(call gb_Library_add_exception_objects,scfilt,\
	sc/source/filter/orcus/interface \
	sc/source/filter/orcus/orcusfiltersimpl \
	sc/source/filter/orcus/xmlcontext \
	sc/source/filter/orcus/filterdetect \
))

# vim: set noet sw=4 ts=4: