* TreeView.cs: Scrollable is true by default
[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         Mono.Security                           \
11         System.Security                         \
12         System.Configuration                    \
13         System                                  \
14         $(MONO_SYMBOLWRITER)
15
16 # Note that Mono.Security and System.Security aren't listed.
17 # We may have to add those if 'mcs' starts using them.
18 basic_SUBDIRS := corlib System System.XML System
19
20 net_1_1_bootstrap_SUBDIRS := $(bootstrap_dirs) PEAPI
21 net_2_0_bootstrap_SUBDIRS := $(bootstrap_dirs) PEAPI
22
23 net_1_1_java_SUBDIRS = \
24         System.Xml                                      \
25         System.Data                                     \
26         System.Drawing                                  \
27         Novell.Directory.Ldap                           \
28         System.DirectoryServices                        \
29         System.Runtime.Serialization.Formatters.Soap    \
30         System.Runtime.Remoting
31
32 common_dirs := \
33         corlib                          \
34         System                          \
35         System.XML                      \
36         Mono.Security                   \
37         System                          \
38         System.Security                 \
39         System.Configuration            \
40         System                          \
41         I18N                            \
42         System.Drawing                  \
43         System.EnterpriseServices       \
44         Mono.C5                         \
45         Mono.Data.Tds                   \
46         System.Data                     \
47         Mono.Data                       \
48         Mono.GetOptions                 \
49         System.Web                      \
50         System.Web.Services             \
51         System.Web                      \
52         System.Runtime.Serialization.Formatters.Soap \
53         System.Runtime.Remoting         \
54         System.Configuration.Install    \
55         System.Management               \
56         $(MONO_SYMBOLWRITER)            \
57         $(MONO_POSIX)                   \
58         Mono.Data.SqliteClient          \
59         Mono.Data.SybaseClient          \
60         Mono.Data.TdsClient             \
61         System.Data.OracleClient        \
62         Accessibility                   \
63         Microsoft.VisualC               \
64         Cscompmgd                       \
65         Managed.Windows.Forms           \
66         Microsoft.VisualBasic           \
67         System.Design                   \
68         PEAPI                           \
69         Npgsql                          \
70         ICSharpCode.SharpZipLib         \
71         Compat.ICSharpCode.SharpZipLib  \
72         ByteFX.Data                     \
73         Commons.Xml.Relaxng             \
74         Novell.Directory.Ldap           \
75         Mono.Security.Win32             \
76         System.DirectoryServices        \
77         System.Messaging                \
78         System.ServiceProcess           \
79         System.Drawing.Design           \
80         Mono.Http                       \
81         Microsoft.Vsa                   \
82         Mono.Cairo                      \
83         IBM.Data.DB2                    \
84         Microsoft.JScript
85
86 default_dirs := FirebirdSql.Data.Firebird
87
88 net_2_0_dirs := \
89         Microsoft.Build.Framework       \
90         Microsoft.Build.Utilities       \
91         Microsoft.Build.Engine          \
92         Microsoft.Build.Tasks           \
93         System.Transactions
94
95 default_SUBDIRS := $(common_dirs) $(default_dirs)
96 net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs)
97
98 include ../build/rules.make
99
100 SUBDIRS = $(common_dirs) $(default_dirs) $(net_2_0_dirs)
101
102 # These libraries below are either unimplemented or don't compile, but
103 # I wrote makefiles for them.
104
105 BROKEN_SUBDIRS = \
106         Custommarshalers                \
107         Mono.Globalization
108
109 DIST_ONLY_SUBDIRS = \
110         $(BROKEN_SUBDIRS)
111
112 # No new makefiles for: System.Messaging, System.Web.Mobile,
113 # System.ServiceProcess
114
115 DISTFILES = \
116         ecma.pub                \
117         mono.pub                \
118         msfinal.pub             \
119         mono.snk                \
120         LICENSE                 \
121         README                  \
122         doc/API-notes           \
123         doc/NUnitGuidelines     \
124         doc/TemplateTest.cs     \
125         notes/BitVecto32.txt    \
126         $(monolite_files)
127
128 .PHONY: all-local $(STD_TARGETS:=-local)
129 all-local $(STD_TARGETS:=-local):
130         @:
131
132 basic_files = mcs.exe mscorlib.dll System.dll System.Xml.dll
133 monolite_files = $(basic_files:%=lib/monolite/%)
134
135 DIST_PROFILE_DIRS = basic net_1_1_bootstrap default net_2_0_bootstrap net_2_0
136 COMPAT_PROFILE_DIRS = default net_2_0
137
138 lib/monolite:
139         $(MKINSTALLDIRS) $@
140
141 $(monolite_files): lib/monolite/%: lib/basic/% lib/monolite
142         cp -p $< $@
143
144 $(basic_files:%=lib/basic/%):
145         cd $(topdir) && $(MAKE) profile-do--basic--all
146
147 dist-default: $(monolite_files)
148 dist-local: dist-default
149         -$(MKINSTALLDIRS) $(DIST_PROFILE_DIRS:%=$(distdir)/lib/%) $(COMPAT_PROFILE_DIRS:%=$(distdir)/compat/%)