1*df3f5cbcSdamjan#************************************************************** 2*df3f5cbcSdamjan# 3*df3f5cbcSdamjan# Licensed to the Apache Software Foundation (ASF) under one 4*df3f5cbcSdamjan# or more contributor license agreements. See the NOTICE file 5*df3f5cbcSdamjan# distributed with this work for additional information 6*df3f5cbcSdamjan# regarding copyright ownership. The ASF licenses this file 7*df3f5cbcSdamjan# to you under the Apache License, Version 2.0 (the 8*df3f5cbcSdamjan# "License"); you may not use this file except in compliance 9*df3f5cbcSdamjan# with the License. You may obtain a copy of the License at 10*df3f5cbcSdamjan# 11*df3f5cbcSdamjan# http://www.apache.org/licenses/LICENSE-2.0 12*df3f5cbcSdamjan# 13*df3f5cbcSdamjan# Unless required by applicable law or agreed to in writing, 14*df3f5cbcSdamjan# software distributed under the License is distributed on an 15*df3f5cbcSdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*df3f5cbcSdamjan# KIND, either express or implied. See the License for the 17*df3f5cbcSdamjan# specific language governing permissions and limitations 18*df3f5cbcSdamjan# under the License. 19*df3f5cbcSdamjan# 20*df3f5cbcSdamjan#************************************************************** 21*df3f5cbcSdamjan 22*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_StaticLibrary,sldshw_s)) 23*df3f5cbcSdamjan 24*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_precompiled_header,sldshw_s,$(SRCDIR)/slideshow/inc/pch/precompiled_slideshow)) 25*df3f5cbcSdamjan 26*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_set_include,sldshw_s,\ 27*df3f5cbcSdamjan $$(INCLUDE) \ 28*df3f5cbcSdamjan -I$(SRCDIR)/slideshow/source/inc \ 29*df3f5cbcSdamjan -I$(SRCDIR)/slideshow/inc/pch \ 30*df3f5cbcSdamjan)) 31*df3f5cbcSdamjan 32*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_defs,sldshw_s,\ 33*df3f5cbcSdamjan -DBOOST_SPIRIT_USE_OLD_NAMESPACE \ 34*df3f5cbcSdamjan)) 35*df3f5cbcSdamjan 36*df3f5cbcSdamjan# FIXME: no way to set CFLAGSWARNCXX any more! Comment was: 37*df3f5cbcSdamjan# SunStudio12: anachronism warning in boost code (smilfunctionparser.cxx) 38*df3f5cbcSdamjan# reevaluate with newer boost or compiler version 39*df3f5cbcSdamjan#ifeq ($(OS),SOLARIS) 40*df3f5cbcSdamjan#ifeq ($(CCNUMVER),00050009) 41*df3f5cbcSdamjan#$(eval $(call gb_StaticLibrary_add_cxxflags,sldshw_s,\ 42*df3f5cbcSdamjan# badargtype2w 43*df3f5cbcSdamjan#)) 44*df3f5cbcSdamjan#endif 45*df3f5cbcSdamjan#endif 46*df3f5cbcSdamjan 47*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_api,sldshw_s,\ 48*df3f5cbcSdamjan offapi \ 49*df3f5cbcSdamjan udkapi \ 50*df3f5cbcSdamjan)) 51*df3f5cbcSdamjan 52*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_exception_objects,sldshw_s,\ 53*df3f5cbcSdamjan slideshow/source/engine/transitions/barwipepolypolygon \ 54*df3f5cbcSdamjan slideshow/source/engine/transitions/boxwipe \ 55*df3f5cbcSdamjan slideshow/source/engine/transitions/clippingfunctor \ 56*df3f5cbcSdamjan slideshow/source/engine/transitions/combtransition \ 57*df3f5cbcSdamjan slideshow/source/engine/transitions/fourboxwipe \ 58*df3f5cbcSdamjan slideshow/source/engine/transitions/barndoorwipe \ 59*df3f5cbcSdamjan slideshow/source/engine/transitions/iriswipe \ 60*df3f5cbcSdamjan slideshow/source/engine/transitions/veewipe \ 61*df3f5cbcSdamjan slideshow/source/engine/transitions/ellipsewipe \ 62*df3f5cbcSdamjan slideshow/source/engine/transitions/checkerboardwipe \ 63*df3f5cbcSdamjan slideshow/source/engine/transitions/randomwipe \ 64*df3f5cbcSdamjan slideshow/source/engine/transitions/waterfallwipe \ 65*df3f5cbcSdamjan slideshow/source/engine/transitions/clockwipe \ 66*df3f5cbcSdamjan slideshow/source/engine/transitions/fanwipe \ 67*df3f5cbcSdamjan slideshow/source/engine/transitions/pinwheelwipe \ 68*df3f5cbcSdamjan slideshow/source/engine/transitions/snakewipe \ 69*df3f5cbcSdamjan slideshow/source/engine/transitions/spiralwipe \ 70*df3f5cbcSdamjan slideshow/source/engine/transitions/sweepwipe \ 71*df3f5cbcSdamjan slideshow/source/engine/transitions/figurewipe \ 72*df3f5cbcSdamjan slideshow/source/engine/transitions/doublediamondwipe \ 73*df3f5cbcSdamjan slideshow/source/engine/transitions/zigzagwipe \ 74*df3f5cbcSdamjan slideshow/source/engine/transitions/parametricpolypolygonfactory \ 75*df3f5cbcSdamjan slideshow/source/engine/transitions/shapetransitionfactory \ 76*df3f5cbcSdamjan slideshow/source/engine/transitions/slidetransitionfactory \ 77*df3f5cbcSdamjan slideshow/source/engine/transitions/transitionfactorytab \ 78*df3f5cbcSdamjan slideshow/source/engine/transitions/transitiontools \ 79*df3f5cbcSdamjan slideshow/source/engine/transitions/slidechangebase \ 80*df3f5cbcSdamjan slideshow/source/engine/activities/activitybase \ 81*df3f5cbcSdamjan slideshow/source/engine/activities/activitiesfactory \ 82*df3f5cbcSdamjan slideshow/source/engine/activities/continuousactivitybase \ 83*df3f5cbcSdamjan slideshow/source/engine/activities/continuouskeytimeactivitybase \ 84*df3f5cbcSdamjan slideshow/source/engine/activities/discreteactivitybase \ 85*df3f5cbcSdamjan slideshow/source/engine/activities/simplecontinuousactivitybase \ 86*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationaudionode \ 87*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationcommandnode \ 88*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationbasenode \ 89*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationcolornode \ 90*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationnodefactory \ 91*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationpathmotionnode \ 92*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationsetnode \ 93*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationtransformnode \ 94*df3f5cbcSdamjan slideshow/source/engine/animationnodes/animationtransitionfilternode \ 95*df3f5cbcSdamjan slideshow/source/engine/animationnodes/basecontainernode \ 96*df3f5cbcSdamjan slideshow/source/engine/animationnodes/basenode \ 97*df3f5cbcSdamjan slideshow/source/engine/animationnodes/nodetools \ 98*df3f5cbcSdamjan slideshow/source/engine/animationnodes/paralleltimecontainer \ 99*df3f5cbcSdamjan slideshow/source/engine/animationnodes/propertyanimationnode \ 100*df3f5cbcSdamjan slideshow/source/engine/animationnodes/sequentialtimecontainer \ 101*df3f5cbcSdamjan slideshow/source/engine/animationnodes/generateevent \ 102*df3f5cbcSdamjan slideshow/source/engine/shapes/appletshape \ 103*df3f5cbcSdamjan slideshow/source/engine/shapes/backgroundshape \ 104*df3f5cbcSdamjan slideshow/source/engine/shapes/drawinglayeranimation \ 105*df3f5cbcSdamjan slideshow/source/engine/shapes/drawshape \ 106*df3f5cbcSdamjan slideshow/source/engine/shapes/drawshapesubsetting \ 107*df3f5cbcSdamjan slideshow/source/engine/shapes/externalshapebase \ 108*df3f5cbcSdamjan slideshow/source/engine/shapes/gdimtftools \ 109*df3f5cbcSdamjan slideshow/source/engine/shapes/intrinsicanimationactivity \ 110*df3f5cbcSdamjan slideshow/source/engine/shapes/mediashape \ 111*df3f5cbcSdamjan slideshow/source/engine/shapes/shapeimporter \ 112*df3f5cbcSdamjan slideshow/source/engine/shapes/viewappletshape \ 113*df3f5cbcSdamjan slideshow/source/engine/shapes/viewbackgroundshape \ 114*df3f5cbcSdamjan slideshow/source/engine/shapes/viewmediashape \ 115*df3f5cbcSdamjan slideshow/source/engine/shapes/viewshape \ 116*df3f5cbcSdamjan slideshow/source/engine/slide/layer \ 117*df3f5cbcSdamjan slideshow/source/engine/slide/layermanager \ 118*df3f5cbcSdamjan slideshow/source/engine/slide/shapemanagerimpl \ 119*df3f5cbcSdamjan slideshow/source/engine/slide/slideanimations \ 120*df3f5cbcSdamjan slideshow/source/engine/slide/slideimpl \ 121*df3f5cbcSdamjan slideshow/source/engine/slide/userpaintoverlay \ 122*df3f5cbcSdamjan slideshow/source/engine/activitiesqueue \ 123*df3f5cbcSdamjan slideshow/source/engine/animatedsprite \ 124*df3f5cbcSdamjan slideshow/source/engine/animationfactory \ 125*df3f5cbcSdamjan slideshow/source/engine/attributemap \ 126*df3f5cbcSdamjan slideshow/source/engine/color \ 127*df3f5cbcSdamjan slideshow/source/engine/delayevent \ 128*df3f5cbcSdamjan slideshow/source/engine/effectrewinder \ 129*df3f5cbcSdamjan slideshow/source/engine/eventmultiplexer \ 130*df3f5cbcSdamjan slideshow/source/engine/eventqueue \ 131*df3f5cbcSdamjan slideshow/source/engine/expressionnodefactory \ 132*df3f5cbcSdamjan slideshow/source/engine/rehearsetimingsactivity \ 133*df3f5cbcSdamjan slideshow/source/engine/screenupdater \ 134*df3f5cbcSdamjan slideshow/source/engine/shapeattributelayer \ 135*df3f5cbcSdamjan slideshow/source/engine/shapesubset \ 136*df3f5cbcSdamjan slideshow/source/engine/slidebitmap \ 137*df3f5cbcSdamjan slideshow/source/engine/slideshowcontext \ 138*df3f5cbcSdamjan slideshow/source/engine/slideshowimpl \ 139*df3f5cbcSdamjan slideshow/source/engine/slideview \ 140*df3f5cbcSdamjan slideshow/source/engine/soundplayer \ 141*df3f5cbcSdamjan slideshow/source/engine/tools \ 142*df3f5cbcSdamjan slideshow/source/engine/unoviewcontainer \ 143*df3f5cbcSdamjan slideshow/source/engine/usereventqueue \ 144*df3f5cbcSdamjan slideshow/source/engine/waitsymbol \ 145*df3f5cbcSdamjan slideshow/source/engine/wakeupevent \ 146*df3f5cbcSdamjan slideshow/source/engine/debug \ 147*df3f5cbcSdamjan)) 148*df3f5cbcSdamjan 149*df3f5cbcSdamjanifeq ($(DEBUG),TRUE) 150*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_exception_objects,sldshw_s,\ 151*df3f5cbcSdamjan slideshow/source/engine/sp_debug \ 152*df3f5cbcSdamjan)) 153*df3f5cbcSdamjanendif 154*df3f5cbcSdamjan 155*df3f5cbcSdamjan# Disable optimization for SunCC Sparc (funny loops 156*df3f5cbcSdamjan# when parsing e.g. "x+width/2") 157*df3f5cbcSdamjan# Do not disable optimization for SunCC++ 5.5 Solaris x86, 158*df3f5cbcSdamjan# this compiler has an ICE on smilfunctionparser.cxx *without* 159*df3f5cbcSdamjan# optimization 160*df3f5cbcSdamjanifeq ($(OS)$(CPU),SOLARISS) 161*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_cxxobjects,sldshw_s,\ 162*df3f5cbcSdamjan slideshow/source/engine/smilfunctionparser \ 163*df3f5cbcSdamjan , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ 164*df3f5cbcSdamjan)) 165*df3f5cbcSdamjanelse 166*df3f5cbcSdamjan# same issue for MACOSX 167*df3f5cbcSdamjanifeq ($(OS),MACOSX) 168*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_cxxobjects,sldshw_s,\ 169*df3f5cbcSdamjan slideshow/source/engine/smilfunctionparser \ 170*df3f5cbcSdamjan , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ 171*df3f5cbcSdamjan)) 172*df3f5cbcSdamjanelse 173*df3f5cbcSdamjan$(eval $(call gb_StaticLibrary_add_exception_objects,sldshw_s,\ 174*df3f5cbcSdamjan slideshow/source/engine/smilfunctionparser \ 175*df3f5cbcSdamjan)) 176*df3f5cbcSdamjanendif 177*df3f5cbcSdamjanendif 178*df3f5cbcSdamjan 179*df3f5cbcSdamjan 180*df3f5cbcSdamjan 181*df3f5cbcSdamjan# vim: set noet sw=4 ts=4: 182