[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / class / System.Runtime.Serialization / Makefile
index 468cd9f4104c99106c80d7341da39d6d1190115c..19894c49fd901c0240648f0a428c0fefeb6e6bcc 100644 (file)
@@ -19,16 +19,22 @@ else
 LIB_MCS_FLAGS += /d:NO_CONFIGURATION /d:NO_SECURITY_ATTRIBUTES /d:NO_CODEDOM /d:NO_DESKTOP_SECURITY
 endif
 
+ifdef XAMMAC_4_5
+LIB_MCS_FLAGS += /d:NO_CONFIGURATION
+endif
+
 TEST_RESOURCE_FILES = \
        Test/Resources/WSDL/collections.wsdl    \
        Test/Resources/WSDL/custom-collections.wsdl
 
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /r:System.ServiceModel.dll /r:System.Web.Services.dll \
-       $(TEST_RESOURCE_FILES:%=/resource:%)
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(TEST_RESOURCE_FILES:%=/resource:%)
+TEST_LIB_REFS = System.ServiceModel System.Web.Services
 
 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
        Test/Resources/FrameworkTypes/* \
        Test/Resources/Schemas/*.xsd \
-       Test/System.Runtime.Serialization/one.xml
+       Test/System.Runtime.Serialization/one.xml \
+       ReferenceSource.common.sources \
+       ReferenceSource.desktop.sources
 
 include ../../build/library.make