X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Fclass%2FMakefile;h=f22bc600ec373cf056c9b3508a27cfce21af4938;hb=1e6c680fa2f18ef42bd488cd373309a7a4012846;hp=f9ff19f76daaef6fba55e1e370d13050e90cb521;hpb=f6b8e1f10d5cd18826aad50e5a2b8d2aabf3222a;p=mono.git diff --git a/mcs/class/Makefile b/mcs/class/Makefile index f9ff19f76da..f22bc600ec3 100644 --- a/mcs/class/Makefile +++ b/mcs/class/Makefile @@ -1,6 +1,8 @@ thisdir = class -basic_SUBDIRS := corlib Mono.Security System System.XML System.Core +basic_SUBDIRS := corlib Mono.Security System System.XML System.Core + +pcl_facade_dirs := Facades # resgen is corlib specific so we need to wait until corlib is build # and build it just a step before first dll needs it @@ -14,9 +16,11 @@ build_SUBDIRS := \ Mono.Posix \ System.Core \ Mono.Cecil \ - Mono.Cecil.Mdb - -pcl_facade_dirs := Facades + Mono.Cecil.Mdb \ + System.ComponentModel.Composition.4.5 \ + System.Numerics \ + System.Xml.Linq \ + $(pcl_facade_dirs) mobile_common_dirs := \ corlib \ @@ -51,9 +55,6 @@ mobile_common_dirs := \ System.Xml.Serialization \ Mono.CSharp \ Microsoft.CSharp \ - Mono.Security.Providers.DotNet \ - Mono.Security.Providers.NewSystemSource \ - Mono.Security.Providers.NewTls \ System.Runtime.InteropServices.RuntimeInformation \ System.Reflection.DispatchProxy \ System.Xml.XPath.XmlDocument \ @@ -68,21 +69,28 @@ mobile_static_dirs := \ Mono.Simd \ $(pcl_facade_dirs) -mobile_dynamic_dirs := \ +aot_hybrid_dirs := \ $(mobile_common_dirs) \ + PEAPI \ Mono.CompilerServices.SymbolWriter \ + Mono.Simd \ $(pcl_facade_dirs) xammac_dirs := \ - $(mobile_dynamic_dirs) + $(mobile_common_dirs) \ + Mono.CompilerServices.SymbolWriter \ + $(pcl_facade_dirs) monodroid_dirs := \ - $(mobile_dynamic_dirs) + $(mobile_common_dirs) \ + Mono.CompilerServices.SymbolWriter \ + Mono.Btls.Interface \ + $(pcl_facade_dirs) monotouch_dirs := \ $(mobile_static_dirs) -monotouch_watch_dirs := $(monotouch_dirs) +monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs)) monotouch_tv_dirs := $(monotouch_dirs) monotouch_runtime_dirs := \ @@ -93,7 +101,7 @@ monotouch_runtime_dirs := \ System.XML \ Mono.CSharp -monotouch_watch_runtime_dirs := $(monotouch_runtime_dirs) +monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs)) monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs) xammac_4_5_dirs := \ @@ -140,10 +148,6 @@ xammac_4_5_dirs := \ System.Data.Linq \ System.Net.Http \ System.Net.Http.WebRequest \ - Mono.Security.Providers.DotNet \ - Mono.Security.Providers.OldTls \ - Mono.Security.Providers.NewSystemSource \ - Mono.Security.Providers.NewTls \ System.Runtime.InteropServices.RuntimeInformation \ System.Reflection.Context \ System.Net.Http.WinHttpHandler \ @@ -232,8 +236,6 @@ net_4_x_dirs := \ System.Web.Http \ System.Web.Http.SelfHost \ System.Web.Http.WebHost \ - Mono.Security.Providers.NewSystemSource \ - Mono.Security.Providers.NewTls \ System.Runtime.InteropServices.RuntimeInformation # These are the subdirs which depends on libs in net_4_x_dirs @@ -241,6 +243,7 @@ net_4_x_dirs := \ net_4_x_parallel_dirs := \ PEAPI \ I18N \ + Mono.Btls.Interface \ Mono.Http \ Mono.Cairo \ Mono.Cecil \ @@ -277,8 +280,6 @@ net_4_x_parallel_dirs := \ System.ComponentModel.Composition.4.5 \ System.Windows \ System.Xml.Serialization \ - Mono.Security.Providers.DotNet \ - Mono.Security.Providers.OldTls \ System.DirectoryServices.Protocols \ RabbitMQ.Client \ Microsoft.VisualC \ @@ -313,7 +314,7 @@ monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs) monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs) monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs) mobile_static_SUBDIRS := $(mobile_static_dirs) -mobile_SUBDIRS := $(mobile_dynamic_dirs) +aot_hybrid_SUBDIRS := $(aot_hybrid_dirs) xammac_SUBDIRS := $(xammac_dirs) xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs) binary_reference_assemblies_SUBDIRS := reference-assemblies @@ -324,7 +325,7 @@ xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks include ../build/rules.make -SUBDIRS = $(mobile_static_dirs) $(mobile_dynamic_dirs) $(monotouch_dirs) $(monodroid_dirs) $(xammac_dirs) $(net_4_x_dirs) $(net_4_x_parallel_dirs) $(xammac_net_4_5_SUBDIRS) +SUBDIRS = $(mobile_static_dirs) $(aot_hybrid_dirs) $(monotouch_dirs) $(monodroid_dirs) $(xammac_dirs) $(net_4_x_dirs) $(net_4_x_parallel_dirs) $(xammac_net_4_5_SUBDIRS) DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks @@ -349,6 +350,7 @@ DISTFILES = \ MicrosoftAjaxLibrary/License.htm \ test-helpers/NetworkHelpers.cs \ test-helpers/SocketResponder.cs \ + lib/$(monolite_dir)/basic.exe \ $(monolite_files) .PHONY: all-local $(STD_TARGETS:=-local) @@ -357,21 +359,40 @@ all-local $(STD_TARGETS:=-local): all-local-aot: -# Files needed to bootstrap C# compiler -basic_files = basic.exe mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll -monolite_files = $(basic_files:%=lib/monolite/%) +monolite_dir := monolite -lib/monolite: +# Files needed to bootstrap C# compiler +build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \ + System.Numerics.dll System.Xml.Linq.dll \ + Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \ + Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \ + Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \ + Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \ + Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \ + Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \ + Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll + +monolite_files = $(build_files:%=lib/$(monolite_dir)/%) + +lib/$(monolite_dir): +lib/$(monolite_dir)/Facades: $(MKINSTALLDIRS) $@ -$(monolite_files): | lib/monolite -$(monolite_files): lib/monolite/%: lib/basic/% +$(monolite_files): | lib/$(monolite_dir) +$(monolite_files): | lib/$(monolite_dir)/Facades +$(monolite_files): lib/$(monolite_dir)/%: lib/build/% cp -p $< $@ -$(basic_files:%=lib/basic/%): - cd $(topdir) && $(MAKE) profile-do--basic--all NO_DIR_CHECK=1 SKIP_AOT=1 +lib/$(monolite_dir)/basic.exe: + cp -p lib/basic/basic.exe lib/$(monolite_dir) + +$(build_files:%=lib/build/%): + cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1 + +dist-monolite: $(monolite_files) lib/$(monolite_dir)/basic.exe + +dist-default: dist-monolite -dist-default: $(monolite_files) dist-local: dist-default csproj-local: