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,sdfilt)) 25 26$(eval $(call gb_Library_add_api,sdfilt,\ 27 udkapi \ 28 offapi \ 29)) 30 31$(eval $(call gb_Library_set_include,sdfilt,\ 32 $$(INCLUDE) \ 33 -I$(SRCDIR)/sd/inc \ 34 -I$(SRCDIR)/sd/inc/pch \ 35)) 36 37$(eval $(call gb_Library_add_linked_libs,sdfilt,\ 38 editeng \ 39 svxcore \ 40 sd \ 41 sfx \ 42 svl \ 43 svt \ 44 stl \ 45 sot \ 46 tl \ 47 vcl \ 48 msfilter \ 49 cppu \ 50 cppuhelper \ 51 ucbhelper \ 52 i18nisolang1 \ 53 sal \ 54 comphelper \ 55 utl \ 56 $(gb_STDLIBS) \ 57)) 58 59$(eval $(call gb_Library_add_exception_objects,sdfilt,\ 60 sd/source/filter/ppt/propread \ 61 sd/source/filter/ppt/pptin \ 62 sd/source/filter/ppt/pptinanimations \ 63 sd/source/filter/ppt/pptatom \ 64 sd/source/filter/ppt/ppt97animations \ 65 sd/source/filter/eppt/eppt \ 66 sd/source/filter/eppt/epptso \ 67 sd/source/filter/eppt/escherex \ 68 sd/source/filter/eppt/pptexanimations \ 69 sd/source/filter/eppt/pptexsoundcollection \ 70)) 71 72# the following source file can't be compiled with optimization by some compilers (crash or endless loop): 73# Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC 74# the latter is currently not supported by gbuild and needs a fix here later 75ifeq ($(COM),GCC) 76$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 77 sd/source/filter/eppt/epptso, $(gb_COMPILERNOOPTFLAGS) \ 78)) 79endif 80 81# vim: set noet sw=4 ts=4: 82