2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / build / profiles / default.make
1 # -*- makefile -*-
2 #
3 # The default 'bootstrap' profile -- builds so that we link against
4 # the libraries as we build them.
5 #
6 # We use the platform's native C# runtime and compiler if possible.
7
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.
11
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).
16
17 ifdef PLATFORM_MONO_NATIVE
18 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/net_1_1_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/net_1_1_bootstrap/mcs.exe
19 MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS)
20 MBAS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MBAS)
21 else
22 BOOTSTRAP_MCS = $(EXTERNAL_MCS)
23 MCS = $(PLATFORM_RUNTIME) $(EXTERNAL_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
24 MBAS = $(PLATFORM_RUNTIME) $(EXTERNAL_MBAS) /lib:$(topdir)/class/lib/$(PROFILE)
25 endif
26
27 # nuttzing!
28
29 profile-check:
30
31 PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
32 PROFILE_MBAS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
33 FRAMEWORK_VERSION = 1.0