Merge pull request #1193 from esdrubal/decimal-round
[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 VALID_TEST_PROFILE := $(filter net_4_5, $(PROFILE))
12
13 # The test exe is not profile specific, and compiling a 2.0 will make the 4.5 tests fail
14 ifdef VALID_TEST_PROFILE
15
16 test-local: dtest-app.exe dtest-excfilter.exe
17
18 dtest-app.exe: Test/dtest-app.cs
19         $(CSCOMPILE) -out:$@ -unsafe -debug -optimize- Test/dtest-app.cs
20
21 dtest-excfilter.exe: Test/dtest-excfilter.il
22         MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
23
24 else
25
26 NO_TEST=1
27 check:
28
29 endif
30
31 CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-excfilter.exe dtest-excfilter.exe.mdb
32
33 EXTRA_DISTFILES = \
34         Test/dtest-app.cs \
35         Test/dtest.cs \
36         Test/dtest-excfilter.il
37
38 #NO_TEST = yes
39
40 include ../../build/library.make