xref: /aoo41x/main/binaryurp/qa/makefile.mk (revision 5e7a3e64)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#***********************************************************************/
27
28PRJ = ..
29PRJNAME = binaryurp
30TARGET = qa
31
32ENABLE_EXCEPTIONS = TRUE
33
34.INCLUDE: settings.mk
35
36.IF "$(GUI)" == "OS2"
37
38@all:
39	@echo "Skipping, cppunit broken."
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