3 basic_SUBDIRS := corlib Mono.Security System System.XML System.Core
5 pcl_facade_dirs := Facades
7 # resgen is corlib specific so we need to wait until corlib is build
8 # and build it just a step before first dll needs it
9 resgen_dir = ../tools/resgen
20 System.ComponentModel.Composition.4.5 \
25 mobile_common_dirs := \
33 System.ServiceModel.Internals \
34 System.Runtime.Serialization \
36 System.IdentityModel \
38 System.ServiceModel.Web \
44 System.Numerics.Vectors \
47 System.Data.Services.Client \
48 System.IO.Compression \
49 System.IO.Compression.FileSystem \
50 System.ComponentModel.DataAnnotations \
51 System.ComponentModel.Composition.4.5 \
55 System.Xml.Serialization \
58 System.Runtime.InteropServices.RuntimeInformation \
59 System.Reflection.DispatchProxy \
60 System.Xml.XPath.XmlDocument \
61 System.Reflection.Context \
62 System.Net.Http.WinHttpHandler
64 mobile_static_dirs := \
65 $(mobile_common_dirs) \
66 Mono.Dynamic.Interpreter \
68 Mono.CompilerServices.SymbolWriter \
72 mobile_dynamic_dirs := \
73 $(mobile_common_dirs) \
74 Mono.CompilerServices.SymbolWriter \
78 $(mobile_dynamic_dirs)
81 $(mobile_dynamic_dirs) \
87 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
88 monotouch_tv_dirs := $(monotouch_dirs)
90 monotouch_runtime_dirs := \
98 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
99 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
110 System.ServiceModel.Internals \
113 System.Numerics.Vectors \
115 System.Transactions \
116 System.EnterpriseServices \
118 System.Runtime.Serialization \
121 System.Runtime.Serialization.Formatters.Soap \
122 System.ComponentModel.DataAnnotations \
123 System.IdentityModel \
124 System.IdentityModel.Selectors \
126 System.Configuration.Install \
128 System.Web.Services \
129 System.ServiceModel \
130 System.ServiceModel.Web \
132 System.Data.Services.Client \
133 System.IO.Compression \
134 System.IO.Compression.FileSystem \
135 System.ComponentModel.Composition.4.5 \
138 System.Xml.Serialization \
141 Mono.CompilerServices.SymbolWriter \
144 System.Net.Http.WebRequest \
145 System.Runtime.InteropServices.RuntimeInformation \
146 System.Reflection.Context \
147 System.Net.Http.WinHttpHandler \
155 Mono.CompilerServices.SymbolWriter \
159 System.Configuration \
161 System.IO.Compression \
162 System.IO.Compression.FileSystem \
164 System.Transactions \
165 System.EnterpriseServices \
168 System.Numerics.Vectors \
170 System.ComponentModel.DataAnnotations \
173 System.Runtime.Serialization.Formatters.Soap \
174 System.Windows.Forms \
176 System.Web.ApplicationServices \
177 Novell.Directory.Ldap \
178 System.DirectoryServices \
180 System.Web.Services \
182 System.Runtime.Remoting \
183 System.Configuration.Install \
185 System.Data.OracleClient \
187 Commons.Xml.Relaxng \
190 System.ServiceProcess \
191 System.Drawing.Design \
192 ICSharpCode.SharpZipLib \
196 System.ServiceModel.Internals \
198 System.Runtime.Serialization \
201 System.Web.Abstractions \
203 System.Runtime.DurableInstancing \
204 System.IdentityModel \
205 System.IdentityModel.Selectors \
206 System.ServiceModel \
207 System.Web.Extensions \
208 System.Web.Extensions.Design \
209 System.Web.DynamicData \
216 System.ServiceModel.Activation \
217 System.ServiceModel.Routing \
218 System.ServiceModel.Discovery \
219 System.Runtime.Caching \
220 Microsoft.Web.Infrastructure \
221 System.ServiceModel.Web \
223 System.Net.Http.WebRequest \
225 System.Web.WebPages.Deployment \
226 System.Web.WebPages \
227 System.Web.WebPages.Razor \
229 System.Net.Http.Formatting \
231 System.Web.Http.SelfHost \
232 System.Web.Http.WebHost \
233 System.Runtime.InteropServices.RuntimeInformation
235 # These are the subdirs which depends on libs in net_4_x_dirs
236 # or have proper dependencies between each other
237 net_4_x_parallel_dirs := \
240 Mono.Btls.Interface \
253 Mono.Security.Win32 \
254 Mono.Messaging.RabbitMQ \
256 System.Windows.Forms.DataVisualization \
257 System.Reactive.Interfaces \
258 System.Reactive.Core \
259 System.Reactive.Linq \
260 System.Reactive.PlatformServices \
261 System.Reactive.Providers \
262 System.Reactive.Runtime.Remoting \
263 System.Reactive.Windows.Forms \
264 System.Reactive.Windows.Threading \
265 System.Reactive.Observable.Aliases \
266 System.Reactive.Experimental \
267 System.Reactive.Debugger \
268 System.Data.Services.Client \
269 System.Data.Services \
271 System.Data.DataSetExtensions \
272 System.Json.Microsoft \
273 System.Threading.Tasks.Dataflow \
274 System.ComponentModel.Composition.4.5 \
276 System.Xml.Serialization \
277 System.DirectoryServices.Protocols \
284 System.Web.RegularExpressions \
285 System.Workflow.Activities \
286 System.Workflow.ComponentModel \
287 System.Workflow.Runtime \
288 System.Reflection.Context \
293 Microsoft.Build.Framework \
294 Microsoft.Build.Utilities \
295 Microsoft.Build.Engine \
297 Microsoft.Build.Tasks
303 monodroid_SUBDIRS := $(monodroid_dirs)
304 monotouch_SUBDIRS := $(monotouch_dirs)
305 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
306 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
307 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
308 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
309 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
310 mobile_static_SUBDIRS := $(mobile_static_dirs)
311 mobile_SUBDIRS := $(mobile_dynamic_dirs)
312 xammac_SUBDIRS := $(xammac_dirs)
313 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
314 binary_reference_assemblies_SUBDIRS := reference-assemblies
315 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
316 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs) aot-compiler
317 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
318 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
320 include ../build/rules.make
322 SUBDIRS = $(mobile_static_dirs) $(mobile_dynamic_dirs) $(monotouch_dirs) $(monodroid_dirs) $(xammac_dirs) $(net_4_x_dirs) $(net_4_x_parallel_dirs) $(xammac_net_4_5_SUBDIRS)
324 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
326 # No new makefiles for: System.Messaging, System.Web.Mobile,
327 # System.ServiceProcess
341 doc/NUnitGuidelines \
342 doc/TemplateTest.cs \
343 notes/BitVecto32.txt \
344 MicrosoftAjaxLibrary/License.htm \
345 test-helpers/NetworkHelpers.cs \
346 test-helpers/SocketResponder.cs \
347 lib/$(monolite_dir)/basic.exe \
350 .PHONY: all-local $(STD_TARGETS:=-local)
351 all-local $(STD_TARGETS:=-local):
356 monolite_dir := monolite
358 # Files needed to bootstrap C# compiler
359 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
360 System.Numerics.dll System.Xml.Linq.dll \
361 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
362 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
363 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
364 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
365 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
366 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
367 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll
369 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
372 lib/$(monolite_dir)/Facades:
375 $(monolite_files): | lib/$(monolite_dir)
376 $(monolite_files): | lib/$(monolite_dir)/Facades
377 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
380 lib/$(monolite_dir)/basic.exe:
381 cp -p lib/basic/basic.exe lib/$(monolite_dir)
383 $(build_files:%=lib/build/%):
384 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
386 dist-monolite: $(monolite_files) lib/$(monolite_dir)/basic.exe
388 dist-default: dist-monolite
390 dist-local: dist-default
395 $(RM) -rf $(topdir)/class/lib/$(PROFILE)