3 SUBDIRS
:= build class tools data
5 net_2_0_SUBDIRS
:= $(SUBDIRS
)
7 include build
/config.make
8 include build
/rules.make
10 ifeq ($(HAVE_DOC_TOOLS
),yes
)
11 PROFILE_SUBDIRS
+= docs
14 all-recursive
$(STD_TARGETS
:=-recursive
): platform-check profile-check
16 .PHONY
: all-local
$(STD_TARGETS
:=-local
)
17 all-local
$(STD_TARGETS
:=-local
):
20 # fun specialty targets
22 PROFILES
= default net_2_0
24 .PHONY
: all-profiles
$(STD_TARGETS
:=-profiles
)
25 all-profiles
$(STD_TARGETS
:=-profiles
): %-profiles
: profiles-do--
%
29 $(MAKE
) $(PROFILES
:%=profile-do--
%--$*)
31 # The % below looks like profile-name--target-name
33 $(MAKE
) PROFILE
=$(subst --, ,$*)
35 # We don't want to run the tests in parallel. We want behaviour like -k.
36 profiles-do--run-test
:
37 ret
=:; $(foreach p
,$(PROFILES
), { $(MAKE
) PROFILE
=$(p
) run-test || ret
=false
; }; ) $$ret
39 # Orchestrate the bootstrap here.
40 _boot_
= all clean install
41 $(_boot_
:%=profile-do--net_2_0--
%): profile-do--net_2_0--
%: profile-do--net_2_0_bootstrap--
%
42 $(_boot_
:%=profile-do--net_2_0_bootstrap--
%): profile-do--net_2_0_bootstrap--
%: profile-do--default--
%
43 $(_boot_
:%=profile-do--default--
%): profile-do--default--
%: profile-do--net_1_1_bootstrap--
%
44 $(_boot_
:%=profile-do--net_1_1_bootstrap--
%): profile-do--net_1_1_bootstrap--
%: profile-do--basic--
%
47 $(MAKE
) TEST_SUBDIRS
="tests errors" run-test-profiles
49 test-installed-compiler
:
50 $(MAKE
) TEST_SUBDIRS
="tests errors" PROFILE
=default TEST_RUNTIME
=mono MCS
=mcs run-test
51 $(MAKE
) TEST_SUBDIRS
="tests errors" PROFILE
=net_2_0 TEST_RUNTIME
=mono MCS
=gmcs run-test
54 dpkg-buildpackage
-rfakeroot
-uc
-b
55 git-archive
--format
=tar --prefix=tf4mono-
$(PACKAGE_VERSION
)/ master . |gzip
> ..
/tf4mono-
$(PACKAGE_VERSION
).tgz
56 cp docs
/tf.html ..
/tf-
$(PACKAGE_VERSION
).html
61 rm -rf debian
/tmp debian
/mono-teamfoundation-client debian
/libmono-teamfoundation-cil
64 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
66 # if you want to run the unit tests against the MS versions of these
67 # assemblies you might find these targets useful
70 cp
/cygdrive
/c
/Program\ Files
/Microsoft\ Visual\ Studio\
8/Common7
/IDE
/PrivateAssemblies
/Microsoft.TeamFoundation.
* class
/lib
/net_2_0
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