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 \
89 Mono.CompilerServices.SymbolWriter \
94 $(mobile_common_dirs) \
95 Mono.CompilerServices.SymbolWriter \
100 $(mobile_common_dirs) \
101 Mono.CompilerServices.SymbolWriter \
105 $(mobile_common_dirs) \
106 Mono.CompilerServices.SymbolWriter \
107 Mono.Btls.Interface \
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)
136 System.ServiceModel.Internals \
139 System.Numerics.Vectors \
141 System.Transactions \
142 System.EnterpriseServices \
144 System.Runtime.Serialization \
147 System.Runtime.Serialization.Formatters.Soap \
148 System.ComponentModel.DataAnnotations \
149 System.IdentityModel \
150 System.IdentityModel.Selectors \
152 System.Configuration.Install \
154 System.Web.Services \
155 System.ServiceModel \
156 System.ServiceModel.Web \
158 System.Data.Services.Client \
159 System.IO.Compression \
160 System.IO.Compression.FileSystem \
161 System.ComponentModel.Composition.4.5 \
164 System.Xml.Serialization \
167 Mono.CompilerServices.SymbolWriter \
170 System.Net.Http.WebRequest \
171 System.Runtime.InteropServices.RuntimeInformation \
172 System.Reflection.Context \
173 System.Net.Http.WinHttpHandler \
181 Mono.CompilerServices.SymbolWriter \
185 System.Configuration \
187 System.IO.Compression \
188 System.IO.Compression.FileSystem \
190 System.Transactions \
191 System.EnterpriseServices \
194 System.Numerics.Vectors \
196 System.ComponentModel.DataAnnotations \
199 System.Runtime.Serialization.Formatters.Soap \
200 System.Windows.Forms \
202 System.Web.ApplicationServices \
203 Novell.Directory.Ldap \
204 System.DirectoryServices \
206 System.Web.Services \
208 System.Runtime.Remoting \
209 System.Configuration.Install \
211 System.Data.OracleClient \
213 Commons.Xml.Relaxng \
216 System.ServiceProcess \
217 System.Drawing.Design \
218 ICSharpCode.SharpZipLib \
222 System.ServiceModel.Internals \
224 System.Runtime.Serialization \
227 System.Web.Abstractions \
229 System.Runtime.DurableInstancing \
230 System.IdentityModel \
231 System.IdentityModel.Selectors \
232 System.ServiceModel \
233 System.Web.Extensions \
234 System.Web.Extensions.Design \
235 System.Web.DynamicData \
242 System.ServiceModel.Activation \
243 System.ServiceModel.Routing \
244 System.ServiceModel.Discovery \
245 System.Runtime.Caching \
246 Microsoft.Web.Infrastructure \
247 System.ServiceModel.Web \
249 System.Net.Http.WebRequest \
251 System.Web.WebPages.Deployment \
252 System.Web.WebPages \
253 System.Web.WebPages.Razor \
255 System.Net.Http.Formatting \
257 System.Web.Http.SelfHost \
258 System.Web.Http.WebHost \
259 System.Runtime.InteropServices.RuntimeInformation
261 # These are the subdirs which depends on libs in net_4_x_dirs
262 # or have proper dependencies between each other
263 net_4_x_parallel_dirs := \
266 Mono.Btls.Interface \
279 Mono.Security.Win32 \
280 Mono.Messaging.RabbitMQ \
282 System.Windows.Forms.DataVisualization \
283 System.Reactive.Interfaces \
284 System.Reactive.Core \
285 System.Reactive.Linq \
286 System.Reactive.PlatformServices \
287 System.Reactive.Providers \
288 System.Reactive.Runtime.Remoting \
289 System.Reactive.Windows.Forms \
290 System.Reactive.Windows.Threading \
291 System.Reactive.Observable.Aliases \
292 System.Reactive.Experimental \
293 System.Reactive.Debugger \
294 System.Data.Services.Client \
295 System.Data.Services \
297 System.Data.DataSetExtensions \
298 System.Json.Microsoft \
299 System.Threading.Tasks.Dataflow \
300 System.ComponentModel.Composition.4.5 \
302 System.Xml.Serialization \
303 System.DirectoryServices.Protocols \
310 System.Web.RegularExpressions \
311 System.Workflow.Activities \
312 System.Workflow.ComponentModel \
313 System.Workflow.Runtime \
314 System.Reflection.Context \
319 Microsoft.Build.Framework \
320 Microsoft.Build.Utilities \
321 Microsoft.Build.Engine \
323 Microsoft.Build.Tasks
329 monodroid_SUBDIRS := $(monodroid_dirs)
330 monotouch_SUBDIRS := $(monotouch_dirs)
331 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
332 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
333 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
334 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
335 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
336 aot_only_SUBDIRS := $(aot_only_dirs)
337 aot_hybrid_SUBDIRS := $(aot_hybrid_dirs)
338 xammac_SUBDIRS := $(xammac_dirs)
339 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
340 binary_reference_assemblies_SUBDIRS := reference-assemblies
341 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
342 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
343 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
344 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
346 include ../build/rules.make
348 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)
350 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
352 # No new makefiles for: System.Messaging, System.Web.Mobile,
353 # System.ServiceProcess
367 doc/NUnitGuidelines \
368 doc/TemplateTest.cs \
369 notes/BitVecto32.txt \
370 MicrosoftAjaxLibrary/License.htm \
371 test-helpers/NetworkHelpers.cs \
372 test-helpers/SocketResponder.cs \
373 lib/$(monolite_dir)/mcs.exe \
376 .PHONY: all-local $(STD_TARGETS:=-local)
377 all-local $(STD_TARGETS:=-local):
382 monolite_dir := monolite
384 # Files needed to bootstrap C# compiler
385 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
386 System.Numerics.dll System.Xml.Linq.dll System.Runtime.InteropServices.RuntimeInformation.dll \
387 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
388 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
389 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
390 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
391 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
392 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
393 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
394 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
395 Facades/System.ValueTuple.dll
397 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
400 lib/$(monolite_dir)/Facades:
403 $(monolite_files): | lib/$(monolite_dir)
404 $(monolite_files): | lib/$(monolite_dir)/Facades
405 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
408 lib/$(monolite_dir)/mcs.exe:
409 $(MAKE) -C ../mcs PROFILE=basic
410 cp -p lib/basic/mcs.exe lib/$(monolite_dir)
412 $(build_files:%=lib/build/%):
413 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
415 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
417 dist-default: dist-monolite
419 dist-local: dist-default
424 $(RM) -rf $(topdir)/class/lib/$(PROFILE)