Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git] / mcs / class / System.Runtime.Remoting / Makefile
index df85e04c17c4cb37c6bf3a0ab4de6002dcc2b7b2..4dc2f64f9d2f527f91944065facbeb97f970a8eb 100644 (file)
@@ -4,10 +4,16 @@ include ../../build/rules.make
 
 LIBRARY = System.Runtime.Remoting.dll
 
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Web.dll \
-       /r:System.Xml.dll /r:System.Runtime.Serialization.Formatters.Soap.dll
+LIB_REFS = System System.Xml System.Runtime.Serialization.Formatters.Soap
+KEYFILE = ../ecma.pub
+LIB_MCS_FLAGS =
 
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618 /r:System.Runtime.Remoting.dll
+ifndef NO_SYSTEM_WEB_DEPENDENCY
+LIB_REFS += System.Web
+endif
+
+TEST_MCS_FLAGS = -nowarn:618
+TEST_LIB_REFS = System System.Xml System.Core
 
 TEST_MONO_PATH = .