fcb1da67fc8452ca9eb5cd73630f20ac634bf361
[mono.git] / mcs / tools / Makefile
1 thisdir = tools
2 SUBDIRS = cilc corcompare ictool mono-xsd security wsdl genxs SqlSharp
3 include ../build/rules.make
4
5 MONO_TOOLS = \
6         monostyle.exe           \
7         GenerateDelegate.exe    \
8         EnumCheck.exe           \
9         IFaceDisco.exe
10
11 DISTFILES = \
12         assemblies.xml                  \
13         DumpCultureInfo.cs              \
14         EnumCheckAssemblyCollection.cs  \
15         EnumCheck.cs                    \
16         GenerateDelegate.cs             \
17         IFaceDisco.cs                   \
18         monostyle.cs                    \
19         mono-win32-setup-dark.bmp       \
20         mono-win32-setup-light.bmp      \
21         mono-win32-setup.nsi            \
22         sample_cast_const.cs            \
23         scan-tests.pl                   \
24         serialize.cs                    \
25         verifier.cs                     \
26         XMLUtil.cs                      \
27         tinderbox/smtp.c                \
28         tinderbox/tinderbox.sh
29
30 all-local: $(MONO_TOOLS)
31
32 install-local: all-local
33         $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
34         for t in $(MONO_TOOLS) ; do \
35            $(INSTALL_BIN) $$t $(DESTDIR)$(prefix)/bin ; \
36         done
37
38 test-local run-test-local:
39
40 clean-local:
41         rm -f *.exe *.dll *.pdb cormissing.xml
42
43 dist-local: dist-default
44
45 %.exe: %.cs
46         $(CSCOMPILE) /target:exe /out:$@ $^
47
48 EnumCheck.exe: EnumCheck.cs EnumCheckAssemblyCollection.cs
49         $(CSCOMPILE) /target:exe /out:$@ $^
50
51 IFaceDisco.exe: IFaceDisco.cs XMLUtil.cs
52         $(CSCOMPILE) /target:exe /out:$@ $^