diff --git a/Make.config b/Make.config index 37b1b6bfdc..fb8642a8b9 100644 --- a/Make.config +++ b/Make.config @@ -650,21 +650,13 @@ XCODE_IOS_ARCHIVE_VERSION=xcode-12D4e XCODE_MACOS_ARCHIVE_VERSION=xcode-12D4e MONO_IOS_FILENAME:=ios-release-Darwin-$(MONO_HASH).7z MONO_IOS_URL:=https://download.mono-project.com/mono-sdks/$(XCODE_IOS_ARCHIVE_VERSION)/$(MONO_IOS_FILENAME) -MONO_MAC_FILENAME:=mac-release-Darwin-$(MONO_HASH).7z -MONO_MAC_URL:=https://download.mono-project.com/mono-sdks/$(XCODE_MACOS_ARCHIVE_VERSION)/$(MONO_MAC_FILENAME) -MONO_MACCATALYST_FILENAME:=maccat-release-Darwin-$(MONO_HASH).7z -MONO_MACCATALYST_URL:=https://download.mono-project.com/mono-sdks/$(XCODE_MACOS_ARCHIVE_VERSION)/$(MONO_MACCATALYST_FILENAME) # Setup various variables depending on whether mono is downloaded or built from source ifeq ($(MONO_BUILD_FROM_SOURCE),) MONO_IOS_SDK_DESTDIR:=$(abspath $(TOP)/builds/downloads/$(basename $(MONO_IOS_FILENAME))) -MONO_MAC_SDK_DESTDIR:=$(abspath $(TOP)/builds/downloads/$(basename $(MONO_MAC_FILENAME))) -MONO_MACCATALYST_SDK_DESTDIR:=$(abspath $(TOP)/builds/downloads/$(basename $(MONO_MACCATALYST_FILENAME))) MONO_BUILD_MODE=download-mono else MONO_IOS_SDK_DESTDIR:=$(abspath $(MONO_PATH)/sdks/out) -MONO_MAC_SDK_DESTDIR:=$(abspath $(MONO_PATH)/sdks/out) -MONO_MACCATALYST_SDK_DESTDIR:=$(abspath $(MONO_PATH)/sdks/out) MONO_BUILD_MODE=compile-mono endif diff --git a/builds/Makefile b/builds/Makefile index 2b050d2ed0..3a33d97542 100644 --- a/builds/Makefile +++ b/builds/Makefile @@ -1,8 +1,6 @@ TOP=.. include $(TOP)/Make.config -PREFIX=$(abspath $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/) - # Keep all intermediate files always. .SECONDARY: @@ -19,19 +17,13 @@ endif download: download-mono download-mono: \ downloads/$(basename $(MONO_IOS_FILENAME)) \ - downloads/$(basename $(MONO_MAC_FILENAME)) \ - downloads/$(basename $(MONO_MACCATALYST_FILENAME)) \ downloads/$(basename $(MONO_IOS_FILENAME)): MONO_URL=$(MONO_IOS_URL) -downloads/$(basename $(MONO_MAC_FILENAME)): MONO_URL=$(MONO_MAC_URL) -downloads/$(basename $(MONO_MACCATALYST_FILENAME)): MONO_URL=$(MONO_MACCATALYST_URL) include $(TOP)/mk/colors.mk DOWNLOADS = \ downloads/$(MONO_IOS_FILENAME) \ - downloads/$(MONO_MAC_FILENAME) \ - downloads/$(MONO_MACCATALYST_FILENAME) \ # This target downloads the mono archives, there's one for Xamarin.iOS and one for Xamarin.Mac. # If doing many clean builds, it's possible to copy the downloaded zip file to ~/Library/Caches/xamarin-macios @@ -178,959 +170,16 @@ all-local:: $(DOTNET_DOWNLOADS) clean-local:: $(Q) rm -Rf downloads .stamp-download-mono -ifeq ($(MONO_BUILD_FROM_SOURCE),) - -all-local:: .stamp-download-mono .stamp-mono-ios-sdk-destdir - -else - -# this is a list of all the files from mono we care about, so that we -# can use that list as dependencies for our makefile targets --include .deps.mono.mk -.deps.mono.mk: $(TOP)/Make.config $(TOP)/mk/mono.mk - $(Q) printf 'MONO_DEPENDENCIES += Makefile \\\n' > $@.tmp - $(Q) cd $(MONO_PATH) && git ls-files --recurse-submodules 'mcs/class/*.cs' 'mcs/build/*.cs' 'external/*.cs' '*.h' '*.c' '*.cpp' | sed 's/ /\\ /g' | sed 's@^\(.*\)$$@ $(MONO_PATH)/\1 \\@' >> $(abspath $@).tmp - $(Q) mv $@.tmp $@ - -# -# Configuration for the mono sdk makefiles -# -SDK_ARGS= \ - XCODE_DIR=$(XCODE_DEVELOPER_ROOT) \ - IOS_VERSION=$(IOS_SDK_VERSION) IOS_VERSION_MIN=$(MIN_IOS_SDK_VERSION) \ - TVOS_VERSION=$(TVOS_SDK_VERSION) TVOS_VERSION_MIN=$(MIN_TVOS_SDK_VERSION) \ - WATCHOS_VERSION=$(WATCH_SDK_VERSION) WATCHOS_VERSION_MIN=$(MIN_WATCHOS_SDK_VERSION) \ - WATCHOS64_32_VERSION=$(WATCH_SDK_VERSION) WATCHOS64_32_VERSION_MIN=$(MIN_WATCHOS64_32_SDK_VERSION) \ - MACOS_VERSION=$(MACOS_SDK_VERSION) MACOS_VERSION_MIN=$(MIN_MACOS_SDK_VERSION) - -SDK_CONFIG = $(MONO_PATH)/sdks/Make.config -SDK_BUILDDIR = $(MONO_PATH)/sdks/builds - -$(SDK_CONFIG): - echo "ENABLE_IOS=1" >> $@ - echo "ENABLE_MAC=1" >> $@ - echo "ENABLE_MACCAT=1" >> $@ - - -ifdef DISABLE_BUILDS_MAKEFILE_DEP -BUILDS_MAKEFILE_DEP = -else -BUILDS_MAKEFILE_DEP = Makefile -endif - -.stamp-configure-mono: $(SDK_CONFIG) - ulimit -n 4096 && $(MAKE) -C $(SDK_BUILDDIR) configure-ios configure-mac $(SDK_ARGS) - $(Q) touch $@ - -.stamp-compile-mono: .stamp-configure-mono $(MONO_DEPENDENCIES) $(BUILDS_MAKEFILE_DEP) $(TOP)/Make.config $(TOP)/mk/mono.mk - $(MAKE) -C $(SDK_BUILDDIR) package-ios package-ios-bcl $(SDK_ARGS) - $(MAKE) -C $(SDK_BUILDDIR) package-mac package-mac-bcl $(SDK_ARGS) - $(MAKE) -C $(SDK_BUILDDIR) package-maccat package-maccat-bcl $(SDK_ARGS) - $(Q) touch $@ - -clean-local:: - $(MAKE) -C $(SDK_BUILDDIR) clean $(SDK_ARGS) - $(Q) rm -f .stamp-compile-mono - -all-local:: .stamp-compile-mono .stamp-mono-ios-sdk-destdir - -endif +all-local:: .stamp-mono-ios-sdk-destdir .stamp-mono-ios-sdk-destdir: .stamp-$(MONO_BUILD_MODE) ln -sf $(MONO_IOS_SDK_DESTDIR) mono-ios-sdk-destdir $(Q) touch $@ -ifndef DISABLE_STRIP -INSTALL_STRIP_FLAG=-s -endif - -# -# Xamarin.iOS/WatchOS/TVOS/Mac/MacCatalyst BCL assemblies -# -install-local:: install-bcl -all-local:: install-bcl - -$(MONO_IOS_SDK_DESTDIR)/ios-bcl/%: .stamp-$(MONO_BUILD_MODE) -$(MONO_MAC_SDK_DESTDIR)/mac-bcl/%: .stamp-$(MONO_BUILD_MODE) - -IOS_ASSEMBLIES = \ - I18N \ - I18N.CJK \ - I18N.MidEast \ - I18N.Other \ - I18N.Rare \ - I18N.West \ - Microsoft.CSharp \ - Mono.CSharp \ - Mono.Data.Sqlite \ - Mono.Data.Tds \ - Mono.Security \ - mscorlib \ - System \ - System.ComponentModel.Composition \ - System.ComponentModel.DataAnnotations \ - System.Core \ - System.Data \ - System.Data.Services.Client \ - System.Data.DataSetExtensions \ - System.IdentityModel \ - System.IO.Compression \ - System.IO.Compression.FileSystem \ - System.Json \ - System.Net \ - System.Net.Http \ - System.Net.Http.WinHttpHandler \ - System.Numerics \ - System.Numerics.Vectors \ - System.Reflection.Context \ - System.Runtime.Serialization \ - System.Security \ - System.ServiceModel \ - System.ServiceModel.Internals \ - System.ServiceModel.Web \ - System.Transactions \ - System.Web.Services \ - System.Windows \ - System.Xml \ - System.Xml.Linq \ - System.Xml.Serialization - -MAC_ASSEMBLIES = \ - I18N \ - I18N.CJK \ - I18N.MidEast \ - I18N.Other \ - I18N.Rare \ - I18N.West \ - mscorlib \ - Microsoft.CSharp \ - Mono.CSharp \ - Mono.CompilerServices.SymbolWriter \ - Mono.Data.Sqlite \ - Mono.Data.Tds \ - Mono.Security \ - System.ComponentModel.Composition \ - System.ComponentModel.DataAnnotations \ - System.Core \ - System.Data.Services.Client \ - System.Data.DataSetExtensions \ - System.Data \ - System.IdentityModel \ - System.IO.Compression.FileSystem \ - System.IO.Compression \ - System.Json \ - System.Net.Http \ - System.Net \ - System.Numerics \ - System.Runtime.Serialization \ - System.ServiceModel.Web \ - System.ServiceModel \ - System.ServiceModel.Internals \ - System.Transactions \ - System.Web.Services \ - System.Windows \ - System.Xml.Linq \ - System.Xml.Serialization \ - System.Xml \ - System \ - System.Security \ - System.Reflection.Context \ - System.Net.Http.WinHttpHandler \ - System.Numerics.Vectors - -MAC_4_5_ASSEMBLIES = \ - $(MAC_ASSEMBLIES) \ - Mono.Messaging \ - Mono.Posix \ - System.Configuration \ - System.Configuration.Install \ - System.Data.Linq \ - System.EnterpriseServices \ - System.IdentityModel.Selectors \ - System.Messaging \ - System.Runtime.Serialization.Formatters.Soap - -COMMON_FACADE_ASSEMBLIES = \ - Microsoft.Win32.Primitives \ - Microsoft.Win32.Registry \ - Microsoft.Win32.Registry.AccessControl \ - System.AppContext \ - System.Collections \ - System.Collections.Concurrent \ - System.Collections.NonGeneric \ - System.Collections.Specialized \ - System.ComponentModel \ - System.ComponentModel.Annotations \ - System.ComponentModel.EventBasedAsync \ - System.ComponentModel.Primitives \ - System.ComponentModel.TypeConverter \ - System.Console \ - System.Data.Common \ - System.Data.SqlClient \ - System.Diagnostics.Contracts \ - System.Diagnostics.Debug \ - System.Diagnostics.FileVersionInfo \ - System.Diagnostics.Process \ - System.Diagnostics.StackTrace \ - System.Diagnostics.TextWriterTraceListener \ - System.Diagnostics.Tools \ - System.Diagnostics.TraceEvent \ - System.Diagnostics.TraceSource \ - System.Diagnostics.Tracing \ - System.Drawing.Common \ - System.Drawing.Primitives \ - System.Dynamic.Runtime \ - System.Globalization \ - System.Globalization.Calendars \ - System.Globalization.Extensions \ - System.IO \ - System.IO.Compression.ZipFile \ - System.IO.FileSystem \ - System.IO.FileSystem.AccessControl \ - System.IO.FileSystem.DriveInfo \ - System.IO.FileSystem.Primitives \ - System.IO.FileSystem.Watcher \ - System.IO.IsolatedStorage \ - System.IO.MemoryMappedFiles \ - System.IO.Pipes \ - System.IO.UnmanagedMemoryStream \ - System.Linq \ - System.Linq.Expressions \ - System.Linq.Parallel \ - System.Linq.Queryable \ - System.Net.AuthenticationManager \ - System.Net.Cache \ - System.Net.HttpListener \ - System.Net.Mail \ - System.Net.NameResolution \ - System.Net.NetworkInformation \ - System.Net.Ping \ - System.Net.Primitives \ - System.Net.Requests \ - System.Net.Security \ - System.Net.ServicePoint \ - System.Net.Sockets \ - System.Net.Utilities \ - System.Net.WebHeaderCollection \ - System.Net.WebSockets \ - System.Net.WebSockets.Client \ - System.ObjectModel \ - System.Reflection \ - System.Reflection.Emit \ - System.Reflection.Emit.ILGeneration \ - System.Reflection.Emit.Lightweight \ - System.Reflection.Extensions \ - System.Reflection.Primitives \ - System.Reflection.TypeExtensions \ - System.Resources.Reader \ - System.Resources.ReaderWriter \ - System.Resources.ResourceManager \ - System.Resources.Writer \ - System.Runtime \ - System.Runtime.CompilerServices.VisualC \ - System.Runtime.Extensions \ - System.Runtime.Handles \ - System.Runtime.InteropServices \ - System.Runtime.InteropServices.RuntimeInformation \ - System.Runtime.InteropServices.WindowsRuntime \ - System.Runtime.Numerics \ - System.Runtime.Serialization.Formatters \ - System.Runtime.Serialization.Json \ - System.Runtime.Serialization.Primitives \ - System.Runtime.Serialization.Xml \ - System.Security.AccessControl \ - System.Security.Claims \ - System.Security.Cryptography.Algorithms \ - System.Security.Cryptography.Csp \ - System.Security.Cryptography.DeriveBytes \ - System.Security.Cryptography.Encoding \ - System.Security.Cryptography.Encryption \ - System.Security.Cryptography.Encryption.Aes \ - System.Security.Cryptography.Encryption.ECDiffieHellman \ - System.Security.Cryptography.Encryption.ECDsa \ - System.Security.Cryptography.Hashing \ - System.Security.Cryptography.Hashing.Algorithms \ - System.Security.Cryptography.Primitives \ - System.Security.Cryptography.ProtectedData \ - System.Security.Cryptography.RandomNumberGenerator \ - System.Security.Cryptography.RSA \ - System.Security.Cryptography.X509Certificates \ - System.Security.Principal \ - System.Security.Principal.Windows \ - System.Security.SecureString \ - System.ServiceModel.Duplex \ - System.ServiceModel.Http \ - System.ServiceModel.NetTcp \ - System.ServiceModel.Primitives \ - System.ServiceModel.Security \ - System.ServiceProcess.ServiceController \ - System.Text.Encoding \ - System.Text.Encoding.CodePages \ - System.Text.Encoding.Extensions \ - System.Text.RegularExpressions \ - System.Threading \ - System.Threading.AccessControl \ - System.Threading.Overlapped \ - System.Threading.Tasks \ - System.Threading.Tasks.Parallel \ - System.Threading.Thread \ - System.Threading.ThreadPool \ - System.Threading.Timer \ - System.ValueTuple \ - System.Xml.ReaderWriter \ - System.Xml.XDocument \ - System.Xml.XmlDocument \ - System.Xml.XmlSerializer \ - System.Xml.XPath \ - System.Xml.XPath.XDocument \ - System.Xml.Xsl.Primitives \ - netstandard - -MOBILE_ADDITIONAL_FACADE_ASSEMBLIES = \ - System.Buffers \ - System.Memory \ - System.Reflection.DispatchProxy \ - System.Runtime.Loader \ - System.Security.Cryptography.Cng \ - System.Security.Cryptography.OpenSsl \ - System.Security.Cryptography.Pkcs \ - System.Threading.Tasks.Extensions \ - System.Xml.XPath.XmlDocument - -TVOS_ASSEMBLIES = $(IOS_ASSEMBLIES) -WATCHOS_ASSEMBLIES = $(filter-out Mono.Security Mono.Data.Tds,$(IOS_ASSEMBLIES)) -MACCATALYST_ASSEMBLIES = $(IOS_ASSEMBLIES) - -IOS_REPL_ASSEMBLIES = mscorlib System System.Core System.Xml Mono.CSharp -TVOS_REPL_ASSEMBLIES = $(IOS_REPL_ASSEMBLIES) -WATCHOS_REPL_ASSEMBLIES = $(IOS_REPL_ASSEMBLIES) -MACCATALYST_REPL_ASSEMBLIES = $(IOS_REPL_ASSEMBLIES) - -IOS_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) $(MOBILE_ADDITIONAL_FACADE_ASSEMBLIES) -TVOS_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) $(MOBILE_ADDITIONAL_FACADE_ASSEMBLIES) -WATCHOS_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) $(MOBILE_ADDITIONAL_FACADE_ASSEMBLIES) -MAC_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) $(MOBILE_ADDITIONAL_FACADE_ASSEMBLIES) -MAC_4_5_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) System.Net.Http.Rtc -MACCATALYST_FACADE_ASSEMBLIES = $(COMMON_FACADE_ASSEMBLIES) $(MOBILE_ADDITIONAL_FACADE_ASSEMBLIES) - -IOS_BCL_DIRECTORIES = \ - $(PREFIX)/lib/mono/2.1 \ - $(PREFIX)/lib/mono/2.1/Facades \ - $(PREFIX)/lib/mono/2.1/repl \ - $(PREFIX)/lib/mono/Xamarin.iOS \ - $(PREFIX)/lib/mono/Xamarin.iOS/Facades \ - $(PREFIX)/lib/mono/Xamarin.iOS/repl - -WATCHOS_BCL_DIRECTORIES = \ - $(PREFIX)/lib/mono/Xamarin.WatchOS \ - $(PREFIX)/lib/mono/Xamarin.WatchOS/Facades \ - $(PREFIX)/lib/mono/Xamarin.WatchOS/repl - -TVOS_BCL_DIRECTORIES = \ - $(PREFIX)/lib/mono/Xamarin.TVOS \ - $(PREFIX)/lib/mono/Xamarin.TVOS/Facades \ - $(PREFIX)/lib/mono/Xamarin.TVOS/repl - -MACCATALYST_BCL_DIRECTORIES = \ - $(PREFIX)/lib/mono/Xamarin.MacCatalyst \ - $(PREFIX)/lib/mono/Xamarin.MacCatalyst/Facades \ - $(PREFIX)/lib/mono/Xamarin.MacCatalyst/repl - -MAC_BCL_DIRECTORIES = \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/Facades \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5 \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/Facades - -NO_PDB_ASSEMBLIES = System.Windows System.Xml.Serialization -MAC_NO_PDB_ASSEMBLIES = System.Windows System.Xml.Serialization - -IOS_BCL_TARGETS = \ - $(foreach file,$(IOS_ASSEMBLIES),$(PREFIX)/lib/mono/2.1/$(file).dll) \ - $(foreach file,$(filter-out $(NO_PDB_ASSEMBLIES),$(IOS_ASSEMBLIES)),$(PREFIX)/lib/mono/2.1/$(file).pdb) \ - $(foreach file,$(IOS_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.iOS/$(file).dll) \ - $(foreach file,$(filter-out $(NO_PDB_ASSEMBLIES),$(IOS_ASSEMBLIES)),$(PREFIX)/lib/mono/Xamarin.iOS/$(file).pdb) \ - $(foreach file,$(IOS_FACADE_ASSEMBLIES),$(PREFIX)/lib/mono/2.1/Facades/$(file).dll) \ - $(foreach file,$(IOS_FACADE_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.iOS/Facades/$(file).dll) \ - $(foreach file,$(IOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/2.1/repl/$(file).dll) \ - $(foreach file,$(IOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/2.1/repl/$(file).pdb) \ - $(foreach file,$(IOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.iOS/repl/$(file).dll) \ - $(foreach file,$(IOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.iOS/repl/$(file).pdb) \ - -WATCHOS_BCL_TARGETS = \ - $(foreach file,$(WATCHOS_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.WatchOS/$(file).dll) \ - $(foreach file,$(filter-out $(NO_PDB_ASSEMBLIES),$(WATCHOS_ASSEMBLIES)),$(PREFIX)/lib/mono/Xamarin.WatchOS/$(file).pdb) \ - $(foreach file,$(WATCHOS_FACADE_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.WatchOS/Facades/$(file).dll) \ - $(foreach file,$(WATCHOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.WatchOS/repl/$(file).dll) \ - $(foreach file,$(WATCHOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.WatchOS/repl/$(file).pdb) \ - -TVOS_BCL_TARGETS = \ - $(foreach file,$(TVOS_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.TVOS/$(file).dll) \ - $(foreach file,$(filter-out $(NO_PDB_ASSEMBLIES),$(TVOS_ASSEMBLIES)),$(PREFIX)/lib/mono/Xamarin.TVOS/$(file).pdb) \ - $(foreach file,$(TVOS_FACADE_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.TVOS/Facades/$(file).dll) \ - $(foreach file,$(TVOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.TVOS/repl/$(file).dll) \ - $(foreach file,$(TVOS_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.TVOS/repl/$(file).pdb) \ - -MACCATALYST_BCL_TARGETS = \ - $(foreach file,$(MACCATALYST_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.MacCatalyst/$(file).dll) \ - $(foreach file,$(filter-out $(NO_PDB_ASSEMBLIES),$(MACCATALYST_ASSEMBLIES)),$(PREFIX)/lib/mono/Xamarin.MacCatalyst/$(file).pdb) \ - $(foreach file,$(MACCATALYST_FACADE_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.MacCatalyst/Facades/$(file).dll) \ - -# the mono archive doesn't have the repl assemblies yet -MACCATALYST_BCL_TARGETS_DISABLED = \ - $(foreach file,$(MACCATALYST_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.MacCatalyst/repl/$(file).dll) \ - $(foreach file,$(MACCATALYST_REPL_ASSEMBLIES),$(PREFIX)/lib/mono/Xamarin.MacCatalyst/repl/$(file).pdb) \ - -MAC_BCL_TARGETS = \ - $(foreach file,$(MAC_ASSEMBLIES),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/$(file).dll) \ - $(foreach file,$(filter-out $(MAC_NO_PDB_ASSEMBLIES),$(MAC_ASSEMBLIES)),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/$(file).pdb) \ - $(foreach file,$(MAC_FACADE_ASSEMBLIES),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/Facades/$(file).dll) \ - $(foreach file,$(MAC_4_5_ASSEMBLIES),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/$(file).dll) \ - $(foreach file,$(filter-out $(MAC_NO_PDB_ASSEMBLIES),$(MAC_4_5_ASSEMBLIES)),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/$(file).pdb) \ - $(foreach file,$(MAC_4_5_FACADE_ASSEMBLIES),$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/Facades/$(file).dll) \ - -$(PREFIX)/lib/mono/Xamarin.iOS/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.iOS/Facades - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch/Facades/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.iOS/repl/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.iOS/repl - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_runtime/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.iOS/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.iOS - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch/$(notdir $@) $@ - -$(PREFIX)/lib/mono/2.1/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/2.1/Facades - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch/Facades/$(notdir $@) $@ - -$(PREFIX)/lib/mono/2.1/repl/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/2.1/repl - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_runtime/$(notdir $@) $@ - -$(PREFIX)/lib/mono/2.1/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/2.1 - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.WatchOS/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.WatchOS/Facades - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch/Facades/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.WatchOS/repl/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.WatchOS/repl - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch_runtime/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.WatchOS/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.WatchOS - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.TVOS/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.TVOS/Facades - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv/Facades/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.TVOS/repl/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.TVOS/repl - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv_runtime/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.TVOS/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.TVOS - $(Q) install -m 0755 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.MacCatalyst/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.MacCatalyst/Facades - $(Q) install -m 0755 $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch/Facades/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.MacCatalyst/repl/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.MacCatalyst/repl - $(Q) install -m 0755 $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch_runtime/$(notdir $@) $@ - -$(PREFIX)/lib/mono/Xamarin.MacCatalyst/%: .stamp-$(MONO_BUILD_MODE) | $(PREFIX)/lib/mono/Xamarin.MacCatalyst - $(Q) install -m 0755 $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch/$(notdir $@) $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/Facades - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac/Facades/$(notdir $@) $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac/%: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/Xamarin.Mac - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac/$(notdir $@) $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/Facades/%: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/Facades - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac_net_4_5/Facades/$(notdir $@) $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/%: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5 - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac_net_4_5/$(notdir $@) $@ - -$(IOS_BCL_DIRECTORIES) $(WATCHOS_BCL_DIRECTORIES) $(TVOS_BCL_DIRECTORIES) $(MAC_BCL_DIRECTORIES) $(MACCATALYST_BCL_DIRECTORIES): - $(Q) mkdir -p $@ - -MONO_ARCHIVE_IOS_IGNORED_ASSEMBLIES = Mono.Simd System.Runtime.CompilerServices.Unsafe nunitlite # TODO check if we should add them -MONO_ARCHIVE_MAC_IGNORED_ASSEMBLIES = System.Runtime.CompilerServices.Unsafe nunitlite # TODO check if we should add them -MONO_ARCHIVE_MAC_4_5_IGNORED_ASSEMBLIES = SMDiagnostics System.Net.Http.WebRequest System.Runtime.CompilerServices.Unsafe nunitlite # TODO check if we should add them - -ios-assemblies-check: $(IOS_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(IOS_ASSEMBLIES) $(IOS_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_IOS_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch" not defined in IOS_ASSEMBLIES or IOS_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -watchos-assemblies-check: $(WATCHOS_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(WATCHOS_ASSEMBLIES) $(WATCHOS_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_IOS_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_watch" not defined in WATCHOS_ASSEMBLIES or WATCHOS_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -tvos-assemblies-check: $(TVOS_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(TVOS_ASSEMBLIES) $(TVOS_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_IOS_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv $(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_IOS_SDK_DESTDIR)/ios-bcl/monotouch_tv" not defined in TVOS_ASSEMBLIES or TVOS_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -mac-assemblies-check: $(MAC_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(MAC_ASSEMBLIES) $(MAC_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_MAC_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac " not defined in MAC_ASSEMBLIES or MAC_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -mac-45-assemblies-check: $(MAC_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(MAC_4_5_ASSEMBLIES) $(MAC_4_5_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_MAC_4_5_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac_net_4_5 $(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac_net_4_5/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_MAC_SDK_DESTDIR)/mac-bcl/xammac_net_4_5 " not defined in MAC_4_5_ASSEMBLIES or MAC_4_5_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -maccatalyst-assemblies-check: $(MACCATALYST_BCL_TARGETS) - $(Q) rm -f .$@* - $(Q) echo $(MACCATALYST_ASSEMBLIES) $(MACCATALYST_FACADE_ASSEMBLIES) $(MONO_ARCHIVE_IOS_IGNORED_ASSEMBLIES) | tr ' ' '\n' | sort > .$@1 - $(Q) ls -1 $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch/Facades | grep dll$$ | sed 's/[.]dll//' | sort > .$@2 - $(Q) if ! diff -u .$@1 .$@2; then echo "\n*** There are assemblies in "$(MONO_MACCATALYST_SDK_DESTDIR)/maccat-bcl/monotouch" not defined in MACCATALYST_ASSEMBLIES or MACCATALYST_FACADE_ASSEMBLIES ***\n"; exit 1; fi - $(Q) rm -f .$@* - -install-bcl-ios: $(IOS_BCL_TARGETS) ios-assemblies-check -install-bcl-tvos: $(TVOS_BCL_TARGETS) tvos-assemblies-check -install-bcl-watchos: $(WATCHOS_BCL_TARGETS) watchos-assemblies-check -install-bcl-mac: $(MAC_BCL_TARGETS) mac-assemblies-check mac-45-assemblies-check -install-bcl-maccatalyst: $(MACCATALYST_BCL_TARGETS) maccatalyst-assemblies-check - -install-bcl:: install-bcl-ios -install-bcl:: install-bcl-watchos -install-bcl:: install-bcl-tvos -install-bcl:: install-bcl-mac -install-bcl:: install-bcl-maccatalyst -### TODO END - -verify-signature: - for file in $(PREFIX)/lib/mono/2.1/*.dll; do \ - MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $$file; \ - done - @MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $(PREFIX)/lib/mono/2.1/monotouch.dll \ - @MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $(PREFIX)/lib/mono/2.1/MonoTouch.Dialog.dll \ - @MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $(PREFIX)/lib/mono/2.1/MonoTouch.NUnitLite.dll \ - @MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $(PREFIX)/lib/mono/2.1/OpenTK.dll \ - @MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $(PREFIX)/lib/mono/2.1/OpenTK-10.dll - for file in $$(find $(PREFIX)/lib/mono/2.1/Facades -name "*.dll"); do \ - MONO_CFG_DIR=$(TOP) $(SYSTEM_SN) -q -v $$file; \ - done - -# -# smcs -# FIXME: Needed because of broken MonoDevelop assumptions -# -install-local:: install-smcs -all-local:: install-smcs - -$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/bin/smcs: - @mkdir -p $(dir $@) - @echo Installing smcs script - @echo "#!/bin/bash" > $@ - @echo >> $@ - @echo "echo 'This script ($$0) is obsolete. Use csc to compile instead.'" >> $@ - @echo "exit 1" >> $@ - @chmod +x $@ - -install-smcs: $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/bin/smcs - -# -# Xamarin.Mac common pieces -# -install-local:: install-mac-common -all-local:: install-mac-common - -MAC_COMMON_DIRECTORIES = \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Versions \ - $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR) \ - -MAC_COMMON_TARGETS = \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Versions/Current \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Commands \ - $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/buildinfo \ - $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/Version \ - $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/updateinfo \ - $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/Versions.plist \ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Versions/Current: | $(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Versions - $(Q_LN) ln -hfs $(MAC_INSTALL_VERSION) $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Commands: - $(Q_LN) ln -hfs $(MAC_TARGETDIR)/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/bin $@ - -$(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/buildinfo: $(TOP)/Make.config.inc $(GIT_DIRECTORY)/index | $(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR) - $(Q_GEN) echo "Version: $(MAC_PACKAGE_VERSION)" > $@ - $(Q) echo "Hash: $(shell git log --oneline -1 --pretty=%h)" >> $@ - $(Q) echo "Branch: $(CURRENT_BRANCH)" >> $@ - $(Q) echo "Build date: $(shell date '+%Y-%m-%d %H:%M:%S%z')" >> $@ - -$(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/updateinfo: $(TOP)/Make.config.inc - $(Q) echo "0ab364ff-c0e9-43a8-8747-3afb02dc7731 $(MAC_PACKAGE_UPDATE_ID)" > $@ - -$(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/Version: $(TOP)/Make.config.inc - $(Q) echo $(MAC_PACKAGE_VERSION) > $@ - -$(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/Versions.plist: $(TOP)/Versions-mac.plist.in Makefile $(TOP)/Make.config $(TOP)/mk/mono.mk $(TOP)/versions-check.csharp .stamp-$(MONO_BUILD_MODE) - $(Q) $(TOP)/versions-check.csharp $< "$(MIN_IOS_SDK_VERSION)" "$(MAX_IOS_DEPLOYMENT_TARGET)" "$(MIN_TVOS_SDK_VERSION)" "$(MAX_TVOS_DEPLOYMENT_TARGET)" "$(MIN_WATCH_OS_VERSION)" "$(MAX_WATCH_DEPLOYMENT_TARGET)" "$(MIN_MACOS_SDK_VERSION)" "$(MACOS_SDK_VERSION)" "$(MIN_MACCATALYST_SDK_VERSION)" "$(MACCATALYST_SDK_VERSION)" - $(Q_GEN) sed -e 's/@XCODE_VERSION@/$(XCODE_VERSION)/g' -e "s/@MONO_VERSION@/$(shell cat $(MONO_MAC_SDK_DESTDIR)/mac-mono-version.txt)/g" -e "s/@MIN_XM_MONO_VERSION@/$(MIN_XM_MONO_VERSION)/g" $< > $@ - -$(MAC_COMMON_DIRECTORIES): - $(Q) mkdir -p $@ - -install-mac-common: $(MAC_COMMON_TARGETS) - -# -# Xamarin.Mac Mono runtime pieces -# -install-local:: install-mac -all-local:: install-mac - -MAC_DIRECTORIES = \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/etc/mono/assemblies/System \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/Frameworks \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/pkgconfig \ - -MAC_TARGETS = \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmonosgen-2.0.a \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-profiler-log.a \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-native-compat.a \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-native-unified.a \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmonosgen-2.0.dylib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libMonoPosixHelper.dylib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-native-compat.dylib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-native-unified.dylib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-2.0.dylib \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-2.0.a \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/pkgconfig/mono-2.pc \ - $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/etc/mono/assemblies/System/System.config \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin/mono-sgen \ - $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin/aarch64-darwin-mono-sgen \ - -$(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib - $(Q) $(CP) $(MONO_MAC_SDK_DESTDIR)/mac-libs/$(notdir $@) $@ - -$(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-2.0.dylib $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/libmono-2.0.a: | $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib - $(Q) ln -sf libmonosgen-2.0$(suffix $@) $@ - -$(MONO_MAC_SDK_DESTDIR)/mac-pkgconfig/mono-2.pc: .stamp-$(MONO_BUILD_MODE) - -$(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/pkgconfig/mono-2.pc: $(MONO_MAC_SDK_DESTDIR)/mac-pkgconfig/mono-2.pc | $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/lib/pkgconfig - $(Q) $(CP) $< $@ - -$(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/etc/mono/assemblies/System/System.config: mac-System.config | $(MAC_DESTDIR)$(XAMARIN_MACOS_SDK)/etc/mono/assemblies/System - $(Q) $(CP) $< $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin/mono-sgen: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bin/mono-sgen $@ - -$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin/aarch64-darwin-mono-sgen: .stamp-$(MONO_BUILD_MODE) | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/bin - $(Q) install -m 0755 $(MONO_MAC_SDK_DESTDIR)/mac-bin/aarch64-darwin-mono-sgen $@ - -$(MAC_DIRECTORIES): - $(Q) mkdir -p $@ - -install-mac: $(MAC_TARGETS) - -# -# Xamarin.iOS/WatchOS/TVOS common pieces -# -install-local:: install-ios-common -all-local:: install-ios-common - -IOS_COMMON_DIRECTORIES = \ - $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions \ - $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) \ - -IOS_COMMON_TARGETS = \ - $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current \ - $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/buildinfo \ - $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/Version \ - $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/updateinfo \ - $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/Versions.plist \ - -$(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current: | $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions - $(Q_LN) ln -hfs $(IOS_INSTALL_VERSION) $@ - -$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/buildinfo: $(TOP)/Make.config.inc $(GIT_DIRECTORY)/index | $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) - $(Q_GEN) echo "Version: $(IOS_PACKAGE_VERSION)" > $@ - $(Q) echo "Hash: $(shell git log --oneline -1 --pretty=%h)" >> $@ - $(Q) echo "Branch: $(CURRENT_BRANCH)" >> $@ - $(Q) echo "Build date: $(shell date '+%Y-%m-%d %H:%M:%S%z')" >> $@ - -$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/Version: $(TOP)/Make.config.inc | $(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) - $(Q) echo $(IOS_PACKAGE_VERSION) > $@ - -$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/updateinfo: $(TOP)/Make.config.inc - $(Q) echo "4569c276-1397-4adb-9485-82a7696df22e $(IOS_PACKAGE_UPDATE_ID)" > $@ - -$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/Versions.plist: $(TOP)/Versions-ios.plist.in Makefile $(TOP)/Make.config $(TOP)/mk/mono.mk $(TOP)/versions-check.csharp .stamp-$(MONO_BUILD_MODE) - $(Q) $(TOP)/versions-check.csharp $< "$(MIN_IOS_SDK_VERSION)" "$(MAX_IOS_DEPLOYMENT_TARGET)" "$(MIN_TVOS_SDK_VERSION)" "$(MAX_TVOS_DEPLOYMENT_TARGET)" "$(MIN_WATCH_OS_VERSION)" "$(MAX_WATCH_DEPLOYMENT_TARGET)" "$(MIN_MACOS_SDK_VERSION)" "$(MACOS_SDK_VERSION)" "$(MIN_MACCATALYST_SDK_VERSION)" "$(MACCATALYST_SDK_VERSION)" - $(Q_GEN) sed -e 's/@XCODE_VERSION@/$(XCODE_VERSION)/g' -e "s/@MONO_VERSION@/$(shell cat $(MONO_IOS_SDK_DESTDIR)/ios-mono-version.txt)/g" $< > $@ - -$(IOS_COMMON_DIRECTORIES): - $(Q) mkdir -p $@ - -install-ios-common: $(IOS_COMMON_TARGETS) - -# -# iPhone simulator Mono runtime pieces -# -install-local:: install-iphonesimulator -all-local:: install-iphonesimulator - -IPHONESIMULATOR_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib - -IPHONESIMULATOR_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios-sim/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios-sim/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios-sim/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/ios-sim/Mono.framework $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/ios-sim/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_IOSSIMULATOR_SDK)/Frameworks - -$(IPHONESIMULATOR_DIRECTORIES): - $(Q) mkdir -p $@ - -install-iphonesimulator:: $(IPHONESIMULATOR_TARGETS) - -# -# Watch simulator Mono runtime pieces -# -install-local:: install-watchsimulator -all-local:: install-watchsimulator - -WATCHSIMULATOR_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib - -WATCHSIMULATOR_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos-sim/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos-sim/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos-sim/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/watchos-sim/Mono.framework $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/watchos-sim/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/Frameworks - -$(WATCHSIMULATOR_DIRECTORIES): - $(Q) mkdir -p $@ - -install-watchsimulator: $(WATCHSIMULATOR_TARGETS) - -# -# TV simulator Mono runtime pieces -# -install-local:: install-tvsimulator -all-local:: install-tvsimulator - -TVSIMULATOR_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib - -TVSIMULATOR_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos-sim/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos-sim/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos-sim/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/tvos-sim/Mono.framework $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/tvos-sim/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/Frameworks - -$(TVSIMULATOR_DIRECTORIES): - $(Q) mkdir -p $@ - -install-tvsimulator: $(TVSIMULATOR_TARGETS) - -# -# Mac Catalyst Mono runtime pieces -# -install-local:: install-maccatalyst -all-local:: install-maccatalyst - -MACCATALYST_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib \ - -MACCATALYST_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/libmono-native.a \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/libmono-native.dylib \ - -$(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/lib - $(Q) $(CP) $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-libs/$(notdir $@) $@ - $(Q) if test -d $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-libs/$(notdir $@).dSYM; then $(CP) -R $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-libs/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-frameworks/ios-sim/Mono.framework $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_MACCATALYST_SDK_DESTDIR)/maccat-frameworks/ios-sim/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_MACCATALYST_SDK)/Frameworks - -$(XAMARIN_MACCATALYST_SDK_DIRECTORIES): - $(Q) mkdir -p $@ - -$(MACCATALYST_DIRECTORIES): - $(Q) mkdir -p $@ - -install-maccatalyst:: $(MACCATALYST_TARGETS) - -# -# iPhone device Mono runtime pieces -# -install-local:: install-iphoneos -all-local:: install-iphoneos - -IPHONEOS_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib - -IPHONEOS_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-ee-interp.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-icall-table.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-ilgen.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/ios/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/ios/Mono.framework $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/ios/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_IPHONEOS_SDK)/Frameworks - -$(IPHONEOS_DIRECTORIES): - $(Q) mkdir -p $@ - -install-iphoneos: $(IPHONEOS_TARGETS) - -# -# Watch device Mono runtime pieces -# -install-local:: install-watchos -all-local:: install-watchos - -WATCHOS_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib - -WATCHOS_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-ee-interp.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-icall-table.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-ilgen.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/watchos/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/watchos/Mono.framework $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/watchos/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/Frameworks - -$(WATCHOS_DIRECTORIES): - $(Q) mkdir -p $@ - -install-watchos: $(WATCHOS_TARGETS) - -# -# TV device Mono runtime pieces -# -install-local:: install-tvos -all-local:: install-tvos - -TVOS_DIRECTORIES = \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib - -TVOS_TARGETS = \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmonosgen-2.0.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-profiler-log.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-ee-interp.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-icall-table.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-ilgen.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-native-compat.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-native-unified.a \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmonosgen-2.0.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-native-compat.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-native-unified.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/libmono-profiler-log.dylib \ - $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks/Mono.framework/Mono \ - -$(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib/%: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/lib - $(Q) $(CP) $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos/$(notdir $@) $@ - $(Q) if test -d $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos/$(notdir $@).dSYM; then $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-libs/tvos/$(notdir $@).dSYM $(dir $@); fi - -$(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks/Mono.framework/Mono: .stamp-$(MONO_BUILD_MODE) | $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/tvos/Mono.framework $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks - $(Q) $(CP) -R $(MONO_IOS_SDK_DESTDIR)/ios-frameworks/tvos/Mono.framework.dSYM $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/Frameworks - -$(TVOS_DIRECTORIES): - $(Q) mkdir -p $@ - -install-tvos: $(TVOS_TARGETS) - # # .NET # - DOTNET_COMMON_DIRECTORIES += \ $(foreach platform,$(DOTNET_PLATFORMS_UPPERCASE),$(DOTNET_DESTDIR)/$($(platform)_NUGET_SDK_NAME)) \ $(foreach platform,$(DOTNET_PLATFORMS_UPPERCASE),$(DOTNET_DESTDIR)/$($(platform)_NUGET_SDK_NAME)/tools) \ @@ -1164,57 +213,3 @@ install-dotnet: $(DOTNET_COMMON_TARGETS) install-local:: install-dotnet all-local:: install-dotnet -# -# Cross compilers -# -# This is the cross aot version of mono. runs on x86 but the jit/aot spits out arm. -# -# There are two versions of the cross compiler, a 32 bit version targeting arm, and a 64 -# bit version targeting arm64. -# These are compiled using the mono sdk makefiles -# -install-local:: install-cross - -$(MONO_IOS_SDK_DESTDIR)/ios-cross32-release/bin/arm-darwin-mono-sgen: .stamp-$(MONO_BUILD_MODE) -$(MONO_IOS_SDK_DESTDIR)/ios-cross64-release/bin/aarch64-darwin-mono-sgen: .stamp-$(MONO_BUILD_MODE) -$(MONO_IOS_SDK_DESTDIR)/ios-crosswatch-release/bin/armv7k-unknown-darwin-mono-sgen: .stamp-$(MONO_BUILD_MODE) -$(MONO_IOS_SDK_DESTDIR)/ios-crosswatch-release/bin/aarch64-apple-darwin10_ilp32-mono-sgen: .stamp-$(MONO_BUILD_MODE) - -$(PREFIX)/bin/arm-darwin-mono-sgen: $(MONO_IOS_SDK_DESTDIR)/ios-cross32-release/bin/arm-darwin-mono-sgen | $(PREFIX)/bin - $(call Q_2,INSTALL ,[CROSS]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ - -$(PREFIX)/bin/arm64-darwin-mono-sgen: $(MONO_IOS_SDK_DESTDIR)/ios-cross64-release/bin/aarch64-darwin-mono-sgen | $(PREFIX)/bin - $(call Q_2,INSTALL ,[CROSS]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ - -$(PREFIX)/bin/armv7k-unknown-darwin-mono-sgen: $(MONO_IOS_SDK_DESTDIR)/ios-crosswatch-release/bin/armv7k-unknown-darwin-mono-sgen | $(PREFIX)/bin - $(call Q_2,INSTALL ,[CROSS]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ - -$(PREFIX)/bin/arm64_32-darwin-mono-sgen: $(MONO_IOS_SDK_DESTDIR)/ios-crosswatch64_32-release/bin/aarch64-apple-darwin10_ilp32-mono-sgen | $(PREFIX)/bin - $(call Q_2,INSTALL ,[CROSS]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ - -$(PREFIX)/bin: - $(Q) mkdir -p $@ - -.PHONY: install-cross -install-cross: $(PREFIX)/bin/arm-darwin-mono-sgen $(PREFIX)/bin/arm64-darwin-mono-sgen $(PREFIX)/bin/armv7k-unknown-darwin-mono-sgen $(PREFIX)/bin/arm64_32-darwin-mono-sgen - -# -# LLVM -# -install-local:: install-llvm - -LLVM64_TARGETS = \ - $(PREFIX)/LLVM/bin/opt \ - $(PREFIX)/LLVM/bin/llc \ - -$(MONO_IOS_SDK_DESTDIR)/llvm-llvm64/bin/%: .stamp-$(MONO_BUILD_MODE) - -$(PREFIX)/LLVM/bin/%: $(MONO_IOS_SDK_DESTDIR)/llvm-llvm64/bin/% | $(PREFIX)/LLVM/bin - $(call Q_2,INSTALL ,[LLVM64]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ - -$(PREFIX)/LLVM/bin: - $(Q) mkdir -p $@ - -.PHONY: install-llvm64 install-llvm -install-llvm: install-llvm64 -install-llvm64: $(LLVM64_TARGETS) diff --git a/release/Makefile b/release/Makefile index b883fee8cd..493e73a7c0 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,150 +1,9 @@ TOP=../../xamarin-macios include $(TOP)/Make.config -IOS_PACKAGE_DESTDIR=$(abspath .)/_ios-install -MAC_PACKAGE_DESTDIR=$(abspath .)/_mac-install - -IOS_PAYLOAD=$(abspath $(IOS_PACKAGE_DESTDIR)) -MAC_PAYLOAD=$(abspath $(MAC_PACKAGE_DESTDIR)) - -MAC_INSTALL_PKG=xamarin.mac-$(MAC_PACKAGE_VERSION).pkg -MAC_UNINSTALL_PKG=xamarin.mac-uninstall-$(MAC_PACKAGE_VERSION).pkg - -MAC_SED_PROCESS_IN = sed \ - -e "s/@INSTALLKBYTES@/`du -sk $(MAC_PAYLOAD) | awk '{print $$1}'`/g" \ - -e "s/@NUMFILES@/`lsbom mac-tmp-package/$(MAC_INSTALL_PKG)/Bom 2>/dev/null | wc -l | awk '{print $$1}'`/g" \ - -e "s/@INSTALL_PKG@/$(MAC_INSTALL_PKG)/g" \ - -e "s/@UNINSTALL_PKG@/$(MAC_UNINSTALL_PKG)/g" \ - -e "s,@PACKAGE_INSTALL_LOCATION@,$(MAC_PACKAGE_INSTALL_LOCATION),g" \ - -e "s/@PACKAGE_VERSION@/$(MAC_PACKAGE_VERSION)/g" \ - -e "s/@PRODUCT@/$(MAC_PRODUCT)/g" \ - -e "s,@XAMMAC_PREFIX@,$(MAC_FRAMEWORK_CURRENT_DIR),g" - -ifdef INCLUDE_MAC -ALL_PACKAGES+=$(MAC_PACKAGE_FILENAME) -endif -ifdef INCLUDE_IOS -ALL_PACKAGES+=$(IOS_PACKAGE_FILENAME) -endif - -build-for-package: - @# make sure we start with a clean slate - $(Q) git clean -xfd - $(Q) $(MAKE) -C $(TOP) install USE_SOURCE_LINKS=0 DEVMODE=0 \ - IOS_DESTDIR=$(IOS_PACKAGE_DESTDIR) IOS_TARGETDIR=/ IOS_INSTALL_VERSION=$(IOS_PACKAGE_VERSION) \ - MAC_DESTDIR=$(MAC_PACKAGE_DESTDIR) MAC_TARGETDIR=/ MAC_INSTALL_VERSION=$(MAC_PACKAGE_VERSION) - release package: - $(Q) $(MAKE) build-for-package - $(Q) $(MAKE) $(ALL_PACKAGES) - @# updateinfo, uploaded to wrench -ifdef INCLUDE_MAC - $(Q) cp $(MAC_PACKAGE_DESTDIR)/$(MAC_FRAMEWORK_DIR)/Versions/Current/updateinfo mac-updateinfo -endif -ifdef INCLUDE_IOS - $(Q) cp $(IOS_PACKAGE_DESTDIR)/$(IOS_FRAMEWORK_DIR)/Versions/Current/updateinfo ios-updateinfo -endif $(MAKE) bundle.zip msbuild.zip -# this are just a useful targets to run locally if you're not interested in the XI/XM package -# it should be almost identical to the normal 'package' target (only difference should be that the XM/XI -# bits aren't built/packaged) -ifdef INCLUDE_MAC -mac-package: - $(Q) $(MAKE) build-for-package - $(Q) $(MAKE) $(MAC_PACKAGE_FILENAME) -endif -ifdef INCLUDE_IOS -ios-package: - $(Q) $(MAKE) build-for-package - $(Q) $(MAKE) $(IOS_PACKAGE_FILENAME) -endif - -prechecks: -ifdef CROSS_BUILD_CFLAGS - echo "CROSS_BUILD_CFLAGS can't be set when building a package. Please fix Make.local.config" && exit 1 -endif -ifdef DEVICE_BUILD_CFLAGS - echo "DEVICE_BUILD_CFLAGS can't be set when building a package. Please fix Make.local.config" && exit 1 -endif - @echo Package prechecks completed successfully. - -monotouch.pkg: Makefile - @echo Building $@ - $(Q) $(MAKE) prechecks - $(Q) mkdir -p ios-work/commercial - $(Q) cp postflight-ios ios-work/commercial/postinstall - $(Q) chmod a+x ios-work/commercial/postinstall - $(Q) mkdir -p ios-tmp-package/Resources/en.lproj - $(Q) mkdir -p ios-tmp-package/monotouch.pkg - $(Q) cp $(TOP)/tools/scripts/License.txt ios-tmp-package/Resources/en.lproj/License.txt - $(Q) mkbom $(IOS_PAYLOAD) ios-tmp-package/monotouch.pkg/Bom - $(Q) (cd $(IOS_PAYLOAD); lsbom -p f $(abspath ./ios-tmp-package/monotouch.pkg/Bom) | cpio -o | gzip -9 -n > $(abspath ios-tmp-package/monotouch.pkg/Payload)) 2>/dev/null - $(Q) (cd ios-work/commercial; ls -d . ./postinstall | cpio -o | gzip -9 -n > ../../ios-tmp-package/monotouch.pkg/Scripts) 2>/dev/null - $(Q) INSTALLKBYTES=`du -sk $(IOS_PAYLOAD) | awk '{print $$1}'`; NUMFILES=`lsbom ios-tmp-package/monotouch.pkg/Bom | wc -l | awk '{print $$1}'`; sed -e "s/@INSTALLKBYTES@/$$INSTALLKBYTES/g" -e "s/@NUMFILES@/$$NUMFILES/g" -e "s/@FULL_PACKAGE_UTI@/$(IOS_PACKAGE_UTI)/g" -e "s,@MONOTOUCH_PREFIX@,$(MONOTOUCH_PREFIX),g" PackageInfo.ios.in > ios-tmp-package/monotouch.pkg/PackageInfo - @echo Built $@ - -$(IOS_PACKAGE_FILENAME): delete-xma-build-host.pkg monotouch.pkg - @echo Building $@ - @rm -Rf ios-meta-package - @cp -R ios-tmp-package ios-meta-package - @cp -R xma-tmp-package/delete-xma-build-host.pkg ios-meta-package - @$(Q) INSTALLBYTES_MTVS=`grep installKBytes ios-meta-package/delete-xma-build-host.pkg/PackageInfo | sed 's/.*installKBytes="\([0-9]*\)".*/\1/'` INSTALLKBYTES=`du -sk $(IOS_PAYLOAD) | awk '{print $$1}'`; sed -e s/@INSTALLKBYTES@/$$INSTALLKBYTES/ -e s/@INSTALLBYTES_MTVS@/$$INSTALLBYTES_MTVS/ Distribution.ios.in > ios-meta-package/Distribution - @$(Q_GEN) (cd ios-meta-package; xar --no-compress monotouch.pkg/Payload --no-compress monotouch.pkg/Scripts --no-compress delete-xma-build-host.pkg/Payload --no-compress delete-xma-build-host.pkg/Scripts -c -f ../$@ *) - @echo Built $@ - -# delete-xma-build-host is a package with the same id as the old MTVS installer, but with 0 files to install. -# This makes OSX remove all files installed by the old MTVS installer. -delete-xma-build-host.pkg: - @echo Building $@ - $(Q) rm -rf xma-work xma-tmp-package - $(Q) mkdir -p xma-work/commercial/payload - $(Q) cp preinstall.xma.in xma-work/commercial/preinstall - $(Q) chmod a+x xma-work/commercial/preinstall - $(Q) mkdir -p xma-tmp-package/$@ - $(Q) mkbom xma-work/commercial/payload xma-tmp-package/$@/Bom - $(Q) (cd xma-work/commercial/payload; lsbom -p f $(abspath ./xma-tmp-package/$@/Bom) | cpio -o | gzip -9 -n > $(abspath xma-tmp-package/$@/Payload)) 2>/dev/null - $(Q) (cd xma-work/commercial; ls -d . ./preinstall | cpio -o | gzip -9 -n > ../../xma-tmp-package/$@/Scripts) 2>/dev/null - $(Q) cp PackageInfo.xma.in xma-tmp-package/$@/PackageInfo - $(Q) cp Distribution.xma.in xma-tmp-package/Distribution - $(Q) (cd xma-tmp-package; xar --no-compress $@/Payload --no-compress $@/Scripts -c -f ../$@ *) - @echo Built $@ - -$(MAC_PACKAGE_FILENAME): - @echo Building $@ - $(Q) $(MAKE) prechecks -# xamarin.mac-v.v.v.pkg meta package - $(Q) mkdir -p mac-work/commercial - $(Q) cp postflight-mac mac-work/commercial/postflight-mac - $(Q) chmod a+x mac-work/commercial/postflight-mac - $(Q) mkdir -p mac-tmp-package/$(MAC_INSTALL_PKG) - $(Q) mkdir -p mac-tmp-package/Resources/en.lproj - $(Q) cp $(TOP)/tools/scripts/License.txt mac-tmp-package/Resources/en.lproj/License.txt - $(Q) mkbom $(MAC_PAYLOAD) mac-tmp-package/$(MAC_INSTALL_PKG)/Bom - $(Q) (cd $(MAC_PAYLOAD); lsbom -p f $(abspath ./mac-tmp-package/$(MAC_INSTALL_PKG)/Bom) | cpio -o | gzip -9 -n > $(abspath ./mac-tmp-package/$(MAC_INSTALL_PKG)/Payload)) 2>/dev/null - $(Q) (cd mac-work/commercial; ls -d . ./postflight-mac | cpio -o | gzip -9 -n > ../../mac-tmp-package/$(MAC_INSTALL_PKG)/Scripts) 2>/dev/null - $(Q) ls -d ./mono-check.sh | cpio -o | gzip -9 -n > mac-tmp-package/Scripts 2>/dev/null - $(Q) $(MAC_SED_PROCESS_IN) PackageInfo.mac.in > mac-tmp-package/$(MAC_INSTALL_PKG)/PackageInfo -# xamarin.mac-uninstall-v.v.v.pkg meta package - $(Q) mkdir -p mac-work-uninstall/commercial - $(Q) $(MAC_SED_PROCESS_IN) uninstall.in > mac-work-uninstall/commercial/uninstall - $(Q) chmod a+x mac-work-uninstall/commercial/uninstall - $(Q) mkdir -p mac-work-uninstall/payload - $(Q) mkdir -p mac-tmp-package/$(MAC_UNINSTALL_PKG) - $(Q) mkbom mac-work-uninstall/payload mac-tmp-package/$(MAC_UNINSTALL_PKG)/Bom - $(Q) (cd mac-work-uninstall/payload; lsbom -p f ../../mac-tmp-package/$(MAC_UNINSTALL_PKG)/Bom | cpio -o | gzip -9 -n > ../../mac-tmp-package/$(MAC_UNINSTALL_PKG)/Payload) 2>/dev/null - $(Q) (cd mac-work-uninstall/commercial; ls -d . ./uninstall | cpio -o | gzip -9 -n > ../../mac-tmp-package/$(MAC_UNINSTALL_PKG)/Scripts) 2>/dev/null - $(Q) $(MAC_SED_PROCESS_IN) UninstallPackageInfo.mac.in > mac-tmp-package/$(MAC_UNINSTALL_PKG)/PackageInfo -# final package - $(Q) $(MAC_SED_PROCESS_IN) Distribution.mac.in > mac-tmp-package/Distribution - $(Q_GEN) (cd mac-tmp-package; xar --no-compress Scripts --no-compress $(MAC_INSTALL_PKG)/Payload --no-compress $(MAC_INSTALL_PKG)/Scripts --no-compress $(MAC_UNINSTALL_PKG)/Payload --no-compress $(MAC_UNINSTALL_PKG)/Scripts -c -f ../$(MAC_PACKAGE_FILENAME) *) - @echo Built $@ - -clean-local:: - rm -rf ios-tmp-package ios-work ios-meta-package - rm -rf mac-tmp-package mac-work mac-work-uninstall - rm -rf *.pkg - # msbuild.zip and bundle.zip are uploaded to wrench and packaged into the VS plugin msbuild.zip: rm -Rf msbuild $@ @@ -165,21 +24,12 @@ endif cp -R $(TOP)/msbuild/Xamarin.iOS.Tasks.Windows/bin/Release/netstandard2.0/win/ msbuild/iOS $(SYSTEM_MSBUILD) $(TOP)/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj -r /p:Configuration=Release cp -R $(TOP)/msbuild/Xamarin.Mac.Tasks/bin/Release/netstandard2.0/ msbuild/Mac -ifdef INCLUDE_WATCH - mv -f msbuild/iOS/*WatchOS*.* msbuild/WatchOS - mv -f msbuild/iOS/NoCode.cs msbuild/WatchOS -endif mv -f msbuild/iOS/*TVOS*.* msbuild/TVOS cd msbuild && zip -9 -r $(abspath $@) . rm -rf msbuild bundle.zip: Version Version.rev rm -f $@ -ifdef INCLUDE_XAMARIN_LEGACY - if test -d $(MAC_DESTDIR)/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono; then cd $(MAC_DESTDIR)/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono && zip -9 -r $(CURDIR)/bundle.zip .; fi - if test -d $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono; then cd $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono && zip -9 -r $(CURDIR)/bundle.zip .; fi -endif -ifdef ENABLE_DOTNET $(foreach platform,$(DOTNET_PLATFORMS),export $(platform)_NUGET_REF_NAME=$($(platform)_NUGET_REF_NAME);) \ for platform in $(DOTNET_PLATFORMS); do \ cd $(CURDIR); \ @@ -191,7 +41,6 @@ ifdef ENABLE_DOTNET zip -9 -r $(CURDIR)/bundle.zip ./Microsoft.$$platform.Ref/ref/; \ rm -rf tmpdir; \ done -endif zip -9 $@ Version Version.rev Version: diff --git a/tests/Makefile b/tests/Makefile index 09d0d0efb5..b242791bc3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -63,7 +63,6 @@ test.config: Makefile $(TOP)/Make.config $(TOP)/mk/mono.mk $(TOP)/eng/Version.De @echo "INCLUDE_DEVICE=$(INCLUDE_DEVICE)" >> $@ @echo "XCODE_DEVELOPER_ROOT=$(XCODE_DEVELOPER_ROOT)" >> $@ @echo "MONO_IOS_SDK_DESTDIR=$(MONO_IOS_SDK_DESTDIR)" >> $@ - @echo "MONO_MAC_SDK_DESTDIR=$(MONO_MAC_SDK_DESTDIR)" >> $@ @echo "DOTNET=$(DOTNET)" >> $@ @echo "IOS_SDK_VERSION=$(IOS_SDK_VERSION)" >> $@ @echo "TVOS_SDK_VERSION=$(TVOS_SDK_VERSION)" >> $@ @@ -98,7 +97,6 @@ test-system.config: Makefile $(TOP)/Make.config $(TOP)/mk/mono.mk $(TOP)/eng/Ver @echo "JENKINS_RESULTS_DIRECTORY=$(abspath $(JENKINS_RESULTS_DIRECTORY))" >> $@ @echo "INCLUDE_DEVICE=$(INCLUDE_DEVICE)" >> $@ @echo "MONO_IOS_SDK_DESTDIR=$(MONO_IOS_SDK_DESTDIR)" >> $@ - @echo "MONO_MAC_SDK_DESTDIR=$(MONO_MAC_SDK_DESTDIR)" >> $@ @echo "DOTNET=$(DOTNET)" >> $@ @echo "IOS_SDK_VERSION=$(IOS_SDK_VERSION)" >> $@ @echo "TVOS_SDK_VERSION=$(TVOS_SDK_VERSION)" >> $@ diff --git a/tests/xharness/Harness.cs b/tests/xharness/Harness.cs index f3a472a520..2d6f5b1bc2 100644 --- a/tests/xharness/Harness.cs +++ b/tests/xharness/Harness.cs @@ -230,7 +230,6 @@ namespace Xharness { public string MAC_DESTDIR { get; } public string IOS_DESTDIR { get; } public string MONO_IOS_SDK_DESTDIR { get; } - public string MONO_MAC_SDK_DESTDIR { get; } public bool ENABLE_DOTNET { get; } public bool INCLUDE_XAMARIN_LEGACY { get; } public string SYSTEM_MONO { get; set; } @@ -307,7 +306,6 @@ namespace Xharness { MAC_DESTDIR = GetVariable (nameof (MAC_DESTDIR)); IOS_DESTDIR = GetVariable (nameof (IOS_DESTDIR)); MONO_IOS_SDK_DESTDIR = GetVariable (nameof (MONO_IOS_SDK_DESTDIR)); - MONO_MAC_SDK_DESTDIR = GetVariable (nameof (MONO_MAC_SDK_DESTDIR)); ENABLE_DOTNET = IsVariableSet (nameof (ENABLE_DOTNET)); SYSTEM_MONO = GetVariable (nameof (SYSTEM_MONO)); DOTNET_DIR = GetVariable (nameof (DOTNET_DIR)); diff --git a/tests/xharness/IHarness.cs b/tests/xharness/IHarness.cs index 6a30ba5cbb..4c2ba87a8f 100644 --- a/tests/xharness/IHarness.cs +++ b/tests/xharness/IHarness.cs @@ -41,7 +41,6 @@ namespace Xharness { string MAC_DESTDIR { get; } string IOS_DESTDIR { get; } string MONO_IOS_SDK_DESTDIR { get; } - string MONO_MAC_SDK_DESTDIR { get; } bool ENABLE_DOTNET { get; } bool INCLUDE_XAMARIN_LEGACY { get; } string SYSTEM_MONO { get; set; } diff --git a/tools/devops/automation/templates/build/build.yml b/tools/devops/automation/templates/build/build.yml index a3d0648dae..7838afd489 100644 --- a/tools/devops/automation/templates/build/build.yml +++ b/tools/devops/automation/templates/build/build.yml @@ -181,18 +181,6 @@ steps: key: "$(MONO_IOS_FILENAME)" path: "$(Build.SourcesDirectory)/xamarin-macios/builds/downloads/$(MONO_IOS_FILENAME)" - - task: Cache@2 - displayName: 'Cache macOS Mono download' - inputs: - key: "$(MONO_MAC_FILENAME)" - path: "$(Build.SourcesDirectory)/xamarin-macios/builds/downloads/$(MONO_MAC_FILENAME)" - - - task: Cache@2 - displayName: 'Cache MacCatalsyt Mono download' - inputs: - key: "$(MONO_MACCATALYST_FILENAME)" - path: "$(Build.SourcesDirectory)/xamarin-macios/builds/downloads/$(MONO_MACCATALYST_FILENAME)" - # Actual build of the project - bash: $(System.DefaultWorkingDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/build-macios.sh name: build