Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git] / mcs / class / System.Runtime.Remoting / Makefile
index 98d8f0475dd1040be18e67de230fa0c645e3cdb8..4dc2f64f9d2f527f91944065facbeb97f970a8eb 100644 (file)
@@ -4,13 +4,20 @@ 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 = .
 
 EXTRA_DISTFILES = Test/corba-example.cs Test/simple-example.cs
 
 include ../../build/library.make
+