Merge pull request #5528 from rodrmoya/fix-mono-profiler-lib
[mono.git] / mcs / tools / monop / Makefile
1 thisdir = tools/monop
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 PROGRAM = monop.exe
6 LOCAL_MCS_FLAGS += -d:NO_AUTHENTICODE,STATIC,NO_SYMBOL_WRITER
7 LIB_REFS = System
8
9 CLEAN_FILES = monop.exe monop2.exe *.mdb
10
11 include ../../build/executable.make
12
13 run-test-local : basic-tests
14
15 basic-tests:
16         for type in System.Array System.String 'System.Collections.Generic.List`1'; do \
17         echo $$type; MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(build_lib) $$type >/dev/null || exit 1; done