xref: /trunk/main/sc/Library_scfilt.mk (revision b77af630)
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,scfilt))
25
26$(eval $(call gb_Library_add_precompiled_header,scfilt,$(SRCDIR)/sc/inc/pch/precompiled_scfilt))
27
28$(eval $(call gb_Library_set_include,scfilt,\
29        $$(INCLUDE) \
30	-I$(SRCDIR)/sc/inc \
31	-I$(SRCDIR)/sc/inc/pch \
32	-I$(SRCDIR)/sc/source/ui/inc \
33	-I$(SRCDIR)/sc/source/core/inc \
34	-I$(SRCDIR)/sc/source/filter/inc \
35))
36
37$(eval $(call gb_Library_add_defs,scfilt,\
38	-DSC_DLLIMPLEMENTATION \
39))
40
41$(eval $(call gb_Library_add_api,scfilt,\
42	offapi \
43	udkapi \
44))
45
46$(eval $(call gb_Library_add_linked_libs,scfilt,\
47	basegfx \
48	comphelper \
49	cppu \
50	cppuhelper \
51	drawinglayer \
52	editeng \
53	for \
54	msfilter \
55	ootk \
56	oox \
57	sal \
58	sax \
59	sb \
60	sc \
61	sfx \
62	sot \
63	stl \
64	svl \
65	svt \
66	svx \
67	svxcore \
68	tl \
69	utl \
70	vcl \
71	vos3 \
72	$(gb_STDLIBS) \
73))
74
75$(eval $(call gb_Library_add_exception_objects,scfilt,\
76	sc/source/filter/ftools/fapihelper \
77	sc/source/filter/ftools/fprogressbar \
78	sc/source/filter/ftools/ftools \
79	sc/source/filter/excel/colrowst \
80	sc/source/filter/excel/excdoc \
81	sc/source/filter/excel/excel \
82	sc/source/filter/excel/excform \
83	sc/source/filter/excel/excform8 \
84	sc/source/filter/excel/excimp8 \
85	sc/source/filter/excel/excrecds \
86	sc/source/filter/excel/exctools \
87	sc/source/filter/excel/expop2 \
88	sc/source/filter/excel/fontbuff \
89	sc/source/filter/excel/frmbase \
90	sc/source/filter/excel/impop \
91	sc/source/filter/excel/namebuff \
92	sc/source/filter/excel/read \
93	sc/source/filter/excel/tokstack \
94	sc/source/filter/excel/xechart \
95	sc/source/filter/excel/xecontent \
96	sc/source/filter/excel/xeescher \
97	sc/source/filter/excel/xeformula \
98	sc/source/filter/excel/xehelper \
99	sc/source/filter/excel/xelink \
100	sc/source/filter/excel/xename \
101	sc/source/filter/excel/xepage \
102	sc/source/filter/excel/xepivot \
103	sc/source/filter/excel/xerecord \
104	sc/source/filter/excel/xeroot \
105	sc/source/filter/excel/xestream \
106	sc/source/filter/excel/xestring \
107	sc/source/filter/excel/xestyle \
108	sc/source/filter/excel/xetable \
109	sc/source/filter/excel/xeview \
110	sc/source/filter/excel/xichart \
111	sc/source/filter/excel/xicontent \
112	sc/source/filter/excel/xiformula \
113	sc/source/filter/excel/xihelper \
114	sc/source/filter/excel/xilink \
115	sc/source/filter/excel/xiname \
116	sc/source/filter/excel/xipage \
117	sc/source/filter/excel/xipivot \
118	sc/source/filter/excel/xiroot \
119	sc/source/filter/excel/xistream \
120	sc/source/filter/excel/xistring \
121	sc/source/filter/excel/xistyle \
122	sc/source/filter/excel/xiview \
123	sc/source/filter/excel/xladdress \
124	sc/source/filter/excel/xlchart \
125	sc/source/filter/excel/xlescher \
126	sc/source/filter/excel/xlformula \
127	sc/source/filter/excel/xlpage \
128	sc/source/filter/excel/xlpivot \
129	sc/source/filter/excel/xlroot \
130	sc/source/filter/excel/xlstyle \
131	sc/source/filter/excel/xltools \
132	sc/source/filter/excel/xltracer \
133	sc/source/filter/excel/xlview \
134	sc/source/filter/xcl97/xcl97esc \
135	sc/source/filter/xcl97/xcl97rec \
136	sc/source/filter/xcl97/XclImpChangeTrack \
137	sc/source/filter/xcl97/XclExpChangeTrack \
138	sc/source/filter/lotus/filter \
139	sc/source/filter/lotus/lotus \
140	sc/source/filter/lotus/lotimpop \
141	sc/source/filter/lotus/lotread \
142	sc/source/filter/lotus/lotform \
143	sc/source/filter/lotus/memory \
144	sc/source/filter/lotus/op \
145	sc/source/filter/lotus/optab \
146	sc/source/filter/lotus/tool \
147	sc/source/filter/lotus/expop \
148	sc/source/filter/lotus/export \
149	sc/source/filter/lotus/lotattr \
150	sc/source/filter/qpro/qpro \
151	sc/source/filter/qpro/qproform \
152	sc/source/filter/qpro/qprostyle \
153	sc/source/filter/qpro/biff \
154	sc/source/filter/dif/difimp \
155	sc/source/filter/dif/difexp \
156	sc/source/filter/html/htmlexp \
157	sc/source/filter/html/htmlexp2 \
158	sc/source/filter/html/htmlimp \
159	sc/source/filter/html/htmlpars \
160	sc/source/filter/rtf/eeimpars \
161	sc/source/filter/rtf/expbase \
162	sc/source/filter/rtf/rtfexp \
163	sc/source/filter/rtf/rtfimp \
164	sc/source/filter/rtf/rtfparse \
165	sc/source/filter/starcalc/scflt \
166	sc/source/filter/starcalc/scfobj \
167))
168
169ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCSPARC)
170$(eval $(call gb_Library_add_cxxobjects,scfilt,\
171	sc/source/filter/excel/xiescher \
172	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
173))
174else
175$(eval $(call gb_Library_add_exception_objects,scfilt,\
176	sc/source/filter/excel/xiescher \
177))
178endif
179
180# vim: set noet sw=4 ts=4:
181