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 \
117 $(testing_aot_full_dirs)
119 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
120 monotouch_tv_dirs := $(monotouch_dirs)
122 monotouch_runtime_dirs := \
130 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
131 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
133 winaot_dirs := $(monotouch_dirs) System.Drawing
144 System.ServiceModel.Internals \
147 System.Numerics.Vectors \
149 System.Transactions \
150 System.EnterpriseServices \
152 System.Runtime.Serialization \
155 System.Runtime.Serialization.Formatters.Soap \
156 System.ComponentModel.DataAnnotations \
157 System.IdentityModel \
158 System.IdentityModel.Selectors \
160 System.Configuration.Install \
162 System.Web.Services \
163 System.ServiceModel \
164 System.ServiceModel.Web \
166 System.Data.Services.Client \
167 System.IO.Compression \
168 System.IO.Compression.FileSystem \
169 System.ComponentModel.Composition.4.5 \
172 System.Xml.Serialization \
175 Mono.CompilerServices.SymbolWriter \
178 System.Net.Http.WebRequest \
179 System.Runtime.InteropServices.RuntimeInformation \
180 System.Reflection.Context \
181 System.Net.Http.WinHttpHandler \
189 Mono.CompilerServices.SymbolWriter \
193 System.Configuration \
195 System.IO.Compression \
196 System.IO.Compression.FileSystem \
198 System.Transactions \
199 System.EnterpriseServices \
202 System.Numerics.Vectors \
204 System.ComponentModel.DataAnnotations \
207 System.Runtime.Serialization.Formatters.Soap \
208 System.Windows.Forms \
210 System.Web.ApplicationServices \
211 Novell.Directory.Ldap \
212 System.DirectoryServices \
214 System.Web.Services \
216 System.Runtime.Remoting \
217 System.Configuration.Install \
219 System.Data.OracleClient \
221 Commons.Xml.Relaxng \
224 System.ServiceProcess \
225 System.Drawing.Design \
226 ICSharpCode.SharpZipLib \
230 System.ServiceModel.Internals \
232 System.Runtime.Serialization \
235 System.Web.Abstractions \
237 System.Runtime.DurableInstancing \
238 System.IdentityModel \
239 System.IdentityModel.Selectors \
240 System.ServiceModel \
241 System.Web.Extensions \
242 System.Web.Extensions.Design \
243 System.Web.DynamicData \
250 System.ServiceModel.Activation \
251 System.ServiceModel.Routing \
252 System.ServiceModel.Discovery \
253 System.Runtime.Caching \
254 Microsoft.Web.Infrastructure \
255 System.ServiceModel.Web \
257 System.Net.Http.WebRequest \
259 System.Web.WebPages.Deployment \
260 System.Web.WebPages \
261 System.Web.WebPages.Razor \
263 System.Net.Http.Formatting \
265 System.Web.Http.SelfHost \
266 System.Web.Http.WebHost \
267 System.Runtime.InteropServices.RuntimeInformation
269 # These are the subdirs which depends on libs in net_4_x_dirs
270 # or have proper dependencies between each other
271 net_4_x_parallel_dirs := \
274 Mono.Btls.Interface \
287 Mono.Security.Win32 \
288 Mono.Messaging.RabbitMQ \
290 System.Windows.Forms.DataVisualization \
291 System.Reactive.Interfaces \
292 System.Reactive.Core \
293 System.Reactive.Linq \
294 System.Reactive.PlatformServices \
295 System.Reactive.Providers \
296 System.Reactive.Runtime.Remoting \
297 System.Reactive.Windows.Forms \
298 System.Reactive.Windows.Threading \
299 System.Reactive.Observable.Aliases \
300 System.Reactive.Experimental \
301 System.Reactive.Debugger \
302 System.Data.Services.Client \
303 System.Data.Services \
305 System.Data.DataSetExtensions \
306 System.Json.Microsoft \
307 System.Threading.Tasks.Dataflow \
308 System.ComponentModel.Composition.4.5 \
310 System.Xml.Serialization \
311 System.DirectoryServices.Protocols \
318 System.Web.RegularExpressions \
319 System.Workflow.Activities \
320 System.Workflow.ComponentModel \
321 System.Workflow.Runtime \
322 System.Reflection.Context \
327 Microsoft.Build.Framework \
328 Microsoft.Build.Utilities \
329 Microsoft.Build.Engine \
331 Microsoft.Build.Tasks
337 monodroid_SUBDIRS := $(monodroid_dirs)
338 monotouch_SUBDIRS := $(monotouch_dirs)
339 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
340 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
341 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
342 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
343 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
344 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
345 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
346 xammac_SUBDIRS := $(xammac_dirs)
347 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
348 binary_reference_assemblies_SUBDIRS := reference-assemblies
349 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
350 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
351 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
352 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
353 winaot_SUBDIRS := $(winaot_dirs)
354 orbis_SUBDIRS := $(monotouch_dirs)
356 include ../build/rules.make
358 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)
360 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
362 # No new makefiles for: System.Messaging, System.Web.Mobile,
363 # System.ServiceProcess
378 doc/NUnitGuidelines \
379 doc/TemplateTest.cs \
380 notes/BitVecto32.txt \
381 MicrosoftAjaxLibrary/License.htm \
382 test-helpers/NetworkHelpers.cs \
383 test-helpers/SocketResponder.cs \
384 lib/$(monolite_dir)/mcs.exe \
387 .PHONY: all-local $(STD_TARGETS:=-local)
388 all-local $(STD_TARGETS:=-local):
393 monolite_dir := monolite
395 # Files needed to bootstrap C# compiler
396 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
397 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
398 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
399 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
400 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
401 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
402 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
403 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
404 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
405 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
406 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
408 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
411 lib/$(monolite_dir)/Facades:
414 $(monolite_files): | lib/$(monolite_dir)
415 $(monolite_files): | lib/$(monolite_dir)/Facades
416 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
419 lib/$(monolite_dir)/mcs.exe:
420 $(MAKE) -C ../mcs PROFILE=build
421 cp -p lib/build/mcs.exe lib/$(monolite_dir)
423 $(build_files:%=lib/build/%):
424 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
426 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
428 dist-default: dist-monolite
430 dist-local: dist-default
435 $(RM) -rf $(topdir)/class/lib/$(PROFILE)