xref: /trunk/main/sax/qa/gtest/makefile.mk (revision 10079efc)
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
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=../..
25cdf0e10cSrcweirPRJNAME=sax
26*10079efcSDamjan JovanovicTARGET=qa_gtest
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings -----------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweir.INCLUDE :  settings.mk
33cdf0e10cSrcweir
341436510bSDamjan Jovanovic.IF "$(ENABLE_UNIT_TESTS)" != "YES"
351436510bSDamjan Jovanovicall:
361436510bSDamjan Jovanovic	@echo unit tests are disabled. Nothing to do.
375e7a3e64SPedro Giffuni
381436510bSDamjan Jovanovic.ELSE # "$(ENABLE_UNIT_TESTS)" != "YES"
39cdf0e10cSrcweir
40cdf0e10cSrcweir# --- Libs ---------------------------------------------------------
41cdf0e10cSrcweir
421436510bSDamjan JovanovicAPP1OBJS=  \
431436510bSDamjan Jovanovic	$(SLO)/test_converter.obj
441436510bSDamjan JovanovicAPP1STDLIBS= \
451436510bSDamjan Jovanovic	$(SAXLIB) \
461436510bSDamjan Jovanovic	$(SALLIB) \
471436510bSDamjan Jovanovic	$(GTESTLIB)
4873c96003SYuri Dario.IF "$(GUI)" == "OS2"
491436510bSDamjan JovanovicAPP1TARGET= tst_cnv
5073c96003SYuri Dario.ELSE
511436510bSDamjan JovanovicAPP1TARGET= test_converter
5273c96003SYuri Dario.ENDIF
531436510bSDamjan JovanovicAPP1RPATH = NONE
541436510bSDamjan JovanovicAPP1TEST = enabled
55cdf0e10cSrcweir
56cdf0e10cSrcweir# --- Targets ------------------------------------------------------
57cdf0e10cSrcweir
58cdf0e10cSrcweir.INCLUDE :  target.mk
59cdf0e10cSrcweir
601436510bSDamjan Jovanovic.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
61