summaryrefslogtreecommitdiffstats
path: root/basegfx/test/makefile.mk
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-02-12 15:25:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-02-12 15:25:46 +0000
commitd364b56c06cc5b1eac38c1230266feea5ab68ee3 (patch)
tree289af813e01ffa084c66732011586aa8d32ea349 /basegfx/test/makefile.mk
parentINTEGRATION: CWS aw054 (1.9.18); FILE MERGED (diff)
downloadcore-d364b56c06cc5b1eac38c1230266feea5ab68ee3.tar.gz
core-d364b56c06cc5b1eac38c1230266feea5ab68ee3.zip
INTEGRATION: CWS aw054 (1.4.76); FILE MERGED
2008/02/11 14:02:33 thb 1.4.76.3: #i83695# Sanitized link line 2008/02/10 22:28:57 thb 1.4.76.2: #i83695# tools not yet built here - removing, and superfluous anyway 2008/02/08 15:44:21 thb 1.4.76.1: #i83695# Made unit test execute during normal builds
Diffstat (limited to 'basegfx/test/makefile.mk')
-rw-r--r--basegfx/test/makefile.mk42
1 files changed, 30 insertions, 12 deletions
diff --git a/basegfx/test/makefile.mk b/basegfx/test/makefile.mk
index 8e0565ea9aec..7b2f0b20a852 100644
--- a/basegfx/test/makefile.mk
+++ b/basegfx/test/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
-# last change: $Author: rt $ $Date: 2005-09-07 20:57:24 $
+# last change: $Author: vg $ $Date: 2008-02-12 16:25:46 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -46,23 +46,30 @@ ENABLE_EXCEPTIONS=TRUE
# --- Common ----------------------------------------------------------
-# BEGIN ----------------------------------------------------------------
-# auto generated Target:tests by codegen.pl
SHL1OBJS= \
$(SLO)$/basegfx1d.obj \
$(SLO)$/basegfx2d.obj \
$(SLO)$/basegfx3d.obj \
- $(SLO)$/tools.obj
+ $(SLO)$/testtools.obj
+
+# linking statically against basegfx parts
+SHL1LIBS=\
+ $(SLB)$/curve.lib \
+ $(SLB)$/matrix.lib \
+ $(SLB)$/numeric.lib \
+ $(SLB)$/point.lib \
+ $(SLB)$/polygon.lib \
+ $(SLB)$/range.lib \
+ $(SLB)$/tuple.lib \
+ $(SLB)$/tools.lib \
+ $(SLB)$/vector.lib
SHL1TARGET= tests
-SHL1STDLIBS= $(TOOLSLIB) \
- $(SALLIB) \
- $(BASEGFXLIB) \
- $(VOSLIB) \
+SHL1STDLIBS= \
+ $(SALLIB) \
$(CPPUHELPERLIB) \
- $(CPPULIB) \
- $(CPPUNITLIB) \
- $(UNOTOOLSLIB)
+ $(CPPULIB) \
+ $(CPPUNITLIB)
SHL1IMPLIB= i$(SHL1TARGET)
@@ -79,3 +86,14 @@ SLOFILES=$(SHL1OBJS)
.INCLUDE : target.mk
.INCLUDE : _cppunit.mk
+
+# --- Enable testshl2 execution in normal build ------------------------
+
+$(MISC)$/unittest_succeeded : $(SHL1TARGETN)
+ @echo ----------------------------------------------------------
+ @echo - start unit test on library $(SHL1TARGETN)
+ @echo ----------------------------------------------------------
+ testshl2 -forward $(BIN)$/ $(SHL1TARGETN)
+ $(TOUCH) $@
+
+ALLTAR : $(MISC)$/unittest_succeeded