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 \
23 ../tools/cil-stringreplacer
32 System.ComponentModel.Composition.4.5 \
35 System.IO.Compression \
39 Mono.CompilerServices.SymbolWriter \
41 ../tools/cil-stringreplacer
44 basic_PARALLEL_SUBDIRS := ../mcs
45 build_PARALLEL_SUBDIRS := ../mcs
47 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
48 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
51 mobile_common_dirs := \
59 System.ServiceModel.Internals \
60 System.Runtime.Serialization \
62 System.IdentityModel \
64 System.ServiceModel.Web \
70 System.Numerics.Vectors \
73 System.Data.Services.Client \
74 System.IO.Compression \
75 System.IO.Compression.FileSystem \
76 System.ComponentModel.DataAnnotations \
77 System.ComponentModel.Composition.4.5 \
81 System.Xml.Serialization \
84 System.Reflection.DispatchProxy \
85 System.Xml.XPath.XmlDocument \
86 System.Reflection.Context \
87 System.Net.Http.WinHttpHandler
89 testing_aot_full_dirs := \
90 $(mobile_common_dirs) \
94 testing_aot_hybrid_dirs := \
95 $(mobile_common_dirs) \
100 $(mobile_common_dirs) \
101 Mono.CompilerServices.SymbolWriter \
105 $(mobile_common_dirs) \
106 Mono.CompilerServices.SymbolWriter \
107 Mono.Btls.Interface \
112 $(mobile_common_dirs) \
116 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
117 monotouch_tv_dirs := $(monotouch_dirs)
119 monotouch_runtime_dirs := \
127 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
128 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
131 $(mobile_common_dirs) \
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.Reflection.Context \
180 System.Net.Http.WinHttpHandler \
188 Mono.CompilerServices.SymbolWriter \
192 System.Configuration \
194 System.IO.Compression \
195 System.IO.Compression.FileSystem \
196 System.Transactions \
197 System.EnterpriseServices \
200 System.Numerics.Vectors \
202 System.ComponentModel.DataAnnotations \
205 System.Runtime.Serialization.Formatters.Soap \
206 System.Windows.Forms \
208 System.Web.ApplicationServices \
209 Novell.Directory.Ldap \
210 System.DirectoryServices \
212 System.Web.Services \
214 System.Runtime.Remoting \
215 System.Configuration.Install \
217 System.Data.OracleClient \
219 Commons.Xml.Relaxng \
222 System.ServiceProcess \
223 System.Drawing.Design \
224 ICSharpCode.SharpZipLib \
228 System.ServiceModel.Internals \
230 System.Runtime.Serialization \
233 System.Web.Abstractions \
235 System.Runtime.DurableInstancing \
236 System.IdentityModel \
237 System.IdentityModel.Selectors \
238 System.ServiceModel \
239 System.Web.Extensions \
240 System.Web.Extensions.Design \
241 System.Web.DynamicData \
248 System.ServiceModel.Activation \
249 System.ServiceModel.Routing \
250 System.ServiceModel.Discovery \
251 System.Runtime.Caching \
252 Microsoft.Web.Infrastructure \
253 System.ServiceModel.Web \
255 System.Net.Http.WebRequest \
257 System.Web.WebPages.Deployment \
258 System.Web.WebPages \
259 System.Web.WebPages.Razor \
261 System.Net.Http.Formatting \
263 System.Web.Http.SelfHost \
264 System.Web.Http.WebHost
266 # These are the subdirs which depends on libs in net_4_x_dirs
267 # or have proper dependencies between each other
268 net_4_x_parallel_dirs := \
271 Mono.Btls.Interface \
284 Mono.Security.Win32 \
285 Mono.Messaging.RabbitMQ \
287 System.Windows.Forms.DataVisualization \
288 System.Reactive.Interfaces \
289 System.Reactive.Core \
290 System.Reactive.Linq \
291 System.Reactive.PlatformServices \
292 System.Reactive.Providers \
293 System.Reactive.Runtime.Remoting \
294 System.Reactive.Windows.Forms \
295 System.Reactive.Windows.Threading \
296 System.Reactive.Observable.Aliases \
297 System.Reactive.Experimental \
298 System.Reactive.Debugger \
299 System.Data.Services.Client \
300 System.Data.Services \
302 System.Data.DataSetExtensions \
303 System.Json.Microsoft \
304 System.Threading.Tasks.Dataflow \
305 System.ComponentModel.Composition.4.5 \
307 System.Xml.Serialization \
308 System.DirectoryServices.Protocols \
315 System.Web.RegularExpressions \
316 System.Workflow.Activities \
317 System.Workflow.ComponentModel \
318 System.Workflow.Runtime \
319 System.Reflection.Context \
324 Microsoft.Build.Framework \
325 Microsoft.Build.Utilities \
326 Microsoft.Build.Engine \
328 Microsoft.Build.Tasks
335 $(filter-out Microsoft.CSharp Mono.CSharp Mono.Data.Sqlite,$(mobile_common_dirs)) \
339 monodroid_SUBDIRS := $(monodroid_dirs)
340 monotouch_SUBDIRS := $(monotouch_dirs)
341 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
342 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
343 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
344 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
345 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
346 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
347 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
348 xammac_SUBDIRS := $(xammac_dirs)
349 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
350 binary_reference_assemblies_SUBDIRS := reference-assemblies
351 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
352 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
353 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
354 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
355 winaot_SUBDIRS := $(winaot_dirs)
356 orbis_SUBDIRS := $(orbis_dirs)
358 include ../build/rules.make
360 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)
362 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
364 # No new makefiles for: System.Messaging, System.Web.Mobile,
365 # System.ServiceProcess
380 doc/NUnitGuidelines \
381 doc/TemplateTest.cs \
382 notes/BitVecto32.txt \
383 MicrosoftAjaxLibrary/License.htm \
384 test-helpers/NetworkHelpers.cs \
385 test-helpers/SocketResponder.cs \
386 lib/$(monolite_dir)/mcs.exe \
389 .PHONY: all-local $(STD_TARGETS:=-local)
390 all-local $(STD_TARGETS:=-local):
395 monolite_dir := monolite/$(MONO_CORLIB_VERSION)
397 # Files needed to bootstrap C# compiler
398 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
399 System.Numerics.dll System.Xml.Linq.dll \
400 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
401 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
402 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
403 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
404 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
405 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
406 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
407 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
408 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
410 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
413 lib/$(monolite_dir)/Facades:
416 $(monolite_files): | lib/$(monolite_dir)
417 $(monolite_files): | lib/$(monolite_dir)/Facades
418 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
421 lib/$(monolite_dir)/mcs.exe:
422 $(MAKE) -C ../mcs PROFILE=build
423 cp -p lib/build/mcs.exe lib/$(monolite_dir)
425 $(build_files:%=lib/build/%):
426 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
428 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
430 package-monolite-latest:
431 MONOLITE=monolite-$(MONO_CORLIB_VERSION)-latest; \
432 $(MAKE) dist-monolite monolite_dir=$$MONOLITE; \
433 tar zcvpf $$MONOLITE.tar.gz --directory=lib $$MONOLITE/
435 dist-default: dist-monolite
437 dist-local: dist-default
442 $(RM) -rf $(topdir)/class/lib/$(PROFILE)