lib_LTLIBRARIES = $(shared_libraries)
+if SHARED_MONO
+mini_common_lib = libmini.la
+else
+mini_common_lib =
+endif
+
if DISABLE_EXECUTABLES
-noinst_LTLIBRARIES = libmini.la
+noinst_LTLIBRARIES = $(mini_common_lib)
else
-noinst_LTLIBRARIES = libmini.la libmini-static.la
+noinst_LTLIBRARIES = $(mini_common_lib) libmini-static.la
endif
if MOONLIGHT
mono_CFLAGS = $(AM_CFLAGS)
-INCLUDES = $(LIBGC_CPPFLAGS)
+AM_CPPFLAGS = $(LIBGC_CPPFLAGS)
mono_sgen_SOURCES = $(mono_SOURCES)
mono_sgen_CFLAGS = $(AM_CFLAGS)
llvmfullaotcheck:
$(MAKE) fullaotcheck LLVM=1
+gccheck: gc-test.exe
+ MONO_GC_PARAMS=stack-mark=precise MONO_GC_DEBUG=clear-at-gc ./mono-sgen gc-test.exe
+
bench: mono test.exe
time env $(RUNTIME) --ncompile $(count) --compile Test:$(mtest) test.exe
sed -e 's,if (for obj in $$oldobjs,if (for obj in "",g' < ../../libtool > 2; mv 2 ../../libtool
chmod a+x ../../libtool
+# Utility target to patch automake to generate the same format silent output as the old mono silent build did
+patch-automake:
+ src="@echo \" '. \$$name . ' ' x (8 - length (\$$name)) . '\""; dst="@echo \"'. \$$name . ' ' x (7 - length (\$$name)) .'\""; sed -e "s/$$src/$$dst/g" < $$EXE > 2 && cp 2 $$EXE && rm -f 2
+
tags:
etags -o TAGS `find .. -name "*.h" -o -name "*.c"`