xref: /aoo41x/main/basegfx/test/makefile.mk (revision b597708b)
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=..
25
26PRJNAME=basegfx
27TARGET=tests
28
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35.IF "$(WITH_CPPUNIT)" != "YES"
36
37@all:
38	@echo "cppunit disabled. nothing do do."
39
40.ELSE
41
42CFLAGSCXX += $(CPPUNIT_CFLAGS)
43
44# --- Common ----------------------------------------------------------
45
46SHL1OBJS=  \
47	$(SLO)$/basegfx1d.obj      \
48	$(SLO)$/basegfx2d.obj      \
49	$(SLO)$/basegfx3d.obj      \
50	$(SLO)$/boxclipper.obj     \
51	$(SLO)$/basegfxtools.obj   \
52    $(SLO)$/clipstate.obj      \
53    $(SLO)$/genericclipper.obj \
54	$(SLO)$/testtools.obj
55
56SHL1TARGET= basegfx_tests
57SHL1STDLIBS= \
58                $(BASEGFXLIB) \
59				$(SALLIB)        \
60				$(CPPUHELPERLIB) \
61				$(CPPULIB)       \
62				$(CPPUNITLIB)
63
64SHL1IMPLIB= i$(SHL1TARGET)
65
66DEF1NAME    =$(SHL1TARGET)
67SHL1VERSIONMAP = export.map
68SHL1RPATH = NONE
69
70# END ------------------------------------------------------------------
71
72#------------------------------- All object files -------------------------------
73# do this here, so we get right dependencies
74SLOFILES=$(SHL1OBJS)
75
76# --- Targets ------------------------------------------------------
77
78.ENDIF # "$(WITH_CPPUNIT)" != "YES"
79
80.INCLUDE : target.mk
81.INCLUDE : _cppunit.mk
82
83.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
84CDEFS+= -DVERBOSE
85.ENDIF
86