2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
[mono.git] / mcs / class / makefile.gnu
index c1d06a3feb7555d9b63fbd41f43825ca44633252..1e7509c6f4b846cd929ae3220ba00ec9086fae22 100644 (file)
@@ -1,19 +1,49 @@
-MCSTOOL = ../mcs-tool
+INSTALL = /usr/bin/install
+prefix = /usr
 
 DIRS = corlib                          \
+       I18N                            \
        System                          \
        System.XML                      \
-       System.Drawing
-
-#      System.Data                     \
-#      System.Web                      \
-#      Microsoft.VisualBasic           \
-#      System.Configuration.Install
+       System.Drawing                  \
+       System.EnterpriseServices       \
+       Mono.Data.Tds                   \
+       System.Data                     \
+       Mono.GetOptions                 \
+       System.Web                      \
+       System.Web.Services             \
+       System.Runtime.Remoting         \
+       System.Runtime.Serialization.Formatters.Soap \
+       System.Configuration.Install    \
+       Mono.CSharp.Debugger            \
+       Mono.Data.MySql                 \
+       Mono.Data.PostgreSqlClient      \
+       Mono.Data.SqliteClient          \
+       Mono.Data.SybaseClient          \
+       Mono.Data.TdsClient             \
+       Mono.PEToolkit                  \
+       Accessibility                   \
+       Microsoft.VisualBasic           \
+       Cscompmgd                       \
+       System.Windows.Forms
 
 default: all
 
 all clean:
        @for i in $(DIRS) ; do \
-               (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
+               if [ -d "$$i" ] && [ -f "$$i/makefile.gnu" ] ; then     \
+                       (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
+               fi      \
+       done
+
+install: all
+       mkdir -p $(prefix)/lib/
+       $(INSTALL) -m 644 lib/*.dll $(prefix)/lib/
+
+test: all
+       @for i in $(DIRS) ; do \
+               if [ -d "$$i" ] && [ -f "$$i/makefile.gnu" ] ; then     \
+                       (cd $$i && $(MAKE) -f makefile.gnu $@) || exit 1; \
+               fi      \
        done