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.Reflection.Context \
86 System.Net.Http.WinHttpHandler
88 testing_aot_full_dirs := \
89 $(mobile_common_dirs) \
93 testing_aot_hybrid_dirs := \
94 $(mobile_common_dirs) \
99 $(mobile_common_dirs) \
100 Mono.CompilerServices.SymbolWriter \
104 $(mobile_common_dirs) \
105 Mono.CompilerServices.SymbolWriter \
106 Mono.Btls.Interface \
111 $(mobile_common_dirs) \
115 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
116 monotouch_tv_dirs := $(monotouch_dirs)
118 monotouch_runtime_dirs := \
126 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
127 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
130 $(mobile_common_dirs) \
143 System.ServiceModel.Internals \
146 System.Numerics.Vectors \
148 System.Transactions \
149 System.EnterpriseServices \
151 System.Runtime.Serialization \
154 System.Runtime.Serialization.Formatters.Soap \
155 System.ComponentModel.DataAnnotations \
156 System.IdentityModel \
157 System.IdentityModel.Selectors \
159 System.Configuration.Install \
161 System.Web.Services \
162 System.ServiceModel \
163 System.ServiceModel.Web \
165 System.Data.Services.Client \
166 System.IO.Compression \
167 System.IO.Compression.FileSystem \
168 System.ComponentModel.Composition.4.5 \
171 System.Xml.Serialization \
174 Mono.CompilerServices.SymbolWriter \
177 System.Net.Http.WebRequest \
178 System.Reflection.Context \
179 System.Net.Http.WinHttpHandler \
187 Mono.CompilerServices.SymbolWriter \
191 System.Configuration \
193 System.IO.Compression \
194 System.IO.Compression.FileSystem \
195 System.Transactions \
196 System.EnterpriseServices \
199 System.Numerics.Vectors \
201 System.ComponentModel.DataAnnotations \
204 System.Runtime.Serialization.Formatters.Soap \
205 System.Windows.Forms \
207 System.Web.ApplicationServices \
208 Novell.Directory.Ldap \
209 System.DirectoryServices \
211 System.Web.Services \
213 System.Runtime.Remoting \
214 System.Configuration.Install \
216 System.Data.OracleClient \
218 Commons.Xml.Relaxng \
221 System.ServiceProcess \
222 System.Drawing.Design \
223 ICSharpCode.SharpZipLib \
227 System.ServiceModel.Internals \
229 System.Runtime.Serialization \
232 System.Web.Abstractions \
234 System.Runtime.DurableInstancing \
235 System.IdentityModel \
236 System.IdentityModel.Selectors \
237 System.ServiceModel \
238 System.Web.Extensions \
239 System.Web.Extensions.Design \
240 System.Web.DynamicData \
247 System.ServiceModel.Activation \
248 System.ServiceModel.Routing \
249 System.ServiceModel.Discovery \
250 System.Runtime.Caching \
251 Microsoft.Web.Infrastructure \
252 System.ServiceModel.Web \
254 System.Net.Http.WebRequest \
256 System.Web.WebPages.Deployment \
257 System.Web.WebPages \
258 System.Web.WebPages.Razor \
260 System.Net.Http.Formatting \
262 System.Web.Http.SelfHost \
263 System.Web.Http.WebHost
265 # These are the subdirs which depends on libs in net_4_x_dirs
266 # or have proper dependencies between each other
267 net_4_x_parallel_dirs := \
270 Mono.Btls.Interface \
283 Mono.Security.Win32 \
284 Mono.Messaging.RabbitMQ \
286 System.Windows.Forms.DataVisualization \
287 System.Reactive.Interfaces \
288 System.Reactive.Core \
289 System.Reactive.Linq \
290 System.Reactive.PlatformServices \
291 System.Reactive.Providers \
292 System.Reactive.Runtime.Remoting \
293 System.Reactive.Windows.Forms \
294 System.Reactive.Windows.Threading \
295 System.Reactive.Observable.Aliases \
296 System.Reactive.Experimental \
297 System.Reactive.Debugger \
298 System.Data.Services.Client \
299 System.Data.Services \
301 System.Data.DataSetExtensions \
302 System.Json.Microsoft \
303 System.Threading.Tasks.Dataflow \
304 System.ComponentModel.Composition.4.5 \
306 System.Xml.Serialization \
307 System.DirectoryServices.Protocols \
314 System.Web.RegularExpressions \
315 System.Workflow.Activities \
316 System.Workflow.ComponentModel \
317 System.Workflow.Runtime \
318 System.Reflection.Context \
323 Microsoft.Build.Framework \
324 Microsoft.Build.Utilities \
325 Microsoft.Build.Engine \
327 Microsoft.Build.Tasks
334 $(filter-out Microsoft.CSharp Mono.CSharp Mono.Data.Sqlite,$(mobile_common_dirs)) \
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 := $(orbis_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/$(MONO_CORLIB_VERSION)
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 \
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)