compiler.doc \
*mcs.sln \
*cs-parser.jay \
+ *.sources \
+ generic.cs \
NOTES \
- TODO
+ TODO \
+ gmcs.exe.config
GMCS_PROFILE := $(filter net_2_0_bootstrap net_2_0 net_2_1, $(PROFILE))
ifdef GMCS_PROFILE
- BUILT_SOURCES = gcs-parser.cs
LOCAL_MCS_FLAGS += -d:GMCS_SOURCE
-
+
ifeq (net_2_1, $(PROFILE))
INTERNAL_SMCS = $(INTERNAL_GMCS)
LOCAL_MCS_FLAGS += -nowarn:618 -noconfig -r:mscorlib -r:System.dll
PROGRAM = $(topdir)/class/lib/$(PROFILE)/smcs.exe
else
- BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/net_2_0_bootstrap/mcs.exe $(DEBUG_FLAGS)
+ BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/net_2_0_bootstrap/gmcs.exe $(DEBUG_FLAGS)
PROGRAM = $(topdir)/class/lib/$(PROFILE)/gmcs.exe
endif
else
- BUILT_SOURCES = cs-parser.cs
PROGRAM = $(topdir)/class/lib/$(PROFILE)/mcs.exe
endif
+BUILT_SOURCES = cs-parser.cs
+
PROGRAM_COMPILE = $(BOOT_COMPILE)
CLEAN_FILES += y.output
$(MKINSTALLDIRS) $(@D)
touch $@
-$(PROGRAM): $(topdir)/class/lib/default/mcs.exe $(progdir)/.stamp
+$(PROGRAM) $(PROGRAM).config: $(progdir)/.stamp
+
+$(PROGRAM): $(topdir)/class/lib/default/mcs.exe
cp $< $@
-$(PROGRAM).config: $(topdir)/gmcs/gmcs.exe.config $(progdir)/.stamp
+$(PROGRAM).config: gmcs.exe.config
cp $< $@
else
profile : $(PROGRAM)
$(RUNTIME) $(RUNTIME_FLAGS) --profile=$(PROFILER) $(PROGRAM) $(USE_MCS_FLAGS) -target:exe -out:mcs2.exe $(BUILT_SOURCES) @$(response)
+
+qh:
+ MONO_PATH="../class/lib/net_2_0_bootstrap:$MONO_PATH" /cvs/mono/runtime/mono-wrapper ../class/lib/net_2_0_bootstrap/gmcs.exe /codepage:65001 -d:GMCS_SOURCE -d:NET_1_1 -d:NET_2_0 -debug -target:exe -out:gmcs.exe gcs-parser.cs @gmcs.exe.sources