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#************************************************************************* 27PRJ=..$/.. 28 29PRJNAME= salhelper 30TARGET= rtti 31TARGET1=samplelibrtti 32LIBTARGET=NO 33TARGETTYPE=CUI 34 35 36ENABLE_EXCEPTIONS=TRUE 37 38USE_DEFFILE= TRUE 39 40# --- Settings ----------------------------------------------------- 41 42.INCLUDE : settings.mk 43 44# --- Files -------------------------------------------------------- 45 46#RTTI on 47.IF "$(OS)" == "WNT" 48CFLAGS+= -GR 49.ENDIF 50 51SLOFILES= \ 52 $(SLO)$/samplelibrtti.obj 53 54LIB1TARGET=$(SLB)$/$(TARGET1).lib 55LIB1OBJFILES= \ 56 $(SLO)$/samplelibrtti.obj 57 58SHL1TARGET= $(TARGET1) 59 60SHL1STDLIBS= \ 61 $(CPPULIB) \ 62 $(CPPUHELPERLIB) \ 63 $(SALLIB) 64 65 66SHL1DEPN= 67SHL1IMPLIB= i$(TARGET1) 68SHL1LIBS= $(SLB)$/$(TARGET1).lib 69SHL1DEF= $(MISC)$/$(SHL1TARGET).def 70DEF1EXPORTFILE= exports.dxp 71 72DEF1NAME= $(SHL1TARGET) 73 74.IF "$(OS)$(CPU)"=="SOLARISS" 75SHL1VERSIONMAP= sols.map 76.ELIF "$(OS)$(CPU)"=="LINUXI" 77SHL1VERSIONMAP= lngi.map 78.ELIF "$(OS)$(CPU)$(COMNAME)" == "GCCFREEBSDIgcc2" 79SHL1VERSIONMAP= gcc2_freebsd_intel.map 80.ELIF "$(OS)$(CPU)$(COMNAME)" == "GCCFREEBSDIgcc3" 81SHL1VERSIONMAP= gcc3_freebsd_intel.map 82.ENDIF 83 84 85# ------------------------------------------------------------------ 86 87APP1NOSAL=TRUE 88 89APP1TARGET= $(TARGET) 90 91APP1OBJS= $(OBJ)$/rttitest.obj 92 93APP1STDLIBS= \ 94 $(SALLIB) \ 95 $(CPPUHELPERLIB) \ 96 $(CPPULIB) 97 98.IF "$(OS)" == "WNT" 99APP1STDLIBS+= $(LB)$/isamplelibrtti.lib 100.ELSE 101APP1STDLIBS+= -lsamplelibrtti 102.ENDIF 103 104# --- Targets ------------------------------------------------------ 105 106.INCLUDE : target.mk 107 108