2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / Makefile
index cbc7d15733e134c05524267fcb136c99ea03d875..fefb0a79b63a7e6386b36f96eb8b0ab8f53b5cd7 100644 (file)
@@ -5,10 +5,16 @@ include build/rules.make
 
 # Define these ourselves to that the platform checks come first
 
-all: platform-check profile-check all-recursive #all-local
+#all: platform-check profile-check all-recursive #all-local
+
+.PHONY: all clean all-profiles clean-profiles install uninstall test run-test testcorlib
+
+all: platform-check profile-check all-recursive
 
 install: platform-check profile-check install-recursive #install-local
 
+uninstall: platform-check profile-check uninstall-recursive #uninstall-local
+
 test: platform-check profile-check test-recursive #test-local
 
 run-test: run-test-recursive #run-test-local
@@ -17,6 +23,14 @@ clean: clean-recursive #clean-local
 
 # fun specialty targets
 
+all-profiles:
+       $(MAKE) PROFILE=default all || exit 1 ; \
+       $(MAKE) PROFILE=net_2_0 all || exit 1 ;
+
+clean-profiles:
+       $(MAKE) PROFILE=default clean || exit 1 ; \
+       $(MAKE) PROFILE=net_2_0 clean || exit 1 ;
+
 testcorlib:
        @cd class/corlib && $(MAKE) test run-test
 
@@ -71,8 +85,8 @@ distcheck:
        $(MAKE) dist-tarball || exit 1 ; \
        mv $(package) Distcheck-MCS ; \
        (cd Distcheck-MCS && \
-           make prefix=$(prefix) && make test && make install DESTDIR="$$destdir" && \
-           make clean && make dist || exit 1) || exit 1 ; \
+           $(MAKE) prefix=$(prefix) && $(MAKE) test && $(MAKE) install DESTDIR="$$destdir" && \
+           $(MAKE) clean && $(MAKE) dist || exit 1) || exit 1 ; \
        mv Distcheck-MCS $(package) ; \
        tar tzf $(package)/$(package).tar.gz |sed -e 's,/$$,,' |sort >distdist.list ; \
        rm $(package)/$(package).tar.gz ; \