[build] Roslyn switch
[mono.git] / mcs / build / profiles / monotouch_runtime.make
1 # -*- makefile -*-
2
3 BOOTSTRAP_PROFILE = build
4
5 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" CSC_SDK_PATH_DISABLED= $(INTERNAL_CSC)
6 MCS = $(BOOTSTRAP_MCS)
7
8 # Use system resgen as we don't want local System.Windows.Forms dependency
9 RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
10
11 # nuttzing!
12
13 profile-check:
14         @:
15
16 DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
17 PROFILE_MCS_FLAGS = \
18         -d:NET_1_1 \
19         -d:NET_2_0 \
20         -d:NET_2_1 \
21         -d:NET_3_5 \
22         -d:NET_4_0 \
23         -d:NET_4_5 \
24         -d:MOBILE,MOBILE_LEGACY \
25         -d:MONO \
26         -d:MONOTOUCH \
27         -d:DISABLE_REMOTING \
28         -d:DISABLE_COM \
29         -d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
30         -d:NETSTANDARD \
31         -nowarn:1699 \
32         -nostdlib \
33         $(DEFAULT_REFERENCES) \
34         $(PLATFORM_DEBUG_FLAGS) \
35         $(MONOTOUCH_MCS_FLAGS)
36
37 FRAMEWORK_VERSION = 2.1
38
39 # This is utility build only
40 NO_INSTALL = yes
41 AOT_FRIENDLY_PROFILE = yes
42 MOBILE_PROFILE = yes
43
44 PROFILE_DISABLE_BTLS=1