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
65 $(mobile_common_dirs) \
66 Mono.Dynamic.Interpreter \
68 Mono.CompilerServices.SymbolWriter \
73 $(mobile_common_dirs) \
75 Mono.CompilerServices.SymbolWriter \
80 $(mobile_common_dirs) \
81 Mono.CompilerServices.SymbolWriter \
85 $(mobile_common_dirs) \
86 Mono.CompilerServices.SymbolWriter \
93 monotouch_watch_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_dirs))
94 monotouch_tv_dirs := $(monotouch_dirs)
96 monotouch_runtime_dirs := \
104 monotouch_watch_runtime_dirs := $(filter-out Mono.Security Mono.Data.Tds,$(monotouch_runtime_dirs))
105 monotouch_tv_runtime_dirs := $(monotouch_runtime_dirs)
116 System.ServiceModel.Internals \
119 System.Numerics.Vectors \
121 System.Transactions \
122 System.EnterpriseServices \
124 System.Runtime.Serialization \
127 System.Runtime.Serialization.Formatters.Soap \
128 System.ComponentModel.DataAnnotations \
129 System.IdentityModel \
130 System.IdentityModel.Selectors \
132 System.Configuration.Install \
134 System.Web.Services \
135 System.ServiceModel \
136 System.ServiceModel.Web \
138 System.Data.Services.Client \
139 System.IO.Compression \
140 System.IO.Compression.FileSystem \
141 System.ComponentModel.Composition.4.5 \
144 System.Xml.Serialization \
147 Mono.CompilerServices.SymbolWriter \
150 System.Net.Http.WebRequest \
151 System.Runtime.InteropServices.RuntimeInformation \
152 System.Reflection.Context \
153 System.Net.Http.WinHttpHandler \
161 Mono.CompilerServices.SymbolWriter \
165 System.Configuration \
167 System.IO.Compression \
168 System.IO.Compression.FileSystem \
170 System.Transactions \
171 System.EnterpriseServices \
174 System.Numerics.Vectors \
176 System.ComponentModel.DataAnnotations \
179 System.Runtime.Serialization.Formatters.Soap \
180 System.Windows.Forms \
182 System.Web.ApplicationServices \
183 Novell.Directory.Ldap \
184 System.DirectoryServices \
186 System.Web.Services \
188 System.Runtime.Remoting \
189 System.Configuration.Install \
191 System.Data.OracleClient \
193 Commons.Xml.Relaxng \
196 System.ServiceProcess \
197 System.Drawing.Design \
198 ICSharpCode.SharpZipLib \
202 System.ServiceModel.Internals \
204 System.Runtime.Serialization \
207 System.Web.Abstractions \
209 System.Runtime.DurableInstancing \
210 System.IdentityModel \
211 System.IdentityModel.Selectors \
212 System.ServiceModel \
213 System.Web.Extensions \
214 System.Web.Extensions.Design \
215 System.Web.DynamicData \
222 System.ServiceModel.Activation \
223 System.ServiceModel.Routing \
224 System.ServiceModel.Discovery \
225 System.Runtime.Caching \
226 Microsoft.Web.Infrastructure \
227 System.ServiceModel.Web \
229 System.Net.Http.WebRequest \
231 System.Web.WebPages.Deployment \
232 System.Web.WebPages \
233 System.Web.WebPages.Razor \
235 System.Net.Http.Formatting \
237 System.Web.Http.SelfHost \
238 System.Web.Http.WebHost \
239 System.Runtime.InteropServices.RuntimeInformation
241 # These are the subdirs which depends on libs in net_4_x_dirs
242 # or have proper dependencies between each other
243 net_4_x_parallel_dirs := \
246 Mono.Btls.Interface \
259 Mono.Security.Win32 \
260 Mono.Messaging.RabbitMQ \
262 System.Windows.Forms.DataVisualization \
263 System.Reactive.Interfaces \
264 System.Reactive.Core \
265 System.Reactive.Linq \
266 System.Reactive.PlatformServices \
267 System.Reactive.Providers \
268 System.Reactive.Runtime.Remoting \
269 System.Reactive.Windows.Forms \
270 System.Reactive.Windows.Threading \
271 System.Reactive.Observable.Aliases \
272 System.Reactive.Experimental \
273 System.Reactive.Debugger \
274 System.Data.Services.Client \
275 System.Data.Services \
277 System.Data.DataSetExtensions \
278 System.Json.Microsoft \
279 System.Threading.Tasks.Dataflow \
280 System.ComponentModel.Composition.4.5 \
282 System.Xml.Serialization \
283 System.DirectoryServices.Protocols \
290 System.Web.RegularExpressions \
291 System.Workflow.Activities \
292 System.Workflow.ComponentModel \
293 System.Workflow.Runtime \
294 System.Reflection.Context \
299 Microsoft.Build.Framework \
300 Microsoft.Build.Utilities \
301 Microsoft.Build.Engine \
303 Microsoft.Build.Tasks
309 monodroid_SUBDIRS := $(monodroid_dirs)
310 monotouch_SUBDIRS := $(monotouch_dirs)
311 monotouch_watch_SUBDIRS := $(monotouch_watch_dirs)
312 monotouch_tv_SUBDIRS := $(monotouch_tv_dirs)
313 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
314 monotouch_watch_runtime_SUBDIRS := $(monotouch_watch_runtime_dirs)
315 monotouch_tv_runtime_SUBDIRS := $(monotouch_tv_runtime_dirs)
316 aot_only_SUBDIRS := $(aot_only_dirs)
317 aot_hybrid_SUBDIRS := $(aot_hybrid_dirs)
318 xammac_SUBDIRS := $(xammac_dirs)
319 xammac_net_4_5_SUBDIRS := $(xammac_4_5_dirs)
320 binary_reference_assemblies_SUBDIRS := reference-assemblies
321 net_4_x_SUBDIRS := $(net_4_x_dirs) $(xbuild_4_0_dirs)
322 net_4_x_PARALLEL_SUBDIRS := $(net_4_x_parallel_dirs) aot-compiler
323 xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
324 xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
326 include ../build/rules.make
328 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)
330 DIST_ONLY_SUBDIRS = dlr aot-compiler reference-assemblies $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
332 # No new makefiles for: System.Messaging, System.Web.Mobile,
333 # System.ServiceProcess
347 doc/NUnitGuidelines \
348 doc/TemplateTest.cs \
349 notes/BitVecto32.txt \
350 MicrosoftAjaxLibrary/License.htm \
351 test-helpers/NetworkHelpers.cs \
352 test-helpers/SocketResponder.cs \
353 lib/$(monolite_dir)/basic.exe \
356 .PHONY: all-local $(STD_TARGETS:=-local)
357 all-local $(STD_TARGETS:=-local):
362 monolite_dir := monolite
364 # Files needed to bootstrap C# compiler
365 build_files = mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll System.Security.dll System.Configuration.dll \
366 System.Numerics.dll System.Xml.Linq.dll \
367 Facades/System.Collections.Concurrent.dll Facades/System.Linq.dll Facades/System.Runtime.dll Facades/System.Collections.dll \
368 Facades/System.Reflection.Extensions.dll Facades/System.Text.Encoding.Extensions.dll Facades/System.Diagnostics.Debug.dll \
369 Facades/System.Reflection.Primitives.dll Facades/System.Text.Encoding.dll Facades/System.Diagnostics.Tools.dll Facades/System.Reflection.dll \
370 Facades/System.Threading.Tasks.Parallel.dll Facades/System.Dynamic.Runtime.dll Facades/System.Resources.ResourceManager.dll \
371 Facades/System.Threading.Tasks.dll Facades/System.Globalization.dll Facades/System.Runtime.Extensions.dll Facades/System.Threading.dll \
372 Facades/System.IO.dll Facades/System.Runtime.InteropServices.dll Facades/System.Xml.ReaderWriter.dll Facades/System.Linq.Expressions.dll \
373 Facades/System.Runtime.Numerics.dll Facades/System.Xml.XDocument.dll
375 monolite_files = $(build_files:%=lib/$(monolite_dir)/%)
378 lib/$(monolite_dir)/Facades:
381 $(monolite_files): | lib/$(monolite_dir)
382 $(monolite_files): | lib/$(monolite_dir)/Facades
383 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
386 lib/$(monolite_dir)/basic.exe:
387 cp -p lib/basic/basic.exe lib/$(monolite_dir)
389 $(build_files:%=lib/build/%):
390 cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
392 dist-monolite: $(monolite_files) lib/$(monolite_dir)/basic.exe
394 dist-default: dist-monolite
396 dist-local: dist-default
401 $(RM) -rf $(topdir)/class/lib/$(PROFILE)