1*2407af08SAndrew Rist#************************************************************** 2*2407af08SAndrew Rist# 3*2407af08SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*2407af08SAndrew Rist# or more contributor license agreements. See the NOTICE file 5*2407af08SAndrew Rist# distributed with this work for additional information 6*2407af08SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*2407af08SAndrew Rist# to you under the Apache License, Version 2.0 (the 8*2407af08SAndrew Rist# "License"); you may not use this file except in compliance 9*2407af08SAndrew Rist# with the License. You may obtain a copy of the License at 10*2407af08SAndrew Rist# 11*2407af08SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*2407af08SAndrew Rist# 13*2407af08SAndrew Rist# Unless required by applicable law or agreed to in writing, 14*2407af08SAndrew Rist# software distributed under the License is distributed on an 15*2407af08SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2407af08SAndrew Rist# KIND, either express or implied. See the License for the 17*2407af08SAndrew Rist# specific language governing permissions and limitations 18*2407af08SAndrew Rist# under the License. 19*2407af08SAndrew Rist# 20*2407af08SAndrew Rist#************************************************************** 21*2407af08SAndrew Rist 22*2407af08SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ = .. 25cdf0e10cSrcweirPRJNAME = sal 26cdf0e10cSrcweirTARGET = cppunittester 27cdf0e10cSrcweir 28cdf0e10cSrcweirENABLE_EXCEPTIONS = TRUE 29cdf0e10cSrcweir 30cdf0e10cSrcweir.INCLUDE: settings.mk 31cdf0e10cSrcweir 32828da808SPedro Giffuni.IF "$(WITH_CPPUNIT)" != "YES" 33828da808SPedro Giffuniall: 34828da808SPedro Giffuni @echo cppunit disabled. nothing to do. 35828da808SPedro Giffuni 36828da808SPedro Giffuni.ELSE 37828da808SPedro Giffuni 38cdf0e10cSrcweir#building with stlport, but cppunit was not built with stlport 39cdf0e10cSrcweir.IF "$(USE_SYSTEM_STL)"!="YES" 40cdf0e10cSrcweir.IF "$(SYSTEM_CPPUNIT)"=="YES" 41cdf0e10cSrcweirCFLAGSCXX+=-DADAPT_EXT_STL 42cdf0e10cSrcweir.ENDIF 43cdf0e10cSrcweir.ENDIF 44cdf0e10cSrcweir 45cdf0e10cSrcweirCFLAGSCXX += $(CPPUNIT_CFLAGS) 46cdf0e10cSrcweir 47cdf0e10cSrcweirOBJFILES = $(APP1OBJS) 48cdf0e10cSrcweir 49cdf0e10cSrcweirAPP1OBJS = $(OBJ)/cppunittester.obj 50cdf0e10cSrcweirAPP1RPATH = NONE 51cdf0e10cSrcweirAPP1STDLIBS = $(CPPUNITLIB) $(SALLIB) 52cdf0e10cSrcweirAPP1TARGET = cppunittester 53cdf0e10cSrcweir 54cdf0e10cSrcweir.INCLUDE: target.mk 55828da808SPedro Giffuni 56828da808SPedro Giffuni.ENDIF 57