blob: 7d4f351f9c558e7f2ef0c2b24e729a7f065c79ae [file] [log] [blame]
#**************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#**************************************************************
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) \
$(TESTSHL2LIB) \
$(CPPUNITLIB) \
$(UNOTOOLSLIB) \
$(VCLLIB)
.IF "$(OS)"=="WNT"
SHL1STDLIBS+=$(LIBPRE) islideshowtest.lib
.ELSE
SHL1STDLIBS+=-lslideshowtest$(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