3 pcl_facade_dirs := Facades
5 -include ../build/config.make
8 MCS_MODE_dirs := Mono.Cecil.Mdb
11 # The minimal set of csc dependencies
18 System.ComponentModel.Composition.4.5 \
21 System.Runtime.InteropServices.RuntimeInformation \
24 ../tools/cil-stringreplacer
26 # resgen is corlib specific so we need to wait until corlib is build
27 # and build it just a step before first dll needs it
28 resgen_dir = ../tools/resgen
37 System.ComponentModel.Composition.4.5 \
40 System.Runtime.InteropServices.RuntimeInformation \
41 System.IO.Compression \
44 Mono.CompilerServices.SymbolWriter \
46 ../tools/cil-stringreplacer
49 basic_PARALLEL_SUBDIRS := ../mcs
50 build_PARALLEL_SUBDIRS := ../mcs
52 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
53 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
56 mobile_common_dirs := \
64 System.ServiceModel.Internals \
65 System.Runtime.Serialization \
67 System.IdentityModel \
69 System.ServiceModel.Web \
75 System.Numerics.Vectors \
78 System.Data.Services.Client \
79 System.IO.Compression \
80 System.IO.Compression.FileSystem \
81 System.ComponentModel.DataAnnotations \
82 System.ComponentModel.Composition.4.5 \
86 System.Xml.Serialization \
89 System.Runtime.InteropServices.RuntimeInformation \
90 System.Reflection.DispatchProxy \
91 System.Xml.XPath.XmlDocument \
92 System.Reflection.Context \
93 System.Net.Http.WinHttpHandler
95 testing_aot_full_dirs := \
96 $(mobile_common_dirs) \
100 testing_aot_hybrid_dirs := \
101 $(mobile_common_dirs) \
106 $(mobile_common_dirs) \
107 Mono.CompilerServices.SymbolWriter \
111 $(mobile_common_dirs) \
112 Mono.CompilerServices.SymbolWriter \
113 Mono.Btls.Interface \
118 $(testing_aot_full_dirs)
120 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
121 monotouch_tv_dirs := $(monotouch_dirs)
123 monotouch_runtime_dirs := \
131 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
132 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
134 winaot_dirs := $(monotouch_dirs) System.Drawing
145 System.ServiceModel.Internals \
148 System.Numerics.Vectors \
150 System.Transactions \
151 System.EnterpriseServices \
153 System.Runtime.Serialization \
156 System.Runtime.Serialization.Formatters.Soap \
157 System.ComponentModel.DataAnnotations \
158 System.IdentityModel \
159 System.IdentityModel.Selectors \
161 System.Configuration.Install \
163 System.Web.Services \
164 System.ServiceModel \
165 System.ServiceModel.Web \
167 System.Data.Services.Client \
168 System.IO.Compression \
169 System.IO.Compression.FileSystem \
170 System.ComponentModel.Composition.4.5 \
173 System.Xml.Serialization \
176 Mono.CompilerServices.SymbolWriter \
179 System.Net.Http.WebRequest \
180 System.Runtime.InteropServices.RuntimeInformation \
181 System.Reflection.Context \
182 System.Net.Http.WinHttpHandler \
190 Mono.CompilerServices.SymbolWriter \
194 System.Configuration \
196 System.IO.Compression \
197 System.IO.Compression.FileSystem \
199 System.Transactions \
200 System.EnterpriseServices \
203 System.Numerics.Vectors \
205 System.ComponentModel.DataAnnotations \
208 System.Runtime.Serialization.Formatters.Soap \
209 System.Windows.Forms \
211 System.Web.ApplicationServices \
212 Novell.Directory.Ldap \
213 System.DirectoryServices \
215 System.Web.Services \
217 System.Runtime.Remoting \
218 System.Configuration.Install \
220 System.Data.OracleClient \
222 Commons.Xml.Relaxng \
225 System.ServiceProcess \
226 System.Drawing.Design \
227 ICSharpCode.SharpZipLib \
231 System.ServiceModel.Internals \
233 System.Runtime.Serialization \
236 System.Web.Abstractions \
238 System.Runtime.DurableInstancing \
239 System.IdentityModel \
240 System.IdentityModel.Selectors \
241 System.ServiceModel \
242 System.Web.Extensions \
243 System.Web.Extensions.Design \
244 System.Web.DynamicData \
251 System.ServiceModel.Activation \
252 System.ServiceModel.Routing \
253 System.ServiceModel.Discovery \
254 System.Runtime.Caching \
255 Microsoft.Web.Infrastructure \
256 System.ServiceModel.Web \
258 System.Net.Http.WebRequest \
260 System.Web.WebPages.Deployment \
261 System.Web.WebPages \
262 System.Web.WebPages.Razor \
264 System.Net.Http.Formatting \
266 System.Web.Http.SelfHost \
267 System.Web.Http.WebHost \
268 System.Runtime.InteropServices.RuntimeInformation
270 # These are the subdirs which depends on libs in net_4_x_dirs
271 # or have proper dependencies between each other
272 net_4_x_parallel_dirs := \
275 Mono.Btls.Interface \
288 Mono.Security.Win32 \
289 Mono.Messaging.RabbitMQ \
291 System.Windows.Forms.DataVisualization \
292 System.Reactive.Interfaces \
293 System.Reactive.Core \
294 System.Reactive.Linq \
295 System.Reactive.PlatformServices \
296 System.Reactive.Providers \
297 System.Reactive.Runtime.Remoting \
298 System.Reactive.Windows.Forms \
299 System.Reactive.Windows.Threading \
300 System.Reactive.Observable.Aliases \
301 System.Reactive.Experimental \
302 System.Reactive.Debugger \
303 System.Data.Services.Client \
304 System.Data.Services \
306 System.Data.DataSetExtensions \
307 System.Json.Microsoft \
308 System.Threading.Tasks.Dataflow \
309 System.ComponentModel.Composition.4.5 \
311 System.Xml.Serialization \
312 System.DirectoryServices.Protocols \
319 System.Web.RegularExpressions \
320 System.Workflow.Activities \
321 System.Workflow.ComponentModel \
322 System.Workflow.Runtime \
323 System.Reflection.Context \
328 Microsoft.Build.Framework \
329 Microsoft.Build.Utilities \
330 Microsoft.Build.Engine \
332 Microsoft.Build.Tasks
338 monodroid_SUBDIRS := $(monodroid_dirs)
339 monotouch_SUBDIRS := $(monotouch_dirs)
340 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
341 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
342 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
343 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
344 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
345 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
346 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
347 xammac_SUBDIRS := $(xammac_dirs)
348 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
349 binary_reference_assemblies_SUBDIRS := reference-assemblies
350 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
351 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
352 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
353 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
354 winaot_SUBDIRS := $(winaot_dirs)
355 orbis_SUBDIRS := $(monotouch_dirs)
357 include ../build/rules.make
359 SUBDIRS = $(testing_aot_full_dirs) $(testing_aot_hybrid_dirs) $(monotouch_dirs) $(monodroid_dirs) $(xammac_dirs) $(net_4_x_dirs) $(net_4_x_parallel_dirs) $(xammac_net_4_5_SUBDIRS)
361 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
363 # No new makefiles for: System.Messaging, System.Web.Mobile,
364 # System.ServiceProcess
379 doc/NUnitGuidelines \
380 doc/TemplateTest.cs \
381 notes/BitVecto32.txt \
382 MicrosoftAjaxLibrary/License.htm \
383 test-helpers/NetworkHelpers.cs \
384 test-helpers/SocketResponder.cs \
385 lib/$(monolite_dir)/mcs.exe \
388 .PHONY: all-local $(STD_TARGETS:=-local)
389 all-local $(STD_TARGETS:=-local):
394 monolite_dir := monolite
396 # Files needed to bootstrap C# compiler
397 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
398 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
399 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
400 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
401 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
402 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
403 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
404 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
405 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
406 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
407 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
409 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
412 lib/$(monolite_dir)/Facades:
415 $(monolite_files): | lib/$(monolite_dir)
416 $(monolite_files): | lib/$(monolite_dir)/Facades
417 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
420 lib/$(monolite_dir)/mcs.exe:
421 $(MAKE) -C ../mcs PROFILE=build
422 cp -p lib/build/mcs.exe lib/$(monolite_dir)
424 $(build_files:%=lib/build/%):
425 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
427 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
429 package-monolite-latest:
430 MONOLITE=monolite-$(MONO_CORLIB_VERSION)-latest; \
431 $(MAKE) dist-monolite monolite_dir=$$MONOLITE; \
432 tar zcvpf $$MONOLITE.tar.gz --directory=lib $$MONOLITE/
434 dist-default: dist-monolite
436 dist-local: dist-default
441 $(RM) -rf $(topdir)/class/lib/$(PROFILE)