X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fhelena%2FMakefile;h=5d359ba3922fb434e01a0dd039370abe682c669c;hb=04ffe68396b98bbf21bcd403ffba03b94eaebadc;hp=0c840fbfb68140ebe286b4d4a33120a24ee3a9a2;hpb=39cf453a20e35416d0fd932cc5bf14733e918587;p=helm.git diff --git a/helm/software/helena/Makefile b/helm/software/helena/Makefile index 0c840fbfb..5d359ba39 100644 --- a/helm/software/helena/Makefile +++ b/helm/software/helena/Makefile @@ -10,34 +10,54 @@ KEEP = README CLEAN = etc/log.txt etc/profile.txt -TAGS = test-si test-si-fast profile xml-si xml-si-crg +TAGS = test-si-fast test-si test-si-matita profile xml-si-crg xml-si matita matitac include Makefile.common +MATITAC = ../../../../matita/matita/matitac.opt + +MATITA = ../../../../matita/matita/matita.opt + XMLDIR = ../../www/lambdadelta -INPUT = examples/grundlagen/grundlagen_2.aut +INPUT = examples/automath/grundlagen_2.aut -INPUTFAST = examples/grundlagen/grundlagen_1.aut +INPUTFAST = examples/automath/grundlagen_1.aut -test-si: $(MAIN).opt etc - @echo " HELENA -d -l -p -o $(INPUT)" - $(H)./$(MAIN).opt -T 2 -d -l -p -o $(O) $(INPUT) > etc/log.txt +MA = grundlagen_2.ma + +PREAMBLE = ../matita/matita.ma.templ test-si-fast: $(MAIN).opt etc @echo " HELENA -o -q $(INPUTFAST)" $(H)./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) > etc/log.txt +test-si: $(MAIN).opt etc + @echo " HELENA -d -l -p -o $(INPUT)" + $(H)./$(MAIN).opt -T 2 -d -l -p -o $(O) $(INPUT) > etc/log.txt + +test-si-matita matita/$(MA): $(MAIN).opt etc + @echo " HELENA -d -l -m -p -o $(INPUT)" + $(H)./$(MAIN).opt -T 2 -a n -d -l -m $(PREAMBLE) -p -o $(O) $(INPUT) > etc/log.txt + profile: $(MAIN).opt etc @echo " HELENA -o -q $(INPUTFAST) (30 TIMES)" $(H)rm etc/log.txt $(H)for T in `seq 30`; do ./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) >> etc/log.txt; done $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile-new.txt +xml-si-crg: $(MAIN).opt etc + @echo " HELENA -l -o -s 1 -x $(INPUT)" + $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 1 -x $(INPUT) > etc/log.txt + xml-si: $(MAIN).opt etc @echo " HELENA -l -o -s 2 -x $(INPUT)" $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 2 -x $(INPUT) > etc/log.txt -xml-si-crg: $(MAIN).opt etc - @echo " HELENA -l -o -s 1 -x $(INPUT)" - $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 1 -x $(INPUT) > etc/log.txt +matita: matita/$(MA) + @echo " MATITA $(MA)" + $(H)cd matita && $(MATITA) $(MA) + +matitac: matita/$(MA) + @echo " MATITAC $(MA)" + $(H)cd matita && $(MATITAC) $(MA)