3 include ..
/build
/rules.make
5 with_mono_path
= MONO_PATH
="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
7 ilasm
= $(topdir
)/class
/lib
/$(PROFILE
)/ilasm.exe
8 ILASM
= $(with_mono_path
) $(RUNTIME
) $(RUNTIME_FLAGS
) $(ilasm
)
18 $(wildcard *.response
) \
19 $(wildcard known-issues-
*) \
20 $(wildcard dlls
/first
/*.cs
) \
21 $(wildcard dlls
/second
/*.cs
)
23 TEST_SUPPORT_FILES
= \
24 CS0012-lib.dll CS0012-2-lib.dll CS0012-3-lib.dll CS0012-4-lib.dll CS0012-5-lib.dll CS0012-6-lib.dll CS0012-9-lib.dll CS0012-10-lib.dll CS0012-11-lib.dll CS0012-12-lib.dll CS0012-13-lib.dll CS0012-14-lib.dll CS0012-15-lib.dll CS0012-16-lib.dll CS0012-17-lib.dll CS0012-18-lib.dll CS0012-21-lib.dll CS0012-22-lib.dll CS0012-23-lib.dll CS0012-24-lib.dll CS0019-71-lib.dll CS0029-26-lib.dll \
25 CS0103-2-lib.dll CS0118-2-lib.dll CS0122-8-lib.dll CS0122-10-lib.dll CS0122-14-lib.dll CS0122-15-lib.dll CS0122-19-lib.dll CS0122-35-lib.dll CS0122-36-lib.dll CS0122-38-lib.dll CS0143-lib.dll CS0144-3-lib.dll CS0165-19-lib.dll CS0165-51-lib.dll \
26 CS0205-3-lib.dll CS0246-29-lib.dll CS0229-3-lib.dll CS0229-4-lib.dll CS0266-25-lib.dll \
28 CS0425-7-lib.dll CS0433-lib.dll CS0433-2-lib.dll \
29 CS0506-3-lib.dll CS0507-7-lib.dll CS0507-8-lib.dll CS0534-3-lib.dll CS0534-4-lib.dll CS0534-6-lib.dll CS0571-3-lib.dll CS0571-5-lib.dll CS0571-6-lib.dll \
30 CS0612-2-lib.dll CS0618-2-lib.dll CS0619-8-lib.dll CS0619-17-lib.dll CS0619-32-lib.dll CS0619-33-lib.dll CS0619-36-lib.dll CS0619-42-lib.dll \
31 CS0619-43-lib.dll CS1546-lib.dll CS0619-51-lib.dll CS1509-module.dll CS1681-2-lib.dll \
32 CS0730-lib.dll CS0731-1-lib.dll CS0731-2-lib.dll \
34 CS1540-15-lib.dll CS1540-17-lib.dll CS1542-lib.dll CS1577-lib.dll \
35 CS1683-lib.dll CS1685-2-lib.dll \
36 dlls
/first
/CS1701-lib.dll dlls
/second
/CS1701-lib.dll CS1701-lib.dll dlls
/first
/CS1702-lib.dll dlls
/second
/CS1702-lib.dll CS1702-lib.dll dlls
/first
/CS1705-lib.dll dlls
/second
/CS1705-lib.dll CS1705-lib.dll \
37 CS2015-lib.dll CS3005-16-lib.dll CS3013-module.dll CSExternAlias-lib.dll \
40 CSFriendAssembly-lib.dll \
41 dlls
/first
/CS1703-lib.dll dlls
/first
/CS1704-lib.dll \
42 dlls
/second
/CS1703-lib.dll dlls
/second
/CS1704-lib.dll
44 -include $(mcs_topdir
)/build
/config.make
47 all-local
$(STD_TARGETS
:=-local
):
49 VALID_PROFILE
:= $(filter $(DEFAULT_PROFILE
), $(PROFILE
))
54 # again, run-test is when the tests actually happen, so
55 # don't compile on make test.
60 run-test-local
: clean-local
65 # Required to test parser correctly
66 # -compiler-options:-v
69 TESTER_OPTIONS
= -compiler-options
:"-v --break-on-ice -d:NET_4_0;NET_4_5"
71 COMPILER
= $(topdir
)/class
/lib
/$(BUILD_TOOLS_PROFILE
)/mcs.exe
72 TESTER
= MONO_RUNTIME
='$(RUNTIME)' $(TEST_RUNTIME
) $(RUNTIME_FLAGS
) $(LOCAL_RUNTIME_FLAGS
) $(topdir
)/class
/lib
/$(PROFILE
)/compiler-tester.exe
74 run-mcs-tests
: $(TEST_SUPPORT_FILES
)
75 $(TESTER
) -mode
:neg
-files
:$(TEST_PATTERN
) -compiler
:$(COMPILER
) -issues
:known-issues-
$(PROFILE
) -log
:$(PROFILE
).log
$(TESTER_OPTIONS
) $(TOPTIONS
)
80 rm -f
*.exe
*.dll
*.log
*.mdb dummy.xml
*.junk dlls
/first
/*.dll dlls
/second
/*.dll
82 dist-local
: dist-default
84 csproj-local install-local uninstall-local
:
86 CS1701-lib.dll
: CS1701-lib.cs
87 $(CSCOMPILE
) /target
:library
/warn
:0 /r
:dlls
/first
/CS1701-lib.dll
/out
:$@
$<
89 CS1702-lib.dll
: CS1702-lib.cs
90 $(CSCOMPILE
) /target
:library
/warn
:0 /r
:dlls
/first
/CS1702-lib.dll
/out
:$@
$<
92 CS1705-lib.dll
: CS1705-lib.cs
93 $(CSCOMPILE
) /target
:library
/warn
:0 /r
:dlls
/first
/CS1705-lib.dll
/out
:$@
$<
96 $(CSCOMPILE
) /target
:library
/warn
:0 /out
:$@
$<
98 %-module.dll
: %-module.cs
99 $(CSCOMPILE
) /target
:module
/out
:$@
$<
102 $(ILASM
) /dll
/out
:$@
$<