Add monotouch_*_runtime profiles for watchOS and tvOS.
[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" $(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 := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
10
11 # nuttzing!
12
13 profile-check:
14         @:
15
16 DEFAULT_REFERENCES = -r: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:DISABLE_CAS_USE \
27         -d:MONOTOUCH \
28         -d:DISABLE_REMOTING \
29         -d:DISABLE_COM \
30         -nowarn:1699 \
31         -nostdlib \
32         -lib:$(topdir)/class/lib/$(PROFILE) \
33         $(DEFAULT_REFERENCES) \
34         $(PLATFORM_DEBUG_FLAGS)
35
36 FRAMEWORK_VERSION = 2.1
37
38 # This is utility build only
39 NO_INSTALL = yes
40 MOBILE_STATIC = yes
41 MOBILE_PROFILE = yes