Merge pull request #2819 from BrzVlad/fix-major-log
[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_REFS = System Mono.Cecil System.Core
8 LIB_MCS_FLAGS = /unsafe -D:MONO_DATACONVERTER_STATIC_METHODS -keyfile:$(LIBRARY_SNK) /publicsign
9
10 TEST_MCS_FLAGS =
11 TEST_LIB_REFS = Mono.Cecil System System.Core
12
13 VALID_TEST_PROFILE := $(filter net_4_x, $(PROFILE))
14
15 # The test exe is not profile specific, and compiling a 2.0 will make the 4.5 tests fail
16 ifdef VALID_TEST_PROFILE
17
18 test-local: dtest-app.exe dtest-excfilter.exe
19
20 dtest-app.exe: Test/dtest-app.cs
21         $(CSCOMPILE) -r:$(topdir)/class/lib/$(PROFILE)/System.Core.dll -r:$(topdir)/class/lib/$(PROFILE)/System.dll -out:$@ -unsafe $(PLATFORM_DEBUG_FLAGS) -optimize- Test/dtest-app.cs
22
23 dtest-excfilter.exe: Test/dtest-excfilter.il
24         MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
25
26 else
27
28 NO_TEST=1
29 check:
30
31 endif
32
33 CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-app.pdb dtest-excfilter.exe dtest-excfilter.exe.mdb dtest-excfilter.pdb
34
35 EXTRA_DISTFILES = \
36         Test/dtest-app.cs \
37         Test/dtest.cs \
38         Test/dtest-excfilter.il
39
40 #NO_TEST = yes
41
42 include ../../build/library.make