include ../../build/rules.make
LIBRARY = System.ServiceModel.Discovery.dll
-LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -r:System.Runtime.Serialization.dll -r:System.ServiceModel.dll -r:System.Core.dll -r:System.Xml.Linq.dll
+LIB_REFS = System System.Xml System.Runtime.Serialization System.ServiceModel System.Core System.Xml.Linq
+LIB_MCS_FLAGS =
ifneq (2.1, $(FRAMEWORK_VERSION))
-LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0 \
- -r:System.Configuration.dll
+LIB_REFS += System.Configuration
+LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0
endif
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)