xref: /aoo41x/main/binaryurp/qa/makefile.mk (revision 2407af08)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ = ..
25PRJNAME = binaryurp
26TARGET = qa
27
28ENABLE_EXCEPTIONS = TRUE
29
30.INCLUDE: settings.mk
31
32.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
33
34@all:
35.IF "$(GUI)" == "OS2"
36	@echo "Skipping, cppunit broken."
37.ELIF "$(WITH_CPPUNIT)" != "YES"
38	@echo "cppunit disabled. nothing do do."
39.END
40
41.ELSE
42
43CFLAGSCXX += $(CPPUNIT_CFLAGS)
44
45DLLPRE =
46
47.IF "$(GUI)" != "OS2"
48SLOFILES = $(SLO)/test-cache.obj $(SLO)/test-unmarshal.obj
49.ENDIF
50
51SHL1IMPLIB = i$(SHL1TARGET)
52SHL1OBJS = $(SLO)/test-cache.obj
53SHL1RPATH = NONE
54SHL1STDLIBS = $(CPPUNITLIB) $(SALLIB)
55.IF "$(GUI)" != "OS2"
56SHL1TARGET = test-cache
57.ELSE
58SHL1TARGET = test-c
59.ENDIF
60SHL1VERSIONMAP = version.map
61DEF1NAME = $(SHL1TARGET)
62
63SHL2IMPLIB = i$(SHL2TARGET)
64SHL2OBJS = \
65    $(SLO)/test-unmarshal.obj \
66    $(SLO)/binaryany.obj \
67    $(SLO)/bridge.obj \
68    $(SLO)/bridgefactory.obj \
69    $(SLO)/currentcontext.obj \
70    $(SLO)/incomingrequest.obj \
71    $(SLO)/lessoperators.obj \
72    $(SLO)/marshal.obj \
73    $(SLO)/outgoingrequests.obj \
74    $(SLO)/proxy.obj \
75    $(SLO)/reader.obj \
76    $(SLO)/unmarshal.obj \
77    $(SLO)/writer.obj
78SHL2RPATH = NONE
79SHL2STDLIBS = \
80    $(CPPUHELPERLIB) \
81    $(CPPULIB) \
82    $(CPPUNITLIB) \
83    $(SALHELPERLIB) \
84    $(SALLIB)
85.IF "$(GUI)" != "OS2"
86SHL2TARGET = test-unmarshal
87.ELSE
88SHL2TARGET = test-u
89.ENDIF
90SHL2VERSIONMAP = version.map
91DEF2NAME = $(SHL2TARGET)
92
93.ENDIF # "$(GUI)" == "OS2"
94
95.INCLUDE: target.mk
96.INCLUDE: _cppunit.mk
97
98