[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.Net / Makefile
blobd3fb591adbec7dbd63d45006e65424896f682e6a
1 thisdir = class/System.Net
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Net.dll
6 LIB_REFS = System System.Core System.Xml
7 LIB_MCS_FLAGS = -unsafe
9 ifneq (2.1, $(FRAMEWORK_VERSION))
10 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
11 endif
13 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
15 EXTRA_DISTFILES =
17 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
18 ifndef VALID_PROFILE
19 LIBRARY_NAME = dummy-System.Net.dll
20 NO_INSTALL = yes
21 NO_SIGN_ASSEMBLY = yes
22 NO_TEST = yes
23 endif
25 include ../../build/library.make