2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / Makefile
index fefb0a79b63a7e6386b36f96eb8b0ab8f53b5cd7..c2591932058831b9f9566af31aed488cf6f1ee83 100644 (file)
@@ -1,35 +1,26 @@
 thisdir := .
-SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
-OVERRIDE_BARE_TARGETS = hells yeah
+SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
+OVERRIDE_TARGET_ALL = yes
 include build/rules.make
 
-# Define these ourselves to that the platform checks come first
+all-recursive $(STD_TARGETS:=-recursive): platform-check profile-check
 
-#all: platform-check profile-check all-recursive #all-local
+all.override:
+       $(MAKE) NO_SIGN_ASSEMBLY=yes all.real
+       $(MAKE) all.real
 
-.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
-
-clean: clean-recursive #clean-local
+all-local $(STD_TARGETS:=-local):
+       @:
 
 # fun specialty targets
 
 all-profiles:
-       $(MAKE) PROFILE=default all || exit 1 ; \
-       $(MAKE) PROFILE=net_2_0 all || exit 1 ;
+       $(MAKE) PROFILE=default all
+       $(MAKE) PROFILE=net_2_0 all
 
 clean-profiles:
-       $(MAKE) PROFILE=default clean || exit 1 ; \
-       $(MAKE) PROFILE=net_2_0 clean || exit 1 ;
+       $(MAKE) PROFILE=default clean
+       $(MAKE) PROFILE=net_2_0 clean
 
 testcorlib:
        @cd class/corlib && $(MAKE) test run-test