3 include ../build/rules.make
41 all_sources = $(COMPILER_SOURCES) cs-parser.cs
46 compiler.csproj.user \
56 install-local: mcs.exe
57 $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
58 $(INSTALL_BIN) mcs.exe $(DESTDIR)$(prefix)/bin
61 -rm -f $(DESTDIR)$(prefix)/bin/mcs.exe
63 test-local run-test-local:
66 rm -f *.exe *.pdb cs-parser.cs y.output
68 dist-local: dist-default
70 mcs.exe: $(all_sources)
71 $(BOOT_COMPILE) /target:exe /out:$@ $^
73 cs-parser.cs: cs-parser.jay $(topdir)/jay/skeleton.cs
74 $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< >$@
80 # This used to be called test, but that conflicts with the global
83 btest: mcs2.exe mcs3.exe
84 ls -l mcs2.exe mcs3.exe
87 $(TIME) $(RUNTIME) ./mcs.exe $(USE_MCS_FLAGS) /target:exe /out:$@ $(all_sources)
90 $(TIME) $(RUNTIME) ./mcs2.exe $(USE_MCS_FLAGS) /target:exe /out:$@ $(all_sources)
94 make btest USE_MCS_FLAGS=
97 echo $(all_sources) > res