2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / tools / Makefile
index b7fe1c78a0225242191f72ece7ccc500a45ddcd8..970ac6d2e1a49fe4380c998da72b604345421969 100644 (file)
@@ -1,17 +1,66 @@
 thisdir = tools
-SUBDIRS = \
-       al cilc corcompare culevel ictool mono-xsd security wsdl genxs sqlsharp         \
-       disco soapsuds browsercaps-updater monop gacutil linker tuner \
-       resgen macpack mkbundle dtd2rng dtd2xsd mjs prj2make mono-service \
-       mono-shlib-cop compiler-tester mono-xmltool installvst
 
-net_1_1_bootstrap_SUBDIRS = gacutil security resgen culevel
-net_2_0_bootstrap_SUBDIRS = resgen
+per_profile_dirs = \
+       al              \
+       compiler-tester \
+       linker          \
+       tuner           \
+       csharp          \
+       culevel         \
+       genxs           \
+       mkbundle        \
+       monop           \
+       mono-service    \
+       mono-xsd        \
+       resgen          \
+       wsdl            \
+       xbuild
 
-net_2_0_SUBDIRS = al corcompare wsdl compiler-tester monop xbuild resgen mono-service mkbundle sgen security mconfig
-net_2_1_SUBDIRS = tuner
+net_4_0_dirs := \
+       $(per_profile_dirs) \
+       corcompare      \
+       mono-xmltool    \
+       mdoc            \
+       mono-shlib-cop  \
+       sgen            \
+       mconfig         \
+       installutil     \
+       nunitreport     \
+       pdb2mdb         \
+       sqlsharp        \
+       sqlmetal        \
+       svcutil         \
+       ictool          \
+       disco           \
+       soapsuds        \
+       browsercaps-updater     \
+       cil-strip       \
+       macpack         \
+       dtd2rng         \
+       dtd2xsd         \
+       mod             \
+       installvst      \
+       lc              \
+       mono-configuration-crypto
 
-DIST_ONLY_SUBDIRS = xbuild sgen mconfig
+net_2_0_dirs := \
+       $(per_profile_dirs) \
+       monodoc         \
+       compiler-tester
+
+moonlight_dirs := \
+       compiler-tester
+
+basic_SUBDIRS = gacutil security
+net_2_0_bootstrap_SUBDIRS = resgen culevel
+net_2_0_SUBDIRS := $(basic_SUBDIRS) $(net_2_0_dirs)
+moonlight_raw_SUBDIRS := $(moonlight_dirs)
+moonlight_SUBDIRS := $(moonlight_dirs)
+net_4_0_bootstrap_SUBDIRS = resgen culevel
+net_4_0_SUBDIRS := $(net_4_0_dirs) $(basic_SUBDIRS)
+
+SUBDIRS = $(basic_SUBDIRS) $(net_2_0_bootstrap_SUBDIRS) $(net_2_0_SUBDIRS) $(moonlight_SUBDIRS)
+DIST_SUBDIRS = $(SUBDIRS) $(net_4_0_dirs)
 
 include ../build/rules.make
 
@@ -23,10 +72,9 @@ DISTFILES = \
        scan-tests.pl                   \
        tinderbox/smtp.c                \
        tinderbox/tinderbox.sh          \
-       gensources.sh                   \
        removecomments.sh
 
-test-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local:
+test-local csproj-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local doc-update-local:
        @:
 
 dist-local: dist-default