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)
86 monotouch_watch_dirs := $(monotouch_dirs)
87 monotouch_tv_dirs := $(monotouch_dirs)
89 monotouch_runtime_dirs := \
97 monotouch_watch_runtime_dirs := $(monotouch_runtime_dirs)
98 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
109 System.ServiceModel.Internals \
112 System.Numerics.Vectors \
114 System.Transactions \
115 System.EnterpriseServices \
117 System.Runtime.Serialization \
120 System.Runtime.Serialization.Formatters.Soap \
121 System.ComponentModel.DataAnnotations \
122 System.IdentityModel \
123 System.IdentityModel.Selectors \
125 System.Configuration.Install \
127 System.Web.Services \
128 System.ServiceModel \
129 System.ServiceModel.Web \
131 System.Data.Services.Client \
132 System.IO.Compression \
133 System.IO.Compression.FileSystem \
134 System.ComponentModel.Composition.4.5 \
137 System.Xml.Serialization \
140 Mono.CompilerServices.SymbolWriter \
143 System.Net.Http.WebRequest \
144 System.Runtime.InteropServices.RuntimeInformation \
145 System.Reflection.Context \
146 System.Net.Http.WinHttpHandler \
154 Mono.CompilerServices.SymbolWriter \
158 System.Configuration \
160 System.IO.Compression \
161 System.IO.Compression.FileSystem \
163 System.Transactions \
164 System.EnterpriseServices \
167 System.Numerics.Vectors \
169 System.ComponentModel.DataAnnotations \
172 System.Runtime.Serialization.Formatters.Soap \
173 System.Windows.Forms \
175 System.Web.ApplicationServices \
176 Novell.Directory.Ldap \
177 System.DirectoryServices \
179 System.Web.Services \
181 System.Runtime.Remoting \
182 System.Configuration.Install \
184 System.Data.OracleClient \
186 Commons.Xml.Relaxng \
189 System.ServiceProcess \
190 System.Drawing.Design \
191 ICSharpCode.SharpZipLib \
195 System.ServiceModel.Internals \
197 System.Runtime.Serialization \
200 System.Web.Abstractions \
202 System.Runtime.DurableInstancing \
203 System.IdentityModel \
204 System.IdentityModel.Selectors \
205 System.ServiceModel \
206 System.Web.Extensions \
207 System.Web.Extensions.Design \
208 System.Web.DynamicData \
215 System.ServiceModel.Activation \
216 System.ServiceModel.Routing \
217 System.ServiceModel.Discovery \
218 System.Runtime.Caching \
219 Microsoft.Web.Infrastructure \
220 System.ServiceModel.Web \
222 System.Net.Http.WebRequest \
224 System.Web.WebPages.Deployment \
225 System.Web.WebPages \
226 System.Web.WebPages.Razor \
228 System.Net.Http.Formatting \
230 System.Web.Http.SelfHost \
231 System.Web.Http.WebHost \
232 System.Runtime.InteropServices.RuntimeInformation
234 # These are the subdirs which depends on libs in net_4_x_dirs
235 # or have proper dependencies between each other
236 net_4_x_parallel_dirs := \
251 Mono.Security.Win32 \
252 Mono.Messaging.RabbitMQ \
254 System.Windows.Forms.DataVisualization \
255 System.Reactive.Interfaces \
256 System.Reactive.Core \
257 System.Reactive.Linq \
258 System.Reactive.PlatformServices \
259 System.Reactive.Providers \
260 System.Reactive.Runtime.Remoting \
261 System.Reactive.Windows.Forms \
262 System.Reactive.Windows.Threading \
263 System.Reactive.Observable.Aliases \
264 System.Reactive.Experimental \
265 System.Reactive.Debugger \
266 System.Data.Services.Client \
267 System.Data.Services \
269 System.Data.DataSetExtensions \
270 System.Json.Microsoft \
271 System.Threading.Tasks.Dataflow \
272 System.ComponentModel.Composition.4.5 \
274 System.Xml.Serialization \
275 System.DirectoryServices.Protocols \
282 System.Web.RegularExpressions \
283 System.Workflow.Activities \
284 System.Workflow.ComponentModel \
285 System.Workflow.Runtime \
286 System.Reflection.Context \
291 Microsoft.Build.Framework \
292 Microsoft.Build.Utilities \
293 Microsoft.Build.Engine \
295 Microsoft.Build.Tasks
301 monodroid_SUBDIRS := $(monodroid_dirs)
302 monotouch_SUBDIRS := $(monotouch_dirs)
303 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
304 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
305 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
306 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
307 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
308 mobile_static_SUBDIRS := $(mobile_static_dirs)
309 mobile_SUBDIRS := $(mobile_dynamic_dirs)
310 xammac_SUBDIRS := $(xammac_dirs)
311 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
312 binary_reference_assemblies_SUBDIRS := reference-assemblies
313 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
314 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs) aot-compiler
315 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
316 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
318 include ../build/rules.make
320 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)
322 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
324 # No new makefiles for: System.Messaging, System.Web.Mobile,
325 # System.ServiceProcess
339 doc/NUnitGuidelines \
340 doc/TemplateTest.cs \
341 notes/BitVecto32.txt \
342 MicrosoftAjaxLibrary/License.htm \
343 test-helpers/NetworkHelpers.cs \
344 test-helpers/SocketResponder.cs \
347 .PHONY: all-local $(STD_TARGETS:=-local)
348 all-local $(STD_TARGETS:=-local):
353 monolite_dir := monolite
355 # Files needed to bootstrap C# compiler
356 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
357 System.Numerics.dll System.Xml.Linq.dll \
358 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
359 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
360 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
361 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
362 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
363 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
364 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll
366 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
369 lib/$(monolite_dir)/Facades:
372 $(monolite_files): | lib/$(monolite_dir)
373 $(monolite_files): | lib/$(monolite_dir)/Facades
374 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
377 $(build_files:%=lib/build/%):
378 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
380 dist-monolite: $(monolite_files)
381 cp -p lib/basic/basic.exe lib/$(monolite_dir)
383 dist-default: dist-monolite
385 dist-local: dist-default
390 $(RM) -rf $(topdir)/class/lib/$(PROFILE)