* XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the...
[mono.git] / mcs / makefile.gnu
index 7e460798956cc28295ac734084a0ba53176deae5..86fe2904ef3439dc3d72ca87d7617bf4ad980be5 100644 (file)
@@ -1,4 +1,4 @@
-DIRS=jay mcs class nunit nunit20 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
@@ -16,7 +16,7 @@ all:
                exit 1; \
        fi;
        for i in $(DIRS) ; do \
-               $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
+               (cd $$i && $(MAKE) -f makefile.gnu $@ && cd ..) || exit 1; \
        done
 
 install:
@@ -25,7 +25,7 @@ install:
                exit 1; \
        fi;
        for i in $(DIRS) ; do \
-               $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
+               (cd $$i && $(MAKE) -f makefile.gnu $@ && cd ..) || exit 1; \
        done
        mkdir -p $(prefix)/share/doc/mono
        $(INSTALL) -m 644 $(DOCFILES) $(prefix)/share/doc/mono
@@ -33,17 +33,20 @@ install:
 
 test: all
        for i in $(DIRS) ; do \
-               $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
+               (cd $$i && $(MAKE) -f makefile.gnu $@ && cd ..) || exit 1; \
        done
 
+testcorlib:
+       cd class/corlib/Test && $(MAKE) -f makefile.gnu test
+
 clean:
        -rm -f monocharge-*.tar.gz
        for i in $(DIRS) ; do \
-               $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
+               (cd $$i && $(MAKE) -f makefile.gnu $@ && cd ..) || exit 1; \
        done
 
 corlib:
-       $(MAKE) -C class/corlib -f makefile.gnu
+       cd class/corlib && $(MAKE) -f makefile.gnu
 
 # Please do only use `binary-snapshot', the `dist' target will disappear really soon !
 binary-snapshot: dist
@@ -51,7 +54,8 @@ binary-snapshot: dist
 dist: all
        mkdir $(DIST)
        for i in $(DIRS) ; do \
-               $(MAKE) -C $$i -f makefile.gnu install prefix=$(PWD)/$(DIST) || exit 1; \
+               (cd $$i && $(MAKE) -f makefile.gnu install \
+                       prefix=$(PWD)/$(DIST) && cd ..) || exit 1; \
        done
        tar -c $(DIST) | gzip > $(DIST).tar.gz
        rm -rf $(DIST)