X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fbuild%2Fprofiles%2Fdefault.make;h=31f830d3279a7eeeaaaa0e71e8fc801101cb2dbf;hb=496dfbf9ec0fd3143e5dd560a863d916e56a52b8;hp=51763f3c3afc791d4d3485c067546141449df761;hpb=f6574c38ac9619e9a69b60ce39288c38ff1aa5e7;p=mono.git diff --git a/mcs/build/profiles/default.make b/mcs/build/profiles/default.make index 51763f3c3af..31f830d3279 100644 --- a/mcs/build/profiles/default.make +++ b/mcs/build/profiles/default.make @@ -1,14 +1,28 @@ -# -*- Makefile -*- +# -*- makefile -*- # -# The default profile. +# The default 'bootstrap' profile -- builds so that we link against +# the libraries as we build them. +# +# We use the platform's native C# runtime and compiler if possible. + +# Note that we have sort of confusing terminology here; BOOTSTRAP_MCS +# is what allows us to bootstrap ourselves, but when we are bootstrapping, +# we use INTERNAL_MCS. + +# When bootstrapping, compile against our new assemblies. +# (MONO_PATH doesn't just affect what assemblies are loaded to +# run the compiler; /r: flags are by default loaded from whatever's +# in the MONO_PATH too). -# In this profile we compile everything relative to the already-installed -# runtime, so we use the bootstrap (external) compiler for everything and -# don't set MONO_PATH. +BOOTSTRAP_PROFILE = net_1_1_bootstrap +BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BOOTSTRAP_PROFILE)/mcs.exe +MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS) +MBAS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MBAS) -MCS = $(BOOTSTRAP_MCS) +# nuttzing! -# Causes some build errors -#PROFILE_MCS_FLAGS = /d:NET_1_1 +profile-check: -# Exciting, no? +PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1 +PROFILE_MBAS_FLAGS = -d:NET_1_1 -d:ONLY_1_1 +FRAMEWORK_VERSION = 1.0