1*7871dc3eSAndrew Rist#************************************************************** 2cdf0e10cSrcweir# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19cdf0e10cSrcweir# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24828da808SPedro Giffuni.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 255e7a3e64SPedro Giffuni 265e7a3e64SPedro Giffuni@all: 27828da808SPedro Giffuni.IF "$(GUI)" == "OS2" 285e7a3e64SPedro Giffuni @echo "Skipping, cppunit broken." 29828da808SPedro Giffuni.ELIF "$(WITH_CPPUNIT)" != "YES" 30828da808SPedro Giffuni @echo "cppunit disabled. nothing do do." 31828da808SPedro Giffuni.END 325e7a3e64SPedro Giffuni 33828da808SPedro Giffuni.ENDIF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 345e7a3e64SPedro Giffuni 35cdf0e10cSrcweirPRJ := ..$/.. 36cdf0e10cSrcweirPRJNAME := desktop 37cdf0e10cSrcweirTARGET := qa_deployment_misc 38cdf0e10cSrcweir 39cdf0e10cSrcweirENABLE_EXCEPTIONS := TRUE 40cdf0e10cSrcweir 41cdf0e10cSrcweir.INCLUDE: settings.mk 42cdf0e10cSrcweir.INCLUDE: $(PRJ)$/source$/deployment$/inc$/dp_misc.mk 43cdf0e10cSrcweir 44cdf0e10cSrcweirCFLAGSCXX += $(CPPUNIT_CFLAGS) 45cdf0e10cSrcweir 46cdf0e10cSrcweir# TODO: On Windows, test_dp_version.cxx fails due to BOOL redefinition between 47cdf0e10cSrcweir# windef.h and tools/solar.h caused by including "precompiled_desktop.hxx"; this 48cdf0e10cSrcweir# hack to temporarily disable PCH will become unnecessary with the fix for issue 49cdf0e10cSrcweir# 112600: 50cdf0e10cSrcweirCFLAGSCXX += -DDISABLE_PCH_HACK 51cdf0e10cSrcweir 52cdf0e10cSrcweirSHL1TARGET = $(TARGET) 53cdf0e10cSrcweirSHL1OBJS = $(SLO)$/test_dp_version.obj 54cdf0e10cSrcweirSHL1STDLIBS = $(CPPUNITLIB) $(DEPLOYMENTMISCLIB) $(SALLIB) 55cdf0e10cSrcweirSHL1VERSIONMAP = version.map 56cdf0e10cSrcweirSHL1RPATH = NONE 57cdf0e10cSrcweirSHL1IMPLIB = i$(SHL1TARGET) 58cdf0e10cSrcweirDEF1NAME = $(SHL1TARGET) 59cdf0e10cSrcweir 60cdf0e10cSrcweirSLOFILES = $(SHL1OBJS) 61cdf0e10cSrcweir 62cdf0e10cSrcweir.INCLUDE: target.mk 63cdf0e10cSrcweir.INCLUDE : _cppunit.mk 64