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 24PRJ=..$/.. 25 26PRJNAME=slideshow 27TARGET=engine 28ENABLE_EXCEPTIONS=TRUE 29 30 31# --- Settings ----------------------------------------------------------- 32 33.INCLUDE : settings.mk 34.INCLUDE : $(PRJ)$/util$/makefile.pmk 35 36.IF "$(ENABLE_PRESENTER_EXTRA_UI)"=="YES" 37ENABLE_PRESENTER_EXTRA_UI is not used anymore 38.ENDIF 39 40# --- Common ---------------------------------------------------------- 41 42ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE 43 44.IF "$(OS)"=="SOLARIS" 45.IF "$(CCNUMVER)"=="00050009" 46# SunStudio12: anachronism warning in boost code (smilfunctionparser.cxx) 47# reevaluate with newer boost or compiler version 48CFLAGSWARNCXX!:=$(CFLAGSWARNCXX),badargtype2w 49.ENDIF 50.ENDIF 51 52# Disable optimization for SunCC Sparc (funny loops 53# when parsing e.g. "x+width/2") 54# Do not disable optimization for SunCC++ 5.5 Solaris x86, 55# this compiler has an ICE on smilfunctionparser.cxx *without* 56# optimization 57.IF "$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC" 58NOOPTFILES= $(SLO)$/smilfunctionparser.obj 59.ENDIF 60# same issue for MACOSX 61.IF "$(OS)"=="MACOSX" 62NOOPTFILES= $(SLO)$/smilfunctionparser.obj 63.ENDIF 64 65SLOFILES = $(SLO)$/activitiesqueue.obj \ 66 $(SLO)$/animatedsprite.obj \ 67 $(SLO)$/animationfactory.obj \ 68 $(SLO)$/attributemap.obj \ 69 $(SLO)$/color.obj \ 70 $(SLO)$/delayevent.obj \ 71 $(SLO)$/effectrewinder.obj \ 72 $(SLO)$/eventmultiplexer.obj \ 73 $(SLO)$/eventqueue.obj \ 74 $(SLO)$/expressionnodefactory.obj \ 75 $(SLO)$/rehearsetimingsactivity.obj \ 76 $(SLO)$/screenupdater.obj \ 77 $(SLO)$/shapeattributelayer.obj \ 78 $(SLO)$/shapesubset.obj \ 79 $(SLO)$/slidebitmap.obj \ 80 $(SLO)$/slideshowcontext.obj \ 81 $(SLO)$/slideshowimpl.obj \ 82 $(SLO)$/slideview.obj \ 83 $(SLO)$/smilfunctionparser.obj \ 84 $(SLO)$/soundplayer.obj \ 85 $(SLO)$/tools.obj \ 86 $(SLO)$/unoviewcontainer.obj \ 87 $(SLO)$/usereventqueue.obj \ 88 $(SLO)$/waitsymbol.obj \ 89 $(SLO)$/wakeupevent.obj \ 90 $(SLO)$/debug.obj 91 92.IF "$(debug)"!="" || "$(DEBUG)"!="" 93SLOFILES += $(SLO)$/sp_debug.obj 94.ENDIF 95 96# ========================================================================== 97 98.INCLUDE : target.mk 99