1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..
29
30PRJNAME=slideshow
31TARGET=engine
32ENABLE_EXCEPTIONS=TRUE
33
34
35# --- Settings -----------------------------------------------------------
36
37.INCLUDE :	settings.mk
38.INCLUDE : $(PRJ)$/util$/makefile.pmk
39
40.IF "$(ENABLE_PRESENTER_EXTRA_UI)"=="YES"
41ENABLE_PRESENTER_EXTRA_UI is not used anymore
42.ENDIF
43
44# --- Common ----------------------------------------------------------
45
46ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
47
48.IF "$(OS)"=="SOLARIS"
49.IF "$(CCNUMVER)"=="00050009"
50# SunStudio12: anachronism warning in boost code (smilfunctionparser.cxx)
51# reevaluate with newer boost or compiler version
52CFLAGSWARNCXX!:=$(CFLAGSWARNCXX),badargtype2w
53.ENDIF
54.ENDIF
55
56# Disable optimization for SunCC Sparc (funny loops
57# when parsing e.g. "x+width/2")
58# Do not disable optimization for SunCC++ 5.5 Solaris x86,
59# this compiler has an ICE on smilfunctionparser.cxx *without*
60# optimization
61.IF "$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC"
62NOOPTFILES= $(SLO)$/smilfunctionparser.obj
63.ENDIF
64# same issue for MACOSX
65.IF "$(OS)"=="MACOSX"
66NOOPTFILES= $(SLO)$/smilfunctionparser.obj
67.ENDIF
68
69SLOFILES =	$(SLO)$/activitiesqueue.obj \
70			$(SLO)$/animatedsprite.obj \
71			$(SLO)$/animationfactory.obj \
72			$(SLO)$/attributemap.obj \
73			$(SLO)$/color.obj \
74			$(SLO)$/delayevent.obj \
75			$(SLO)$/effectrewinder.obj \
76			$(SLO)$/eventmultiplexer.obj \
77			$(SLO)$/eventqueue.obj \
78			$(SLO)$/expressionnodefactory.obj \
79			$(SLO)$/rehearsetimingsactivity.obj \
80			$(SLO)$/screenupdater.obj \
81			$(SLO)$/shapeattributelayer.obj \
82			$(SLO)$/shapesubset.obj \
83			$(SLO)$/slidebitmap.obj \
84			$(SLO)$/slideshowcontext.obj \
85			$(SLO)$/slideshowimpl.obj \
86			$(SLO)$/slideview.obj \
87			$(SLO)$/smilfunctionparser.obj \
88			$(SLO)$/soundplayer.obj \
89			$(SLO)$/tools.obj \
90			$(SLO)$/unoviewcontainer.obj \
91			$(SLO)$/usereventqueue.obj \
92			$(SLO)$/waitsymbol.obj \
93			$(SLO)$/wakeupevent.obj \
94			$(SLO)$/debug.obj
95
96.IF "$(debug)"!="" || "$(DEBUG)"!=""
97SLOFILES +=  $(SLO)$/sp_debug.obj
98.ENDIF
99
100# ==========================================================================
101
102.INCLUDE :	target.mk
103