xref: /aoo42x/main/sd/Library_sdfilt.mk (revision e10cbedd)
1b63233d8Sdamjan###############################################################
2b63233d8Sdamjan#
3b63233d8Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4b63233d8Sdamjan#  or more contributor license agreements.  See the NOTICE file
5b63233d8Sdamjan#  distributed with this work for additional information
6b63233d8Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7b63233d8Sdamjan#  to you under the Apache License, Version 2.0 (the
8b63233d8Sdamjan#  "License"); you may not use this file except in compliance
9b63233d8Sdamjan#  with the License.  You may obtain a copy of the License at
10b63233d8Sdamjan#
11b63233d8Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12b63233d8Sdamjan#
13b63233d8Sdamjan#  Unless required by applicable law or agreed to in writing,
14b63233d8Sdamjan#  software distributed under the License is distributed on an
15b63233d8Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16b63233d8Sdamjan#  KIND, either express or implied.  See the License for the
17b63233d8Sdamjan#  specific language governing permissions and limitations
18b63233d8Sdamjan#  under the License.
19b63233d8Sdamjan#
20b63233d8Sdamjan###############################################################
21b63233d8Sdamjan
22b63233d8Sdamjan
23b63233d8Sdamjan
24b63233d8Sdamjan$(eval $(call gb_Library_Library,sdfilt))
25b63233d8Sdamjan
26b63233d8Sdamjan$(eval $(call gb_Library_add_api,sdfilt,\
27b63233d8Sdamjan	udkapi \
28b63233d8Sdamjan	offapi \
29b63233d8Sdamjan))
30b63233d8Sdamjan
31b63233d8Sdamjan$(eval $(call gb_Library_set_include,sdfilt,\
32b63233d8Sdamjan	$$(INCLUDE) \
33b63233d8Sdamjan	-I$(SRCDIR)/sd/inc \
34b63233d8Sdamjan	-I$(SRCDIR)/sd/inc/pch \
35b63233d8Sdamjan))
36b63233d8Sdamjan
37b63233d8Sdamjan$(eval $(call gb_Library_add_linked_libs,sdfilt,\
38b63233d8Sdamjan	editeng \
39b63233d8Sdamjan	svxcore \
40b63233d8Sdamjan	sd \
41b63233d8Sdamjan	sfx \
42b63233d8Sdamjan	svl \
43b63233d8Sdamjan	svt \
44b63233d8Sdamjan	stl \
45b63233d8Sdamjan	sot \
46b63233d8Sdamjan	tl \
47b63233d8Sdamjan	vcl \
48b63233d8Sdamjan	msfilter \
49b63233d8Sdamjan	cppu \
50b63233d8Sdamjan	cppuhelper \
51b63233d8Sdamjan	ucbhelper \
52b63233d8Sdamjan	i18nisolang1 \
53b63233d8Sdamjan	sal \
54b63233d8Sdamjan	comphelper \
55b63233d8Sdamjan	utl \
56b63233d8Sdamjan    $(gb_STDLIBS) \
57b63233d8Sdamjan))
58b63233d8Sdamjan
59b63233d8Sdamjan$(eval $(call gb_Library_add_exception_objects,sdfilt,\
60b63233d8Sdamjan	sd/source/filter/ppt/propread \
61b63233d8Sdamjan	sd/source/filter/ppt/pptin \
62b63233d8Sdamjan	sd/source/filter/ppt/pptinanimations \
63b63233d8Sdamjan	sd/source/filter/ppt/pptatom \
64b63233d8Sdamjan	sd/source/filter/ppt/ppt97animations \
65b63233d8Sdamjan	sd/source/filter/eppt/eppt \
66*e10cbeddSDon Lewis	sd/source/filter/eppt/epptso \
67b63233d8Sdamjan	sd/source/filter/eppt/escherex \
68b63233d8Sdamjan	sd/source/filter/eppt/pptexanimations \
69b63233d8Sdamjan	sd/source/filter/eppt/pptexsoundcollection \
70b63233d8Sdamjan))
71b63233d8Sdamjan
72b63233d8Sdamjan# the following source file can't be compiled with optimization by some compilers (crash or endless loop):
73b63233d8Sdamjan# Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC
74b63233d8Sdamjan# the latter is currently not supported by gbuild and needs a fix here later
75b63233d8Sdamjanifeq ($(COM),GCC)
76*e10cbeddSDon Lewis$(eval $(call gb_LinkTarget_set_cxx_optimization, \
77*e10cbeddSDon Lewis	sd/source/filter/eppt/epptso, $(gb_COMPILERNOOPTFLAGS) \
78b63233d8Sdamjan))
79b63233d8Sdamjanendif
80b63233d8Sdamjan
81b63233d8Sdamjan# vim: set noet sw=4 ts=4:
82