* Makefile.am: Build `docs` after `runtime`, so that it can depend
[mono.git] / mcs / class / corlib / Makefile
index 8a5e6c65661edf84bf7acbe2f03ee8f6c742adfa..19b2b4e09fd92ddccaea1e1784a2b5df80d3ca37 100644 (file)
@@ -21,13 +21,10 @@ RESOURCE_FILES = \
        resources/collation.cjkKOlv2.bin
 
 corlib_flags = -unsafe -nostdlib
-LOCAL_MCS_FLAGS = -nowarn:169,612,618,649 -d:INSIDE_CORLIB
+LOCAL_MCS_FLAGS = -nowarn:612,618 -d:INSIDE_CORLIB
 
-ifneq ($(FRAMEWORK_VERSION),1.0)
-LOCAL_MCS_FLAGS += -nowarn:414
-endif
-
-TEST_MCS_FLAGS = -debug+ -debug:full -nowarn:168,219,618,672 -unsafe
+# System.IO/DirectoryInfoTest.cs needs Mono.Posix
+TEST_MCS_FLAGS = -debug+ -debug:full -nowarn:168,219,618,672 -unsafe -r:$(topdir)/class/lib/$(PROFILE)/Mono.Posix.dll
 
 EXTRA_DISTFILES = \
        corlib.dll.win32-excludes               \
@@ -74,3 +71,11 @@ $(cmp_makefrag): $(cmp_response)
 
 $(cmp_response) $(cmp_makefrag): Makefile $(depsdir)/.stamp
 endif
+
+#
+# qh21 = Quick Hack for 2.1, to be used by impatient developers to get
+# test builds done quickly
+#
+qh21:
+       make PROFILE=net_2_1_raw
+       (cd ../../tools/tuner; rm tune.stamp; make tune.stamp && make PROFILE=net_2_1 install)