In Test/System.Data:
[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.Transactions             \
47         System.Data                     \
48         Mono.Data                       \
49         Mono.GetOptions                 \
50         $(MONO_SYMBOLWRITER)            \
51         $(MONO_POSIX)                   \
52         Accessibility                   \
53         Managed.Windows.Forms           \
54         System.Web                      \
55         System.Web.Services             \
56         System.Web                      \
57         System.Runtime.Serialization.Formatters.Soap \
58         System.Runtime.Remoting         \
59         System.Configuration.Install    \
60         System.Management               \
61         Mono.Data.SqliteClient          \
62         Mono.Data.SybaseClient          \
63         Mono.Data.TdsClient             \
64         System.Data.OracleClient        \
65         Microsoft.VisualC               \
66         Cscompmgd                       \
67         System.Design                   \
68         PEAPI                           \
69         Npgsql                          \
70         Compat.ICSharpCode.SharpZipLib  \
71         ICSharpCode.SharpZipLib         \
72         Compat.ICSharpCode.SharpZipLib  \
73         ByteFX.Data                     \
74         Commons.Xml.Relaxng             \
75         Novell.Directory.Ldap           \
76         Mono.Security.Win32             \
77         System.DirectoryServices        \
78         System.Messaging                \
79         System.ServiceProcess           \
80         System.Drawing.Design           \
81         Mono.Http                       \
82         Microsoft.Vsa                   \
83         Mono.Cairo                      \
84         IBM.Data.DB2                    \
85         Microsoft.JScript               \
86         CustomMarshalers                \
87         OpenSystem.C
88
89 default_dirs := FirebirdSql.Data.Firebird
90
91 net_2_0_dirs := \
92         Microsoft.Build.Framework       \
93         Microsoft.Build.Utilities       \
94         Microsoft.Build.Engine          \
95         Microsoft.Build.Tasks
96
97 default_SUBDIRS := $(common_dirs) $(default_dirs)
98 net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs)
99
100 include ../build/rules.make
101
102 SUBDIRS = $(common_dirs) $(default_dirs) $(net_2_0_dirs)
103
104 # These libraries below are either unimplemented or don't compile, but
105 # I wrote makefiles for them.
106
107 BROKEN_SUBDIRS =
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/%)