Update ooo320-m1
[ooovba.git] / svx / source / customshapes / makefile.mk
blob14340ffb5b845a72ceb9e0c27ca28935acebc919
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.13 $
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=..$/..
33 PRJNAME=svx
34 TARGET=customshapes
35 LIBTARGET=NO
36 ENABLE_EXCEPTIONS=TRUE
38 # --- Settings ----------------------------------
40 .INCLUDE : settings.mk
41 .INCLUDE : $(PRJ)$/util$/makefile.pmk
43 # --- Types -------------------------------------
45 # Disable optimization for SunCC SPARC and MACOSX (funny loops
46 # when parsing e.g. "x+width/2"),
47 # also http://gcc.gnu.org/PR22392
48 .IF ("$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC") || "$(OS)"=="MACOSX" || ("$(OS)"=="LINUX" && "$(CPU)"=="P")
49 NOOPTFILES= $(SLO)$/EnhancedCustomShapeFunctionParser.obj
50 .ENDIF
51 # http://gcc.gnu.org/PR22392
52 .IF "$(OS)"=="LINUX" && ("$(CPU)"=="P" || "$(CPU)"=="X")
53 NOOPTFILES= $(SLO)$/EnhancedCustomShapeFunctionParser.obj
54 .ENDIF
56 ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
58 # --- Files -------------------------------------
60 LIB1TARGET= $(SLB)$/$(TARGET)-core.lib
61 LIB1OBJFILES= \
62 $(SLO)$/EnhancedCustomShapeTypeNames.obj \
63 $(SLO)$/EnhancedCustomShapeGeometry.obj \
64 $(SLO)$/EnhancedCustomShape2d.obj \
65 $(SLO)$/EnhancedCustomShapeFunctionParser.obj
67 LIB2TARGET= $(SLB)$/$(TARGET).lib
68 LIB2OBJFILES= \
69 $(SLO)$/EnhancedCustomShapeEngine.obj \
70 $(SLO)$/EnhancedCustomShape3d.obj \
71 $(SLO)$/EnhancedCustomShapeFontWork.obj \
72 $(SLO)$/EnhancedCustomShapeHandle.obj \
73 $(SLO)$/tbxcustomshapes.obj
75 SLOFILES = $(LIB1OBJFILES) $(LIB2OBJFILES)
77 # --- Targets ----------------------------------
79 .INCLUDE : target.mk