1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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
44 # --- Settings -----------------------------------------------------
46 .INCLUDE
: settings.mk
47 .INCLUDE
: $(BFPRJ
)$/util
$/makefile.pmk
48 INC
+= -I
$(PRJ
)$/inc
$/bf_starmath
49 # --- Files --------------------------------------------------------
53 SRS2NAME
=starmath_smres
54 SRC2FILES
= starmath_smres.src \
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
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"
97 $(SLO
)$/starmath_smlib.obj
: $(INCCOM
)$/dllname.hxx
99 $(INCCOM
)$/dllname.hxx
: makefile.mk
102 echo \
#define DLL_NAME \"$(DLLPRE)bf_sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
104 echo
$(EMQ
)#define DLL_NAME $(EMQ)"$(DLLPRE)bf_sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
107 $(SRS
)$/starmath_smres.srs
: $(PRJ
)$/inc
$/bf_svx
$/globlmn.hrc