CLEAN = etc/log.txt etc/profile.txt
-TAGS = test-si-fast test-si test \
+TAGS = test-si-fast test-si test2 test3 test6 \
profile-fast profile profile-coq \
xml-si xml-si-v3 xml xml-v3 \
- export-coq export-matita \
+ export-coq export-matita export-elpi \
matita matitac
include Makefile.common
INPUTFAST = examples/automath/grundlagen_1.aut
-MA = grundlagen_2.ma
-V = grundlagen_2.v
+MA = grundlagen_2.ma
+V = grundlagen_2.v
+ELPI = grundlagen_2.elpi
-PREAMBLE_MA = ../matita/matita.ma.templ
-PREAMBLE_V = coq/grundlagen.template
+PREAMBLE_MA = ../matita/matita.ma.templ
+PREAMBLE_V = coq/grundlagen.template
+PREAMBLE_ELPI = elpi/grundlagen.template
test-si-fast: $(MAIN).opt etc
@echo " HELENA -o -q -1 $(INPUTFAST)"
@echo " HELENA -d -l -p -o $(INPUT)"
$(H)./$(MAIN).opt -T 2 -d -l -p -o $(O) $(INPUT) > etc/log.txt
-test: $(MAIN).opt etc
+test2: $(MAIN).opt etc
@echo " HELENA -d -l $(INPUT)"
- $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 2 -d -l $(INPUT) > etc/log.txt
+ $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 2 -d -l $(O) $(INPUT) > etc/log.txt
+
+test3: $(MAIN).opt etc
+ @echo " HELENA -d -l $(INPUT)"
+ $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 3 -d -l $(O) $(INPUT) > etc/log.txt
+
+test6: $(MAIN).opt etc
+ @echo " HELENA -d -l $(INPUT)"
+ $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 6 -d -l $(O) $(INPUT) > etc/log.txt
xml-si: $(MAIN).opt etc
@echo " HELENA -l -o -s 1 -x $(INPUT)"
$(H)mkdir -p matita
$(H)./$(MAIN).opt -T 1 -a n -c $(PREAMBLE_MA) -l -m MA2 -o $(O) $(INPUT) > etc/log.txt
+export-elpi elpi/$(ELPI): $(MAIN).opt etc
+ @echo " HELENA -l -m ELPI -o $(INPUT)"
+ $(H)mkdir -p elpi
+ $(H)./$(MAIN).opt -T 1 -a n -c $(PREAMBLE_ELPI) -l -m ELPI -o $(O) $(INPUT) > etc/log.txt
+
profile-fast: $(MAIN).opt etc
@echo " HELENA -o -q $(INPUTFAST) (31 TIMES)"
$(H)rm -f etc/log.txt