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
33 System.ComponentModel.Composition.4.5 \
36 System.Runtime.InteropServices.RuntimeInformation \
37 System.IO.Compression \
41 Mono.CompilerServices.SymbolWriter \
43 ../tools/cil-stringreplacer
46 basic_PARALLEL_SUBDIRS := ../mcs
47 build_PARALLEL_SUBDIRS := ../mcs
49 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
50 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
53 mobile_common_dirs := \
61 System.ServiceModel.Internals \
62 System.Runtime.Serialization \
64 System.IdentityModel \
66 System.ServiceModel.Web \
72 System.Numerics.Vectors \
75 System.Data.Services.Client \
76 System.IO.Compression \
77 System.IO.Compression.FileSystem \
78 System.ComponentModel.DataAnnotations \
79 System.ComponentModel.Composition.4.5 \
83 System.Xml.Serialization \
86 System.Runtime.InteropServices.RuntimeInformation \
87 System.Reflection.DispatchProxy \
88 System.Xml.XPath.XmlDocument \
89 System.Reflection.Context \
90 System.Net.Http.WinHttpHandler
92 testing_aot_full_dirs := \
93 $(mobile_common_dirs) \
97 testing_aot_hybrid_dirs := \
98 $(mobile_common_dirs) \
103 $(mobile_common_dirs) \
104 Mono.CompilerServices.SymbolWriter \
108 $(mobile_common_dirs) \
109 Mono.CompilerServices.SymbolWriter \
110 Mono.Btls.Interface \
115 $(mobile_common_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)
134 $(mobile_common_dirs) \
147 System.ServiceModel.Internals \
150 System.Numerics.Vectors \
152 System.Transactions \
153 System.EnterpriseServices \
155 System.Runtime.Serialization \
158 System.Runtime.Serialization.Formatters.Soap \
159 System.ComponentModel.DataAnnotations \
160 System.IdentityModel \
161 System.IdentityModel.Selectors \
163 System.Configuration.Install \
165 System.Web.Services \
166 System.ServiceModel \
167 System.ServiceModel.Web \
169 System.Data.Services.Client \
170 System.IO.Compression \
171 System.IO.Compression.FileSystem \
172 System.ComponentModel.Composition.4.5 \
175 System.Xml.Serialization \
178 Mono.CompilerServices.SymbolWriter \
181 System.Net.Http.WebRequest \
182 System.Runtime.InteropServices.RuntimeInformation \
183 System.Reflection.Context \
184 System.Net.Http.WinHttpHandler \
192 Mono.CompilerServices.SymbolWriter \
196 System.Configuration \
198 System.IO.Compression \
199 System.IO.Compression.FileSystem \
200 System.Transactions \
201 System.EnterpriseServices \
204 System.Numerics.Vectors \
206 System.ComponentModel.DataAnnotations \
209 System.Runtime.Serialization.Formatters.Soap \
210 System.Windows.Forms \
212 System.Web.ApplicationServices \
213 Novell.Directory.Ldap \
214 System.DirectoryServices \
216 System.Web.Services \
218 System.Runtime.Remoting \
219 System.Configuration.Install \
221 System.Data.OracleClient \
223 Commons.Xml.Relaxng \
226 System.ServiceProcess \
227 System.Drawing.Design \
228 ICSharpCode.SharpZipLib \
232 System.ServiceModel.Internals \
234 System.Runtime.Serialization \
237 System.Web.Abstractions \
239 System.Runtime.DurableInstancing \
240 System.IdentityModel \
241 System.IdentityModel.Selectors \
242 System.ServiceModel \
243 System.Web.Extensions \
244 System.Web.Extensions.Design \
245 System.Web.DynamicData \
252 System.ServiceModel.Activation \
253 System.ServiceModel.Routing \
254 System.ServiceModel.Discovery \
255 System.Runtime.Caching \
256 Microsoft.Web.Infrastructure \
257 System.ServiceModel.Web \
259 System.Net.Http.WebRequest \
261 System.Web.WebPages.Deployment \
262 System.Web.WebPages \
263 System.Web.WebPages.Razor \
265 System.Net.Http.Formatting \
267 System.Web.Http.SelfHost \
268 System.Web.Http.WebHost \
269 System.Runtime.InteropServices.RuntimeInformation
271 # These are the subdirs which depends on libs in net_4_x_dirs
272 # or have proper dependencies between each other
273 net_4_x_parallel_dirs := \
276 Mono.Btls.Interface \
289 Mono.Security.Win32 \
290 Mono.Messaging.RabbitMQ \
292 System.Windows.Forms.DataVisualization \
293 System.Reactive.Interfaces \
294 System.Reactive.Core \
295 System.Reactive.Linq \
296 System.Reactive.PlatformServices \
297 System.Reactive.Providers \
298 System.Reactive.Runtime.Remoting \
299 System.Reactive.Windows.Forms \
300 System.Reactive.Windows.Threading \
301 System.Reactive.Observable.Aliases \
302 System.Reactive.Experimental \
303 System.Reactive.Debugger \
304 System.Data.Services.Client \
305 System.Data.Services \
307 System.Data.DataSetExtensions \
308 System.Json.Microsoft \
309 System.Threading.Tasks.Dataflow \
310 System.ComponentModel.Composition.4.5 \
312 System.Xml.Serialization \
313 System.DirectoryServices.Protocols \
320 System.Web.RegularExpressions \
321 System.Workflow.Activities \
322 System.Workflow.ComponentModel \
323 System.Workflow.Runtime \
324 System.Reflection.Context \
329 Microsoft.Build.Framework \
330 Microsoft.Build.Utilities \
331 Microsoft.Build.Engine \
333 Microsoft.Build.Tasks
340 $(filter-out Microsoft.CSharp Mono.CSharp Mono.Data.Sqlite,$(mobile_common_dirs)) \
344 monodroid_SUBDIRS := $(monodroid_dirs)
345 monotouch_SUBDIRS := $(monotouch_dirs)
346 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
347 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
348 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
349 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
350 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
351 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
352 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
353 xammac_SUBDIRS := $(xammac_dirs)
354 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
355 binary_reference_assemblies_SUBDIRS := reference-assemblies
356 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
357 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
358 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
359 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
360 winaot_SUBDIRS := $(winaot_dirs)
361 orbis_SUBDIRS := $(orbis_dirs)
363 include ../build/rules.make
365 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)
367 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
369 # No new makefiles for: System.Messaging, System.Web.Mobile,
370 # System.ServiceProcess
385 doc/NUnitGuidelines \
386 doc/TemplateTest.cs \
387 notes/BitVecto32.txt \
388 MicrosoftAjaxLibrary/License.htm \
389 test-helpers/NetworkHelpers.cs \
390 test-helpers/SocketResponder.cs \
391 lib/$(monolite_dir)/mcs.exe \
394 .PHONY: all-local $(STD_TARGETS:=-local)
395 all-local $(STD_TARGETS:=-local):
400 monolite_dir := monolite/$(MONO_CORLIB_VERSION)
402 # Files needed to bootstrap C# compiler
403 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
404 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
405 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
406 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
407 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
408 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
409 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
410 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
411 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
412 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
413 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
415 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
418 lib/$(monolite_dir)/Facades:
421 $(monolite_files): | lib/$(monolite_dir)
422 $(monolite_files): | lib/$(monolite_dir)/Facades
423 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
426 lib/$(monolite_dir)/mcs.exe:
427 $(MAKE) -C ../mcs PROFILE=build
428 cp -p lib/build/mcs.exe lib/$(monolite_dir)
430 $(build_files:%=lib/build/%):
431 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
433 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
435 package-monolite-latest:
436 MONOLITE=monolite-$(MONO_CORLIB_VERSION)-latest; \
437 $(MAKE) dist-monolite monolite_dir=$$MONOLITE; \
438 tar zcvpf $$MONOLITE.tar.gz --directory=lib $$MONOLITE/
440 dist-default: dist-monolite
442 dist-local: dist-default
447 $(RM) -rf $(topdir)/class/lib/$(PROFILE)