Update ooo320-m1
[ooovba.git] / binfilter / bf_starmath / source / makefile.mk
blob31896e5d0482d9b0c496744dd7444e198a64a6f4
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.12 $
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 EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
34 PROJECTPCH4DLL=TRUE
36 PRJ=..$/..
37 BFPRJ=..
39 PRJNAME=binfilter
40 TARGET=bf_starmath
42 NO_HIDS=TRUE
44 # --- Settings -----------------------------------------------------
46 .INCLUDE : settings.mk
47 .INCLUDE : $(BFPRJ)$/util$/makefile.pmk
48 INC+= -I$(PRJ)$/inc$/bf_starmath
49 # --- Files --------------------------------------------------------
51 SMDLL=TRUE
53 SRS2NAME =starmath_smres
54 SRC2FILES = starmath_smres.src \
55 starmath_symbol.src \
56 starmath_commands.src
58 SLOFILES = \
59 $(SLO)$/starmath_register.obj \
60 $(SLO)$/starmath_symbol.obj \
61 $(SLO)$/starmath_cfgitem.obj \
62 $(SLO)$/starmath_config.obj \
63 $(SLO)$/starmath_document.obj \
64 $(SLO)$/starmath_mathml.obj \
65 $(SLO)$/starmath_format.obj \
66 $(SLO)$/starmath_node.obj \
67 $(SLO)$/starmath_parse.obj \
68 $(SLO)$/starmath_utility.obj \
69 $(SLO)$/starmath_smdll.obj \
70 $(SLO)$/starmath_smmod.obj \
71 $(SLO)$/starmath_rect.obj \
72 $(SLO)$/starmath_unomodel.obj \
73 $(SLO)$/starmath_unodoc.obj
75 EXCEPTIONSFILES = \
76 $(SLO)$/starmath_register.obj \
77 $(SLO)$/starmath_mathml.obj \
78 $(SLO)$/starmath_viewhdl.obj \
79 $(SLO)$/starmath_unomodel.obj \
80 $(SLO)$/starmath_unodoc.obj
83 LIB2TARGET = $(SLB)$/bf_ysm.lib
84 LIB2ARCHIV = $(LB)$/libbf_ysm.a
85 LIB2OBJFILES = $(SLO)$/starmath_smlib.obj
87 DEPOBJFILES = $(SLO)$/starmath_smlib.obj
89 # --- Targets -------------------------------------------------------
91 .IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
92 CDEFS+=-DUSE_POLYGON
93 .ENDIF
95 .INCLUDE : target.mk
97 $(SLO)$/starmath_smlib.obj : $(INCCOM)$/dllname.hxx
99 $(INCCOM)$/dllname.hxx: makefile.mk
100 .IF "$(GUI)"=="UNX"
101 $(RM) $@
102 echo \#define DLL_NAME \"$(DLLPRE)bf_sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
103 .ELSE
104 echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)bf_sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
105 .ENDIF
107 $(SRS)$/starmath_smres.srs: $(PRJ)$/inc$/bf_svx$/globlmn.hrc