Revert "Add System.Net.Http.dll to the monotouch build."
[mono.git] / mcs / class / Makefile
1 thisdir = class
2
3 # Note that Mono.Security and System.Security aren't listed.
4 # We may have to add those if 'mcs' starts using them.
5 basic_SUBDIRS := corlib System System.XML System Mono.Security System.Core 
6
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
10
11 build_SUBDIRS :=  \
12         corlib \
13         System \
14         System.XML \
15         System Mono.Security \
16         Mono.Posix \
17         System.Core
18
19 net_1_1_java_SUBDIRS = \
20         System.Xml                                      \
21         System.Data                                     \
22         System.Drawing                                  \
23         Novell.Directory.Ldap                           \
24         System.DirectoryServices                        \
25         System.Runtime.Serialization.Formatters.Soap    \
26         System.Runtime.Remoting
27
28 common_dirs := \
29         corlib                          \
30         System                          \
31         System.XML                      \
32         Mono.CompilerServices.SymbolWriter \
33         Mono.Posix                      \
34         System.Core                     \
35         Mono.Security                   \
36         System                          \
37         System.Security                 \
38         System.Configuration            \
39         System                          \
40         System.XML                      \
41         I18N                            \
42         $(resgen_dir)                   \
43         System.Drawing                  \
44         System.Transactions             \
45         System.EnterpriseServices       \
46         Mono.Data.Tds                   \
47         System.Data                     \
48         Accessibility                   \
49         Mono.WebBrowser                 \
50         System.Runtime.Serialization.Formatters.Soap \
51         Managed.Windows.Forms           \
52         Mono.Data.Sqlite                \
53         System.Web.ApplicationServices  \
54         System.Web                      \
55         Mono.Web                        \
56         System.Web.Services             \
57         System.Web                      \
58         System.Runtime.Remoting         \
59         System.Configuration.Install    \
60         System.Management               \
61         System.Data.OracleClient        \
62         Microsoft.VisualC               \
63         Cscompmgd                       \
64         System.Design                   \
65         PEAPI                           \
66         Npgsql                          \
67         Commons.Xml.Relaxng             \
68         Novell.Directory.Ldap           \
69         Mono.Security.Win32             \
70         System.DirectoryServices        \
71         System.DirectoryServices.Protocols      \
72         RabbitMQ.Client                 \
73         Mono.Messaging                  \
74         System.Messaging                \
75         Mono.Messaging.RabbitMQ         \
76         System.ServiceProcess           \
77         System.Drawing.Design           \
78         System.Design                   \
79         ICSharpCode.SharpZipLib         \
80         Mono.Http                       \
81         Mono.Cairo                      \
82         IBM.Data.DB2                    \
83         CustomMarshalers                \
84         OpenSystem.C                    \
85         Mono.Cecil                      \
86         Mono.Cecil.Mdb                  \
87         Mono.Debugger.Soft              \
88         SystemWebTestShim
89
90 net_2_0_dirs := \
91         Microsoft.Build.Framework       \
92         Microsoft.Build.Utilities       \
93         Microsoft.Build.Engine          \
94         Microsoft.Build.Tasks           \
95         System.Xml.Linq                 \
96         System.Runtime.Serialization    \
97         System.Data.DataSetExtensions   \
98         System.Data.Linq                \
99         System.Web                      \
100         System.Web.Abstractions         \
101         System.Web.Routing              \
102         System.IdentityModel            \
103         System.IdentityModel.Selectors  \
104         System.ServiceModel             \
105         System.Web.Extensions           \
106         System.Web.Extensions.Design    \
107         System.ComponentModel.DataAnnotations   \
108         System.Web.DynamicData          \
109         System.Web.Mvc2                 \
110         Mono.C5                         \
111         Mono.Management                 \
112         Mono.Options                    \
113         Mono.Simd                       \
114         Mono.Tasklets                   \
115         System.Dynamic                  \
116         Mono.CSharp                     \
117         Moonlight.Build.Tasks           \
118         System.Net                              \
119         System.Json
120
121 net_2_0_only_dirs := \
122         System.Web.Extensions_1.0       \
123         System.Web.Extensions.Design_1.0        \
124         Compat.ICSharpCode.SharpZipLib  \
125         WindowsBase                     \
126         System.ServiceModel.Web \
127         System.Data.Services.Client     \
128         System.Data.Services            \
129         System.Web.Mvc \
130
131 mobile_dirs := \
132         corlib  \
133         System  \
134         System.Core     \
135         System.XML      \
136         Mono.Security   \
137         System  \
138         I18N            \
139         System.Xml.Linq \
140         System.Runtime.Serialization    \
141         System.ServiceModel     \
142         System.ServiceModel.Web \
143         System.Json     \
144         System.Web.Services     \
145         Mono.Data.Tds   \
146         System.Transactions     \
147         System.Data     \
148         Mono.Cairo      \
149         Mono.Data.Sqlite        \
150         System.Numerics \
151         System.Data.Services.Client \
152         System.IO.Compression \
153         System.IO.Compression.FileSystem \
154         System.ComponentModel.DataAnnotations \
155         System.ComponentModel.Composition.4.5 \
156         System.Net \
157         System.Windows \
158         System.Xml.Serialization \
159         Facades
160
161 monodroid_dirs := \
162         Mono.CompilerServices.SymbolWriter      \
163         Mono.CSharp     \
164         Microsoft.CSharp \
165         System.Net.Http
166
167 monotouch_runtime_dirs := \
168         corlib
169
170 net_3_5_only_dirs := \
171         Microsoft.Build.Framework       \
172         Microsoft.Build.Utilities       \
173         Microsoft.Build.Engine          \
174         Microsoft.Build.Tasks
175
176 net_4_0_dirs := \
177         System.Numerics         \
178         Microsoft.CSharp        \
179         Microsoft.Build         \
180         System.Windows.Forms.DataVisualization  \
181         System.Xaml \
182         WindowsBase \
183         System.ServiceModel.Activation \
184         System.ServiceModel \
185         System.ServiceModel.Routing \
186         System.ServiceModel.Discovery \
187         System.Runtime.Caching \
188         System.Runtime.DurableInstancing \
189         Mono.Parallel \
190         System.Reactive.Interfaces \
191         System.Reactive.Core \
192         System.Reactive.Linq \
193         System.Reactive.PlatformServices \
194         System.Reactive.Providers \
195         System.Reactive.Runtime.Remoting \
196         System.Reactive.Windows.Forms \
197         System.Reactive.Windows.Threading \
198         System.Reactive.Experimental \
199         System.Reactive.Debugger \
200         Microsoft.Web.Infrastructure \
201         WebMatrix.Data \
202         System.ServiceModel.Web \
203         System.Data.Services.Client     \
204         System.Data.Services \
205         System.Json.Microsoft \
206         monodoc
207         
208 net_4_0_only_dirs := \
209         System.ComponentModel.Composition
210
211 net_4_5_dirs := \
212         System.Threading.Tasks.Dataflow \
213         System.ComponentModel.Composition.4.5 \
214         System.Net.Http \
215         System.Net.Http.WebRequest \
216         System.Web.Razor \
217         System.Web.WebPages.Deployment \
218         System.Web.WebPages \
219         System.Web.WebPages.Razor \
220         System.Web.Mvc3 \
221         System.Net.Http.Formatting \
222         System.Web.Http \
223         System.Web.Http.SelfHost \
224         System.Web.Http.WebHost \
225         EntityFramework \
226         EntityFramework.SqlServer       \
227         Mono.CodeContracts \
228         System.IO.Compression \
229         System.IO.Compression.FileSystem \
230         System.Windows \
231         System.Xml.Serialization \
232         Facades
233         
234 net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs) $(net_2_0_only_dirs) aot-compiler
235 monodroid_SUBDIRS := $(mobile_dirs) $(monodroid_dirs)
236 monotouch_SUBDIRS := $(mobile_dirs)
237 monotouch_runtime_SUBDIRS := $(monotouch_runtime_dirs)
238 mobile_static_SUBDIRS := $(mobile_dirs)
239 mobile_SUBDIRS := $(mobile_dirs)
240 net_3_5_SUBDIRS := $(net_3_5_only_dirs)
241 net_4_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs) $(net_4_0_dirs) $(net_4_0_only_dirs)
242 net_4_5_SUBDIRS := $(common_dirs) $(net_2_0_dirs) $(net_4_0_dirs) $(net_4_5_dirs) aot-compiler
243
244 include ../build/rules.make
245
246 SUBDIRS = $(common_dirs) $(net_2_0_dirs) $(net_2_0_only_dirs) $(net_3_5_only_dirs) $(mobile_dirs) $(net_4_0_dirs) $(net_4_0_only_dirs) $(net_4_5_dirs)
247
248 DIST_ONLY_SUBDIRS = dlr aot-compiler
249
250 # No new makefiles for: System.Messaging, System.Web.Mobile,
251 # System.ServiceProcess
252
253 DISTFILES = \
254         ecma.pub                \
255         winfx.pub               \
256         winfx3.pub              \
257         mono.pub                \
258         msfinal.pub             \
259         silverlight.pub         \
260         reactive.pub            \
261         mono.snk                \
262         LICENSE                 \
263         README                  \
264         doc/API-notes           \
265         doc/NUnitGuidelines     \
266         doc/TemplateTest.cs     \
267         notes/BitVecto32.txt    \
268         MicrosoftAjaxLibrary/License.htm        \
269         $(monolite_files)
270
271 .PHONY: all-local $(STD_TARGETS:=-local)
272 all-local $(STD_TARGETS:=-local):
273         @:
274
275 # Files needed to bootstrap C# compiler
276 basic_files = basic.exe mscorlib.dll System.dll System.Xml.dll Mono.Security.dll System.Core.dll
277 monolite_files = $(basic_files:%=lib/monolite/%)
278
279 lib/monolite:
280         $(MKINSTALLDIRS) $@
281
282 $(monolite_files): | lib/monolite
283 $(monolite_files): lib/monolite/%: lib/basic/%
284         cp -p $< $@
285
286 $(basic_files:%=lib/basic/%):
287         cd $(topdir) && $(MAKE) profile-do--basic--all NO_DIR_CHECK=1 SKIP_AOT=1
288
289 dist-default: $(monolite_files)
290 dist-local: dist-default
291
292 csproj-local:
293