[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.Xml.Linq / Makefile
blobcd250c135ede29c99ba3c843f570d565aa830555
1 thisdir = class/System.Xml.Linq
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Xml.Linq.dll
6 LIB_REFS = System System.Core System.Xml
7 LIB_MCS_FLAGS =
9 ifneq (2.1, $(FRAMEWORK_VERSION))
10 # This is a .NET 3.5+ only assembly, but built during the 2.0 build
11 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
12 endif
14 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
16 EXTRA_DISTFILES =
18 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
19 ifndef VALID_PROFILE
20 LIBRARY_NAME = dummy-System.Xml.Linq.dll
21 NO_INSTALL = yes
22 NO_SIGN_ASSEMBLY = yes
23 NO_TEST = yes
24 endif
26 include ../../build/library.make