2003-03-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / makefile.gnu
1 INSTALL = /usr/bin/install
2 prefix = /usr
3
4 DIRS =  corlib                          \
5         I18N                            \
6         System                          \
7         System.XML                      \
8         System.Drawing                  \
9         System.EnterpriseServices       \
10         Mono.Data.Tds                   \
11         System.Security                 \
12         System.Data                     \
13         Mono.GetOptions                 \
14         System.Management               \
15         System.Web                      \
16         System.Web.Services             \
17         System.Runtime.Remoting         \
18         System.Runtime.Serialization.Formatters.Soap \
19         System.Configuration.Install    \
20         Mono.CSharp.Debugger            \
21         Mono.Data.DB2Client             \
22         Mono.Data.MySql                 \
23         Mono.Data.PostgreSqlClient      \
24         Mono.Data.SqliteClient          \
25         Mono.Data.SybaseClient          \
26         Mono.Data.TdsClient             \
27         System.Data.OracleClient        \
28         Mono.PEToolkit                  \
29         Mono.Posix                      \
30         Accessibility                   \
31         Microsoft.VisualBasic           \
32         Microsoft.VisualC               \
33         Cscompmgd                       \
34         System.Windows.Forms            \
35         Npgsql                          \
36         PEAPI                           \
37         ICSharpCode.SharpZipLib \
38         ByteFX.Data     \
39
40 default: all
41
42 all clean:
43         @for i in $(DIRS) ; do \
44                 if [ -d "$$i" ] && [ -f "$$i/makefile.gnu" ] ; then     \
45                         (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
46                 fi      \
47         done
48
49 install: all
50         mkdir -p $(prefix)/lib/
51         $(INSTALL) -m 644 lib/*.dll $(prefix)/lib/
52
53 test: all
54         @for i in $(DIRS) ; do \
55                 if [ -d "$$i" ] && [ -f "$$i/makefile.gnu" ] ; then     \
56                         (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
57                 fi      \
58         done
59