2 # This makefile needs work, currently we overwrite the value of `bmcs.exe',
3 # the reason is that we need this to be compiled with gmcs, so it uses the
8 include ..
/build
/rules.make
10 #uncomment to enable some debug stuff
11 #DEBUG_FLAGS=/define:MCS_DEBUG
13 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
)
15 BUILT_SOURCES
= mb-parser.cs
17 EXTRA_DISTFILES
= mb-parser.jay
19 PROGRAM_COMPILE
= $(BOOT_COMPILE
)
21 CLEAN_FILES
= y.output
25 mb-parser.cs
: mb-parser.jay
$(topdir
)/jay
/skeleton.cs
26 $(topdir
)/jay
/jay
-ctv
< $(topdir
)/jay
/skeleton.cs
$< > jay-tmp.out
&& mv jay-tmp.out
$@
28 include ..
/build
/executable.make
30 bmcs.exe
: mb-parser.cs
31 gmcs
-d
:NET_1_1
-d
:ONLY_1_1
-debug
/target
:exe
/out
:bmcs.exe
/r
:Microsoft.VisualBasic.dll mb-parser.cs @bmcs.exe.sources
-nowarn
:219 -nowarn
:162
34 cp bmcs.exe
$(prefix)/lib
/mono
/2.0/
37 diff
--exclude
='.svn' --exclude
='*-parser.*' --exclude
='*-tokenizer.cs' -ruN ..
/gmcs ..
/bmcs