merge the formfield patch from ooo-build
[ooovba.git] / basegfx / test / makefile.mk
blob1bd4d59b98d528a76d21953c3906b47a6fceca36
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.7 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 PRJNAME=basegfx
35 TARGET=tests
37 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 # --- Common ----------------------------------------------------------
45 SHL1OBJS= \
46 $(SLO)$/basegfx1d.obj \
47 $(SLO)$/basegfx2d.obj \
48 $(SLO)$/basegfx3d.obj \
49 $(SLO)$/testtools.obj
51 # linking statically against basegfx parts
52 SHL1LIBS=\
53 $(SLB)$/curve.lib \
54 $(SLB)$/matrix.lib \
55 $(SLB)$/numeric.lib \
56 $(SLB)$/point.lib \
57 $(SLB)$/polygon.lib \
58 $(SLB)$/range.lib \
59 $(SLB)$/tuple.lib \
60 $(SLB)$/tools.lib \
61 $(SLB)$/color.lib \
62 $(SLB)$/vector.lib
64 SHL1TARGET= basegfx_tests
65 SHL1STDLIBS= \
66 $(SALLIB) \
67 $(CPPUHELPERLIB) \
68 $(CPPULIB) \
69 $(CPPUNITLIB)
71 SHL1IMPLIB= i$(SHL1TARGET)
73 DEF1NAME =$(SHL1TARGET)
74 SHL1VERSIONMAP = export.map
76 # END ------------------------------------------------------------------
78 #------------------------------- All object files -------------------------------
79 # do this here, so we get right dependencies
80 SLOFILES=$(SHL1OBJS)
82 # --- Targets ------------------------------------------------------
84 .INCLUDE : target.mk
85 .INCLUDE : _cppunit.mk
87 # --- Enable testshl2 execution in normal build ------------------------
89 $(MISC)$/unittest_succeeded : $(SHL1TARGETN)
90 @echo ----------------------------------------------------------
91 @echo - start unit test on library $(SHL1TARGETN)
92 @echo ----------------------------------------------------------
93 $(TESTSHL2) -sf $(mktmp ) -forward $(BIN)$/ $(SHL1TARGETN)
94 $(TOUCH) $@
96 ALLTAR : $(MISC)$/unittest_succeeded