1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=.. 25 26PRJNAME=slideshow 27PRJINC=$(PRJ)$/source 28TARGET=tests 29TARGETTYPE=GUI 30 31ENABLE_EXCEPTIONS=TRUE 32 33# --- Settings ----------------------------------------------------- 34 35.INCLUDE : settings.mk 36.INCLUDE : $(PRJ)$/util$/makefile.pmk 37 38# --- Common ---------------------------------------------------------- 39 40# BEGIN target1 ------------------------------------------------------- 41SHL1OBJS= \ 42 $(SLO)$/views.obj \ 43 $(SLO)$/slidetest.obj \ 44 $(SLO)$/testshape.obj \ 45 $(SLO)$/testview.obj 46 47SHL1TARGET= tests 48SHL1STDLIBS= $(SALLIB) \ 49 $(BASEGFXLIB) \ 50 $(CPPUHELPERLIB) \ 51 $(CPPULIB) \ 52 $(TESTSHL2LIB) \ 53 $(CPPUNITLIB) \ 54 $(UNOTOOLSLIB) \ 55 $(VCLLIB) 56 57.IF "$(OS)"=="WNT" 58 SHL1STDLIBS+=$(LIBPRE) islideshowtest.lib 59.ELSE 60 SHL1STDLIBS+=-lslideshowtest$(DLLPOSTFIX) 61.ENDIF 62 63SHL1IMPLIB= i$(SHL1TARGET) 64 65DEF1NAME =$(SHL1TARGET) 66SHL1VERSIONMAP = export.map 67# END target1 ---------------------------------------------------------- 68 69# BEGIN target2 -------------------------------------------------------- 70APP2OBJS= \ 71 $(SLO)$/demoshow.obj 72 73APP2TARGET= demoshow 74APP2STDLIBS=$(TOOLSLIB) \ 75 $(COMPHELPERLIB) \ 76 $(CPPCANVASLIB) \ 77 $(CPPULIB) \ 78 $(CPPUHELPERLIB) \ 79 $(UCBHELPERLIB) \ 80 $(SALLIB) \ 81 $(VCLLIB) \ 82 $(BASEGFXLIB) 83 84.IF "$(GUI)"!="UNX" 85APP2DEF= $(MISC)$/$(TARGET).def 86.ENDIF 87# END target2 ---------------------------------------------------------------- 88 89#------------------------------- All object files ---------------------------- 90 91# do this here, so we get right dependencies 92SLOFILES=$(SHL1OBJS) 93 94# --- Targets ------------------------------------------------------ 95 96.INCLUDE : target.mk 97.INCLUDE : _cppunit.mk 98