3 include ../build/rules.make
5 ifeq (default, $(PROFILE))
6 # force this, we don't case if CSC is broken. This also
7 # means we can use --options, yay.
9 MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS)
12 GENERICS_COMPILE = $(CSCOMPILE) /target:library
22 $(wildcard *.response) \
23 mcs-expect-no-error mcs-expect-wrong-error mcs-ignore-tests \
24 gmcs-expect-no-error gmcs-expect-wrong-error gmcs-ignore-tests \
25 generics-expect-no-error generics-expect-wrong-error
27 all-local: CS0118-2-lib.dll CS0122-10-lib.dll CS0534-3-lib.dll CS0534-4-lib.dll CS0571-3-lib.dll \
28 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 \
29 CS3005-16-lib.dll CS3013-module.dll
33 run-test-ondotnet-local:
35 # again, run-test is when the tests actually happen, so
36 # don't compile on make test.
38 run-test-local: run-mcs-tests
42 ifeq (net_2_0, $(PROFILE))
44 run-test-local: run-generics-tests
48 $(MAKE) PROFILE=default run-test
49 $(MAKE) PROFILE=net_2_0 run-test
52 -rm -f $(TEST_PROFILE).log
53 @./do-tests.pl $(TEST_PROFILE) '$(CSCOMPILE)' "cs*.cs"
57 @./do-tests.pl generics '$(GENERICS_COMPILE)' "gcs*.cs"
60 rm -f *.exe *.dll *.log *.mdb dummy.xml *.junk
62 dist-local: dist-default
64 install-local uninstall-local:
67 $(BOOTSTRAP_MCS) /target:library /out:$@ $<
69 %-module.dll: %-module.cs
70 $(BOOTSTRAP_MCS) /target:module /out:$@ $<