[2019-02] Move drawing types for XI/XM/wasm/orbis/unreal to System.Drawing.Common...
[mono-project.git] / mcs / class / Facades / netstandard / Makefile
blob2ae3d033e571e7d9ddb1da52ba45dbd43e291c4c
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) $(EXTRA_LIB_MCS_FLAGS)
20 ifneq ($(PROFILE),build)
21 # for the build profile we include stubs for these types directly in netstandard.dll
22 LIB_REFS += System.Transactions System.Runtime.Serialization System.Data
24 ifeq ($(PROFILE),xammac_net_4_5)
25 LIB_REFS += System.Web.Services
26 else ifeq (2.1, $(FRAMEWORK_VERSION))
27 LIB_REFS += System.Web.Services
28 else
29 LIB_REFS += System.Web
30 endif
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