Remove profile-specific logic from makefiles.
[mono-project.git] / mcs / build / profiles / monotouch_runtime.make
blob8f42ec8acbe599b29d7311ddcdfab8c0202d7b6a
1 # -*- makefile -*-
3 BOOTSTRAP_PROFILE = build
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)
8 # Use system resgen as we don't want local System.Windows.Forms dependency
9 RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
11 # nuttzing!
13 profile-check:
16 DEFAULT_REFERENCES = -r:mscorlib.dll
17 PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MONO -d:DISABLE_CAS_USE -d:MOBILE,MOBILE_LEGACY -d:MONOTOUCH -D:DISABLE_REMOTING -d:DISABLE_COM -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
19 FRAMEWORK_VERSION = 2.1
21 # This is utility build only
22 NO_INSTALL = yes
23 MOBILE_STATIC = yes
24 MOBILE_PROFILE = yes