* CheckBox.cs: Do not change the status of a checkbox when there
[mono.git] / mcs / Makefile
index fe4c5f7ceab2457918f23a072aa1b529e8ab3ac7..95600a6364cabb5058c5bcd10fe1265a475e895d 100644 (file)
@@ -1,28 +1,27 @@
 thisdir := .
 SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
+OVERRIDE_BARE_TARGETS = hells yeah
 include build/rules.make
 
-all-local: platform-check
+# Define these ourselves to that the platform checks come first
 
-install-local: platform-check
+all: platform-check profile-check all-recursive #all-local
 
-test-local: platform-check
+install: platform-check profile-check install-recursive #install-local
 
-clean-local:
+uninstall: platform-check profile-check uninstall-recursive #uninstall-local
 
-dist-local:
+test: platform-check profile-check test-recursive #test-local
+
+run-test: run-test-recursive #run-test-local
+
+clean: clean-recursive #clean-local
 
 # fun specialty targets
 
 testcorlib:
        @cd class/corlib && $(MAKE) test run-test
 
-bootstrap:
-       $(MAKE) all MCS='$$(INTERNAL_MCS)'
-
-unbootstrap:
-       $(MAKE) all MCS='$$(BOOTSTRAP_MCS)'
-
 # Disting. We need to override $(distdir) here.
 
 package := mcs-$(VERSION)
@@ -44,7 +43,6 @@ DISTFILES = \
        MIT.X11                 \
        MonoIcon.png            \
        README                  \
-       README.building         \
        ScalableMonoIcon.svg    \
        winexe.in
 
@@ -54,7 +52,9 @@ dist-pre:
 dist-post:
        tar cvzf $(package).tar.gz $(package)
 
-dist-tarball: dist-pre dist-default dist-recursive dist-post
+dist-local: dist-default
+
+dist-tarball: dist-pre dist-recursive dist-post
 
 dist: dist-tarball
        rm -rf $(package)
@@ -62,6 +62,9 @@ dist: dist-tarball
 # the egrep -v is kind of a hack (to get rid of the makefrags)
 # but otherwise we have to make dist then make clean which
 # is sort of not kosher. And it breaks with DIST_ONLY_SUBDIRS.
+#
+# We need to set prefix on make so class/System/Makefile can find
+# the installed System.Xml to build properly
 
 distcheck:
        rm -rf InstallTest Distcheck-MCS ; \
@@ -70,8 +73,8 @@ distcheck:
        $(MAKE) dist-tarball || exit 1 ; \
        mv $(package) Distcheck-MCS ; \
        (cd Distcheck-MCS && \
-           make && 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 ; \