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.Dynamic.Interpreter \
90 Mono.CompilerServices.SymbolWriter \
95 $(mobile_common_dirs) \
97 Mono.CompilerServices.SymbolWriter \
102 $(mobile_common_dirs) \
103 Mono.CompilerServices.SymbolWriter \
107 $(mobile_common_dirs) \
108 Mono.CompilerServices.SymbolWriter \
109 Mono.Btls.Interface \
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)
138 System.ServiceModel.Internals \
141 System.Numerics.Vectors \
143 System.Transactions \
144 System.EnterpriseServices \
146 System.Runtime.Serialization \
149 System.Runtime.Serialization.Formatters.Soap \
150 System.ComponentModel.DataAnnotations \
151 System.IdentityModel \
152 System.IdentityModel.Selectors \
154 System.Configuration.Install \
156 System.Web.Services \
157 System.ServiceModel \
158 System.ServiceModel.Web \
160 System.Data.Services.Client \
161 System.IO.Compression \
162 System.IO.Compression.FileSystem \
163 System.ComponentModel.Composition.4.5 \
166 System.Xml.Serialization \
169 Mono.CompilerServices.SymbolWriter \
172 System.Net.Http.WebRequest \
173 System.Runtime.InteropServices.RuntimeInformation \
174 System.Reflection.Context \
175 System.Net.Http.WinHttpHandler \
183 Mono.CompilerServices.SymbolWriter \
187 System.Configuration \
189 System.IO.Compression \
190 System.IO.Compression.FileSystem \
192 System.Transactions \
193 System.EnterpriseServices \
196 System.Numerics.Vectors \
198 System.ComponentModel.DataAnnotations \
201 System.Runtime.Serialization.Formatters.Soap \
202 System.Windows.Forms \
204 System.Web.ApplicationServices \
205 Novell.Directory.Ldap \
206 System.DirectoryServices \
208 System.Web.Services \
210 System.Runtime.Remoting \
211 System.Configuration.Install \
213 System.Data.OracleClient \
215 Commons.Xml.Relaxng \
218 System.ServiceProcess \
219 System.Drawing.Design \
220 ICSharpCode.SharpZipLib \
224 System.ServiceModel.Internals \
226 System.Runtime.Serialization \
229 System.Web.Abstractions \
231 System.Runtime.DurableInstancing \
232 System.IdentityModel \
233 System.IdentityModel.Selectors \
234 System.ServiceModel \
235 System.Web.Extensions \
236 System.Web.Extensions.Design \
237 System.Web.DynamicData \
244 System.ServiceModel.Activation \
245 System.ServiceModel.Routing \
246 System.ServiceModel.Discovery \
247 System.Runtime.Caching \
248 Microsoft.Web.Infrastructure \
249 System.ServiceModel.Web \
251 System.Net.Http.WebRequest \
253 System.Web.WebPages.Deployment \
254 System.Web.WebPages \
255 System.Web.WebPages.Razor \
257 System.Net.Http.Formatting \
259 System.Web.Http.SelfHost \
260 System.Web.Http.WebHost \
261 System.Runtime.InteropServices.RuntimeInformation
263 # These are the subdirs which depends on libs in net_4_x_dirs
264 # or have proper dependencies between each other
265 net_4_x_parallel_dirs := \
268 Mono.Btls.Interface \
281 Mono.Security.Win32 \
282 Mono.Messaging.RabbitMQ \
284 System.Windows.Forms.DataVisualization \
285 System.Reactive.Interfaces \
286 System.Reactive.Core \
287 System.Reactive.Linq \
288 System.Reactive.PlatformServices \
289 System.Reactive.Providers \
290 System.Reactive.Runtime.Remoting \
291 System.Reactive.Windows.Forms \
292 System.Reactive.Windows.Threading \
293 System.Reactive.Observable.Aliases \
294 System.Reactive.Experimental \
295 System.Reactive.Debugger \
296 System.Data.Services.Client \
297 System.Data.Services \
299 System.Data.DataSetExtensions \
300 System.Json.Microsoft \
301 System.Threading.Tasks.Dataflow \
302 System.ComponentModel.Composition.4.5 \
304 System.Xml.Serialization \
305 System.DirectoryServices.Protocols \
312 System.Web.RegularExpressions \
313 System.Workflow.Activities \
314 System.Workflow.ComponentModel \
315 System.Workflow.Runtime \
316 System.Reflection.Context \
321 Microsoft.Build.Framework \
322 Microsoft.Build.Utilities \
323 Microsoft.Build.Engine \
325 Microsoft.Build.Tasks
331 monodroid_SUBDIRS := $(monodroid_dirs)
332 monotouch_SUBDIRS := $(monotouch_dirs)
333 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
334 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
335 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
336 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
337 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
338 aot_only_SUBDIRS := $(aot_only_dirs)
339 aot_hybrid_SUBDIRS := $(aot_hybrid_dirs)
340 xammac_SUBDIRS := $(xammac_dirs)
341 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
342 binary_reference_assemblies_SUBDIRS := reference-assemblies
343 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
344 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
345 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
346 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
348 include ../build/rules.make
350 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)
352 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
354 # No new makefiles for: System.Messaging, System.Web.Mobile,
355 # System.ServiceProcess
369 doc/NUnitGuidelines \
370 doc/TemplateTest.cs \
371 notes/BitVecto32.txt \
372 MicrosoftAjaxLibrary/License.htm \
373 test-helpers/NetworkHelpers.cs \
374 test-helpers/SocketResponder.cs \
375 lib/$(monolite_dir)/mcs.exe \
378 .PHONY: all-local $(STD_TARGETS:=-local)
379 all-local $(STD_TARGETS:=-local):
384 monolite_dir := monolite
386 # Files needed to bootstrap C# compiler
387 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
388 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
389 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
390 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
391 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
392 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
393 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
394 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
395 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
396 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
397 Facades/System.ValueTuple.dll
399 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
402 lib/$(monolite_dir)/Facades:
405 $(monolite_files): | lib/$(monolite_dir)
406 $(monolite_files): | lib/$(monolite_dir)/Facades
407 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
410 lib/$(monolite_dir)/mcs.exe:
411 $(MAKE) -C ../mcs PROFILE=basic
412 cp -p lib/basic/mcs.exe lib/$(monolite_dir)
414 $(build_files:%=lib/build/%):
415 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
417 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
419 dist-default: dist-monolite
421 dist-local: dist-default
426 $(RM) -rf $(topdir)/class/lib/$(PROFILE)