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 35*e1fcf41eSYuri Dario.IF "$(WITH_CPPUNIT)" != "YES" 365e7a3e64SPedro Giffuni 375e7a3e64SPedro Giffuni@all: 38828da808SPedro Giffuni @echo "cppunit disabled. nothing do do." 395e7a3e64SPedro Giffuni 40*e1fcf41eSYuri Dario.ELSE # "$(WITH_CPPUNIT)" != "YES" 415e7a3e64SPedro Giffuni 42cdf0e10cSrcweir#building with stlport, but cppunit was not built with stlport 43cdf0e10cSrcweir.IF "$(USE_SYSTEM_STL)"!="YES" 44cdf0e10cSrcweir.IF "$(SYSTEM_CPPUNIT)"=="YES" 45cdf0e10cSrcweirCFLAGSCXX+=-DADAPT_EXT_STL 46cdf0e10cSrcweir.ENDIF 47cdf0e10cSrcweir.ENDIF 48cdf0e10cSrcweir 49cdf0e10cSrcweirCFLAGSCXX += $(CPPUNIT_CFLAGS) 50cdf0e10cSrcweir 51cdf0e10cSrcweir# --- Common ---------------------------------------------------------- 52cdf0e10cSrcweir 53cdf0e10cSrcweirSHL1OBJS= \ 54cdf0e10cSrcweir $(SLO)$/basegfx1d.obj \ 55cdf0e10cSrcweir $(SLO)$/basegfx2d.obj \ 56cdf0e10cSrcweir $(SLO)$/basegfx3d.obj \ 57cdf0e10cSrcweir $(SLO)$/boxclipper.obj \ 58cdf0e10cSrcweir $(SLO)$/basegfxtools.obj \ 59cdf0e10cSrcweir $(SLO)$/clipstate.obj \ 60cdf0e10cSrcweir $(SLO)$/genericclipper.obj \ 61cdf0e10cSrcweir $(SLO)$/testtools.obj 62cdf0e10cSrcweir 63cdf0e10cSrcweirSHL1TARGET= basegfx_tests 64cdf0e10cSrcweirSHL1STDLIBS= \ 65cdf0e10cSrcweir $(BASEGFXLIB) \ 66cdf0e10cSrcweir $(SALLIB) \ 67cdf0e10cSrcweir $(CPPUHELPERLIB) \ 68cdf0e10cSrcweir $(CPPULIB) \ 69cdf0e10cSrcweir $(CPPUNITLIB) 70cdf0e10cSrcweir 71cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET) 72cdf0e10cSrcweir 73cdf0e10cSrcweirDEF1NAME =$(SHL1TARGET) 74cdf0e10cSrcweirSHL1VERSIONMAP = export.map 75cdf0e10cSrcweirSHL1RPATH = NONE 76cdf0e10cSrcweir 77cdf0e10cSrcweir# END ------------------------------------------------------------------ 78cdf0e10cSrcweir 79cdf0e10cSrcweir#------------------------------- All object files ------------------------------- 80cdf0e10cSrcweir# do this here, so we get right dependencies 81cdf0e10cSrcweirSLOFILES=$(SHL1OBJS) 82cdf0e10cSrcweir 83cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 84cdf0e10cSrcweir 85*e1fcf41eSYuri Dario.ENDIF # "$(WITH_CPPUNIT)" != "YES" 865e7a3e64SPedro Giffuni 87cdf0e10cSrcweir.INCLUDE : target.mk 88cdf0e10cSrcweir.INCLUDE : _cppunit.mk 89cdf0e10cSrcweir 90cdf0e10cSrcweir.IF "$(verbose)"!="" || "$(VERBOSE)"!="" 91cdf0e10cSrcweirCDEFS+= -DVERBOSE 92cdf0e10cSrcweir.ENDIF 93