xref: /AOO41X/main/starmath/source/makefile.mk (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28#MKDEPENDSOLVER=YES
29
30PRJ=..
31
32PRJNAME=starmath
33TARGET=starmath
34
35LIBTARGET=NO
36
37# --- Settings -----------------------------------------------------
38
39ENABLE_EXCEPTIONS=TRUE
40
41.INCLUDE :  settings.mk
42
43# --- Files --------------------------------------------------------
44
45SMDLL=TRUE
46
47SRS2NAME =smres
48SRC2FILES = smres.src   \
49			symbol.src	\
50            toolbox.src \
51		    commands.src
52
53SLO1FILES =  \
54        $(SLO)$/accessibility.obj \
55        $(SLO)$/action.obj \
56        $(SLO)$/cfgitem.obj \
57        $(SLO)$/config.obj \
58        $(SLO)$/dialog.obj \
59        $(SLO)$/document.obj \
60        $(SLO)$/edit.obj \
61        $(SLO)$/eqnolefilehdr.obj \
62        $(SLO)$/format.obj \
63        $(SLO)$/mathmlexport.obj \
64        $(SLO)$/mathmlimport.obj \
65        $(SLO)$/mathtype.obj \
66        $(SLO)$/node.obj \
67        $(SLO)$/parse.obj \
68        $(SLO)$/rect.obj \
69        $(SLO)$/register.obj \
70        $(SLO)$/smdll.obj \
71        $(SLO)$/smmod.obj \
72        $(SLO)$/symbol.obj \
73        $(SLO)$/toolbox.obj \
74        $(SLO)$/typemap.obj \
75        $(SLO)$/types.obj \
76        $(SLO)$/unodoc.obj \
77        $(SLO)$/utility.obj \
78        $(SLO)$/view.obj \
79		$(SLO)$/unomodel.obj
80
81SLO2FILES =  \
82		$(SLO)$/register.obj  \
83		$(SLO)$/detreg.obj
84
85SLOFILES = \
86	$(SLO)$/smdetect.obj \
87	$(SLO1FILES) \
88	$(SLO2FILES)
89
90LIB1TARGET = \
91	$(SLB)$/$(TARGET).lib
92
93LIB1OBJFILES = \
94	$(SLO1FILES)
95
96# --- Targets -------------------------------------------------------
97
98.INCLUDE :  target.mk
99
100$(INCCOM)$/dllname.hxx: makefile.mk
101.IF "$(GUI)"=="UNX"
102	$(RM) $@
103	echo \#define DLL_NAME \"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
104.ELSE
105	echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
106.ENDIF
107
108$(SRS)$/smres.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
109
110
111$(SRS)$/$(SRS2NAME).srs  : $(LOCALIZE_ME_DEST)
112
113