X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FilxGen%2Ftests%2FMakefile;h=423839c9e8b57ef352c3e93d8ab59cff6bffd41c;hb=28a464a75e14cece5db40f2765a29348273ff2d2;hp=51020bb2127fc75756d386d720031350f6a41849;hpb=2fcb7497077e1bae830d8814b8f9442c51c1603a;p=ghc-hetmet.git diff --git a/ghc/compiler/ilxGen/tests/Makefile b/ghc/compiler/ilxGen/tests/Makefile index 51020bb..423839c 100644 --- a/ghc/compiler/ilxGen/tests/Makefile +++ b/ghc/compiler/ilxGen/tests/Makefile @@ -39,7 +39,7 @@ prel: ilx %.$(ilx_way).exe : %.$(ilx_way).il ../Entry.$(ilx_way).il cat $*.$(ilx_way).il ../Entry.$(ilx_way).il > $@.tmp - echo "call devcorb2gen free" > tmp.bat +# echo "call devcorb2gen free" > tmp.bat echo "ilasm /DEBUG /QUIET /OUT=$@ $@.tmp" >> tmp.bat cmd /c tmp.bat @@ -57,42 +57,49 @@ prel: ilx # Used to run performance comparisons against native code GHC %.Onot.exe: %.hs - ghc -Onot -o $@ $< + $(GHC_INPLACE) -Onot -o $@ $< %.O.exe: %.hs - ghc -O -o $@ $< + $(GHC_INPLACE) -O -o $@ $< -%.run: %.exe +WIN_TOP_ABS = $(subst /,\,$(FPTOOLS_TOP_ABS)) +WIN_ILX2IL_HOME = $(subst /,\,$(ILX2IL_HOME)) + +app.config: + echo "" > $@ + echo "" >> $@ + echo "" >> $@ + echo "" >> $@ + echo "" >> $@ + echo "" >> $@ + echo "" >> $@ + +%.run: %.exe app.config time -p $< #------------------------------------------------------------------------ # Running: -HSstd_cbits.dll: ../../../lib/std/cbits/HSstd_cbits.dll +HSstd_cbits.dll: $(DLL_PEN)/HSstd_cbits.dll cp $< $@ %.cordbg.run: HSstd_cbits.dll %.exe - cp $(TOP)/lib/std/*.$(ilx_way).dll . - cp $(ILX2IL_HOME)/bin/msilxlib$(ilx2il_suffix).dll . - cp $(TOP)/lib/std/*.$(ilx_way).pdb . - cp $(ILX2IL_HOME)/bin/msilxlib$(ilx2il_suffix).pdb . - echo "call devcorb2gen fastchecked" > $@.bat + cp app.config $@.config +# echo "call devcorb2gen fastchecked" > $@.bat echo "$(LOCALRUN)$(subst /,\\,$*).exe 2>&1" >> $@.bat time -p cmd /c $(subst /,\\,$@).bat rm $@.bat %.debug.run: HSstd_cbits.dll %.exe - cp $(TOP)/lib/std/*.$(ilx_way).dll . - cp $(ILX2IL_HOME)/bin/msilxlib$(ilx2il_suffix).dll . - echo "call devcorb2gen fastchecked" > $@.bat + cp app.config $@.config +# echo "call devcorb2gen fastchecked" > $@.bat echo "$(LOCALRUN)$(subst /,\\,$*).exe 2>&1" >> $@.bat time -p cmd /c $(subst /,\\,$@).bat rm $@.bat %.retail.run: HSstd_cbits.dll %.exe - cp $(TOP)/lib/std/*.$(ilx_way).dll . - cp $(ILX2IL_HOME)/bin/msilxlib$(ilx2il_suffix).dll . - echo "call devcorb2gen free" > $@.bat + cp app.config $@.config +# echo "call devcorb2gen free" > $@.bat echo "$(LOCALRUN)$(subst /,\\,$*).exe 2>&1" >> $@.bat time -p cmd /c $(subst /,\\,$@).bat rm $@.bat