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= extensions 30TARGET= oletest 31ENABLE_EXCEPTIONS=TRUE 32 33# --- Settings ----------------------------------------------------- 34 35.INCLUDE : settings.mk 36 37# --- Files -------------------------------------------------------- 38#UNOUCRDEP= $(SOLARBINDIR)$/types.rdb $(BIN)$/oletest.rdb 39#UNOUCRRDB= $(SOLARBINDIR)$/types.rdb $(BIN)$/oletest.rdb 40 41#UNOUCROUT= $(OUT)$/inc 42 43#UNOTYPES= oletest.XTestSequence \ 44# oletest.XTestStruct \ 45# oletest.XTestOther \ 46# oletest.XTestInterfaces \ 47# oletest.XSimple \ 48# oletest.XSimple2 \ 49# oletest.XSimple3 \ 50# oletest.XTestInParameters \ 51# oletest.XIdentity 52 53INCPRE+= -I$(ATL_INCLUDE) 54 55SLOFILES= \ 56 $(SLO)$/cpnt.obj 57 58SHL1TARGET= $(TARGET) 59 60SHL1STDLIBS= \ 61 $(SALLIB) \ 62 $(VOSLIB) \ 63 $(CPPULIB) \ 64 $(CPPUHELPERLIB) 65 66#.IF "$(COMEX)"=="8" || "$(COMEX)"=="10" 67# SHL1STDLIBS+= $(COMPATH)$/atlmfc$/lib$/atls.lib 68#.ENDIF 69 70.IF "$(COMEX)"=="8" || "$(COMEX)"=="10" 71.IF "$(USE_STLP_DEBUG)" != "" 72 SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib 73.ELSE 74 SHL1STDLIBS+= $(ATL_LIB)$/atls.lib 75.ENDIF 76.ENDIF 77 78 79SHL1DEPN= 80SHL1IMPLIB= i$(TARGET) 81SHL1LIBS= $(SLB)$/$(TARGET).lib 82SHL1DEF= $(MISC)$/$(SHL1TARGET).def 83 84DEF1NAME= $(SHL1TARGET) 85DEF1EXPORTFILE= exports.dxp 86 87 88ALLTAR : $(MISC)$/$(TARGET).cppumaker.done 89 90 91.INCLUDE : target.mk 92 93ALLIDLFILES:= ..$/idl$/oletest.idl 94 95$(BIN)$/oletest.rdb: $(ALLIDLFILES) 96 idlc -I$(PRJ) -I$(SOLARIDLDIR) -O$(BIN) $? 97 regmerge $@ /UCR $(BIN)$/{$(?:f:s/.idl/.urd/)} 98 touch $@ 99 100$(MISC)$/$(TARGET).cppumaker.done: $(BIN)$/oletest.rdb 101 $(CPPUMAKER) -O$(INCCOM) -BUCR $< -X$(SOLARBINDIR)/types.rdb 102 $(TOUCH) $@ 103 104