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=basegfx 27TARGET=tests 28 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ----------------------------------------------------- 32 33.INCLUDE : settings.mk 34 35.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 36 37@all: 38.IF "$(GUI)" == "OS2" 39 @echo "Skipping, cppunit broken." 40.ELIF "$(WITH_CPPUNIT)" != "YES" 41 @echo "cppunit disabled. nothing do do." 42.END 43 44.ELSE # "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 45 46#building with stlport, but cppunit was not built with stlport 47.IF "$(USE_SYSTEM_STL)"!="YES" 48.IF "$(SYSTEM_CPPUNIT)"=="YES" 49CFLAGSCXX+=-DADAPT_EXT_STL 50.ENDIF 51.ENDIF 52 53CFLAGSCXX += $(CPPUNIT_CFLAGS) 54 55# --- Common ---------------------------------------------------------- 56 57SHL1OBJS= \ 58 $(SLO)$/basegfx1d.obj \ 59 $(SLO)$/basegfx2d.obj \ 60 $(SLO)$/basegfx3d.obj \ 61 $(SLO)$/boxclipper.obj \ 62 $(SLO)$/basegfxtools.obj \ 63 $(SLO)$/clipstate.obj \ 64 $(SLO)$/genericclipper.obj \ 65 $(SLO)$/testtools.obj 66 67SHL1TARGET= basegfx_tests 68SHL1STDLIBS= \ 69 $(BASEGFXLIB) \ 70 $(SALLIB) \ 71 $(CPPUHELPERLIB) \ 72 $(CPPULIB) \ 73 $(CPPUNITLIB) 74 75SHL1IMPLIB= i$(SHL1TARGET) 76 77DEF1NAME =$(SHL1TARGET) 78SHL1VERSIONMAP = export.map 79SHL1RPATH = NONE 80 81# END ------------------------------------------------------------------ 82 83#------------------------------- All object files ------------------------------- 84# do this here, so we get right dependencies 85SLOFILES=$(SHL1OBJS) 86 87# --- Targets ------------------------------------------------------ 88 89.ENDIF # "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 90 91.INCLUDE : target.mk 92.INCLUDE : _cppunit.mk 93 94.IF "$(verbose)"!="" || "$(VERBOSE)"!="" 95CDEFS+= -DVERBOSE 96.ENDIF 97