3 pcl_facade_dirs := Facades
5 -include ../build/config.make
8 MCS_MODE_dirs := Mono.Cecil.Mdb
11 # The minimal set of csc dependencies
18 System.ComponentModel.Composition.4.5 \
23 ../tools/cil-stringreplacer
32 System.ComponentModel.Composition.4.5 \
35 System.IO.Compression \
39 Mono.CompilerServices.SymbolWriter \
41 ../tools/cil-stringreplacer
44 basic_PARALLEL_SUBDIRS := ../mcs
45 build_PARALLEL_SUBDIRS := ../mcs
47 basic_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
48 build_PARALLEL_SUBDIRS := $(pcl_facade_dirs)
51 mobile_common_dirs := \
59 System.ServiceModel.Internals \
60 System.Runtime.Serialization \
62 System.IdentityModel \
64 System.ServiceModel.Web \
70 System.Numerics.Vectors \
73 System.Data.Services.Client \
74 System.IO.Compression \
75 System.IO.Compression.FileSystem \
76 System.ComponentModel.DataAnnotations \
77 System.ComponentModel.Composition.4.5 \
81 System.Xml.Serialization \
84 System.Reflection.Context \
85 System.Net.Http.WinHttpHandler
87 testing_aot_full_dirs := \
88 $(mobile_common_dirs) \
92 testing_aot_hybrid_dirs := \
93 $(mobile_common_dirs) \
98 $(mobile_common_dirs) \
99 Mono.CompilerServices.SymbolWriter \
103 $(mobile_common_dirs) \
104 Mono.CompilerServices.SymbolWriter \
105 Mono.Btls.Interface \
110 $(mobile_common_dirs) \
114 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
115 monotouch_tv_dirs := $(monotouch_dirs)
117 monotouch_runtime_dirs := \
125 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
126 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
129 $(mobile_common_dirs) \
142 System.ServiceModel.Internals \
145 System.Numerics.Vectors \
147 System.Transactions \
148 System.EnterpriseServices \
150 System.Runtime.Serialization \
153 System.Runtime.Serialization.Formatters.Soap \
154 System.ComponentModel.DataAnnotations \
155 System.IdentityModel \
156 System.IdentityModel.Selectors \
158 System.Configuration.Install \
160 System.Web.Services \
161 System.ServiceModel \
162 System.ServiceModel.Web \
164 System.Data.Services.Client \
165 System.IO.Compression \
166 System.IO.Compression.FileSystem \
167 System.ComponentModel.Composition.4.5 \
170 System.Xml.Serialization \
173 Mono.CompilerServices.SymbolWriter \
176 System.Net.Http.WebRequest \
177 System.Reflection.Context \
178 System.Net.Http.WinHttpHandler \
186 Mono.CompilerServices.SymbolWriter \
190 System.Configuration \
192 System.IO.Compression \
193 System.IO.Compression.FileSystem \
194 System.Transactions \
195 System.EnterpriseServices \
198 System.Numerics.Vectors \
200 System.ComponentModel.DataAnnotations \
203 System.Runtime.Serialization.Formatters.Soap \
204 System.Windows.Forms \
206 System.Web.ApplicationServices \
207 Novell.Directory.Ldap \
208 System.DirectoryServices \
210 System.Web.Services \
212 System.Runtime.Remoting \
213 System.Configuration.Install \
215 System.Data.OracleClient \
217 Commons.Xml.Relaxng \
220 System.ServiceProcess \
221 System.Drawing.Design \
222 ICSharpCode.SharpZipLib \
226 System.ServiceModel.Internals \
228 System.Runtime.Serialization \
231 System.Web.Abstractions \
233 System.Runtime.DurableInstancing \
234 System.IdentityModel \
235 System.IdentityModel.Selectors \
236 System.ServiceModel \
237 System.Web.Extensions \
238 System.Web.Extensions.Design \
239 System.Web.DynamicData \
246 System.ServiceModel.Activation \
247 System.ServiceModel.Routing \
248 System.ServiceModel.Discovery \
249 System.Runtime.Caching \
250 Microsoft.Web.Infrastructure \
251 System.ServiceModel.Web \
253 System.Net.Http.WebRequest \
255 System.Web.WebPages.Deployment \
256 System.Web.WebPages \
257 System.Web.WebPages.Razor \
259 System.Net.Http.Formatting \
261 System.Web.Http.SelfHost \
262 System.Web.Http.WebHost
264 # These are the subdirs which depends on libs in net_4_x_dirs
265 # or have proper dependencies between each other
266 net_4_x_parallel_dirs := \
269 Mono.Btls.Interface \
282 Mono.Security.Win32 \
283 Mono.Messaging.RabbitMQ \
285 System.Windows.Forms.DataVisualization \
286 System.Reactive.Interfaces \
287 System.Reactive.Core \
288 System.Reactive.Linq \
289 System.Reactive.PlatformServices \
290 System.Reactive.Providers \
291 System.Reactive.Runtime.Remoting \
292 System.Reactive.Windows.Forms \
293 System.Reactive.Windows.Threading \
294 System.Reactive.Observable.Aliases \
295 System.Reactive.Experimental \
296 System.Reactive.Debugger \
297 System.Data.Services.Client \
298 System.Data.Services \
300 System.Data.DataSetExtensions \
301 System.Json.Microsoft \
302 System.Threading.Tasks.Dataflow \
303 System.ComponentModel.Composition.4.5 \
305 System.Xml.Serialization \
306 System.DirectoryServices.Protocols \
313 System.Web.RegularExpressions \
314 System.Workflow.Activities \
315 System.Workflow.ComponentModel \
316 System.Workflow.Runtime \
317 System.Reflection.Context \
322 Microsoft.Build.Framework \
323 Microsoft.Build.Utilities \
324 Microsoft.Build.Engine \
326 Microsoft.Build.Tasks
333 $(filter-out Microsoft.CSharp Mono.CSharp Mono.Data.Sqlite,$(mobile_common_dirs)) \
337 monodroid_SUBDIRS := $(monodroid_dirs)
338 monotouch_SUBDIRS := $(monotouch_dirs)
339 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
340 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
341 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
342 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
343 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
344 testing_aot_full_SUBDIRS := $(testing_aot_full_dirs)
345 testing_aot_hybrid_SUBDIRS := $(testing_aot_hybrid_dirs)
346 xammac_SUBDIRS := $(xammac_dirs)
347 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
348 binary_reference_assemblies_SUBDIRS := reference-assemblies
349 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
350 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs)
351 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
352 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
353 winaot_SUBDIRS := $(winaot_dirs)
354 orbis_SUBDIRS := $(orbis_dirs)
356 include ../build/rules.make
358 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)
360 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
362 # No new makefiles for: System.Messaging, System.Web.Mobile,
363 # System.ServiceProcess
378 doc/NUnitGuidelines \
379 doc/TemplateTest.cs \
380 notes/BitVecto32.txt \
381 MicrosoftAjaxLibrary/License.htm \
382 test-helpers/NetworkHelpers.cs \
383 test-helpers/SocketResponder.cs \
384 lib/$(monolite_dir)/mcs.exe \
387 .PHONY: all-local $(STD_TARGETS:=-local)
388 all-local $(STD_TARGETS:=-local):
393 monolite_dir := monolite/$(MONO_CORLIB_VERSION)
395 # Files needed to bootstrap C# compiler
396 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
397 System.Numerics.dll System.Xml.Linq.dll \
398 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
399 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
400 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
401 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
402 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
403 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
404 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll Facades/System.IO.FileSystem.Primitives.dll Facades/System.IO.FileSystem.dll \
405 Facades/System.Diagnostics.FileVersionInfo.dll Facades/System.Security.Cryptography.Primitives.dll Facades/System.Security.Cryptography.Algorithms.dll \
406 Facades/System.ValueTuple.dll Facades/System.Text.Encoding.CodePages.dll
408 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
411 lib/$(monolite_dir)/Facades:
414 $(monolite_files): | lib/$(monolite_dir)
415 $(monolite_files): | lib/$(monolite_dir)/Facades
416 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
419 lib/$(monolite_dir)/mcs.exe:
420 $(MAKE) -C ../mcs PROFILE=build
421 cp -p lib/build/mcs.exe lib/$(monolite_dir)
423 $(build_files:%=lib/build/%):
424 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
426 dist-monolite: $(monolite_files) lib/$(monolite_dir)/mcs.exe
428 package-monolite-latest:
429 MONOLITE=monolite-$(MONO_CORLIB_VERSION)-latest; \
430 $(MAKE) dist-monolite monolite_dir=$$MONOLITE; \
431 tar zcvpf $$MONOLITE.tar.gz --directory=lib $$MONOLITE/
433 dist-default: dist-monolite
435 dist-local: dist-default
440 $(RM) -rf $(topdir)/class/lib/$(PROFILE)