3 SUBDIRS
:= build class tools nunit20 data docs
5 net_2_0_SUBDIRS
:= $(SUBDIRS
)
7 include build
/rules.make
9 all-recursive
$(STD_TARGETS
:=-recursive
): platform-check profile-check
11 .PHONY
: all-local
$(STD_TARGETS
:=-local
)
12 all-local
$(STD_TARGETS
:=-local
):
15 # fun specialty targets
17 PROFILES
= default net_2_0
19 .PHONY
: all-profiles
$(STD_TARGETS
:=-profiles
)
20 all-profiles
$(STD_TARGETS
:=-profiles
): %-profiles
: profiles-do--
%
24 $(MAKE
) $(PROFILES
:%=profile-do--
%--$*)
26 # The % below looks like profile-name--target-name
28 $(MAKE
) PROFILE
=$(subst --, ,$*)
30 # We don't want to run the tests in parallel. We want behaviour like -k.
31 profiles-do--run-test
:
32 ret
=:; $(foreach p
,$(PROFILES
), { $(MAKE
) PROFILE
=$(p
) run-test || ret
=false
; }; ) $$ret
34 # Orchestrate the bootstrap here.
35 _boot_
= all clean install
36 $(_boot_
:%=profile-do--net_2_0--
%): profile-do--net_2_0--
%: profile-do--net_2_0_bootstrap--
%
37 $(_boot_
:%=profile-do--net_2_0_bootstrap--
%): profile-do--net_2_0_bootstrap--
%: profile-do--default--
%
38 $(_boot_
:%=profile-do--default--
%): profile-do--default--
%: profile-do--net_1_1_bootstrap--
%
39 $(_boot_
:%=profile-do--net_1_1_bootstrap--
%): profile-do--net_1_1_bootstrap--
%: profile-do--basic--
%
42 $(MAKE
) TEST_SUBDIRS
="tests errors" run-test-profiles
44 test-installed-compiler
:
45 $(MAKE
) TEST_SUBDIRS
="tests errors" PROFILE
=default TEST_RUNTIME
=mono MCS
=mcs run-test
46 $(MAKE
) TEST_SUBDIRS
="tests errors" PROFILE
=net_2_0 TEST_RUNTIME
=mono MCS
=gmcs run-test
50 dist-local
: dist-default
56 dist-tarball
: dist-pre
57 $(MAKE
) distdir
='$(package)' dist-recursive
58 tar cvzf
$(package
).
tar.gz
$(package
)
63 # if you want to run the unit tests against the MS versions of these
64 # assemblies you might find this target useful
66 cp
/cygdrive
/c
/Program\ Files
/Microsoft\ Visual\ Studio\
8/Common7
/IDE
/PrivateAssemblies
/Microsoft.TeamFoundation.
* class
/lib
/net_2_0
69 gmcs sample.cs
-r
:Microsoft.TeamFoundation.dll
-r
:Microsoft.TeamFoundation.Client.dll
-r
:Microsoft.TeamFoundation.VersionControl.Client.dll
-r
:Microsoft.TeamFoundation.VersionControl.Common.dll
-r
:Microsoft.TeamFoundation.Common.dll
72 cp
/cygdrive
/c
/Program\ Files
/Microsoft\ Visual\ Studio\
8/Common7
/IDE
/PrivateAssemblies
/Microsoft.TeamFoundation.
* .
73 csc sample.cs
-r
:Microsoft.TeamFoundation.dll
-r
:Microsoft.TeamFoundation.Client.dll
-r
:Microsoft.TeamFoundation.VersionControl.Client.dll
-r
:Microsoft.TeamFoundation.VersionControl.Common.dll
-r
:Microsoft.TeamFoundation.Common.dll