e015abd6d2
2007/02/10 23:23:53 thb 1.2.12.2: #i37778# Renamed setMouseCursor() to setCursorShape() at View interface (name clash with API method otherwise); added LayerManager/Layer unit tests; fixed a bunch of bugs/glitches found during unit testing 2007/01/31 11:25:19 thb 1.2.12.1: #i37778# Added prefetch to Animation interface (to facilitate prefetching - nice for slide transitions, which otherwise lag noticeably while generating the slide bitmap); brought tests up to par, re-enabling unit tests and demo show
108 lines
3.1 KiB
Makefile
108 lines
3.1 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.3 $
|
|
#
|
|
# last change: $Author: obo $ $Date: 2007-07-17 15:21:19 $
|
|
#
|
|
# The Contents of this file are made available subject to
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
|
#
|
|
#
|
|
# GNU Lesser General Public License Version 2.1
|
|
# =============================================
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License version 2.1, as published by the Free Software Foundation.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
# MA 02111-1307 USA
|
|
#
|
|
#*************************************************************************
|
|
|
|
PRJ=..
|
|
|
|
PRJNAME=slideshow
|
|
PRJINC=$(PRJ)$/source
|
|
TARGET=tests
|
|
TARGETTYPE=GUI
|
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
|
|
# --- Common ----------------------------------------------------------
|
|
|
|
# BEGIN target1 -------------------------------------------------------
|
|
SHL1OBJS= \
|
|
$(SLO)$/views.obj \
|
|
$(SLO)$/slidetest.obj \
|
|
$(SLO)$/testshape.obj \
|
|
$(SLO)$/testview.obj
|
|
|
|
SHL1TARGET= tests
|
|
SHL1STDLIBS= $(SALLIB) \
|
|
$(BASEGFXLIB) \
|
|
$(CPPUHELPERLIB) \
|
|
$(CPPULIB) \
|
|
$(CPPUNITLIB) \
|
|
$(UNOTOOLSLIB) \
|
|
$(VCLLIB)
|
|
|
|
.IF "$(OS)"=="WNT"
|
|
SHL1STDLIBS+=$(LIBPRE) islideshowtest.lib
|
|
.ELSE
|
|
SHL1STDLIBS+=-lslideshowtest$(UPD)$(DLLPOSTFIX)
|
|
.ENDIF
|
|
|
|
SHL1IMPLIB= i$(SHL1TARGET)
|
|
|
|
DEF1NAME =$(SHL1TARGET)
|
|
SHL1VERSIONMAP = export.map
|
|
# END target1 ----------------------------------------------------------
|
|
|
|
# BEGIN target2 --------------------------------------------------------
|
|
APP2OBJS= \
|
|
$(SLO)$/demoshow.obj
|
|
|
|
APP2TARGET= demoshow
|
|
APP2STDLIBS=$(TOOLSLIB) \
|
|
$(COMPHELPERLIB) \
|
|
$(CPPCANVASLIB) \
|
|
$(CPPULIB) \
|
|
$(CPPUHELPERLIB) \
|
|
$(UCBHELPERLIB) \
|
|
$(SALLIB) \
|
|
$(VCLLIB) \
|
|
$(BASEGFXLIB)
|
|
|
|
.IF "$(GUI)"!="UNX"
|
|
APP2DEF= $(MISC)$/$(TARGET).def
|
|
.ENDIF
|
|
# END target2 ----------------------------------------------------------------
|
|
|
|
#------------------------------- All object files ----------------------------
|
|
|
|
# do this here, so we get right dependencies
|
|
SLOFILES=$(SHL1OBJS)
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
.INCLUDE : target.mk
|
|
.INCLUDE : _cppunit.mk
|