Update ooo320-m1
[ooovba.git] / slideshow / source / engine / makefile.mk
bloba8851078c7931ba55f633e89f026b5762acefe69
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.17 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=slideshow
35 TARGET=engine
36 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------------
41 .INCLUDE : settings.mk
42 .INCLUDE : $(PRJ)$/util$/makefile.pmk
44 # --- Common ----------------------------------------------------------
46 ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
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
52 CFLAGSWARNCXX!:=$(CFLAGSWARNCXX),badargtype2w
53 .ENDIF
54 .ENDIF
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"
62 NOOPTFILES= $(SLO)$/smilfunctionparser.obj
63 .ENDIF
64 # same issue for MACOSX
65 .IF "$(OS)"=="MACOSX"
66 NOOPTFILES= $(SLO)$/smilfunctionparser.obj
67 .ENDIF
69 SLOFILES = $(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
95 .IF "$(debug)"!="" || "$(DEBUG)"!=""
96 SLOFILES += $(SLO)$/sp_debug.obj
97 .ENDIF
99 # ==========================================================================
101 .INCLUDE : target.mk