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 28PRJ=.. 29 30PRJNAME=starmath 31TARGET=smath3 32LIBTARGET=NO 33GEN_HID=TRUE 34GEN_HID_OTHER=TRUE 35 36# --- Settings ----------------------------------------------------------- 37 38.INCLUDE : settings.mk 39 40# --- Files -------------------------------------------------------- 41 42RESLIB1NAME=sm 43RESLIB1IMAGES=$(PRJ)$/res 44RESLIB1SRSFILES=\ 45 $(SRS)$/smres.srs 46 47SHL1TARGET= sm$(DLLPOSTFIX) 48SHL1IMPLIB= smimp 49 50SHL1VERSIONMAP=$(SOLARENV)/src/component.map 51SHL1DEF=$(MISC)$/$(SHL1TARGET).def 52DEF1NAME= $(SHL1TARGET) 53 54SHL1STDLIBS= \ 55 $(EDITENGLIB) \ 56 $(SVXCORELIB) \ 57 $(SVXLIB) \ 58 $(SFX2LIB) \ 59 $(XMLOFFLIB) \ 60 $(SVTOOLLIB) \ 61 $(TKLIB) \ 62 $(VCLLIB) \ 63 $(SVLLIB) \ 64 $(I18NPAPERLIB) \ 65 $(SOTLIB) \ 66 $(UNOTOOLSLIB) \ 67 $(TOOLSLIB) \ 68 $(COMPHELPERLIB) \ 69 $(CPPUHELPERLIB) \ 70 $(CPPULIB) \ 71 $(SALLIB) 72 73SHL2TARGET= smd$(DLLPOSTFIX) 74SHL2IMPLIB= smdimp 75SHL2VERSIONMAP=$(SOLARENV)/src/component.map 76SHL2DEF=$(MISC)$/$(SHL2TARGET).def 77DEF2NAME= $(SHL2TARGET) 78 79SHL2STDLIBS= \ 80 $(SFX2LIB) \ 81 $(SVTOOLLIB) \ 82 $(SVLLIB) \ 83 $(VCLLIB) \ 84 $(SOTLIB) \ 85 $(TOOLSLIB) \ 86 $(UCBHELPERLIB) \ 87 $(CPPUHELPERLIB) \ 88 $(CPPULIB) \ 89 $(SALLIB) 90 91SHL2DEPN= makefile.mk 92SHL2VERSIONMAP=$(SOLARENV)/src/component.map 93SHL2OBJS= $(SLO)$/smdetect.obj \ 94 $(SLO)$/detreg.obj \ 95 $(SLO)$/eqnolefilehdr.obj 96 97SHL1DEPN= makefile.mk 98SHL1LIBS= $(SLB)$/starmath.lib 99 100.IF "$(GUI)" != "UNX" 101.IF "$(GUI)$(COM)" != "WNTGCC" 102SHL1OBJS= $(SLO)$/smdll.obj 103.ENDIF 104.ENDIF # ! UNX 105 106.IF "$(GUI)" == "WNT" 107SHL1RES= $(RCTARGET) 108.ENDIF # WNT 109 110# --- Targets ------------------------------------------------------------- 111 112.INCLUDE : target.mk 113 114 115ALLTAR : $(MISC)/sm.component $(MISC)/smd.component 116 117$(MISC)/sm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 118 sm.component 119 $(XSLTPROC) --nonet --stringparam uri \ 120 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 121 $(SOLARENV)/bin/createcomponent.xslt sm.component 122 123$(MISC)/smd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 124 smd.component 125 $(XSLTPROC) --nonet --stringparam uri \ 126 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ 127 $(SOLARENV)/bin/createcomponent.xslt smd.component 128