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