-tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/machine.config
-
-endif
-
-$(tmpinst)/bin/mono.bat: $(srcdir)/Makefile.am
- echo '@echo off' > $@
- echo 'set builddir="'"`pwd`"'"' >> $@
- echo 'set win_builddir="'"`cygpath -w -a .`"'"' >> $@
- echo 'set tmpinst="%win_builddir%\$(tmpinst)"' >> $@
- echo 'if %MONO_PATH% == "" goto when_empty' >> $@
- echo 'set MONO_PATH="%MONO_PATH%;%tmpinst%\lib"' >> $@
- echo 'goto endif_empty' >> $@
- echo ':when_empty' >> $@
- echo 'set MONO_PATH=%tmpinst%\lib' >> $@
- echo ':endif_empty' >> $@
- echo 'set MONO_CFG_DIR=%tmpinst%\etc' >> $@
- echo "`cygpath -w /bin/sh`" '"%builddir%/libtool" --mode=execute "%builddir%/$(mono_runtime)" --config "%win_builddir%\data\config" %*' >> $@
-