MAIN = helena SRC = src REQUIRES = unix str helm-ng_kernel OCAMLOPTIONS = -rectypes KEEP = README CLEAN = etc/log.txt etc/profile.txt 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/automath/grundlagen_2.aut INPUTFAST = examples/automath/grundlagen_1.aut 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 -f 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 matita: matita/$(MA) @echo " MATITA $(MA)" $(H)cd matita && $(MATITA) $(MA) matitac: matita/$(MA) @echo " MATITAC $(MA)" $(H)cd matita && $(MATITAC) $(MA)