12407af08SAndrew Rist#************************************************************** 22407af08SAndrew Rist# 32407af08SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 42407af08SAndrew Rist# or more contributor license agreements. See the NOTICE file 52407af08SAndrew Rist# distributed with this work for additional information 62407af08SAndrew Rist# regarding copyright ownership. The ASF licenses this file 72407af08SAndrew Rist# to you under the Apache License, Version 2.0 (the 82407af08SAndrew Rist# "License"); you may not use this file except in compliance 92407af08SAndrew Rist# with the License. You may obtain a copy of the License at 102407af08SAndrew Rist# 112407af08SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 122407af08SAndrew Rist# 132407af08SAndrew Rist# Unless required by applicable law or agreed to in writing, 142407af08SAndrew Rist# software distributed under the License is distributed on an 152407af08SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 162407af08SAndrew Rist# KIND, either express or implied. See the License for the 172407af08SAndrew Rist# specific language governing permissions and limitations 182407af08SAndrew Rist# under the License. 192407af08SAndrew Rist# 202407af08SAndrew Rist#************************************************************** 212407af08SAndrew Rist 222407af08SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=.. 25cdf0e10cSrcweir 26cdf0e10cSrcweirPRJNAME=basegfx 27cdf0e10cSrcweirTARGET=tests 28cdf0e10cSrcweir 29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 30cdf0e10cSrcweir 31cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 32cdf0e10cSrcweir 33cdf0e10cSrcweir.INCLUDE : settings.mk 34cdf0e10cSrcweir 35e1fcf41eSYuri Dario.IF "$(WITH_CPPUNIT)" != "YES" 365e7a3e64SPedro Giffuni 375e7a3e64SPedro Giffuni@all: 38828da808SPedro Giffuni @echo "cppunit disabled. nothing do do." 395e7a3e64SPedro Giffuni 40*b597708bSHerbert Dürr.ELSE 41cdf0e10cSrcweir 42cdf0e10cSrcweirCFLAGSCXX += $(CPPUNIT_CFLAGS) 43cdf0e10cSrcweir 44cdf0e10cSrcweir# --- Common ---------------------------------------------------------- 45cdf0e10cSrcweir 46cdf0e10cSrcweirSHL1OBJS= \ 47cdf0e10cSrcweir $(SLO)$/basegfx1d.obj \ 48cdf0e10cSrcweir $(SLO)$/basegfx2d.obj \ 49cdf0e10cSrcweir $(SLO)$/basegfx3d.obj \ 50cdf0e10cSrcweir $(SLO)$/boxclipper.obj \ 51cdf0e10cSrcweir $(SLO)$/basegfxtools.obj \ 52cdf0e10cSrcweir $(SLO)$/clipstate.obj \ 53cdf0e10cSrcweir $(SLO)$/genericclipper.obj \ 54cdf0e10cSrcweir $(SLO)$/testtools.obj 55cdf0e10cSrcweir 56cdf0e10cSrcweirSHL1TARGET= basegfx_tests 57cdf0e10cSrcweirSHL1STDLIBS= \ 58cdf0e10cSrcweir $(BASEGFXLIB) \ 59cdf0e10cSrcweir $(SALLIB) \ 60cdf0e10cSrcweir $(CPPUHELPERLIB) \ 61cdf0e10cSrcweir $(CPPULIB) \ 62cdf0e10cSrcweir $(CPPUNITLIB) 63cdf0e10cSrcweir 64cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET) 65cdf0e10cSrcweir 66cdf0e10cSrcweirDEF1NAME =$(SHL1TARGET) 67cdf0e10cSrcweirSHL1VERSIONMAP = export.map 68cdf0e10cSrcweirSHL1RPATH = NONE 69cdf0e10cSrcweir 70cdf0e10cSrcweir# END ------------------------------------------------------------------ 71cdf0e10cSrcweir 72cdf0e10cSrcweir#------------------------------- All object files ------------------------------- 73cdf0e10cSrcweir# do this here, so we get right dependencies 74cdf0e10cSrcweirSLOFILES=$(SHL1OBJS) 75cdf0e10cSrcweir 76cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 77cdf0e10cSrcweir 78e1fcf41eSYuri Dario.ENDIF # "$(WITH_CPPUNIT)" != "YES" 795e7a3e64SPedro Giffuni 80cdf0e10cSrcweir.INCLUDE : target.mk 81cdf0e10cSrcweir.INCLUDE : _cppunit.mk 82cdf0e10cSrcweir 83cdf0e10cSrcweir.IF "$(verbose)"!="" || "$(VERBOSE)"!="" 84cdf0e10cSrcweirCDEFS+= -DVERBOSE 85cdf0e10cSrcweir.ENDIF 86