Greatly speed up gensources.sh and improve dependency handling
[mono.git] / mcs / tools / Makefile
1 thisdir = tools
2
3 per_profile_dirs = \
4         al              \
5         compiler-tester \
6         linker          \
7         tuner           \
8         csharp          \
9         culevel         \
10         genxs           \
11         mkbundle        \
12         monop           \
13         mono-service    \
14         mono-xsd        \
15         resgen          \
16         wsdl            \
17         xbuild
18
19 net_4_0_dirs := \
20         $(per_profile_dirs) \
21         corcompare      \
22         mono-xmltool    \
23         mdoc            \
24         mono-shlib-cop  \
25         sgen            \
26         mconfig         \
27         installutil     \
28         nunitreport     \
29         pdb2mdb         \
30         sqlsharp        \
31         sqlmetal        \
32         svcutil         \
33         ictool          \
34         disco           \
35         soapsuds        \
36         browsercaps-updater     \
37         cil-strip       \
38         macpack         \
39         dtd2rng         \
40         dtd2xsd         \
41         mod             \
42         installvst      \
43         lc              \
44         mono-configuration-crypto
45
46 net_2_0_dirs := \
47         $(per_profile_dirs) \
48         monodoc         \
49         compiler-tester
50
51 moonlight_dirs := \
52         compiler-tester
53
54 basic_SUBDIRS = gacutil security
55 net_2_0_bootstrap_SUBDIRS = resgen culevel
56 net_2_0_SUBDIRS := $(basic_SUBDIRS) $(net_2_0_dirs)
57 moonlight_raw_SUBDIRS := $(moonlight_dirs)
58 moonlight_SUBDIRS := $(moonlight_dirs)
59 net_4_0_bootstrap_SUBDIRS = resgen culevel
60 net_4_0_SUBDIRS := $(net_4_0_dirs) $(basic_SUBDIRS)
61
62 SUBDIRS = $(basic_SUBDIRS) $(net_2_0_bootstrap_SUBDIRS) $(net_2_0_SUBDIRS) $(moonlight_SUBDIRS)
63 DIST_SUBDIRS = $(SUBDIRS) $(net_4_0_dirs)
64
65 include ../build/rules.make
66
67 DISTFILES = \
68         assemblies.xml                  \
69         mono-win32-setup-dark.bmp       \
70         mono-win32-setup-light.bmp      \
71         mono-win32-setup.nsi            \
72         scan-tests.pl                   \
73         tinderbox/smtp.c                \
74         tinderbox/tinderbox.sh          \
75         removecomments.sh
76
77 test-local csproj-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local doc-update-local:
78         @:
79
80 dist-local: dist-default
81
82 clean-local:
83         rm -f *.exe *.dll *.pdb cormissing.xml