Build debugger tests with disabled code optimizations
[mono.git] / mcs / class / Mono.Debugger.Soft / Makefile
1 thisdir = class/Mono.Debugger.Soft
2 include ../../build/rules.make
3
4 LIBRARY = Mono.Debugger.Soft.dll
5 LIBRARY_SNK = ../mono.snk
6
7 LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:Mono.Cecil.dll /r:System.Core.dll /unsafe -D:MONO_DATACONVERTER_STATIC_METHODS -keyfile:$(LIBRARY_SNK)
8
9 TEST_MCS_FLAGS = /r:Mono.Cecil.dll /r:System.dll /r:System.Core.dll
10
11 test-local: dtest-app.exe dtest-excfilter.exe
12
13 dtest-app.exe: Test/dtest-app.cs
14         $(CSCOMPILE) -out:$@ -unsafe -debug -optimize- Test/dtest-app.cs
15
16 dtest-excfilter.exe: Test/dtest-excfilter.il
17         MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
18
19 CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-excfilter.exe dtest-excfilter.exe.mdb
20
21 EXTRA_DISTFILES = \
22         Test/dtest-app.cs \
23         Test/dtest.cs \
24         Test/dtest-excfilter.il
25
26 #NO_TEST = yes
27
28 include ../../build/library.make