Merge pull request #3766 from BrzVlad/feature-default-conc
[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_HELPERS_SOURCES = \
19         ../test-helpers/NetworkHelpers.cs \
20         Test/TypeLoadClass.cs
21
22 test-local: dtest-app.exe dtest-excfilter.exe
23
24 dtest-app.exe: Test/dtest-app.cs $(TEST_HELPERS_SOURCES)
25         $(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 $(TEST_HELPERS_SOURCES)
26
27 dtest-excfilter.exe: Test/dtest-excfilter.il
28         MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
29
30 else
31
32 NO_TEST=1
33 check:
34
35 endif
36
37 CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-app.pdb dtest-excfilter.exe dtest-excfilter.exe.mdb dtest-excfilter.pdb
38
39 EXTRA_DISTFILES = \
40         Test/dtest-app.cs \
41         Test/dtest.cs \
42         Test/dtest-excfilter.il
43
44 #NO_TEST = yes
45
46 include ../../build/library.make