Update
[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         Mono.GetOptions                 \
12         System.Data                     \
13         System.Web                      \
14         System.Web.Services             \
15         System.Runtime.Remoting         \
16         System.Runtime.Serialization.Formatters.Soap \
17         System.Configuration.Install    \
18         Mono.CSharp.Debugger            \
19         Mono.Data.MySql                 \
20         Mono.Data.PostgreSqlClient      \
21         Mono.Data.SqliteClient          \
22         Mono.Data.SybaseClient          \
23         Mono.Data.TdsClient             \
24         Mono.PEToolkit                  \
25         Accessibility                   \
26         Microsoft.VisualBasic           \
27         System.Windows.Forms
28
29 default: all
30
31 all clean:
32         @for i in $(DIRS) ; do \
33                 if [ -d "$$i" ] && [ -f "$$i/makefile.gnu" ] ; then     \
34                         (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
35                 fi      \
36         done
37
38 install: all
39         mkdir -p $(prefix)/lib/
40         $(INSTALL) -m 644 lib/*.dll $(prefix)/lib/
41
42 test: all
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