* Makefile.am: Build `docs` after `runtime`, so that it can depend
[mono.git] / mcs / class / corlib / Makefile
index b8310cf9612c4fc74b34975ce4f37a27dd9fe3b5..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               \
@@ -36,6 +33,9 @@ EXTRA_DISTFILES = \
        Test/resources/MyResources.de.resources \
        Test/resources/Empty.resources          \
        Test/resources/AFile.txt                \
+       Test/resources/StreamTest.resources     \
+       Test/resources/StreamTest.ja.resources  \
+       Test/resources/bug81759.resources       \
        $(RESOURCE_FILES)
 
 include $(topdir)/build/library.make
@@ -68,4 +68,14 @@ $(cmp_makefrag): $(cmp_response)
 # leading to a broken build.
 #
 # -include $(cmp_makefrag)
+
+$(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)