6f6108c08aa7d89ab89dda7de1b0247e3449494c
[mono.git] / mcs / build / profiles / mobile.make
1 #! -*- makefile -*-
2
3 BOOTSTRAP_PROFILE = build
4
5 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
6 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
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:mscorlib.dll
15
16 PROFILE_MCS_FLAGS = \
17         -d:NET_1_1 \
18         -d:NET_2_0 \
19         -d:NET_2_1 \
20         -d:MOBILE,MOBILE_LEGACY \
21         -d:MOBILE_DYNAMIC \
22         -d:NET_3_5 \
23         -d:NET_4_0 \
24         -d:NET_4_5 \
25         -d:MONO \
26         -d:DISABLE_CAS_USE \
27         -nowarn:1699 \
28         -nostdlib \
29         -lib:$(topdir)/class/lib/$(PROFILE) \
30         $(DEFAULT_REFERENCES) \
31         $(PLATFORM_DEBUG_FLAGS)
32
33 FRAMEWORK_VERSION = 2.1
34
35 NO_INSTALL = yes
36 MOBILE_DYNAMIC = yes
37 MOBILE_PROFILE = yes