Update NETStandard2.1 APIs (#17080)
[mono-project.git] / mcs / class / Facades / netstandard / Makefile
blob91a8cdc57f1621a576771953eb3dce281b8db56b
1 MCS_BUILD_DIR = ../../../build
3 thisdir = class/Facades/netstandard
4 SUBDIRS =
5 include $(MCS_BUILD_DIR)/rules.make
7 LIBRARY_SUBDIR = Facades
8 LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
10 LIBRARY = netstandard.dll
12 KEYFILE = ../../Open.snk
13 LIBRARY_SNK = $(KEYFILE)
14 SIGN_FLAGS = /delaysign /nowarn:1616,1699,618
15 LIB_REFS = System System.Xml System.Xml.Linq System.Core System.Numerics System.Net.Http \
16 System.IO.Compression System.ComponentModel.Composition System.IO.Compression.FileSystem
18 LIB_MCS_FLAGS = $(SIGN_FLAGS)
20 ifeq ($(PROFILE),build)
21 # for the build profile we include stubs for these types directly in netstandard.dll
22 LIB_MCS_FLAGS += -d:SYSTEM_WEB_IMPLEMENTATION
23 else ifeq ($(PROFILE),wasm)
24 LIB_MCS_FLAGS += -d:SYSTEM_WEB_IMPLEMENTATION -unsafe
25 LIB_REFS += System.Transactions System.Runtime.Serialization System.Data System.Data.DataSetExtensions
26 else ifeq ($(PROFILE),xammac_net_4_5)
27 LIB_REFS += System.Web.Services System.Transactions System.Runtime.Serialization System.Data System.Data.DataSetExtensions
28 else ifeq (2.1, $(FRAMEWORK_VERSION))
29 LIB_REFS += System.Web.Services System.Transactions System.Runtime.Serialization System.Data System.Data.DataSetExtensions
30 else
31 LIB_REFS += System.Web System.Transactions System.Runtime.Serialization System.Data System.Data.DataSetExtensions
32 endif
34 ifneq (,$(filter build net_4_x, $(PROFILE)))
35 # drawing types are inside System.Drawing.dll
36 LIB_REFS += System.Drawing
37 else
38 # drawing types are inside System.Drawing.Common.dll
39 LIB_REFS += Facades/System.Drawing.Common
40 endif
42 PLATFORM_DEBUG_FLAGS =
44 NO_TEST = yes
46 include $(MCS_BUILD_DIR)/library.make