فهرست منبع

Add a monotouch_tv profile.

Rolf Bjarne Kvinge 10 سال پیش
والد
کامیت
d583cc703b

+ 4 - 0
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

+ 2 - 0
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--%

+ 4 - 0
mcs/build/profiles/monotouch_tv.make

@@ -0,0 +1,4 @@
+include $(topdir)/build/profiles/monotouch.make
+
+PROFILE_MCS_FLAGS += \
+	-d:MONOTOUCH_TV

+ 1 - 0
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)
 

+ 2 - 0
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)

+ 2 - 0
mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources

@@ -0,0 +1,2 @@
+#include mobile_static_Mono.CSharp.dll.sources
+monotouch.cs

+ 1 - 0
mcs/class/Mono.Security/monotouch_tv_Mono.Security.dll.sources

@@ -0,0 +1 @@
+#include monotouch_Mono.Security.dll.sources

+ 2 - 0
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

+ 1 - 0
mcs/class/System.Data/monotouch_tv_System.Data.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.Data.dll.sources

+ 1 - 0
mcs/class/System.Runtime.Serialization/monotouch_tv_System.Runtime.Serialization.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.Runtime.Serialization.dll.sources

+ 1 - 0
mcs/class/System.ServiceModel.Web/monotouch_tv_System.ServiceModel.Web.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.ServiceModel.Web.dll.sources

+ 1 - 0
mcs/class/System.ServiceModel/monotouch_tv_System.ServiceModel.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.ServiceModel.dll.sources

+ 1 - 0
mcs/class/System.Web.Services/monotouch_tv_System.Web.Services.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.Web.Services.dll.sources

+ 1 - 0
mcs/class/System.XML/monotouch_tv_System.Xml.dll.sources

@@ -0,0 +1 @@
+#include mobile_System.Xml.dll.sources

+ 1 - 0
mcs/class/System/monotouch_tv_System.dll.sources

@@ -0,0 +1 @@
+#include monotouch_System.dll.sources

+ 1 - 0
mcs/class/corlib/monotouch_tv_corlib.dll.sources

@@ -0,0 +1 @@
+#include corlib.dll.sources

+ 4 - 0
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