xref: /aoo4110/main/starmath/source/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24#MKDEPENDSOLVER=YES
25
26PRJ=..
27
28PRJNAME=starmath
29TARGET=starmath
30
31LIBTARGET=NO
32
33# --- Settings -----------------------------------------------------
34
35ENABLE_EXCEPTIONS=TRUE
36
37.INCLUDE :  settings.mk
38
39# --- Files --------------------------------------------------------
40
41SMDLL=TRUE
42
43SRS2NAME =smres
44SRC2FILES = smres.src   \
45			symbol.src	\
46            toolbox.src \
47		    commands.src
48
49SLO1FILES =  \
50        $(SLO)$/accessibility.obj \
51        $(SLO)$/action.obj \
52        $(SLO)$/cfgitem.obj \
53        $(SLO)$/config.obj \
54        $(SLO)$/dialog.obj \
55        $(SLO)$/document.obj \
56        $(SLO)$/edit.obj \
57        $(SLO)$/eqnolefilehdr.obj \
58        $(SLO)$/format.obj \
59        $(SLO)$/mathmlexport.obj \
60        $(SLO)$/mathmlimport.obj \
61        $(SLO)$/mathtype.obj \
62        $(SLO)$/node.obj \
63        $(SLO)$/parse.obj \
64        $(SLO)$/rect.obj \
65        $(SLO)$/register.obj \
66        $(SLO)$/smdll.obj \
67        $(SLO)$/smmod.obj \
68        $(SLO)$/symbol.obj \
69        $(SLO)$/toolbox.obj \
70        $(SLO)$/typemap.obj \
71        $(SLO)$/types.obj \
72        $(SLO)$/unodoc.obj \
73        $(SLO)$/utility.obj \
74        $(SLO)$/view.obj \
75		$(SLO)$/unomodel.obj
76
77SLO2FILES =  \
78		$(SLO)$/register.obj  \
79		$(SLO)$/detreg.obj
80
81SLOFILES = \
82	$(SLO)$/smdetect.obj \
83	$(SLO1FILES) \
84	$(SLO2FILES)
85
86LIB1TARGET = \
87	$(SLB)$/$(TARGET).lib
88
89LIB1OBJFILES = \
90	$(SLO1FILES)
91
92# --- Targets -------------------------------------------------------
93
94.INCLUDE :  target.mk
95
96$(INCCOM)$/dllname.hxx: makefile.mk
97.IF "$(GUI)"=="UNX"
98	$(RM) $@
99	echo \#define DLL_NAME \"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)\" >$@
100.ELSE
101	echo $(EMQ)#define DLL_NAME $(EMQ)"$(DLLPRE)sm$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
102.ENDIF
103
104$(SRS)$/smres.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
105
106
107$(SRS)$/$(SRS2NAME).srs  : $(LOCALIZE_ME_DEST)
108
109