Bump corefx
[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 /publicsign
9 KEYFILE = $(LIBRARY_SNK)
10
11 TEST_MCS_FLAGS =
12 TEST_LIB_REFS = Mono.Cecil System System.Core
13
14 VALID_TEST_PROFILE := $(filter net_4_x, $(PROFILE))
15
16 # The test exe is not profile specific, and compiling a 2.0 will make the 4.5 tests fail
17 ifdef VALID_TEST_PROFILE
18
19 TEST_HELPERS_SOURCES = \
20         ../test-helpers/NetworkHelpers.cs \
21         Test/TypeLoadClass.cs
22
23 test-local: dtest-app.exe dtest-excfilter.exe
24
25 dtest-app.exe: Test/dtest-app.cs $(TEST_HELPERS_SOURCES)
26         $(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)
27
28 dtest-excfilter.exe: Test/dtest-excfilter.il
29         $(ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
30
31 else
32
33 NO_TEST=1
34 check:
35
36 endif
37
38 CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-app.pdb dtest-excfilter.exe dtest-excfilter.exe.mdb dtest-excfilter.pdb
39
40 EXTRA_DISTFILES = \
41         Test/dtest-app.cs \
42         Test/dtest.cs \
43         Test/dtest-excfilter.il
44
45 #NO_TEST = yes
46
47 include ../../build/library.make