New test.
[mono.git] / mcs / tools / xbuild / Makefile
1 thisdir = tools/xbuild
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LOCAL_MCS_FLAGS = -r:Microsoft.Build.Framework.dll -r:Microsoft.Build.Utilities.dll -r:Microsoft.Build.Engine.dll
6 PROGRAM = xbuild.exe
7
8 include ../../build/executable.make
9
10 install-local:  install-extras
11
12 EXTRAS_DIR = $(mono_libdir)/mono/xbuild
13 install-extras: 
14         $(MKINSTALLDIRS) $(DESTDIR)$(EXTRAS_DIR)
15         $(INSTALL_DATA) xbuild/xbuild.rsp $(DESTDIR)$(EXTRAS_DIR)
16         $(INSTALL_DATA) xbuild/Microsoft.Common.tasks $(DESTDIR)$(EXTRAS_DIR)
17         $(INSTALL_DATA) xbuild/Microsoft.Build.xsd $(DESTDIR)$(EXTRAS_DIR)
18         $(INSTALL_DATA) xbuild/Microsoft.CSharp.targets $(DESTDIR)$(EXTRAS_DIR)
19 #       cp xbuild/Microsoft.CSharp.targets xbuild/Microsoft.CSharp.Targets
20 #       $(INSTALL_DATA) xbuild/Microsoft.CSharp.Targets $(DESTDIR)$(EXTRAS_DIR)
21
22         $(MKINSTALLDIRS) $(DESTDIR)$(EXTRAS_DIR)/MSBuild
23         $(INSTALL_DATA) xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd $(DESTDIR)$(EXTRAS_DIR)/MSBuild
24         $(INSTALL_DATA) xbuild/MSBuild/Microsoft.Build.Core.xsd $(DESTDIR)$(EXTRAS_DIR)/MSBuild
25
26 EXTRA_DISTFILES = \
27         xbuild/xbuild.rsp \
28         xbuild/Microsoft.Common.tasks \
29         xbuild/Microsoft.Build.xsd \
30         xbuild/Microsoft.CSharp.targets \
31         xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd \
32         xbuild/MSBuild/Microsoft.Build.Core.xsd