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