Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/build/profiles/net_2_0.make')
-rw-r--r--mcs/build/profiles/net_2_0.make28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/build/profiles/net_2_0.make b/mcs/build/profiles/net_2_0.make
new file mode 100644
index 00000000000..6c23d76ae37
--- /dev/null
+++ b/mcs/build/profiles/net_2_0.make
@@ -0,0 +1,28 @@
+# -*- makefile -*-
+#
+# 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).
+
+ifdef PLATFORM_MONO_NATIVE
+MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MCS)
+TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
+else
+MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
+endif
+
+# nuttzing!
+
+profile-check:
+
+PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -2