3 pcl_facade_dirs := Facades
5 # The minimal set of csc dependencies
12 System.ComponentModel.Composition.4.5 \
15 System.Runtime.InteropServices.RuntimeInformation \
17 ../tools/cil-stringreplacer
19 # resgen is corlib specific so we need to wait until corlib is build
20 # and build it just a step before first dll needs it
21 resgen_dir = ../tools/resgen
30 System.ComponentModel.Composition.4.5 \
33 System.Runtime.InteropServices.RuntimeInformation \
35 ../tools/cil-stringreplacer
37 -include ../build/config.make
40 basic_PARALLEL_SUBDIRS := ../mcs
41 build_PARALLEL_SUBDIRS := ../mcs
43 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
44 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
47 mobile_common_dirs := \
55 System.ServiceModel.Internals \
56 System.Runtime.Serialization \
58 System.IdentityModel \
60 System.ServiceModel.Web \
66 System.Numerics.Vectors \
69 System.Data.Services.Client \
70 System.IO.Compression \
71 System.IO.Compression.FileSystem \
72 System.ComponentModel.DataAnnotations \
73 System.ComponentModel.Composition.4.5 \
77 System.Xml.Serialization \
80 System.Runtime.InteropServices.RuntimeInformation \
81 System.Reflection.DispatchProxy \
82 System.Xml.XPath.XmlDocument \
83 System.Reflection.Context \
84 System.Net.Http.WinHttpHandler
87 $(mobile_common_dirs) \
88 Mono.CompilerServices.SymbolWriter \
93 $(mobile_common_dirs) \
94 Mono.CompilerServices.SymbolWriter \
99 $(mobile_common_dirs) \
100 Mono.CompilerServices.SymbolWriter \
104 $(mobile_common_dirs) \
105 Mono.CompilerServices.SymbolWriter \
106 Mono.Btls.Interface \
112 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
113 monotouch_tv_dirs := $(monotouch_dirs)
115 monotouch_runtime_dirs := \
123 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
124 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
135 System.ServiceModel.Internals \
138 System.Numerics.Vectors \
140 System.Transactions \
141 System.EnterpriseServices \
143 System.Runtime.Serialization \
146 System.Runtime.Serialization.Formatters.Soap \
147 System.ComponentModel.DataAnnotations \
148 System.IdentityModel \
149 System.IdentityModel.Selectors \
151 System.Configuration.Install \
153 System.Web.Services \
154 System.ServiceModel \
155 System.ServiceModel.Web \
157 System.Data.Services.Client \
158 System.IO.Compression \
159 System.IO.Compression.FileSystem \
160 System.ComponentModel.Composition.4.5 \
163 System.Xml.Serialization \
166 Mono.CompilerServices.SymbolWriter \
169 System.Net.Http.WebRequest \
170 System.Runtime.InteropServices.RuntimeInformation \
171 System.Reflection.Context \
172 System.Net.Http.WinHttpHandler \
180 Mono.CompilerServices.SymbolWriter \
184 System.Configuration \
186 System.IO.Compression \
187 System.IO.Compression.FileSystem \
189 System.Transactions \
190 System.EnterpriseServices \
193 System.Numerics.Vectors \
195 System.ComponentModel.DataAnnotations \
198 System.Runtime.Serialization.Formatters.Soap \
199 System.Windows.Forms \
201 System.Web.ApplicationServices \
202 Novell.Directory.Ldap \
203 System.DirectoryServices \
205 System.Web.Services \
207 System.Runtime.Remoting \
208 System.Configuration.Install \
210 System.Data.OracleClient \
212 Commons.Xml.Relaxng \
215 System.ServiceProcess \
216 System.Drawing.Design \
217 ICSharpCode.SharpZipLib \
221 System.ServiceModel.Internals \
223 System.Runtime.Serialization \
226 System.Web.Abstractions \
228 System.Runtime.DurableInstancing \
229 System.IdentityModel \
230 System.IdentityModel.Selectors \
231 System.ServiceModel \
232 System.Web.Extensions \
233 System.Web.Extensions.Design \
234 System.Web.DynamicData \
241 System.ServiceModel.Activation \
242 System.ServiceModel.Routing \
243 System.ServiceModel.Discovery \
244 System.Runtime.Caching \
245 Microsoft.Web.Infrastructure \
246 System.ServiceModel.Web \
248 System.Net.Http.WebRequest \
250 System.Web.WebPages.Deployment \
251 System.Web.WebPages \
252 System.Web.WebPages.Razor \
254 System.Net.Http.Formatting \
256 System.Web.Http.SelfHost \
257 System.Web.Http.WebHost \
258 System.Runtime.InteropServices.RuntimeInformation
260 # These are the subdirs which depends on libs in net_4_x_dirs
261 # or have proper dependencies between each other
262 net_4_x_parallel_dirs := \
265 Mono.Btls.Interface \
278 Mono.Security.Win32 \
279 Mono.Messaging.RabbitMQ \
281 System.Windows.Forms.DataVisualization \
282 System.Reactive.Interfaces \
283 System.Reactive.Core \
284 System.Reactive.Linq \
285 System.Reactive.PlatformServices \
286 System.Reactive.Providers \
287 System.Reactive.Runtime.Remoting \
288 System.Reactive.Windows.Forms \
289 System.Reactive.Windows.Threading \
290 System.Reactive.Observable.Aliases \
291 System.Reactive.Experimental \
292 System.Reactive.Debugger \
293 System.Data.Services.Client \
294 System.Data.Services \
296 System.Data.DataSetExtensions \
297 System.Json.Microsoft \
298 System.Threading.Tasks.Dataflow \
299 System.ComponentModel.Composition.4.5 \
301 System.Xml.Serialization \
302 System.DirectoryServices.Protocols \
309 System.Web.RegularExpressions \
310 System.Workflow.Activities \
311 System.Workflow.ComponentModel \
312 System.Workflow.Runtime \
313 System.Reflection.Context \
318 Microsoft.Build.Framework \
319 Microsoft.Build.Utilities \
320 Microsoft.Build.Engine \
322 Microsoft.Build.Tasks
328 monodroid_SUBDIRS := $(monodroid_dirs)
329 monotouch_SUBDIRS := $(monotouch_dirs)
330 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
331 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
332 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
333 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
334 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
335 aot_only_SUBDIRS := $(aot_only_dirs)
336 aot_hybrid_SUBDIRS := $(aot_hybrid_dirs)
337 xammac_SUBDIRS := $(xammac_dirs)
338 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
339 binary_reference_assemblies_SUBDIRS := reference-assemblies
340 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
341 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
342 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
343 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
345 include ../build/rules.make
347 SUBDIRS = $(aot_only_dirs) $(aot_hybrid_dirs) $(monotouch_dirs) $(monodroid_dirs) $(xammac_dirs) $(net_4_x_dirs) $(net_4_x_parallel_dirs) $(xammac_net_4_5_SUBDIRS)
349 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
351 # No new makefiles for: System.Messaging, System.Web.Mobile,
352 # System.ServiceProcess
366 doc/NUnitGuidelines \
367 doc/TemplateTest.cs \
368 notes/BitVecto32.txt \
369 MicrosoftAjaxLibrary/License.htm \
370 test-helpers/NetworkHelpers.cs \
371 test-helpers/SocketResponder.cs \
372 lib/$(monolite_dir)/mcs.exe \
375 .PHONY: all-local $(STD_TARGETS:=-local)
376 all-local $(STD_TARGETS:=-local):
381 monolite_dir := monolite
383 # Files needed to bootstrap C# compiler
384 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
385 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
386 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
387 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
388 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
389 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
390 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
391 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
392 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
393 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
394 Facades/System.ValueTuple.dll
396 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
399 lib/$(monolite_dir)/Facades:
402 $(monolite_files): | lib/$(monolite_dir)
403 $(monolite_files): | lib/$(monolite_dir)/Facades
404 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
407 lib/$(monolite_dir)/mcs.exe:
408 $(MAKE) -C ../mcs PROFILE=basic
409 cp -p lib/basic/mcs.exe lib/$(monolite_dir)
411 $(build_files:%=lib/build/%):
412 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
414 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
416 dist-default: dist-monolite
418 dist-local: dist-default
423 $(RM) -rf $(topdir)/class/lib/$(PROFILE)