X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.ServiceModel%2FMakefile;h=683b096376f1e86e220a234101c1d60536a05512;hb=044d3a68a0504b8303c26b169131cc9875fa8f4a;hp=5436992c25f9cc9a8c15725f6aea2ba4eaf88fe1;hpb=48992d4b3f8b568be17180372160d2f3e03b8ccb;p=mono.git diff --git a/mcs/class/System.ServiceModel/Makefile b/mcs/class/System.ServiceModel/Makefile index 5436992c25f..683b096376f 100644 --- a/mcs/class/System.ServiceModel/Makefile +++ b/mcs/class/System.ServiceModel/Makefile @@ -8,30 +8,45 @@ RESOURCE_FILES = \ LIBRARY = System.ServiceModel.dll -LIB_REFS = System System.Xml System.Core System.Runtime.Serialization +LIB_REFS = System System.Xml System.Core System.Runtime.Serialization System.IdentityModel LIB_MCS_FLAGS = \ /nowarn:414,169,67,3005,436,219,618 \ /unsafe \ /d:TRACE \ $(RESOURCE_FILES:%=/resource:%) +ifdef XAMMAC_4_5 +LIB_REFS += System.ServiceModel.Internals +endif + ifneq (2.1, $(FRAMEWORK_VERSION)) -LIB_REFS += System.Configuration System.Data System.Security System.IdentityModel System.IdentityModel.Selectors System.Transactions System.Messaging System.Web System.Web.Services Mono.Security +LIB_REFS += System.Configuration System.Data System.Security System.IdentityModel.Selectors System.Transactions System.Messaging System.Web.Services Mono.Security LIB_MCS_FLAGS += /d:NET_3_0 + +ifndef NO_SYSTEM_WEB_DEPENDENCY +LIB_REFS += System.Web endif ifeq (4, $(FRAMEWORK_VERSION_MAJOR)) -LIB_REFS += System.Web.ApplicationServices + +ifndef NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY activation = $(the_libdir_base)System.ServiceModel.Activation.dll servicemodel_deps = $(activation) -LIB_REFS += System.Web.ApplicationServices - ifneq (plainservice/,$(intermediate)) -LIB_MCS_FLAGS += -define:HAS_ACTIVATION -r:System.ServiceModel.Activation.dll -endif +LIB_REFS += System.ServiceModel.Activation +LIB_MCS_FLAGS += -define:HAS_ACTIVATION +endif +endif # NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY + +ifndef NO_SYSTEM_WEB_APPSERVICES_DEPENDENCY +LIB_REFS += System.Web.ApplicationServices endif +endif # (4, $(FRAMEWORK_VERSION_MAJOR)) + +endif # (2.1, $(FRAMEWORK_VERSION)) + TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) TEST_EXTRA_FILES = \