New test.
[mono.git] / mcs / build / profiles / default.make
index 51763f3c3afc791d4d3485c067546141449df761..31f830d3279a7eeeaaaa0e71e8fc801101cb2dbf 100644 (file)
@@ -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