[mscorlib] Add support for intercepting threadpool work, and use it for Xamarin.iOS...
[mono.git] / mcs / build / profiles / xammac.make
1 BOOTSTRAP_PROFILE = build
2
3 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
4 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
5
6 # Use system resgen as we don't want local System.Windows.Forms dependency
7 RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
8
9 profile-check:
10         @:
11
12 DEFAULT_REFERENCES = -r:mscorlib.dll
13
14 PROFILE_MCS_FLAGS = \
15         -d:NET_1_1 \
16         -d:NET_2_0 \
17         -d:NET_2_1 \
18         -d:NET_3_5 \
19         -d:NET_4_0 \
20         -d:NET_4_5 \
21         -d:MONO \
22         -d:DISABLE_CAS_USE  \
23         -d:MOBILE \
24         -d:MOBILE_DYNAMIC \
25         -d:XAMMAC \
26         -d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
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 NO_TEST = yes
35 NO_INSTALL = yes
36 MOBILE_DYNAMIC = yes
37 MOBILE_PROFILE = yes