CWS-TOOLING: integrate CWS tl88
[LibreOffice.git] / starmath / source / makefile.mk
bloba409e55d246256d1ccdfcfe89bdc947366f42055
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
28 #MKDEPENDSOLVER=YES
30 PRJ=..
32 PRJNAME=starmath
33 TARGET=starmath
35 LIBTARGET=NO
37 # --- Settings -----------------------------------------------------
39 ENABLE_EXCEPTIONS=TRUE
41 .INCLUDE : settings.mk
43 # --- Files --------------------------------------------------------
45 SMDLL=TRUE
47 SRS2NAME =smres
48 SRC2FILES = smres.src \
49 symbol.src \
50 commands.src
52 SLO1FILES = \
53 $(SLO)$/accessibility.obj \
54 $(SLO)$/edit.obj \
55 $(SLO)$/eqnolefilehdr.obj \
56 $(SLO)$/mathmlexport.obj \
57 $(SLO)$/mathmlimport.obj \
58 $(SLO)$/symbol.obj \
59 $(SLO)$/types.obj \
60 $(SLO)$/unodoc.obj \
61 $(SLO)$/action.obj \
62 $(SLO)$/cfgitem.obj \
63 $(SLO)$/config.obj \
64 $(SLO)$/dialog.obj \
65 $(SLO)$/document.obj \
66 $(SLO)$/format.obj \
67 $(SLO)$/mathtype.obj \
68 $(SLO)$/node.obj \
69 $(SLO)$/parse.obj \
70 $(SLO)$/register.obj \
71 $(SLO)$/smdll.obj \
72 $(SLO)$/toolbox.obj \
73 $(SLO)$/typemap.obj \
74 $(SLO)$/smmod.obj \
75 $(SLO)$/utility.obj \
76 $(SLO)$/rect.obj \
77 $(SLO)$/unomodel.obj \
78 $(SLO)$/view.obj
80 SLO2FILES = \
81 $(SLO)$/register.obj \
82 $(SLO)$/detreg.obj
84 SLOFILES = \
85 $(SLO)$/smdetect.obj \
86 $(SLO1FILES) \
87 $(SLO2FILES)
89 LIB1TARGET = \
90 $(SLB)$/$(TARGET).lib
92 LIB1OBJFILES = \
93 $(SLO1FILES)
95 # --- Targets -------------------------------------------------------
97 LOCALIZE_ME = menu_tmpl.src
100 .INCLUDE : target.mk
102 $(INCCOM)$/dllname.hxx: makefile.mk
103 .IF "$(GUI)"=="UNX"
104 $(RM) $@
105 echo \#define DLL_NAME \"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
106 .ELSE
107 echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
108 .ENDIF
110 $(SRS)$/smres.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
113 $(SRS)$/$(SRS2NAME).srs : $(LOCALIZE_ME_DEST)