summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-19 13:57:49 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-19 13:57:49 +0000
commitc593b44421e0c1d69dfbd472ebd53568e5bfe393 (patch)
tree059d056d06acf0fef2e32ac3daca5dd846c3426f /sal
parent5acacb1e903f3d9e884b402b8d8013f6228a8e4d (diff)
INTEGRATION: CWS qadev16 (1.31.82); FILE MERGED
2004/03/04 10:04:32 lla 1.31.82.1: #114786# add some lines for coverage tests
Diffstat (limited to 'sal')
-rw-r--r--sal/util/makefile.mk23
1 files changed, 21 insertions, 2 deletions
diff --git a/sal/util/makefile.mk b/sal/util/makefile.mk
index 33315c1f85b7..6c37cc984458 100644
--- a/sal/util/makefile.mk
+++ b/sal/util/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.31 $
+# $Revision: 1.32 $
#
-# last change: $Author: hr $ $Date: 2003-07-16 17:23:32 $
+# last change: $Author: obo $ $Date: 2004-03-19 14:57:49 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -186,6 +186,25 @@ SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
+# --- Coverage -----------------------------------------------------
+# LLA: 20040304 The follows lines are an additional which is only need if we run
+# coverage tests. For normal test runs this feature is not used.
+# For more information about coverage tests see:
+# http://gcc.gnu.org/onlinedocs/gcc-3.0/gcc_8.html
+#
+# Why this additional?
+# Anybody has decide to link sal with g++ instead of gcc.
+#
+.IF "$(TESTCOVERAGE)"!=""
+.IF "$(GUI)"=="UNX"
+.IF "$(COM)"=="GCC"
+.IF "$(OS)"=="LINUX"
+SHL1STDLIBS+=-lgcc
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
# --- Targets ------------------------------------------------------
.ENDIF # $(header) != ""