xref: /aoo41x/main/binaryurp/qa/makefile.mk (revision 2407af08)
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 = binaryurp
26cdf0e10cSrcweirTARGET = qa
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS = TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir.INCLUDE: settings.mk
31cdf0e10cSrcweir
32828da808SPedro Giffuni.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
335e7a3e64SPedro Giffuni
345e7a3e64SPedro Giffuni@all:
35828da808SPedro Giffuni.IF "$(GUI)" == "OS2"
365e7a3e64SPedro Giffuni	@echo "Skipping, cppunit broken."
37828da808SPedro Giffuni.ELIF "$(WITH_CPPUNIT)" != "YES"
38828da808SPedro Giffuni	@echo "cppunit disabled. nothing do do."
39828da808SPedro Giffuni.END
405e7a3e64SPedro Giffuni
415e7a3e64SPedro Giffuni.ELSE
425e7a3e64SPedro Giffuni
43cdf0e10cSrcweirCFLAGSCXX += $(CPPUNIT_CFLAGS)
44cdf0e10cSrcweir
45cdf0e10cSrcweirDLLPRE =
46cdf0e10cSrcweir
475e7a3e64SPedro Giffuni.IF "$(GUI)" != "OS2"
48cdf0e10cSrcweirSLOFILES = $(SLO)/test-cache.obj $(SLO)/test-unmarshal.obj
495e7a3e64SPedro Giffuni.ENDIF
50cdf0e10cSrcweir
51cdf0e10cSrcweirSHL1IMPLIB = i$(SHL1TARGET)
52cdf0e10cSrcweirSHL1OBJS = $(SLO)/test-cache.obj
53cdf0e10cSrcweirSHL1RPATH = NONE
54cdf0e10cSrcweirSHL1STDLIBS = $(CPPUNITLIB) $(SALLIB)
555e7a3e64SPedro Giffuni.IF "$(GUI)" != "OS2"
56cdf0e10cSrcweirSHL1TARGET = test-cache
575e7a3e64SPedro Giffuni.ELSE
585e7a3e64SPedro GiffuniSHL1TARGET = test-c
595e7a3e64SPedro Giffuni.ENDIF
60cdf0e10cSrcweirSHL1VERSIONMAP = version.map
61cdf0e10cSrcweirDEF1NAME = $(SHL1TARGET)
62cdf0e10cSrcweir
63cdf0e10cSrcweirSHL2IMPLIB = i$(SHL2TARGET)
64cdf0e10cSrcweirSHL2OBJS = \
65cdf0e10cSrcweir    $(SLO)/test-unmarshal.obj \
66cdf0e10cSrcweir    $(SLO)/binaryany.obj \
67cdf0e10cSrcweir    $(SLO)/bridge.obj \
68cdf0e10cSrcweir    $(SLO)/bridgefactory.obj \
69cdf0e10cSrcweir    $(SLO)/currentcontext.obj \
70cdf0e10cSrcweir    $(SLO)/incomingrequest.obj \
71cdf0e10cSrcweir    $(SLO)/lessoperators.obj \
72cdf0e10cSrcweir    $(SLO)/marshal.obj \
73cdf0e10cSrcweir    $(SLO)/outgoingrequests.obj \
74cdf0e10cSrcweir    $(SLO)/proxy.obj \
75cdf0e10cSrcweir    $(SLO)/reader.obj \
76cdf0e10cSrcweir    $(SLO)/unmarshal.obj \
77cdf0e10cSrcweir    $(SLO)/writer.obj
78cdf0e10cSrcweirSHL2RPATH = NONE
79cdf0e10cSrcweirSHL2STDLIBS = \
80cdf0e10cSrcweir    $(CPPUHELPERLIB) \
81cdf0e10cSrcweir    $(CPPULIB) \
82cdf0e10cSrcweir    $(CPPUNITLIB) \
83cdf0e10cSrcweir    $(SALHELPERLIB) \
84cdf0e10cSrcweir    $(SALLIB)
855e7a3e64SPedro Giffuni.IF "$(GUI)" != "OS2"
86cdf0e10cSrcweirSHL2TARGET = test-unmarshal
875e7a3e64SPedro Giffuni.ELSE
885e7a3e64SPedro GiffuniSHL2TARGET = test-u
895e7a3e64SPedro Giffuni.ENDIF
90cdf0e10cSrcweirSHL2VERSIONMAP = version.map
91cdf0e10cSrcweirDEF2NAME = $(SHL2TARGET)
92cdf0e10cSrcweir
935e7a3e64SPedro Giffuni.ENDIF # "$(GUI)" == "OS2"
945e7a3e64SPedro Giffuni
95cdf0e10cSrcweir.INCLUDE: target.mk
96cdf0e10cSrcweir.INCLUDE: _cppunit.mk
975e7a3e64SPedro Giffuni
98