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