[msvc] Update csproj files (#4711)
[mono.git] / mcs / class / monodoc / Makefile
index 6d4baf6ca46db6eda37b5fe921866adf87bdb920..d7b9717c7fa0dcd618a4bf54c104d02979b7606a 100644 (file)
@@ -6,7 +6,7 @@ LIBRARY = monodoc.dll
 LIBRARY_PACKAGE = monodoc
 # Remove a bunch of "obsolete"-type warning for Lucene.NET
 # also activate legacy mode to compile old monodoc.dll api
-LOCAL_MCS_FLAGS = /nowarn:618,612,672,809 /define:LEGACY_MODE
+LOCAL_MCS_FLAGS = /nowarn:618,612,672,809,414,649 /define:LEGACY_MODE
 
 JAY_FLAGS = -ct
 
@@ -87,9 +87,9 @@ EXTRA_DISTFILES = \
        Test/monodoc_test/trees/tree-from-3-0-old.tree \
        Test/monodoc_test/trees/tree-from-3-0.tree
 
+LIB_REFS = ICSharpCode.SharpZipLib System System.Core System.Xml System.Xml.Linq System.Configuration
 LIB_MCS_FLAGS = \
        /unsafe                                                           \
-       /codepage:utf8                                                    \
        /nowarn:169,164,162,168,219,618,612                               \
        /resource:../../docs/monodoc.xml,monodoc.xml                      \
        /resource:Resources/base.css,base.css                             \
@@ -110,18 +110,12 @@ LIB_MCS_FLAGS = \
        /resource:Resources/mono-ecma.css,mono-ecma.css                   \
        /resource:Resources/mono-ecma.xsl,mono-ecma.xsl                   \
        /resource:Resources/toc-html.xsl,toc-html.xsl                     \
-       $(IMAGE_RESOURCE_COMMAND)                                                             \
-       /r:ICSharpCode.SharpZipLib                                        \
-       /r:$(corlib)                                                      \
-       /r:System.dll                                                     \
-       /r:System.Core.dll                                                \
-       /r:System.Xml.dll                                                 \
-       /r:System.Xml.Linq.dll                                            \
-       /r:System.Configuration.dll
+       $(IMAGE_RESOURCE_COMMAND)
 
 CLEAN_FILES += $(the_lib).config
 
-TEST_MCS_FLAGS = /r:System.dll /r:System.Core.dll /r:System.Xml.dll
+TEST_MCS_FLAGS =
+TEST_LIB_REFS = System System.Core System.Xml
 
 DOC_SOURCE_DIRS = \
        ../../docs \