Add new test
[mono.git] / mcs / makefile.gnu
index 2405115aa944f74351a9d5773fd446f679f5a0ce..499300cd0840449efab63c06eb1bf1a649affd18 100644 (file)
@@ -1,6 +1,8 @@
-DIRS=jay mcs class nunit monoresgen ilasm tools
+DIRS=jay mcs class mbas nunit20 monoresgen ilasm tools
 DIST=monocharge-`date -u +%Y%m%d`
 MCS = mcs
+INSTALL=/usr/bin/install
+DOCFILES= README.building
 
 #nant doesn't work yet
 
@@ -25,18 +27,27 @@ install:
        for i in $(DIRS) ; do \
                $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
        done
+       mkdir -p $(prefix)/share/doc/mono
+       $(INSTALL) -m 644 $(DOCFILES) $(prefix)/share/doc/mono
+
 
 test: all
        for i in $(DIRS) ; do \
                $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
        done
 
+testcorlib:
+       $(MAKE) -C class/corlib/Test -f makefile.gnu test
+
 clean:
        -rm -f monocharge-*.tar.gz
        for i in $(DIRS) ; do \
                $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
        done
 
+corlib:
+       $(MAKE) -C class/corlib -f makefile.gnu
+
 # Please do only use `binary-snapshot', the `dist' target will disappear really soon !
 binary-snapshot: dist