Update ooo320-m1
[ooovba.git] / starmath / source / makefile.mk
blob53f6569dcf9c766852e8975b915a0e8d39c08beb
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.35 $
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 #MKDEPENDSOLVER=YES
34 PRJ=..
36 PRJNAME=starmath
37 TARGET=starmath
39 LIBTARGET=NO
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 # --- Files --------------------------------------------------------
47 SMDLL=TRUE
49 SRS2NAME =smres
50 SRC2FILES = smres.src \
51 symbol.src \
52 commands.src
54 SLO1FILES = \
55 $(SLO)$/register.obj \
56 $(SLO)$/typemap.obj \
57 $(SLO)$/symbol.obj \
58 $(SLO)$/toolbox.obj \
59 $(SLO)$/action.obj \
60 $(SLO)$/accessibility.obj \
61 $(SLO)$/cfgitem.obj \
62 $(SLO)$/config.obj \
63 $(SLO)$/dialog.obj \
64 $(SLO)$/document.obj \
65 $(SLO)$/mathtype.obj \
66 $(SLO)$/mathmlimport.obj \
67 $(SLO)$/mathmlexport.obj \
68 $(SLO)$/format.obj \
69 $(SLO)$/node.obj \
70 $(SLO)$/parse.obj \
71 $(SLO)$/utility.obj \
72 $(SLO)$/smdll.obj \
73 $(SLO)$/smmod.obj \
74 $(SLO)$/types.obj \
75 $(SLO)$/view.obj \
76 $(SLO)$/edit.obj \
77 $(SLO)$/rect.obj \
78 $(SLO)$/unomodel.obj \
79 $(SLO)$/unodoc.obj \
80 $(SLO)$/eqnolefilehdr.obj
82 SLO2FILES = \
83 $(SLO)$/register.obj \
84 $(SLO)$/detreg.obj
86 SLOFILES = \
87 $(SLO)$/smdetect.obj \
88 $(SLO1FILES) \
89 $(SLO2FILES)
91 EXCEPTIONSFILES = \
92 $(SLO)$/accessibility.obj \
93 $(SLO)$/cfgitem.obj \
94 $(SLO)$/document.obj \
95 $(SLO)$/node.obj \
96 $(SLO)$/parse.obj \
97 $(SLO)$/mathmlimport.obj \
98 $(SLO)$/mathmlexport.obj \
99 $(SLO)$/mathtype.obj \
100 $(SLO)$/view.obj \
101 $(SLO)$/unomodel.obj \
102 $(SLO)$/smdetect.obj \
103 $(SLO)$/symbol.obj \
104 $(SLO)$/unodoc.obj
106 LIB1TARGET = \
107 $(SLB)$/$(TARGET).lib
109 LIB1OBJFILES = \
110 $(SLO1FILES)
112 # --- Targets -------------------------------------------------------
114 LOCALIZE_ME = menu_tmpl.src
117 .INCLUDE : target.mk
119 $(INCCOM)$/dllname.hxx: makefile.mk
120 .IF "$(GUI)"=="UNX"
121 $(RM) $@
122 echo \#define DLL_NAME \"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
123 .ELSE
124 echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
125 .ENDIF
127 $(SRS)$/smres.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
130 $(SRS)$/$(SRS2NAME).srs : $(LOCALIZE_ME_DEST)