Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
[mono.git] / mcs / class / System.Data.Services.Client / Makefile
index ec6e7dc7b7b9b0dd22bddc9dc2a1e629818fcc12..9f4e3b8b4d728420ece24048b42dd2632d205638 100644 (file)
@@ -4,8 +4,8 @@ include ../../build/rules.make
 
 LIBRARY = System.Data.Services.Client.dll
 
-LIBRARY_SNK = ../mono.snk
-LIBRARY_PACKAGE = none
+Client/System.Data.Services.Client.resources: Client/System.Data.Services.Client.txt
+       $(RESGEN) "$<" "$@"
 
 LIB_MCS_FLAGS = \
        -d:NET_3_5      \
@@ -14,7 +14,16 @@ LIB_MCS_FLAGS = \
        -r:System.Xml.Linq.dll \
        -r:System.Data.dll \
        -r:System.Xml.dll \
-       -r:WindowsBase.dll \
+       -resource:Client/System.Data.Services.Client.resources \
        -warn:2
 
+ifneq (2.1, $(FRAMEWORK_VERSION))
+LIB_MCS_FLAGS += -r:WindowsBase
+endif
+
 include ../../build/library.make
+
+$(the_lib): Client/System.Data.Services.Client.resources
+
+EXTRA_DISTFILES = Client/System.Data.Services.Client.txt
+CLEAN_FILES += Client/System.Data.Services.Client.resources