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 = lingucomponent 31TARGET = MacOSXSpell 32ENABLE_EXCEPTIONS=TRUE 33USE_DEFFILE=TRUE 34 35.IF "$(GUIBASE)"=="aqua" 36 37#----- Settings --------------------------------------------------------- 38 39.INCLUDE : settings.mk 40 41 42# --- Files -------------------------------------------------------- 43 44 45CFLAGSCXX+=$(OBJCXXFLAGS) 46CFLAGSCXX+=-I..$/..$/lingutil 47 48EXCEPTIONSFILES= \ 49 $(SLO)$/macspellimp.obj 50 51 52SLOFILES= \ 53 $(SLO)$/macreg.obj\ 54 $(SLO)$/macspellimp.obj 55 56 57SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 58 59SHL1STDLIBS= \ 60 $(CPPULIB) \ 61 $(CPPUHELPERLIB) \ 62 $(VOSLIB) \ 63 $(TOOLSLIB) \ 64 $(SVLLIB) \ 65 $(SALLIB) \ 66 $(UCBHELPERLIB) \ 67 $(UNOTOOLSLIB) \ 68 $(LNGLIB) 69 70SHL1STDLIBS+= -framework Cocoa 71 72# build DLL 73SHL1LIBS= $(SLB)$/$(TARGET).lib 74SHL1IMPLIB= i$(TARGET) 75SHL1DEPN= $(SHL1LIBS) 76SHL1DEF= $(MISC)$/$(SHL1TARGET).def 77 78SHL1VERSIONMAP=$(SOLARENV)/src/component.map 79 80# --- Targets ------------------------------------------------------ 81 82.INCLUDE : target.mk 83 84 85.ELSE 86dummy: 87 @echo " Nothing to build for GUIBASE=$(GUIBASE)" 88.ENDIF 89 90ALLTAR : $(MISC)/MacOSXSpell.component 91 92$(MISC)/MacOSXSpell.component .ERRREMOVE : \ 93 $(SOLARENV)/bin/createcomponent.xslt MacOSXSpell.component 94 $(XSLTPROC) --nonet --stringparam uri \ 95 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 96 $(SOLARENV)/bin/createcomponent.xslt MacOSXSpell.component 97