1 thisdir
= class
/Mono.Debugger.Soft
2 include ..
/..
/build
/rules.make
4 LIBRARY
= Mono.Debugger.Soft.dll
5 LIBRARY_SNK
= ..
/mono.snk
7 LIB_REFS
= System Mono.Cecil System.Core
8 LIB_MCS_FLAGS
= /unsafe
-D
:MONO_DATACONVERTER_STATIC_METHODS
-D
:ENABLE_CECIL
/publicsign
9 KEYFILE
= $(LIBRARY_SNK
)
11 TEST_LIB_REFS
= Mono.Cecil System System.Core
13 ifneq ($(filter monodroid monotouch monotouch_tv monotouch_watch wasm net_4_x
,$(PROFILE
)),)
14 test-local
: build-dtest
17 ifneq ($(filter monodroid monotouch monotouch_tv monotouch_watch wasm
,$(PROFILE
)),)
23 test_output_dir
=$(topdir
)/class
/lib
/$(PROFILE
)/tests
28 build-dtest
: $(test_output_dir
)/dtest-app.exe
$(test_output_dir
)/dtest-excfilter.exe
30 $(test_output_dir
)/dtest-excfilter.exe
: Test
/dtest-excfilter.il |
$(test_output_dir
)
31 $(ILASM
) -out
:$@
/exe
/debug Test
/dtest-excfilter.il
33 $(test_output_dir
)/dtest-app.exe
: Test
/dtest-app.cs
$(TEST_HELPERS_SOURCES
) |
$(test_output_dir
)
34 $(CSCOMPILE
) -r
:$(topdir
)/class
/lib
/$(PROFILE
)/mscorlib.dll
-r
:$(topdir
)/class
/lib
/$(PROFILE
)/System.Core.dll
-r
:$(topdir
)/class
/lib
/$(PROFILE
)/System.dll
-r
:$(topdir
)/class
/lib
/$(PROFILE
)/System.Runtime.CompilerServices.Unsafe.dll
-sourcelink
:Test
/sourcelink.json
-out
:$@
-unsafe
$(PLATFORM_DEBUG_FLAGS
) -optimize- Test
/dtest-app.cs
$(TEST_HELPERS_SOURCES
)
36 TEST_HELPERS_SOURCES
= \
37 ..
/test-helpers
/NetworkHelpers.cs \
43 Test
/dtest-excfilter.il \
44 Test
/sourcelink.json \
45 $(TEST_HELPERS_SOURCES
)
47 CLEAN_FILES
= $(addprefix $(test_output_dir
)/, dtest-app.exe dtest-app.exe.mdb dtest-app.pdb dtest-excfilter.exe dtest-excfilter.exe.mdb dtest-excfilter.pdb
)
49 include ..
/..
/build
/library.make