**** Merged from MCS ****
[mono-project.git] / mcs / build / profiles / default.make
blob8549c6db0f36d4a17c52334628faff2be2cc4938
1 # -*- makefile -*-
3 # The default 'bootstrap' profile -- builds so that we link against
4 # the libraries as we build them.
6 # We use the platform's native C# runtime and compiler if possible.
8 # Note that we have sort of confusing terminology here; BOOTSTRAP_MCS
9 # is what allows us to bootstrap ourselves, but when we are bootstrapping,
10 # we use INTERNAL_MCS.
12 # When bootstrapping, compile against our new assemblies.
13 # (MONO_PATH doesn't just affect what assemblies are loaded to
14 # run the compiler; /r: flags are by default loaded from whatever's
15 # in the MONO_PATH too).
17 ifdef PLATFORM_MONO_NATIVE
18 MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MCS)
19 MBAS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MBAS)
20 else
21 MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
22 MBAS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MBAS) /lib:$(topdir)/class/lib/$(PROFILE)
23 endif
25 # nuttzing!
27 profile-check:
29 PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
30 PROFILE_MBAS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
31 FRAMEWORK_VERSION = 1.0