xref: /AOO42X/main/test/source/cpp/makefile.mk (revision 23169c6bc9271e8609a70b80385a7d6fcb20e682)
1*23169c6bSmseidel#**************************************************************
2*23169c6bSmseidel#
3*23169c6bSmseidel#  Licensed to the Apache Software Foundation (ASF) under one
4*23169c6bSmseidel#  or more contributor license agreements.  See the NOTICE file
5*23169c6bSmseidel#  distributed with this work for additional information
6*23169c6bSmseidel#  regarding copyright ownership.  The ASF licenses this file
7*23169c6bSmseidel#  to you under the Apache License, Version 2.0 (the
8*23169c6bSmseidel#  "License"); you may not use this file except in compliance
9*23169c6bSmseidel#  with the License.  You may obtain a copy of the License at
10*23169c6bSmseidel#
11*23169c6bSmseidel#    http://www.apache.org/licenses/LICENSE-2.0
12*23169c6bSmseidel#
13*23169c6bSmseidel#  Unless required by applicable law or agreed to in writing,
14*23169c6bSmseidel#  software distributed under the License is distributed on an
15*23169c6bSmseidel#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*23169c6bSmseidel#  KIND, either express or implied.  See the License for the
17*23169c6bSmseidel#  specific language governing permissions and limitations
18*23169c6bSmseidel#  under the License.
19*23169c6bSmseidel#
20*23169c6bSmseidel#**************************************************************
21*23169c6bSmseidel
22*23169c6bSmseidelPRJ = ../..
23*23169c6bSmseidelPRJNAME = test
24*23169c6bSmseidelTARGET = cpp
25*23169c6bSmseidel
26*23169c6bSmseidelENABLE_EXCEPTIONS = TRUE
27*23169c6bSmseidelVISIBILITY_HIDDEN = TRUE
28*23169c6bSmseidel
29*23169c6bSmseidel.INCLUDE: settings.mk
30*23169c6bSmseidel
31*23169c6bSmseidel.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
32*23169c6bSmseidel
33*23169c6bSmseidel@all:
34*23169c6bSmseidel.IF "$(GUI)" == "OS2"
35*23169c6bSmseidel    @echo "Skipping, cppunit broken."
36*23169c6bSmseidel.ELIF "$(WITH_CPPUNIT)" != "YES"
37*23169c6bSmseidel    @echo "cppunit disabled. nothing do do."
38*23169c6bSmseidel.END
39*23169c6bSmseidel
40*23169c6bSmseidel.ELSE
41*23169c6bSmseidel
42*23169c6bSmseidelCDEFS += -DOOO_DLLIMPLEMENTATION_TEST
43*23169c6bSmseidel
44*23169c6bSmseidelCFLAGSCXX += $(CPPUNIT_CFLAGS)
45*23169c6bSmseidel.IF "$(USE_SYSTEM_STL)" != "YES" && "$(SYSTEM_CPPUNIT)" == "YES"
46*23169c6bSmseidelCFLAGSCXX += -DADAPT_EXT_STL
47*23169c6bSmseidel.END
48*23169c6bSmseidel
49*23169c6bSmseidelSLOFILES = \
50*23169c6bSmseidel    $(SLO)/getargument.obj \
51*23169c6bSmseidel    $(SLO)/gettestargument.obj \
52*23169c6bSmseidel    $(SLO)/officeconnection.obj \
53*23169c6bSmseidel    $(SLO)/toabsolutefileurl.obj \
54*23169c6bSmseidel    $(SLO)/uniquepipename.obj
55*23169c6bSmseidel
56*23169c6bSmseidelSHL1IMPLIB = i$(SHL1TARGET)
57*23169c6bSmseidelSHL1OBJS = $(SLOFILES)
58*23169c6bSmseidelSHL1RPATH = NONE
59*23169c6bSmseidelSHL1STDLIBS = \
60*23169c6bSmseidel    $(CPPUHELPERLIB) \
61*23169c6bSmseidel    $(CPPULIB) \
62*23169c6bSmseidel    $(CPPUNITLIB) \
63*23169c6bSmseidel    $(SALLIB)
64*23169c6bSmseidelSHL1TARGET = test
65*23169c6bSmseidelSHL1USE_EXPORTS = name
66*23169c6bSmseidelDEF1NAME = $(SHL1TARGET)
67*23169c6bSmseidel
68*23169c6bSmseidel.ENDIF
69*23169c6bSmseidel
70*23169c6bSmseidel.INCLUDE: target.mk
71