1*be9e621aSdamjan#************************************************************** 2*be9e621aSdamjan# 3*be9e621aSdamjan# Licensed to the Apache Software Foundation (ASF) under one 4*be9e621aSdamjan# or more contributor license agreements. See the NOTICE file 5*be9e621aSdamjan# distributed with this work for additional information 6*be9e621aSdamjan# regarding copyright ownership. The ASF licenses this file 7*be9e621aSdamjan# to you under the Apache License, Version 2.0 (the 8*be9e621aSdamjan# "License"); you may not use this file except in compliance 9*be9e621aSdamjan# with the License. You may obtain a copy of the License at 10*be9e621aSdamjan# 11*be9e621aSdamjan# http://www.apache.org/licenses/LICENSE-2.0 12*be9e621aSdamjan# 13*be9e621aSdamjan# Unless required by applicable law or agreed to in writing, 14*be9e621aSdamjan# software distributed under the License is distributed on an 15*be9e621aSdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*be9e621aSdamjan# KIND, either express or implied. See the License for the 17*be9e621aSdamjan# specific language governing permissions and limitations 18*be9e621aSdamjan# under the License. 19*be9e621aSdamjan# 20*be9e621aSdamjan#************************************************************** 21*be9e621aSdamjan 22*be9e621aSdamjan 23*be9e621aSdamjan 24*be9e621aSdamjanPRJ = ../.. 25*be9e621aSdamjanPRJNAME = test 26*be9e621aSdamjanTARGET = cpp 27*be9e621aSdamjan 28*be9e621aSdamjanENABLE_EXCEPTIONS = TRUE 29*be9e621aSdamjanVISIBILITY_HIDDEN = TRUE 30*be9e621aSdamjan 31*be9e621aSdamjan.INCLUDE: settings.mk 32*be9e621aSdamjan 33*be9e621aSdamjan.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 34*be9e621aSdamjan 35*be9e621aSdamjan@all: 36*be9e621aSdamjan.IF "$(GUI)" == "OS2" 37*be9e621aSdamjan @echo "Skipping, cppunit broken." 38*be9e621aSdamjan.ELIF "$(WITH_CPPUNIT)" != "YES" 39*be9e621aSdamjan @echo "cppunit disabled. nothing do do." 40*be9e621aSdamjan.END 41*be9e621aSdamjan 42*be9e621aSdamjan.ELSE 43*be9e621aSdamjan 44*be9e621aSdamjanCDEFS += -DOOO_DLLIMPLEMENTATION_TEST 45*be9e621aSdamjan 46*be9e621aSdamjanCFLAGSCXX += $(CPPUNIT_CFLAGS) 47*be9e621aSdamjan.IF "$(USE_SYSTEM_STL)" != "YES" && "$(SYSTEM_CPPUNIT)" == "YES" 48*be9e621aSdamjanCFLAGSCXX += -DADAPT_EXT_STL 49*be9e621aSdamjan.END 50*be9e621aSdamjan 51*be9e621aSdamjanSLOFILES = \ 52*be9e621aSdamjan $(SLO)/getargument.obj \ 53*be9e621aSdamjan $(SLO)/gettestargument.obj \ 54*be9e621aSdamjan $(SLO)/officeconnection.obj \ 55*be9e621aSdamjan $(SLO)/toabsolutefileurl.obj \ 56*be9e621aSdamjan $(SLO)/uniquepipename.obj 57*be9e621aSdamjan 58*be9e621aSdamjanSHL1IMPLIB = i$(SHL1TARGET) 59*be9e621aSdamjanSHL1OBJS = $(SLOFILES) 60*be9e621aSdamjanSHL1RPATH = NONE 61*be9e621aSdamjanSHL1STDLIBS = \ 62*be9e621aSdamjan $(CPPUHELPERLIB) \ 63*be9e621aSdamjan $(CPPULIB) \ 64*be9e621aSdamjan $(CPPUNITLIB) \ 65*be9e621aSdamjan $(SALLIB) 66*be9e621aSdamjanSHL1TARGET = test 67*be9e621aSdamjanSHL1USE_EXPORTS = name 68*be9e621aSdamjanDEF1NAME = $(SHL1TARGET) 69*be9e621aSdamjan 70*be9e621aSdamjan.ENDIF 71*be9e621aSdamjan 72*be9e621aSdamjan.INCLUDE: target.mk 73