Merge pull request #1949 from lewurm/fixtype
[mono.git] / mcs / class / System.Xaml / Makefile
index 5104e87b042d8239c7207647c7020cbcfb65568a..5f96dcbd7d74342addcad0c839086b229abfd4e6 100644 (file)
@@ -5,11 +5,8 @@ include ../../build/rules.make
 RESOURCE_FILES = 
 
 LIBRARY = System.Xaml.dll
-LIB_MCS_FLAGS = \
-               /r:System.dll \
-               /r:System.Xml.dll \
-               /r:System.Core.dll \
-               $(RESOURCE_FILES:%=/resource:%)
+LIB_REFS = System System.Xml System.Core
+LIB_MCS_FLAGS = $(RESOURCE_FILES:%=/resource:%)
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
@@ -18,7 +15,7 @@ TEST_EXTRA_DISTFILES = \
        Test/XmlFiles/*.xml \
        Test/XmlFiles/*.xaml
 
-VALID_PROFILE := $(filter 4 monodroid monotouch mobile mobile_static, $(FRAMEWORK_VERSION_MAJOR))
+VALID_PROFILE := $(filter 4, $(FRAMEWORK_VERSION_MAJOR))
 ifndef VALID_PROFILE
 LIBRARY_NAME = dummy-System.Xaml.dll
 NO_INSTALL = yes