From 5a7a0b1dcd43314fe640fa1a1285a1a925f3eb44 Mon Sep 17 00:00:00 2001 From: michelou Date: Wed, 28 Sep 2005 16:58:15 +0000 Subject: - added test for Mono environment. --- Makefile.config | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile.config') diff --git a/Makefile.config b/Makefile.config index 8bfa98cc2d..02187e0633 100644 --- a/Makefile.config +++ b/Makefile.config @@ -64,6 +64,7 @@ CP ?= cp CVS ?= cvs DATE ?= date DIRNAME ?= dirname +DOS2UNIX ?= dos2unix ECHO ?= echo EXPR ?= expr FIND ?= find @@ -117,12 +118,19 @@ SCALADOC ?= $(SCALA_HOME:%=%/bin/)scaladoc SCALAINFO ?= $(SCALA_HOME:%=%/bin/)scala-info ############################################################################## -# .NET tools (Mono) +# .NET/Mono tools CSC ?= csc +CSC_FLAGS ?= /nologo /warn:0 ILASM ?= ilasm +ILASM_FLAGS ?= $(if $(MONO),/debug /dll,/nol /qui /debug /dll) ILDASM ?= ildasm +ILDASM_FLAGS ?= SN ?= sn +SN_FLAGS ?= + +MONO = $(shell $(CSC) --version 2>&1 | \ + $(GREP) -c "Mono" | $(GREP) -v 0) ############################################################################## # Convert tool (ImageMagick) -- cgit v1.2.3