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