Define the correct runtime depending on the availability of the jit
(from Benjamin Reed).
svn path=/trunk/mono/; revision=10541
CLEANFILES = mcs
+if X86
+MONO_INTERP = mono
+else
+MONO_INTERP = mint
+endif
+
mcs: mcs.in
- sed -e 's^\@bindir\@^$(bindir)^g' < $(srcdir)/mcs.in > mcs.tmp \
+ sed -e 's^\@bindir\@^$(bindir)^g' -e 's^\@mono_interp\@^$(MONO_INTERP)^g' < $(srcdir)/mcs.in > mcs.tmp \
&& mv mcs.tmp mcs
#!/bin/sh
-@bindir@/mono @bindir@/mcs.exe "$@"
+@bindir@/@mono_interp@ @bindir@/mcs.exe "$@"