merge the formfield patch from ooo-build
[ooovba.git] / starmath / util / makefile.mk
blob978cb6cff40c152ebb2b0e12f97e07a49d2ee1f9
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.20 $
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 PRJ=..
34 PRJNAME=starmath
35 TARGET=smath3
36 LIBTARGET=NO
37 GEN_HID=TRUE
38 GEN_HID_OTHER=TRUE
40 # --- Settings -----------------------------------------------------------
42 .INCLUDE : settings.mk
44 # --- Files --------------------------------------------------------
46 RESLIB1NAME=sm
47 RESLIB1IMAGES=$(PRJ)$/res
48 RESLIB1SRSFILES=\
49 $(SRS)$/smres.srs \
50 $(SOLARCOMMONRESDIR)$/sfx.srs
52 SHL1TARGET= sm$(DLLPOSTFIX)
53 SHL1IMPLIB= smimp
55 SHL1VERSIONMAP= sm.map
56 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
57 DEF1NAME= $(SHL1TARGET)
59 SHL1STDLIBS= \
60 $(SVXCORELIB) \
61 $(SVXLIB) \
62 $(SFX2LIB) \
63 $(XMLOFFLIB) \
64 $(SVTOOLLIB) \
65 $(TKLIB) \
66 $(VCLLIB) \
67 $(SVLLIB) \
68 $(SOTLIB) \
69 $(UNOTOOLSLIB) \
70 $(TOOLSLIB) \
71 $(COMPHELPERLIB) \
72 $(CPPUHELPERLIB) \
73 $(CPPULIB) \
74 $(SALLIB)
76 SHL2TARGET= smd$(DLLPOSTFIX)
77 SHL2IMPLIB= smdimp
78 SHL2VERSIONMAP= sm.map
79 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
80 DEF2NAME= $(SHL2TARGET)
82 SHL2STDLIBS= \
83 $(SFX2LIB) \
84 $(SVTOOLLIB) \
85 $(SVLLIB) \
86 $(VCLLIB) \
87 $(SOTLIB) \
88 $(TOOLSLIB) \
89 $(UCBHELPERLIB) \
90 $(CPPUHELPERLIB) \
91 $(CPPULIB) \
92 $(SALLIB)
94 SHL2DEPN= makefile.mk
95 SHL2VERSIONMAP= smd.map
96 SHL2OBJS= $(SLO)$/smdetect.obj \
97 $(SLO)$/detreg.obj \
98 $(SLO)$/eqnolefilehdr.obj
100 SHL1DEPN= makefile.mk
101 SHL1LIBS= $(SLB)$/starmath.lib
103 .IF "$(GUI)" != "UNX"
104 .IF "$(GUI)$(COM)" != "WNTGCC"
105 SHL1OBJS= $(SLO)$/smdll.obj
106 .ENDIF
107 .ENDIF # ! UNX
109 .IF "$(GUI)" == "WNT"
110 SHL1RES= $(RCTARGET)
111 .ENDIF # WNT
113 # --- Targets -------------------------------------------------------------
115 .INCLUDE : target.mk