Merge pull request #1464 from akoeplinger/fix-portable-target
[mono.git] / mcs / class / System.Xml.Linq / Makefile
1 thisdir = class/System.Xml.Linq
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Xml.Linq.dll
6 LIB_MCS_FLAGS = \
7                 -r:System.dll \
8                 -r:System.Core.dll \
9                 -r:System.Xml.dll
10
11 ifneq (2.1, $(FRAMEWORK_VERSION))
12 # This is a .NET 3.5+ only assembly, but built during the 2.0 build
13 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
14 endif
15
16 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
17
18 EXTRA_DISTFILES =
19
20 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
21 ifndef VALID_PROFILE
22 LIBRARY_NAME = dummy-System.Xml.Linq.dll
23 NO_INSTALL = yes
24 NO_SIGN_ASSEMBLY = yes
25 NO_TEST = yes
26 endif
27
28 include ../../build/library.make