update dev300-m58
[ooovba.git] / starmath / source / makefile.mk
blob0f604a22b346f0f4cccc5cf2b6f3acf26061b5b9
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)$/viewhdl.obj \
77 $(SLO)$/edit.obj \
78 $(SLO)$/rect.obj \
79 $(SLO)$/unomodel.obj \
80 $(SLO)$/unodoc.obj \
81 $(SLO)$/eqnolefilehdr.obj
83 SLO2FILES = \
84 $(SLO)$/register.obj \
85 $(SLO)$/detreg.obj
87 SLOFILES = \
88 $(SLO)$/smdetect.obj \
89 $(SLO1FILES) \
90 $(SLO2FILES)
92 EXCEPTIONSFILES = \
93 $(SLO)$/accessibility.obj \
94 $(SLO)$/cfgitem.obj \
95 $(SLO)$/document.obj \
96 $(SLO)$/node.obj \
97 $(SLO)$/parse.obj \
98 $(SLO)$/mathmlimport.obj \
99 $(SLO)$/mathmlexport.obj \
100 $(SLO)$/mathtype.obj \
101 $(SLO)$/view.obj \
102 $(SLO)$/viewhdl.obj \
103 $(SLO)$/unomodel.obj \
104 $(SLO)$/smdetect.obj \
105 $(SLO)$/symbol.obj \
106 $(SLO)$/unodoc.obj
108 LIB1TARGET = \
109 $(SLB)$/$(TARGET).lib
111 LIB1OBJFILES = \
112 $(SLO1FILES)
114 # --- Targets -------------------------------------------------------
116 LOCALIZE_ME = menu_tmpl.src
119 .INCLUDE : target.mk
121 $(INCCOM)$/dllname.hxx: makefile.mk
122 .IF "$(GUI)"=="UNX"
123 $(RM) $@
124 echo \#define DLL_NAME \"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
125 .ELSE
126 echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
127 .ENDIF
129 $(SRS)$/smres.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
132 $(SRS)$/$(SRS2NAME).srs : $(LOCALIZE_ME_DEST)