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