X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.ServiceModel%2FMakefile;h=88a4aff090fec2ee175cb8e96d25f98c4a5eb271;hb=56d21fac2ceee290cd20eec13d59a49ec325d1d4;hp=38f0a60528040ac2211955bf022fce0803a595fa;hpb=dedaecf9c50ac78ca2791e61e287118b1e59506a;p=mono.git diff --git a/mcs/class/System.ServiceModel/Makefile b/mcs/class/System.ServiceModel/Makefile index 38f0a605280..88a4aff090f 100755 --- a/mcs/class/System.ServiceModel/Makefile +++ b/mcs/class/System.ServiceModel/Makefile @@ -12,6 +12,7 @@ LIB_MCS_FLAGS = \ /unsafe \ /r:System.dll \ /r:System.Xml.dll \ + /r:System.Core.dll \ /r:System.Runtime.Serialization.dll \ $(RESOURCE_FILES:%=/resource:%) @@ -29,8 +30,8 @@ LIB_MCS_FLAGS += /d:NET_3_0 \ /r:Mono.Security.dll endif -ifeq (2.1, $(FRAMEWORK_VERSION)) -LIB_MCS_FLAGS += /r:System.Net /r:System.Core /r:System.Xml.Linq +ifeq (net_2_1_raw, $(PROFILE)) +LIB_MCS_FLAGS += /r:System.Net endif TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) @@ -46,7 +47,7 @@ EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES) # Useful for debugging under Visual Studio 2005 # NO_SIGN_ASSEMBLY = yes -VALID_PROFILE := $(filter net_2_0 net_2_1_raw, $(PROFILE)) +VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION)) ifndef VALID_PROFILE LIBRARY_NAME = dummy-System.ServiceModel.dll NO_INSTALL = yes