* Compiler.cs: mcs writes to stderr now.
[mono.git] / mcs / class / Makefile
1 thisdir = class
2
3 MONO_POSIX := Mono.Posix
4 MONO_SYMBOLWRITER := Mono.CompilerServices.SymbolWriter
5
6 bootstrap_dirs := \
7         corlib                                  \
8         System                                  \
9         System.XML                              \
10         System                                  \
11         $(MONO_SYMBOLWRITER)
12
13 basic_SUBDIRS := corlib System System.XML System
14 net_1_1_bootstrap_SUBDIRS := $(bootstrap_dirs) Mono.Security
15 net_2_0_bootstrap_SUBDIRS := $(bootstrap_dirs)
16
17 include ../build/rules.make
18
19 # For now, Mono.Security.Win32 is built on Linux too.
20 # However, it isn't tested on Linux, since it depends on a Win32 dll.
21 SUBDIRS = \
22         corlib                          \
23         System                          \
24         System.XML                      \
25         System                          \
26         I18N                            \
27         System.Drawing                  \
28         System.EnterpriseServices       \
29         Mono.C5                         \
30         Mono.Security                   \
31         Mono.Data.Tds                   \
32         System.Security                 \
33         System.Data                     \
34         Mono.Data                       \
35         Mono.GetOptions                 \
36         System.Web                      \
37         System.Web.Services             \
38         System.Runtime.Serialization.Formatters.Soap \
39         System.Runtime.Remoting         \
40         System.Configuration.Install    \
41         System.Management               \
42         $(MONO_SYMBOLWRITER)            \
43         Mono.Data.SqliteClient          \
44         Mono.Data.SybaseClient          \
45         Mono.Data.TdsClient             \
46         System.Data.OracleClient        \
47         $(MONO_POSIX)                   \
48         Accessibility                   \
49         Microsoft.VisualC               \
50         Cscompmgd                       \
51         System.Windows.Forms            \
52         Microsoft.VisualBasic           \
53         System.Design                   \
54         PEAPI                           \
55         Npgsql                          \
56         ICSharpCode.SharpZipLib         \
57         ByteFX.Data                     \
58         Commons.Xml.Relaxng             \
59         Novell.Directory.Ldap           \
60         Mono.Security.Win32             \
61         System.DirectoryServices        \
62         System.Messaging                \
63         System.ServiceProcess           \
64         System.Drawing.Design           \
65         Mono.Http                       \
66         Microsoft.Vsa                   \
67         Mono.Cairo                      \
68         IBM.Data.DB2                         
69 #       Microsoft.JScript               \
70
71 # Starting with Microsoft.Vsa, the libraries above weren't in the
72 # Linux makefile.gnu before, but they build fine, so might as well
73 # include them ...
74 #
75
76 # These libraries below are either unimplemented or don't compile, but
77 # I wrote makefiles for them.
78
79 # Managed.Windows.Forms will move to the main SUBDIRS soon.
80
81 DIST_ONLY_SUBDIRS = \
82         Custommarshalers                \
83         Mono.Globalization              \
84         Managed.Windows.Forms
85
86 # No new makefiles for: System.Messaging, System.Web.Mobile,
87 # System.ServiceProcess
88
89 DISTFILES = \
90         ecma.pub                \
91         mono.pub                \
92         msfinal.pub             \
93         mono.snk                \
94         LICENSE                 \
95         README                  \
96         doc/API-notes           \
97         doc/NUnitGuidelines     \
98         doc/TemplateTest.cs     \
99         notes/BitVecto32.txt    \
100         $(monolite_files)
101
102 .PHONY: all-local $(STD_TARGETS:=-local)
103 all-local $(STD_TARGETS:=-local):
104         @:
105
106 basic_files = mcs.exe mscorlib.dll System.dll System.Xml.dll
107 monolite_files = $(basic_files:%=lib/monolite/%)
108
109 DIST_PROFILE_DIRS = basic net_1_1_bootstrap default net_2_0_bootstrap net_2_0
110
111 lib/monolite:
112         $(MKINSTALLDIRS) $@
113
114 $(monolite_files): lib/monolite/%: lib/basic/% lib/monolite
115         cp -p $< $@
116
117 dist-default: $(monolite_files)
118 dist-local: dist-default
119         -$(MKINSTALLDIRS) $(DIST_PROFILE_DIRS:%=$(distdir)/lib/%)