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
86 testing_aot_full_dirs := \
87 $(mobile_common_dirs) \
88 Mono.CompilerServices.SymbolWriter \
92 testing_aot_hybrid_dirs := \
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 \
110 $(testing_aot_full_dirs)
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)
126 xbox_dirs := $(monotouch_dirs) System.Drawing
137 System.ServiceModel.Internals \
140 System.Numerics.Vectors \
142 System.Transactions \
143 System.EnterpriseServices \
145 System.Runtime.Serialization \
148 System.Runtime.Serialization.Formatters.Soap \
149 System.ComponentModel.DataAnnotations \
150 System.IdentityModel \
151 System.IdentityModel.Selectors \
153 System.Configuration.Install \
155 System.Web.Services \
156 System.ServiceModel \
157 System.ServiceModel.Web \
159 System.Data.Services.Client \
160 System.IO.Compression \
161 System.IO.Compression.FileSystem \
162 System.ComponentModel.Composition.4.5 \
165 System.Xml.Serialization \
168 Mono.CompilerServices.SymbolWriter \
171 System.Net.Http.WebRequest \
172 System.Runtime.InteropServices.RuntimeInformation \
173 System.Reflection.Context \
174 System.Net.Http.WinHttpHandler \
182 Mono.CompilerServices.SymbolWriter \
186 System.Configuration \
188 System.IO.Compression \
189 System.IO.Compression.FileSystem \
191 System.Transactions \
192 System.EnterpriseServices \
195 System.Numerics.Vectors \
197 System.ComponentModel.DataAnnotations \
200 System.Runtime.Serialization.Formatters.Soap \
201 System.Windows.Forms \
203 System.Web.ApplicationServices \
204 Novell.Directory.Ldap \
205 System.DirectoryServices \
207 System.Web.Services \
209 System.Runtime.Remoting \
210 System.Configuration.Install \
212 System.Data.OracleClient \
214 Commons.Xml.Relaxng \
217 System.ServiceProcess \
218 System.Drawing.Design \
219 ICSharpCode.SharpZipLib \
223 System.ServiceModel.Internals \
225 System.Runtime.Serialization \
228 System.Web.Abstractions \
230 System.Runtime.DurableInstancing \
231 System.IdentityModel \
232 System.IdentityModel.Selectors \
233 System.ServiceModel \
234 System.Web.Extensions \
235 System.Web.Extensions.Design \
236 System.Web.DynamicData \
243 System.ServiceModel.Activation \
244 System.ServiceModel.Routing \
245 System.ServiceModel.Discovery \
246 System.Runtime.Caching \
247 Microsoft.Web.Infrastructure \
248 System.ServiceModel.Web \
250 System.Net.Http.WebRequest \
252 System.Web.WebPages.Deployment \
253 System.Web.WebPages \
254 System.Web.WebPages.Razor \
256 System.Net.Http.Formatting \
258 System.Web.Http.SelfHost \
259 System.Web.Http.WebHost \
260 System.Runtime.InteropServices.RuntimeInformation
262 # These are the subdirs which depends on libs in net_4_x_dirs
263 # or have proper dependencies between each other
264 net_4_x_parallel_dirs := \
267 Mono.Btls.Interface \
280 Mono.Security.Win32 \
281 Mono.Messaging.RabbitMQ \
283 System.Windows.Forms.DataVisualization \
284 System.Reactive.Interfaces \
285 System.Reactive.Core \
286 System.Reactive.Linq \
287 System.Reactive.PlatformServices \
288 System.Reactive.Providers \
289 System.Reactive.Runtime.Remoting \
290 System.Reactive.Windows.Forms \
291 System.Reactive.Windows.Threading \
292 System.Reactive.Observable.Aliases \
293 System.Reactive.Experimental \
294 System.Reactive.Debugger \
295 System.Data.Services.Client \
296 System.Data.Services \
298 System.Data.DataSetExtensions \
299 System.Json.Microsoft \
300 System.Threading.Tasks.Dataflow \
301 System.ComponentModel.Composition.4.5 \
303 System.Xml.Serialization \
304 System.DirectoryServices.Protocols \
311 System.Web.RegularExpressions \
312 System.Workflow.Activities \
313 System.Workflow.ComponentModel \
314 System.Workflow.Runtime \
315 System.Reflection.Context \
320 Microsoft.Build.Framework \
321 Microsoft.Build.Utilities \
322 Microsoft.Build.Engine \
324 Microsoft.Build.Tasks
330 monodroid_SUBDIRS := $(monodroid_dirs)
331 monotouch_SUBDIRS := $(monotouch_dirs)
332 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
333 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
334 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
335 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
336 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
337 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
338 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
339 xammac_SUBDIRS := $(xammac_dirs)
340 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
341 binary_reference_assemblies_SUBDIRS := reference-assemblies
342 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
343 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
344 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
345 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
346 xbox_SUBDIRS := $(xbox_dirs)
348 include ../build/rules.make
350 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)
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)