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=slideshow 31PRJINC=$(PRJ)$/source 32TARGET=tests 33TARGETTYPE=GUI 34 35ENABLE_EXCEPTIONS=TRUE 36 37# --- Settings ----------------------------------------------------- 38 39.INCLUDE : settings.mk 40.INCLUDE : $(PRJ)$/util$/makefile.pmk 41 42# --- Common ---------------------------------------------------------- 43 44# BEGIN target1 ------------------------------------------------------- 45SHL1OBJS= \ 46 $(SLO)$/views.obj \ 47 $(SLO)$/slidetest.obj \ 48 $(SLO)$/testshape.obj \ 49 $(SLO)$/testview.obj 50 51SHL1TARGET= tests 52SHL1STDLIBS= $(SALLIB) \ 53 $(BASEGFXLIB) \ 54 $(CPPUHELPERLIB) \ 55 $(CPPULIB) \ 56 $(TESTSHL2LIB) \ 57 $(CPPUNITLIB) \ 58 $(UNOTOOLSLIB) \ 59 $(VCLLIB) 60 61.IF "$(OS)"=="WNT" 62 SHL1STDLIBS+=$(LIBPRE) islideshowtest.lib 63.ELSE 64 SHL1STDLIBS+=-lslideshowtest$(DLLPOSTFIX) 65.ENDIF 66 67SHL1IMPLIB= i$(SHL1TARGET) 68 69DEF1NAME =$(SHL1TARGET) 70SHL1VERSIONMAP = export.map 71# END target1 ---------------------------------------------------------- 72 73# BEGIN target2 -------------------------------------------------------- 74APP2OBJS= \ 75 $(SLO)$/demoshow.obj 76 77APP2TARGET= demoshow 78APP2STDLIBS=$(TOOLSLIB) \ 79 $(COMPHELPERLIB) \ 80 $(CPPCANVASLIB) \ 81 $(CPPULIB) \ 82 $(CPPUHELPERLIB) \ 83 $(UCBHELPERLIB) \ 84 $(SALLIB) \ 85 $(VCLLIB) \ 86 $(BASEGFXLIB) 87 88.IF "$(GUI)"!="UNX" 89APP2DEF= $(MISC)$/$(TARGET).def 90.ENDIF 91# END target2 ---------------------------------------------------------------- 92 93#------------------------------- All object files ---------------------------- 94 95# do this here, so we get right dependencies 96SLOFILES=$(SHL1OBJS) 97 98# --- Targets ------------------------------------------------------ 99 100.INCLUDE : target.mk 101.INCLUDE : _cppunit.mk 102