From: Jeffrey Stedfast Date: Tue, 17 Apr 2012 20:45:17 +0000 (-0400) Subject: [xbuild] Add a Microsoft.Portable.CSharp.targets file X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=80ed5ee5b57020aa94fcdedfc08cd7bbc12f26e4;p=mono.git [xbuild] Add a Microsoft.Portable.CSharp.targets file --- diff --git a/mcs/tools/xbuild/Makefile b/mcs/tools/xbuild/Makefile index d06b6b25447..1aff818f22a 100644 --- a/mcs/tools/xbuild/Makefile +++ b/mcs/tools/xbuild/Makefile @@ -36,6 +36,7 @@ install-local: install-extras WEBAPP_DIR = Microsoft/VisualStudio/v9.0/WebApplications SILVERLIGHT_DIR = $(mono_libdir)/mono/xbuild/Microsoft/Silverlight +PORTABLE_DIR = $(mono_libdir)/mono/xbuild/Microsoft/Portable EXTRAS_DIR = $(mono_libdir)/mono/$(INSTALL_FRAMEWORK_VERSION) install-extras: $(MKINSTALLDIRS) $(DESTDIR)$(EXTRAS_DIR) $(DESTDIR)$(REDISTLIST_DIR) $(DESTDIR)$(XBUILD_FRAMEWORKS_DIR)/v3.0/RedistList $(DESTDIR)$(XBUILD_FRAMEWORKS_DIR)/v4.0/RedistList @@ -62,6 +63,8 @@ install-extras: $(INSTALL_DATA) xbuild/Microsoft.Silverlight.VisualBasic.targets $(DESTDIR)$(SILVERLIGHT_DIR)/v3.0 sed -e 's/@SILVERLIGHT_VERSION@/2.0/g' xbuild/Microsoft.Silverlight.Common.targets > $(DESTDIR)$(SILVERLIGHT_DIR)/v2.0/Microsoft.Silverlight.Common.targets sed -e 's/@SILVERLIGHT_VERSION@/3.0/g' xbuild/Microsoft.Silverlight.Common.targets > $(DESTDIR)$(SILVERLIGHT_DIR)/v3.0/Microsoft.Silverlight.Common.targets + $(MKINSTALLDIRS) $(DESTDIR)$(PORTABLE_DIR)/v4.0 + $(INSTALL_DATA) xbuild/Microsoft.Portable.CSharp.targets $(DESTDIR)$(PORTABLE_DIR)/v4.0 EXTRA_DISTFILES = \ xbuild/xbuild.rsp \ @@ -87,4 +90,5 @@ EXTRA_DISTFILES = \ xbuild/Microsoft.Silverlight.Common.targets \ xbuild/Microsoft.Silverlight.CSharp.targets \ xbuild/Microsoft.Silverlight.VisualBasic.targets \ + xbuild/Microsoft.Portable.CSharp.targets \ xbuild_targets.make diff --git a/mcs/tools/xbuild/xbuild/Microsoft.Portable.CSharp.targets b/mcs/tools/xbuild/xbuild/Microsoft.Portable.CSharp.targets new file mode 100644 index 00000000000..91e546f1b4a --- /dev/null +++ b/mcs/tools/xbuild/xbuild/Microsoft.Portable.CSharp.targets @@ -0,0 +1,35 @@ + + + + + + .NETFramework + v4.0 + + + + + MonoTouch + v1.0 + + + + + v1.0 + + + + + + + + PortableCompatWarning; + $(BuildDependsOn); + + + + + + + +