[bcl] Specify the name of the key file on the command line instead of using the Assem...
[mono.git] / mcs / class / System.ServiceModel.Discovery / Makefile
1 thisdir = class/System.ServiceModel.Discovery
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.ServiceModel.Discovery.dll
6 LIB_REFS = System System.Xml System.Runtime.Serialization System.ServiceModel System.Core System.Xml.Linq
7 LIB_MCS_FLAGS =
8
9 ifneq (2.1, $(FRAMEWORK_VERSION))
10 LIB_REFS += System.Configuration
11 LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0 
12 endif
13
14 ifdef MOBILE_PROFILE
15 KEYFILE = ../silverlight.pub
16 else
17 KEYFILE = ../winfx.pub
18 endif
19
20 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
21
22 EXTRA_DISTFILES = $(RESOURCE_FILES)
23
24 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
25 ifndef VALID_PROFILE
26 LIBRARY_NAME = dummy-System.ServiceModel.Discovery.dll
27 NO_INSTALL = yes
28 NO_SIGN_ASSEMBLY = yes
29 endif
30
31 include ../../build/library.make