xref: /trunk/main/sc/Library_sc.mk (revision e10cbedd)
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,sc))
25
26$(eval $(call gb_Library_add_precompiled_header,sc,$(SRCDIR)/sc/inc/pch/precompiled_sc))
27
28$(eval $(call gb_Library_add_sdi_headers,sc,sc/sdi/scslots))
29
30$(eval $(call gb_Library_set_componentfile,sc,sc/util/sc))
31
32$(eval $(call gb_Library_set_include,sc,\
33        $$(INCLUDE) \
34	-I$(SRCDIR)/sc/inc \
35	-I$(SRCDIR)/sc/inc/pch \
36	-I$(SRCDIR)/sc/source/ui/inc \
37	-I$(SRCDIR)/sc/source/core/inc \
38	-I$(SRCDIR)/sc/source/filter/inc \
39	-I$(WORKDIR)/SdiTarget/sc/sdi \
40))
41
42$(eval $(call gb_Library_add_defs,sc,\
43	-DSC_DLLIMPLEMENTATION \
44	-DSC_INFO_OSVERSION="\"$(OS)\"" \
45))
46
47$(eval $(call gb_Library_add_api,sc,\
48	offapi \
49	udkapi \
50))
51
52$(eval $(call gb_Library_add_linked_libs,sc,\
53	avmedia \
54	basegfx \
55	comphelper \
56	cppuhelper \
57	cppu \
58	drawinglayer \
59	editeng \
60	for \
61	forui \
62	i18nisolang1 \
63	ootk \
64	sal \
65	sb \
66	sfx \
67	sot \
68	stl \
69	svl \
70	svt \
71	svx \
72	svxcore \
73	tl \
74	ucbhelper \
75	utl \
76	vbahelper \
77	vcl \
78	vos3 \
79	xo \
80	$(gb_STDLIBS) \
81))
82
83# FIXME:
84#	icudt \
85#	icuin \
86
87$(call gb_Library_use_externals,sc,\
88	icule \
89	icuuc \
90)
91
92$(eval $(call gb_Library_add_exception_objects,sc,\
93	sc/source/ui/app/scmod \
94	sc/source/ui/app/scmod2 \
95	sc/source/ui/app/scdll \
96	sc/source/ui/app/typemap \
97	sc/source/ui/app/transobj \
98	sc/source/ui/app/drwtrans \
99	sc/source/ui/app/lnktrans \
100	sc/source/ui/app/seltrans \
101	sc/source/ui/app/inputhdl \
102	sc/source/ui/app/inputwin \
103	sc/source/ui/app/rfindlst \
104	sc/source/ui/app/uiitems \
105	sc/source/ui/app/msgpool \
106	sc/source/ui/app/client \
107	sc/source/ui/docshell/docsh \
108	sc/source/ui/docshell/docsh2 \
109	sc/source/ui/docshell/docsh3 \
110	sc/source/ui/docshell/docsh4 \
111	sc/source/ui/docshell/docsh5 \
112	sc/source/ui/docshell/docsh6 \
113	sc/source/ui/docshell/docsh7 \
114	sc/source/ui/docshell/docsh8 \
115	sc/source/ui/docshell/externalrefmgr \
116	sc/source/ui/docshell/tablink \
117	sc/source/ui/docshell/arealink \
118	sc/source/ui/docshell/dbdocfun \
119	sc/source/ui/docshell/dbdocimp \
120	sc/source/ui/docshell/impex \
121	sc/source/ui/docshell/docfunc \
122	sc/source/ui/docshell/olinefun \
123	sc/source/ui/docshell/servobj \
124	sc/source/ui/docshell/autostyl \
125	sc/source/ui/docshell/pagedata \
126	sc/source/ui/docshell/hiranges \
127	sc/source/ui/docshell/pntlock \
128	sc/source/ui/docshell/sizedev \
129	sc/source/ui/docshell/editable \
130	sc/source/ui/view/tabview \
131	sc/source/ui/view/tabview2 \
132	sc/source/ui/view/tabview3 \
133	sc/source/ui/view/tabview4 \
134	sc/source/ui/view/tabview5 \
135	sc/source/ui/view/viewfunc \
136	sc/source/ui/view/viewfun2 \
137	sc/source/ui/view/viewfun3 \
138	sc/source/ui/view/viewfun4 \
139	sc/source/ui/view/viewfun5 \
140	sc/source/ui/view/viewfun6 \
141	sc/source/ui/view/viewfun7 \
142	sc/source/ui/view/dbfunc \
143	sc/source/ui/view/dbfunc2 \
144	sc/source/ui/view/dbfunc3 \
145	sc/source/ui/view/dbfunc4 \
146	sc/source/ui/view/drawview \
147	sc/source/ui/view/tabvwsh \
148	sc/source/ui/view/tabvwsh2 \
149	sc/source/ui/view/tabvwsh3 \
150	sc/source/ui/view/tabvwsh4 \
151	sc/source/ui/view/tabvwsh5 \
152	sc/source/ui/view/tabvwsh8 \
153	sc/source/ui/view/tabvwsh9 \
154	sc/source/ui/view/tabvwsha \
155	sc/source/ui/view/tabvwshb \
156	sc/source/ui/view/tabvwshc \
157	sc/source/ui/view/tabvwshd \
158	sc/source/ui/view/tabvwshe \
159	sc/source/ui/view/tabvwshf \
160	sc/source/ui/view/tabvwshg \
161	sc/source/ui/view/tabvwshh \
162	sc/source/ui/view/printfun \
163	sc/source/ui/view/pfuncache \
164	sc/source/ui/view/preview \
165	sc/source/ui/view/prevwsh \
166	sc/source/ui/view/prevwsh2 \
167	sc/source/ui/view/prevloc \
168	sc/source/ui/view/editsh \
169	sc/source/ui/view/pivotsh \
170	sc/source/ui/view/auditsh \
171	sc/source/ui/view/gridwin \
172	sc/source/ui/view/gridwin2 \
173	sc/source/ui/view/gridwin3 \
174	sc/source/ui/view/gridwin4 \
175	sc/source/ui/view/gridwin5 \
176	sc/source/ui/view/drawvie2 \
177	sc/source/ui/view/drawvie3 \
178	sc/source/ui/view/drawvie4 \
179	sc/source/ui/view/drawutil \
180	sc/source/ui/view/output \
181	sc/source/ui/view/output2 \
182	sc/source/ui/view/output3 \
183	sc/source/ui/view/gridmerg \
184	sc/source/ui/view/invmerge \
185	sc/source/ui/view/select \
186	sc/source/ui/view/olinewin \
187	sc/source/ui/view/hintwin \
188	sc/source/ui/view/notemark \
189	sc/source/ui/view/tabcont \
190	sc/source/ui/view/tabsplit \
191	sc/source/ui/view/viewutil \
192	sc/source/ui/view/hdrcont \
193	sc/source/ui/view/colrowba \
194	sc/source/ui/view/olkact \
195	sc/source/ui/view/imapwrap \
196	sc/source/ui/view/reffact \
197	sc/source/ui/view/selectionstate \
198	sc/source/ui/view/spelleng \
199	sc/source/ui/view/spelldialog \
200	sc/source/ui/view/waitoff \
201	sc/source/ui/view/cellsh \
202	sc/source/ui/view/cellsh1 \
203	sc/source/ui/view/cellsh2 \
204	sc/source/ui/view/cellsh3 \
205	sc/source/ui/view/cellsh4 \
206	sc/source/ui/view/formatsh \
207	sc/source/ui/view/pgbrksh \
208	sc/source/ui/view/viewdata \
209	sc/source/ui/view/scextopt \
210	sc/source/ui/undo/target \
211	sc/source/ui/undo/refundo \
212	sc/source/ui/undo/areasave \
213	sc/source/ui/undo/undobase \
214	sc/source/ui/undo/undoutil \
215	sc/source/ui/undo/undocell \
216	sc/source/ui/undo/undostyl \
217	sc/source/ui/undo/undoolk \
218	sc/source/ui/undo/undoblk \
219	sc/source/ui/undo/undoblk2 \
220	sc/source/ui/undo/undoblk3 \
221	sc/source/ui/undo/undodat \
222	sc/source/ui/undo/undodraw \
223	sc/source/ui/undo/undotab \
224	sc/source/ui/attrdlg/condfrmt \
225	sc/source/ui/attrdlg/scabstdlg \
226	sc/source/ui/namedlg/namedlg \
227	sc/source/ui/miscdlgs/autofmt \
228	sc/source/ui/miscdlgs/solvrdlg \
229	sc/source/ui/miscdlgs/optsolver \
230	sc/source/ui/miscdlgs/solveroptions \
231	sc/source/ui/miscdlgs/solverutil \
232	sc/source/ui/miscdlgs/tabopdlg \
233	sc/source/ui/miscdlgs/anyrefdg \
234	sc/source/ui/miscdlgs/crnrdlg \
235	sc/source/ui/miscdlgs/acredlin \
236	sc/source/ui/miscdlgs/highred \
237	sc/source/ui/miscdlgs/simpref \
238	sc/source/ui/miscdlgs/redcom \
239	sc/source/ui/miscdlgs/warnbox \
240	sc/source/ui/miscdlgs/conflictsdlg \
241	sc/source/ui/miscdlgs/sharedocdlg \
242	sc/source/ui/miscdlgs/protectiondlg \
243	sc/source/ui/miscdlgs/retypepassdlg \
244	sc/source/ui/formdlg/formula \
245	sc/source/ui/formdlg/formdata \
246	sc/source/ui/formdlg/privsplt \
247	sc/source/ui/formdlg/dwfunctr \
248	sc/source/ui/cctrl/popmenu \
249	sc/source/ui/cctrl/tbinsert \
250	sc/source/ui/cctrl/cbuttonw \
251	sc/source/ui/cctrl/dpcontrol \
252	sc/source/ui/cctrl/tbzoomsliderctrl \
253	sc/source/ui/dbgui/filtdlg \
254	sc/source/ui/dbgui/sfiltdlg \
255	sc/source/ui/dbgui/foptmgr \
256	sc/source/ui/dbgui/dbnamdlg \
257	sc/source/ui/dbgui/expftext \
258	sc/source/ui/dbgui/fieldwnd \
259	sc/source/ui/dbgui/pvlaydlg \
260	sc/source/ui/dbgui/consdlg \
261	sc/source/ui/dbgui/imoptdlg \
262	sc/source/ui/dbgui/csvsplits \
263	sc/source/ui/dbgui/csvcontrol \
264	sc/source/ui/dbgui/csvruler \
265	sc/source/ui/dbgui/csvgrid \
266	sc/source/ui/dbgui/csvtablebox \
267	sc/source/ui/dbgui/asciiopt \
268	sc/source/ui/pagedlg/areasdlg \
269	sc/source/ui/pagedlg/tphfedit \
270	sc/source/ui/drawfunc/fupoor \
271	sc/source/ui/drawfunc/fumark \
272	sc/source/ui/drawfunc/fudraw \
273	sc/source/ui/drawfunc/fusel \
274	sc/source/ui/drawfunc/fusel2 \
275	sc/source/ui/drawfunc/fuconstr \
276	sc/source/ui/drawfunc/fuconrec \
277	sc/source/ui/drawfunc/fuconarc \
278	sc/source/ui/drawfunc/fuconuno \
279	sc/source/ui/drawfunc/fuconpol \
280	sc/source/ui/drawfunc/fuconcustomshape \
281	sc/source/ui/drawfunc/fuins1 \
282	sc/source/ui/drawfunc/fuins2 \
283	sc/source/ui/drawfunc/futext \
284	sc/source/ui/drawfunc/futext2 \
285	sc/source/ui/drawfunc/futext3 \
286	sc/source/ui/drawfunc/drawsh \
287	sc/source/ui/drawfunc/drawsh2 \
288	sc/source/ui/drawfunc/drawsh4 \
289	sc/source/ui/drawfunc/drawsh5 \
290	sc/source/ui/drawfunc/drtxtob \
291	sc/source/ui/drawfunc/drtxtob1 \
292	sc/source/ui/drawfunc/drtxtob2 \
293	sc/source/ui/drawfunc/drformsh \
294	sc/source/ui/drawfunc/oleobjsh \
295	sc/source/ui/drawfunc/chartsh \
296	sc/source/ui/drawfunc/graphsh \
297	sc/source/ui/drawfunc/mediash \
298	sc/source/ui/sidebar/ScPanelFactory \
299	sc/source/ui/sidebar/AlignmentPropertyPanel \
300	sc/source/ui/sidebar/CellLineStyleControl \
301	sc/source/ui/sidebar/CellLineStylePopup \
302	sc/source/ui/sidebar/CellLineStyleValueSet \
303	sc/source/ui/sidebar/CellBorderUpdater \
304	sc/source/ui/sidebar/CellAppearancePropertyPanel \
305	sc/source/ui/sidebar/CellBorderStyleControl \
306	sc/source/ui/sidebar/CellBorderStylePopup \
307	sc/source/ui/sidebar/NumberFormatPropertyPanel \
308	sc/source/ui/navipi/navipi \
309	sc/source/ui/navipi/navcitem \
310	sc/source/ui/navipi/scenwnd \
311	sc/source/ui/navipi/content \
312	sc/source/ui/unoobj/cellsuno \
313	sc/source/ui/unoobj/docuno \
314	sc/source/ui/unoobj/servuno \
315	sc/source/ui/unoobj/defltuno \
316	sc/source/ui/unoobj/drdefuno \
317	sc/source/ui/unoobj/tokenuno \
318	sc/source/ui/unoobj/textuno \
319	sc/source/ui/unoobj/notesuno \
320	sc/source/ui/unoobj/cursuno \
321	sc/source/ui/unoobj/srchuno \
322	sc/source/ui/unoobj/fielduno \
323	sc/source/ui/unoobj/miscuno \
324	sc/source/ui/unoobj/optuno \
325	sc/source/ui/unoobj/appluno \
326	sc/source/ui/unoobj/funcuno \
327	sc/source/ui/unoobj/nameuno \
328	sc/source/ui/unoobj/viewuno \
329	sc/source/ui/unoobj/dispuno \
330	sc/source/ui/unoobj/datauno \
331	sc/source/ui/unoobj/dapiuno \
332	sc/source/ui/unoobj/chartuno \
333	sc/source/ui/unoobj/chart2uno \
334	sc/source/ui/unoobj/shapeuno \
335	sc/source/ui/unoobj/pageuno \
336	sc/source/ui/unoobj/forbiuno \
337	sc/source/ui/unoobj/styleuno \
338	sc/source/ui/unoobj/afmtuno \
339	sc/source/ui/unoobj/fmtuno \
340	sc/source/ui/unoobj/linkuno \
341	sc/source/ui/unoobj/targuno \
342	sc/source/ui/unoobj/convuno \
343	sc/source/ui/unoobj/editsrc \
344	sc/source/ui/unoobj/unoguard \
345	sc/source/ui/unoobj/confuno \
346	sc/source/ui/unoobj/filtuno \
347	sc/source/ui/unoobj/unodoc \
348	sc/source/ui/unoobj/addruno \
349	sc/source/ui/unoobj/eventuno \
350	sc/source/ui/unoobj/listenercalls \
351	sc/source/ui/unoobj/cellvaluebinding \
352	sc/source/ui/unoobj/celllistsource \
353	sc/source/ui/unoobj/warnpassword \
354	sc/source/ui/unoobj/unoreflist \
355	sc/source/ui/unoobj/ChartRangeSelectionListener \
356	sc/source/core/data/attarray \
357	sc/source/core/data/attrib \
358	sc/source/core/data/autonamecache \
359	sc/source/core/data/bcaslot \
360	sc/source/core/data/cell \
361	sc/source/core/data/cell2 \
362	sc/source/core/data/clipparam \
363	sc/source/core/data/column \
364	sc/source/core/data/column2 \
365	sc/source/core/data/column3 \
366	sc/source/core/data/compressedarray \
367	sc/source/core/data/conditio \
368	sc/source/core/data/dbdocutl \
369	sc/source/core/data/dociter \
370	sc/source/core/data/docpool \
371	sc/source/core/data/documen2 \
372	sc/source/core/data/documen3 \
373	sc/source/core/data/documen4 \
374	sc/source/core/data/documen5 \
375	sc/source/core/data/documen6 \
376	sc/source/core/data/documen7 \
377	sc/source/core/data/documen8 \
378	sc/source/core/data/documen9 \
379	sc/source/core/data/document \
380	sc/source/core/data/dpcachetable \
381	sc/source/core/data/dpdimsave \
382	sc/source/core/data/dpglobal \
383	sc/source/core/data/dpgroup \
384	sc/source/core/data/dpobject \
385	sc/source/core/data/dpoutput \
386	sc/source/core/data/dpoutputgeometry \
387	sc/source/core/data/dpsave \
388	sc/source/core/data/dpsdbtab \
389	sc/source/core/data/dpshttab \
390	sc/source/core/data/dptabdat \
391	sc/source/core/data/dptabres \
392	sc/source/core/data/dptabsrc \
393	sc/source/core/data/dptablecache \
394	sc/source/core/data/scdpoutputimpl \
395	sc/source/core/data/drawpage \
396	sc/source/core/data/drwlayer \
397	sc/source/core/data/fillinfo \
398	sc/source/core/data/global \
399	sc/source/core/data/global2 \
400	sc/source/core/data/globalx \
401	sc/source/core/data/markarr \
402	sc/source/core/data/markdata \
403	sc/source/core/data/olinetab \
404	sc/source/core/data/pagepar \
405	sc/source/core/data/patattr \
406	sc/source/core/data/pivot2 \
407	sc/source/core/data/poolhelp \
408	sc/source/core/data/sheetevents \
409	sc/source/core/data/segmenttree \
410	sc/source/core/data/sortparam \
411	sc/source/core/data/stlpool \
412	sc/source/core/data/stlsheet \
413	sc/source/core/data/tabbgcolor \
414	sc/source/core/data/table1 \
415	sc/source/core/data/table2 \
416	sc/source/core/data/table3 \
417	sc/source/core/data/table4 \
418	sc/source/core/data/table5 \
419	sc/source/core/data/table6 \
420	sc/source/core/data/tabprotection \
421	sc/source/core/data/userdat \
422	sc/source/core/data/postit \
423	sc/source/core/data/validat \
424	sc/source/core/tool/addincfg \
425	sc/source/core/tool/addincol \
426	sc/source/core/tool/addinhelpid \
427	sc/source/core/tool/addinlis \
428	sc/source/core/tool/address \
429	sc/source/core/tool/adiasync \
430	sc/source/core/tool/appoptio \
431	sc/source/core/tool/autoform \
432	sc/source/core/tool/callform \
433	sc/source/core/tool/cellform \
434	sc/source/core/tool/cellkeytranslator \
435	sc/source/core/tool/chartarr \
436	sc/source/core/tool/charthelper \
437	sc/source/core/tool/chartpos \
438	sc/source/core/tool/chartlis \
439	sc/source/core/tool/chartlock \
440	sc/source/core/tool/chgtrack \
441	sc/source/core/tool/chgviset \
442	sc/source/core/tool/collect \
443	sc/source/core/tool/compiler \
444	sc/source/core/tool/consoli \
445	sc/source/core/tool/dbcolect \
446	sc/source/core/tool/ddelink \
447	sc/source/core/tool/detdata \
448	sc/source/core/tool/detfunc \
449	sc/source/core/tool/docoptio \
450	sc/source/core/tool/doubleref \
451	sc/source/core/tool/editutil \
452	sc/source/core/tool/filtopt \
453	sc/source/core/tool/formulaparserpool \
454	sc/source/core/tool/hints \
455	sc/source/core/tool/inputopt \
456	sc/source/core/tool/interpr1 \
457	sc/source/core/tool/interpr2 \
458	sc/source/core/tool/interpr3 \
459	sc/source/core/tool/interpr4 \
460	sc/source/core/tool/interpr5 \
461	sc/source/core/tool/interpr6 \
462	sc/source/core/tool/lookupcache \
463	sc/source/core/tool/navicfg \
464	sc/source/core/tool/odffmap \
465	sc/source/core/tool/optutil \
466	sc/source/core/tool/parclass \
467	sc/source/core/tool/printopt \
468	sc/source/core/tool/prnsave \
469	sc/source/core/tool/progress \
470	sc/source/core/tool/queryparam \
471	sc/source/core/tool/rangelst \
472	sc/source/core/tool/rangenam \
473	sc/source/core/tool/rangeseq \
474	sc/source/core/tool/rangeutl \
475	sc/source/core/tool/rechead \
476	sc/source/core/tool/refdata \
477	sc/source/core/tool/reffind \
478	sc/source/core/tool/refreshtimer \
479	sc/source/core/tool/reftokenhelper \
480	sc/source/core/tool/refupdat \
481	sc/source/core/tool/scmatrix \
482	sc/source/core/tool/subtotal \
483	sc/source/core/tool/stringutil \
484	sc/source/core/tool/token \
485	sc/source/core/tool/unitconv \
486	sc/source/core/tool/userlist \
487	sc/source/core/tool/viewopti \
488	sc/source/core/tool/zforauto \
489	sc/source/filter/xml/sheetdata \
490	sc/source/filter/xml/xmlwrap \
491	sc/source/filter/xml/xmlimprt \
492	sc/source/filter/xml/xmlexprt \
493	sc/source/filter/xml/xmlbodyi \
494	sc/source/filter/xml/xmltabi \
495	sc/source/filter/xml/xmlexternaltabi \
496	sc/source/filter/xml/xmlrowi \
497	sc/source/filter/xml/xmlcelli \
498	sc/source/filter/xml/xmlconti \
499	sc/source/filter/xml/xmlcvali \
500	sc/source/filter/xml/xmlcoli \
501	sc/source/filter/xml/xmlsubti \
502	sc/source/filter/xml/xmlnexpi \
503	sc/source/filter/xml/xmldrani \
504	sc/source/filter/xml/xmlfilti \
505	sc/source/filter/xml/xmlsorti \
506	sc/source/filter/xml/xmlstyle \
507	sc/source/filter/xml/xmlstyli \
508	sc/source/filter/xml/xmldpimp \
509	sc/source/filter/xml/xmlannoi \
510	sc/source/filter/xml/xmlsceni \
511	sc/source/filter/xml/XMLTableMasterPageExport \
512	sc/source/filter/xml/xmllabri \
513	sc/source/filter/xml/XMLTableHeaderFooterContext \
514	sc/source/filter/xml/XMLDetectiveContext \
515	sc/source/filter/xml/XMLCellRangeSourceContext \
516	sc/source/filter/xml/XMLConsolidationContext \
517	sc/source/filter/xml/XMLConverter \
518	sc/source/filter/xml/XMLExportIterator \
519	sc/source/filter/xml/XMLColumnRowGroupExport \
520	sc/source/filter/xml/XMLStylesExportHelper \
521	sc/source/filter/xml/XMLStylesImportHelper \
522	sc/source/filter/xml/XMLExportDataPilot \
523	sc/source/filter/xml/XMLExportDatabaseRanges \
524	sc/source/filter/xml/XMLTableShapeImportHelper \
525	sc/source/filter/xml/XMLTableShapesContext \
526	sc/source/filter/xml/XMLExportDDELinks \
527	sc/source/filter/xml/XMLDDELinksContext \
528	sc/source/filter/xml/XMLCalculationSettingsContext \
529	sc/source/filter/xml/XMLTableSourceContext \
530	sc/source/filter/xml/XMLTextPContext \
531	sc/source/filter/xml/XMLTableShapeResizer \
532	sc/source/filter/xml/XMLChangeTrackingExportHelper \
533	sc/source/filter/xml/xmlfonte \
534	sc/source/filter/xml/XMLChangeTrackingImportHelper \
535	sc/source/filter/xml/XMLTrackedChangesContext \
536	sc/source/filter/xml/XMLExportSharedData \
537	sc/source/filter/xml/XMLEmptyContext \
538	sc/source/filter/xml/XMLCodeNameProvider \
539	sc/source/ui/Accessibility/AccessibleContextBase \
540	sc/source/ui/Accessibility/AccessibleTableBase \
541	sc/source/ui/Accessibility/AccessibleDocument \
542	sc/source/ui/Accessibility/AccessibleGlobal \
543	sc/source/ui/Accessibility/AccessibleSpreadsheet \
544	sc/source/ui/Accessibility/AccessibleCell \
545	sc/source/ui/Accessibility/AccessibilityHints \
546	sc/source/ui/Accessibility/AccessibleDocumentBase \
547	sc/source/ui/Accessibility/AccessibleCellBase \
548	sc/source/ui/Accessibility/AccessibleDocumentPagePreview \
549	sc/source/ui/Accessibility/AccessibleFilterMenu \
550	sc/source/ui/Accessibility/AccessibleFilterMenuItem \
551	sc/source/ui/Accessibility/AccessibleFilterTopWindow \
552	sc/source/ui/Accessibility/AccessiblePreviewTable \
553	sc/source/ui/Accessibility/AccessiblePreviewCell \
554	sc/source/ui/Accessibility/AccessiblePreviewHeaderCell \
555	sc/source/ui/Accessibility/AccessiblePageHeader \
556	sc/source/ui/Accessibility/AccessibleText \
557	sc/source/ui/Accessibility/AccessiblePageHeaderArea \
558	sc/source/ui/Accessibility/DrawModelBroadcaster \
559	sc/source/ui/Accessibility/AccessibleEditObject \
560	sc/source/ui/Accessibility/AccessibleDataPilotControl \
561	sc/source/ui/Accessibility/AccessibleCsvControl \
562))
563
564$(eval $(call gb_LinkTarget_set_cxx_optimization, \
565	sc/source/filter/xml/xmlcvali \
566	sc/source/ui/drawfunc/fusel \
567	sc/source/ui/view/dbfunc2 \
568	sc/source/ui/view/drawview \
569	sc/source/ui/view/tabvwsh2 \
570	, $(gb_COMPILERNOOPTFLAGS) \
571))
572
573ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCPOWERPC)
574$(eval $(call gb_LinkTarget_set_cxx_optimization, \
575	sc/source/core/tool/subtotal, $(gb_COMPILERNOOPTFLAGS) \
576))
577endif
578
579ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCSPARC)
580$(eval $(call gb_LinkTarget_set_cxx_optimization, \
581	sc/source/core/data/cell \
582	sc/source/core/data/column2 \
583	sc/source/core/data/column3 \
584	sc/source/core/data/conditio \
585	sc/source/core/data/documen4 \
586	sc/source/core/data/table3 \
587	sc/source/core/data/table4 \
588	sc/source/core/data/validat \
589	sc/source/core/tool/chartarr \
590	sc/source/core/tool/interpr2 \
591	sc/source/core/tool/interpr4 \
592	sc/source/core/tool/token
593	sc/source/ui/unoobj/cellsuno \
594	sc/source/ui/view/viewfun2 \
595	sc/source/ui/view/viewfun4 \
596	, $(gb_COMPILERNOOPTFLAGS) \
597))
598endif
599
600ifeq ($(GUI),OS2)
601$(eval $(call gb_LinkTarget_set_cxx_optimization, \
602	sc/source/core/tool/interpr6, $(gb_COMPILERNOOPTFLAGS) \
603))
604endif
605
606# Work around bug in gcc 4.2 / 4.3, see
607# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35182
608ifeq ($(COM),GCC)
609$(eval $(call gb_LinkTarget_set_cxx_optimization, \
610	sc/source/ui/unoobj/chart2uno, $(gb_COMPILERNOOPTFLAGS) \
611))
612endif
613
614$(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))
615
616$(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\
617	-I$(SRCDIR)/sc/inc \
618	-I$(SRCDIR)/sc/sdi \
619	-I$(SRCDIR)/sc/source/ui/inc \
620	-I$(OUTDIR)/inc \
621))
622
623# vim: set noet sw=4 ts=4:
624