5 REQUIRES = unix str helm-ng_kernel
7 OCAMLOPTIONS = -rectypes
11 CLEAN = etc/log.txt etc/profile.txt
13 TAGS = test-si-fast test-si test-si-matita profile xml-si-crg xml-si matita matitac
15 include Makefile.common
17 MATITAC = ../../../../matita/matita/matitac.opt
19 MATITA = ../../../../matita/matita/matita.opt
21 XMLDIR = ../../www/lambdadelta
23 INPUT = examples/automath/grundlagen_2.aut
25 INPUTFAST = examples/automath/grundlagen_1.aut
29 PREAMBLE = ../matita/matita.ma.templ
31 test-si-fast: $(MAIN).opt etc
32 @echo " HELENA -o -q $(INPUTFAST)"
33 $(H)./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) > etc/log.txt
35 test-si: $(MAIN).opt etc
36 @echo " HELENA -d -l -p -o $(INPUT)"
37 $(H)./$(MAIN).opt -T 2 -d -l -p -o $(O) $(INPUT) > etc/log.txt
39 test-si-matita matita/$(MA): $(MAIN).opt etc
40 @echo " HELENA -d -l -m -p -o $(INPUT)"
41 $(H)./$(MAIN).opt -T 2 -a n -d -l -m $(PREAMBLE) -p -o $(O) $(INPUT) > etc/log.txt
43 profile: $(MAIN).opt etc
44 @echo " HELENA -o -q $(INPUTFAST) (30 TIMES)"
46 $(H)for T in `seq 30`; do ./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) >> etc/log.txt; done
47 $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile-new.txt
49 xml-si-crg: $(MAIN).opt etc
50 @echo " HELENA -l -o -s 1 -x $(INPUT)"
51 $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 1 -x $(INPUT) > etc/log.txt
53 xml-si: $(MAIN).opt etc
54 @echo " HELENA -l -o -s 2 -x $(INPUT)"
55 $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 2 -x $(INPUT) > etc/log.txt
59 $(H)cd matita && $(MATITA) $(MA)
62 @echo " MATITAC $(MA)"
63 $(H)cd matita && $(MATITAC) $(MA)