# 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
# 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
$(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 ; \