From d583cc703bf96efbbcbbb75f609c8bb8f954c838 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 11 Sep 2015 18:09:29 +0200 Subject: [PATCH] Add a monotouch_tv profile. --- configure.ac | 4 ++++ mcs/Makefile | 2 ++ mcs/build/profiles/monotouch_tv.make | 4 ++++ mcs/class/Facades/Makefile | 1 + mcs/class/Makefile | 2 ++ mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources | 2 ++ .../Mono.Security/monotouch_tv_Mono.Security.dll.sources | 1 + mcs/class/System.Core/monotouch_tv_System.Core.dll.sources | 2 ++ mcs/class/System.Data/monotouch_tv_System.Data.dll.sources | 1 + .../monotouch_tv_System.Runtime.Serialization.dll.sources | 1 + .../monotouch_tv_System.ServiceModel.Web.dll.sources | 1 + .../monotouch_tv_System.ServiceModel.dll.sources | 1 + .../monotouch_tv_System.Web.Services.dll.sources | 1 + mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources | 1 + mcs/class/System/monotouch_tv_System.dll.sources | 1 + mcs/class/corlib/monotouch_tv_corlib.dll.sources | 1 + runtime/Makefile.am | 4 ++++ 17 files changed, 30 insertions(+) create mode 100644 mcs/build/profiles/monotouch_tv.make create mode 100644 mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources create mode 100644 mcs/class/Mono.Security/monotouch_tv_Mono.Security.dll.sources create mode 100644 mcs/class/System.Core/monotouch_tv_System.Core.dll.sources create mode 100644 mcs/class/System.Data/monotouch_tv_System.Data.dll.sources create mode 100644 mcs/class/System.Runtime.Serialization/monotouch_tv_System.Runtime.Serialization.dll.sources create mode 100644 mcs/class/System.ServiceModel.Web/monotouch_tv_System.ServiceModel.Web.dll.sources create mode 100644 mcs/class/System.ServiceModel/monotouch_tv_System.ServiceModel.dll.sources create mode 100644 mcs/class/System.Web.Services/monotouch_tv_System.Web.Services.dll.sources create mode 100644 mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources create mode 100644 mcs/class/System/monotouch_tv_System.dll.sources create mode 100644 mcs/class/corlib/monotouch_tv_corlib.dll.sources diff --git a/configure.ac b/configure.ac index e26a851de63..a1b19f5921e 100644 --- a/configure.ac +++ b/configure.ac @@ -3441,6 +3441,7 @@ AC_ARG_WITH(profile4_x, [ --with-profile4=yes,no If you want to i AC_ARG_WITH(monodroid, [ --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)], [], [with_monodroid=no]) AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no If you want to build the Xamarin.iOS assemblies (defaults to no)], [], [with_monotouch=no]) AC_ARG_WITH(monotouch_watch, [ --with-monotouch_watch=yes,no If you want to build the Xamarin.WatchOS assemblies (defaults to no)],[], [with_monotouch_watch=no]) +AC_ARG_WITH(monotouch_tv, [ --with-monotouch_tv=yes,no If you want to build the Xamarin.TVOS assemblies (defaults to no)], [], [with_monotouch_tv=no]) AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=no]) OPROFILE=no @@ -3529,6 +3530,7 @@ if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then with_monodroid=no with_monotouch=no with_monotouch_watch=no + with_monotouch_tv=no with_xammac=no fi @@ -3552,6 +3554,7 @@ AM_CONDITIONAL(INSTALL_4_x, [test "x$with_profile4_x" = xyes]) AM_CONDITIONAL(INSTALL_MONODROID, [test "x$with_monodroid" != "xno"]) AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"]) AM_CONDITIONAL(INSTALL_MONOTOUCH_WATCH, [test "x$with_monotouch_watch" != "xno"]) +AM_CONDITIONAL(INSTALL_MONOTOUCH_TV, [test "x$with_monotouch_tv" != "xno"]) AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"]) AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes) @@ -3970,6 +3973,7 @@ echo " MonoDroid: $with_monodroid Xamarin.iOS: $with_monotouch Xamarin.WatchOS: $with_monotouch_watch + Xamarin.TVOS: $with_monotouch_tv Xamarin.Mac: $with_xammac JNI support: $jdk_headers_found libgdiplus: $libgdiplus_msg diff --git a/mcs/Makefile b/mcs/Makefile index f465c09c247..35ae9f963f5 100644 --- a/mcs/Makefile +++ b/mcs/Makefile @@ -9,6 +9,7 @@ build_SUBDIRS := build class mcs class/aot-compiler tools monodroid_SUBDIRS := build class monotouch_SUBDIRS := build class monotouch_watch_SUBDIRS := build class +monotouch_tv_SUBDIRS := build class monotouch_runtime_SUBDIRS := build class xammac_SUBDIRS := build class mobile_SUBDIRS := build class @@ -62,6 +63,7 @@ $(_boot_:%=profile-do--net_4_x--%): profile-do--net_4_x--%: $(_boot_:%=profile-do--monodroid--%): profile-do--monodroid--%: profile-do--build--% $(_boot_:%=profile-do--monotouch--%): profile-do--monotouch--%: profile-do--build--% $(_boot_:%=profile-do--monotouch_watch--%): profile-do--monotouch_watch--%: profile-do--build--% +$(_boot_:%=profile-do--monotouch_tv--%): profile-do--monotouch_tv--%: profile-do--build--% $(_boot_:%=profile-do--monotouch_runtime--%): profile-do--monotouch_runtime--%: profile-do--build--% $(_boot_:%=profile-do--xammac--%): profile-do--xammac--%: profile-do--build--% $(_boot_:%=profile-do--xammac_net_4_5--%): profile-do--xammac_net_4_5--%: profile-do--build--% diff --git a/mcs/build/profiles/monotouch_tv.make b/mcs/build/profiles/monotouch_tv.make new file mode 100644 index 00000000000..b546e50c167 --- /dev/null +++ b/mcs/build/profiles/monotouch_tv.make @@ -0,0 +1,4 @@ +include $(topdir)/build/profiles/monotouch.make + +PROFILE_MCS_FLAGS += \ + -d:MONOTOUCH_TV diff --git a/mcs/class/Facades/Makefile b/mcs/class/Facades/Makefile index 37744ad64c8..d6f1146e5f6 100644 --- a/mcs/class/Facades/Makefile +++ b/mcs/class/Facades/Makefile @@ -39,6 +39,7 @@ xammac_PARALLEL_SUBDIRS = $(monotouch_PARALLEL_SUBDIRS) xammac_net_4_5_PARALLEL_SUBDIRS = $(monotouch_PARALLEL_SUBDIRS) $(reflection_PARALLEL_SUBDIRS) monotouch_watch_PARALLEL_SUBDIRS = $(monotouch_PARALLEL_SUBDIRS) +monotouch_tv_PARALLEL_SUBDIRS = $(monotouch_PARALLEL_SUBDIRS) PROFILE_PARALLEL_SUBDIRS = $(net_4_x_PARALLEL_SUBDIRS) diff --git a/mcs/class/Makefile b/mcs/class/Makefile index 3e336f98532..4c507428bf0 100644 --- a/mcs/class/Makefile +++ b/mcs/class/Makefile @@ -73,6 +73,7 @@ monotouch_dirs := \ $(mobile_static_dirs) monotouch_watch_dirs := $(monotouch_dirs) +monotouch_tv_dirs := $(monotouch_dirs) monotouch_runtime_dirs := \ corlib \ @@ -271,6 +272,7 @@ xbuild_4_0_dirs := \ monodroid_SUBDIRS := $(monodroid_dirs) monotouch_SUBDIRS := $(monotouch_dirs) monotouch_watch_SUBDIRS := $(monotouch_watch_dirs) +monotouch_tv_SUBDIRS := $(monotouch_tv_dirs) monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs) mobile_static_SUBDIRS := $(mobile_static_dirs) mobile_SUBDIRS := $(mobile_dynamic_dirs) diff --git a/mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources b/mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources new file mode 100644 index 00000000000..6a71501e34c --- /dev/null +++ b/mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources @@ -0,0 +1,2 @@ +#include mobile_static_Mono.CSharp.dll.sources +monotouch.cs diff --git a/mcs/class/Mono.Security/monotouch_tv_Mono.Security.dll.sources b/mcs/class/Mono.Security/monotouch_tv_Mono.Security.dll.sources new file mode 100644 index 00000000000..007d94062fd --- /dev/null +++ b/mcs/class/Mono.Security/monotouch_tv_Mono.Security.dll.sources @@ -0,0 +1 @@ +#include monotouch_Mono.Security.dll.sources \ No newline at end of file diff --git a/mcs/class/System.Core/monotouch_tv_System.Core.dll.sources b/mcs/class/System.Core/monotouch_tv_System.Core.dll.sources new file mode 100644 index 00000000000..7d32d44a88b --- /dev/null +++ b/mcs/class/System.Core/monotouch_tv_System.Core.dll.sources @@ -0,0 +1,2 @@ +#include common_System.Core.dll.sources +#include interpreter_System.Core.dll.sources diff --git a/mcs/class/System.Data/monotouch_tv_System.Data.dll.sources b/mcs/class/System.Data/monotouch_tv_System.Data.dll.sources new file mode 100644 index 00000000000..bbc860b8cd7 --- /dev/null +++ b/mcs/class/System.Data/monotouch_tv_System.Data.dll.sources @@ -0,0 +1 @@ +#include mobile_System.Data.dll.sources diff --git a/mcs/class/System.Runtime.Serialization/monotouch_tv_System.Runtime.Serialization.dll.sources b/mcs/class/System.Runtime.Serialization/monotouch_tv_System.Runtime.Serialization.dll.sources new file mode 100644 index 00000000000..6caafd41198 --- /dev/null +++ b/mcs/class/System.Runtime.Serialization/monotouch_tv_System.Runtime.Serialization.dll.sources @@ -0,0 +1 @@ +#include mobile_System.Runtime.Serialization.dll.sources diff --git a/mcs/class/System.ServiceModel.Web/monotouch_tv_System.ServiceModel.Web.dll.sources b/mcs/class/System.ServiceModel.Web/monotouch_tv_System.ServiceModel.Web.dll.sources new file mode 100644 index 00000000000..cbea0fae7b4 --- /dev/null +++ b/mcs/class/System.ServiceModel.Web/monotouch_tv_System.ServiceModel.Web.dll.sources @@ -0,0 +1 @@ +#include mobile_System.ServiceModel.Web.dll.sources diff --git a/mcs/class/System.ServiceModel/monotouch_tv_System.ServiceModel.dll.sources b/mcs/class/System.ServiceModel/monotouch_tv_System.ServiceModel.dll.sources new file mode 100644 index 00000000000..22ece5ce8ce --- /dev/null +++ b/mcs/class/System.ServiceModel/monotouch_tv_System.ServiceModel.dll.sources @@ -0,0 +1 @@ +#include mobile_System.ServiceModel.dll.sources diff --git a/mcs/class/System.Web.Services/monotouch_tv_System.Web.Services.dll.sources b/mcs/class/System.Web.Services/monotouch_tv_System.Web.Services.dll.sources new file mode 100644 index 00000000000..9e39dcc73b1 --- /dev/null +++ b/mcs/class/System.Web.Services/monotouch_tv_System.Web.Services.dll.sources @@ -0,0 +1 @@ +#include mobile_System.Web.Services.dll.sources diff --git a/mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources b/mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources new file mode 100644 index 00000000000..b6630930f75 --- /dev/null +++ b/mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources @@ -0,0 +1 @@ +#include mobile_System.Xml.dll.sources diff --git a/mcs/class/System/monotouch_tv_System.dll.sources b/mcs/class/System/monotouch_tv_System.dll.sources new file mode 100644 index 00000000000..7c0bd5983a5 --- /dev/null +++ b/mcs/class/System/monotouch_tv_System.dll.sources @@ -0,0 +1 @@ +#include monotouch_System.dll.sources diff --git a/mcs/class/corlib/monotouch_tv_corlib.dll.sources b/mcs/class/corlib/monotouch_tv_corlib.dll.sources new file mode 100644 index 00000000000..9e173da97f7 --- /dev/null +++ b/mcs/class/corlib/monotouch_tv_corlib.dll.sources @@ -0,0 +1 @@ +#include corlib.dll.sources \ No newline at end of file diff --git a/runtime/Makefile.am b/runtime/Makefile.am index f72e5934198..f2e02e28cbc 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -44,6 +44,10 @@ if INSTALL_MONOTOUCH_WATCH build_profiles += monotouch_watch endif +if INSTALL_MONOTOUCH_TV +build_profiles += monotouch_tv +endif + if INSTALL_XAMMAC build_profiles += xammac xammac_net_4_5 endif -- 2.25.1