[build] Roslyn switch
[mono.git] / mcs / build / profiles / monodroid.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 = resgen2
10
11 profile-check:
12         @:
13
14 DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
15
16 PROFILE_MCS_FLAGS = \
17         -d:NET_1_1 \
18         -d:NET_2_0 \
19         -d:NET_2_1 \
20         -d:NET_3_5 \
21         -d:NET_4_0 \
22         -d:NET_4_5 \
23         -d:MONO \
24         -d:MOBILE,MOBILE_LEGACY \
25         -d:MOBILE_DYNAMIC \
26         -d:MONODROID \
27         -d:ANDROID \
28         -d:NETSTANDARD \
29         -nowarn:1699 \
30         -nostdlib \
31         $(DEFAULT_REFERENCES) \
32         $(PLATFORM_DEBUG_FLAGS)
33
34 FRAMEWORK_VERSION = 2.1
35 NO_TEST = yes
36
37 # the tuner takes care of the install
38 NO_INSTALL = yes
39 MOBILE_DYNAMIC = yes
40 MOBILE_PROFILE = yes