PLATFORM_CORLIB = mscorlib.dll
BOOTSTRAP_MCS = mcs
-RESGEN = monoresgen
+RESGEN = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_RESGEN)
PLATFORM_PATH_SEPARATOR = :
hidden_suffix =
platform-check:
- @set fnord $(BOOTSTRAP_MCS) ; if type $$2 >/dev/null 2>&1 ; then :; else \
+ @set fnord $(BOOTSTRAP_MCS) ; while test "$$#" > 2; do case $$2 in *=*) shift ;; *) break ;; esac done ; \
+ if type $$2 >/dev/null 2>&1 ; then :; else \
echo "*** You need a C# compiler installed to build MCS. (make sure mcs works from the command line)" ; \
echo "*** Read INSTALL.txt for information on how to bootstrap" ; \
echo "*** a Mono installation." ; \