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 \
34 System.IO.Compression \
36 Mono.CompilerServices.SymbolWriter \
38 ../tools/cil-stringreplacer
40 -include ../build/config.make
43 basic_PARALLEL_SUBDIRS := ../mcs
44 build_PARALLEL_SUBDIRS := ../mcs
46 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
47 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
50 mobile_common_dirs := \
58 System.ServiceModel.Internals \
59 System.Runtime.Serialization \
61 System.IdentityModel \
63 System.ServiceModel.Web \
69 System.Numerics.Vectors \
72 System.Data.Services.Client \
73 System.IO.Compression \
74 System.IO.Compression.FileSystem \
75 System.ComponentModel.DataAnnotations \
76 System.ComponentModel.Composition.4.5 \
80 System.Xml.Serialization \
83 System.Runtime.InteropServices.RuntimeInformation \
84 System.Reflection.DispatchProxy \
85 System.Xml.XPath.XmlDocument \
86 System.Reflection.Context \
87 System.Net.Http.WinHttpHandler
89 testing_aot_full_dirs := \
90 $(mobile_common_dirs) \
94 testing_aot_hybrid_dirs := \
95 $(mobile_common_dirs) \
100 $(mobile_common_dirs) \
101 Mono.CompilerServices.SymbolWriter \
105 $(mobile_common_dirs) \
106 Mono.CompilerServices.SymbolWriter \
107 Mono.Btls.Interface \
111 $(testing_aot_full_dirs)
113 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
114 monotouch_tv_dirs := $(monotouch_dirs)
116 monotouch_runtime_dirs := \
124 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
125 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
127 winaot_dirs := $(monotouch_dirs) System.Drawing
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 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
339 testing_aot_hybrid_SUBDIRS := $(testing_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
347 winaot_SUBDIRS := $(winaot_dirs)
348 orbis_SUBDIRS := $(monotouch_dirs)
350 include ../build/rules.make
352 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)
354 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
356 # No new makefiles for: System.Messaging, System.Web.Mobile,
357 # System.ServiceProcess
372 doc/NUnitGuidelines \
373 doc/TemplateTest.cs \
374 notes/BitVecto32.txt \
375 MicrosoftAjaxLibrary/License.htm \
376 test-helpers/NetworkHelpers.cs \
377 test-helpers/SocketResponder.cs \
378 lib/$(monolite_dir)/mcs.exe \
381 .PHONY: all-local $(STD_TARGETS:=-local)
382 all-local $(STD_TARGETS:=-local):
387 monolite_dir := monolite
389 # Files needed to bootstrap C# compiler
390 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
391 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
392 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
393 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
394 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
395 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
396 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
397 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
398 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
399 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
400 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
402 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
405 lib/$(monolite_dir)/Facades:
408 $(monolite_files): | lib/$(monolite_dir)
409 $(monolite_files): | lib/$(monolite_dir)/Facades
410 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
413 lib/$(monolite_dir)/mcs.exe:
414 $(MAKE) -C ../mcs PROFILE=build
415 cp -p lib/build/mcs.exe lib/$(monolite_dir)
417 $(build_files:%=lib/build/%):
418 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
420 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
422 dist-default: dist-monolite
424 dist-local: dist-default
429 $(RM) -rf $(topdir)/class/lib/$(PROFILE)