2010-03-12 Jb Evain <jbevain@novell.com>
[mono.git] / mcs / tools / xbuild / Makefile
1 thisdir = tools/xbuild
2 SUBDIRS = 
3 include ../../build/rules.make
4 HAS_NUNIT_TEST = yes
5
6 LOCAL_MCS_FLAGS = -r:Microsoft.Build.Framework.dll -r:Microsoft.Build.Utilities.dll -r:Microsoft.Build.Engine.dll
7 PROGRAM = xbuild.exe
8
9 include ../../build/executable.make
10
11 install-local:  install-extras
12
13 WEBAPP_DIR = Microsoft/VisualStudio/v9.0/WebApplications
14 EXTRAS_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
15 install-extras: 
16         $(MKINSTALLDIRS) $(DESTDIR)$(EXTRAS_DIR)
17         $(INSTALL_DATA) xbuild/xbuild.rsp $(DESTDIR)$(EXTRAS_DIR)
18         $(INSTALL_DATA) xbuild/Microsoft.Common.tasks $(DESTDIR)$(EXTRAS_DIR)
19         $(INSTALL_DATA) xbuild/Microsoft.Build.xsd $(DESTDIR)$(EXTRAS_DIR)
20         $(INSTALL_DATA) xbuild/Microsoft.Common.targets $(DESTDIR)$(EXTRAS_DIR)
21         $(INSTALL_DATA) xbuild/Microsoft.CSharp.targets $(DESTDIR)$(EXTRAS_DIR)
22         $(INSTALL_DATA) xbuild/Microsoft.VisualBasic.targets $(DESTDIR)$(EXTRAS_DIR)
23         $(MKINSTALLDIRS) $(DESTDIR)$(EXTRAS_DIR)/MSBuild
24         $(INSTALL_DATA) xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd $(DESTDIR)$(EXTRAS_DIR)/MSBuild
25         $(INSTALL_DATA) xbuild/MSBuild/Microsoft.Build.Core.xsd $(DESTDIR)$(EXTRAS_DIR)/MSBuild
26         $(MKINSTALLDIRS) $(DESTDIR)$(mono_libdir)/mono/xbuild
27         $(MKINSTALLDIRS) $(DESTDIR)$(mono_libdir)/mono/xbuild/$(WEBAPP_DIR)
28         $(INSTALL_DATA) xbuild/Microsoft.WebApplication.targets $(DESTDIR)$(mono_libdir)/mono/xbuild/$(WEBAPP_DIR)
29
30 EXTRA_DISTFILES = \
31         xbuild/xbuild.rsp \
32         xbuild/Microsoft.Common.tasks \
33         xbuild/Microsoft.Build.xsd \
34         xbuild/Microsoft.CSharp.targets \
35         xbuild/Microsoft.Common.targets \
36         xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd \
37         xbuild/MSBuild/Microsoft.Build.Core.xsd         \
38         xbuild/Microsoft.VisualBasic.targets \
39         xbuild/Microsoft.WebApplication.targets