17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweirPRJ := ..$/.. 24cdf0e10cSrcweirPRJNAME := desktop 2573c96003SYuri Dario.IF "$(GUI)" == "OS2" 2673c96003SYuri DarioTARGET := qa_dpl_m 2773c96003SYuri Dario.ELSE 28cdf0e10cSrcweirTARGET := qa_deployment_misc 2973c96003SYuri Dario.ENDIF 30cdf0e10cSrcweir 31cdf0e10cSrcweirENABLE_EXCEPTIONS := TRUE 32cdf0e10cSrcweir 33cdf0e10cSrcweir.INCLUDE: settings.mk 34cdf0e10cSrcweir.INCLUDE: $(PRJ)$/source$/deployment$/inc$/dp_misc.mk 35cdf0e10cSrcweir 36*1ea33f33SDamjan Jovanovic.IF "$(ENABLE_UNIT_TESTS)" != "YES" 37*1ea33f33SDamjan Jovanovicall: 38*1ea33f33SDamjan Jovanovic @echo unit tests are disabled. Nothing to do. 39*1ea33f33SDamjan Jovanovic 40*1ea33f33SDamjan Jovanovic.ELSE 41*1ea33f33SDamjan Jovanovic 42cdf0e10cSrcweir 43cdf0e10cSrcweir# TODO: On Windows, test_dp_version.cxx fails due to BOOL redefinition between 44cdf0e10cSrcweir# windef.h and tools/solar.h caused by including "precompiled_desktop.hxx"; this 45cdf0e10cSrcweir# hack to temporarily disable PCH will become unnecessary with the fix for issue 46cdf0e10cSrcweir# 112600: 47cdf0e10cSrcweirCFLAGSCXX += -DDISABLE_PCH_HACK 48cdf0e10cSrcweir 49*1ea33f33SDamjan JovanovicAPP1TARGET = $(TARGET) 50*1ea33f33SDamjan JovanovicAPP1OBJS = $(SLO)$/test_dp_version.obj $(SLO)$/main.obj 51*1ea33f33SDamjan JovanovicAPP1STDLIBS = $(GTESTLIB) $(DEPLOYMENTMISCLIB) $(SALLIB) 52*1ea33f33SDamjan JovanovicAPP1RPATH = NONE 53*1ea33f33SDamjan JovanovicAPP1TEST = enabled 54cdf0e10cSrcweir 55cdf0e10cSrcweir.INCLUDE: target.mk 56*1ea33f33SDamjan Jovanovic 57*1ea33f33SDamjan Jovanovic.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES" 58