MAIN = helena REQUIRES = unix str KEEP = README automath/*.aut CLEAN = etc/log.txt TAGS = test-si test-si-fast hal xml-si-crg xml-si profile XMLS = xml/brg-si/grundlagen/l/not.ld.xml \ xml/brg-si/grundlagen/l/et.ld.xml \ xml/brg-si/grundlagen/l/e/st/eq/landau/n/rt/rp/r/c/8283/t234.ld.xml \ xml/brg-si/grundlagen/l/e/pairis1.ld.xml include Makefile.common HOME = . INPUT = examples/grundlagen/grundlagen.aut test-si: $(MAIN).opt @echo " HELENA -p -u $(INPUT)" $(H)./$(MAIN).opt -p -u -S 3 $(O) $(INPUT) > etc/log.txt test-si-fast: $(MAIN).opt @echo " HELENA -u -q $(INPUT)" $(H)./$(MAIN).opt -u -q -S 1 $(O) $(INPUT) > etc/log.txt profile: $(MAIN).opt @echo " HELENA -u -q $(INPUT) (30 TIMES)" $(H)rm etc/log.txt $(H)for T in `seq 30`; do ./$(MAIN).opt -u -q -s 0 -S 1 $(O) $(INPUT) >> etc/log.txt; done $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile.txt hal: $(MAIN).opt @echo " HELENA -o -x -m $(INPUT)" $(H)./$(MAIN).opt -o -x $(HOME) -m -s 1 -S 1 $(INPUT) > etc/log.txt xml-si: $(MAIN).opt @echo " HELENA -u -x -s 2 $(INPUT)" $(H)./$(MAIN).opt -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt xml-si-crg: $(MAIN).opt @echo " HELENA -u -x -s 1 $(INPUT)" $(H)./$(MAIN).opt -u -x $(HOME) -s 1 -S 1 $(INPUT) > etc/log.txt %.ld: BASEURL = --stringparam baseurl $(LDDLURL) %.ld: @echo " XSLT $@" $(H)mkdir -p $(LDDLDIR)/$(@D) $(H)$(XSLT) -o $(LDDLDIR)/$@.html $(BASEURL) xml/ld-html.xsl xml/$@.xml etc/make-html.sh xml/index.txt index: @echo " GENERATE INDEXES" $(H)find xml -name "*.ld.xml" | sed s/.xml//g | sed s/xml/ld:/g > xml/index.txt $(H)sed "s/^/make --no-print-directory /" xml/index.txt | sed s.ld:/.. > etc/make-html.sh html: etc/make-html.sh @echo " MAKE */*.ld" $(H). $< test-html: @$(MAKE) --no-print-directory $(XMLS:xml/%.xml=%) lddl: index @echo " GENERATE lddl.tar.bz2" $(H)tar -cjf $(DOWNDIR)/lddl.tar.bz2 -X etc/exclude.txt xml install-xml: etc/make-html.sh @echo " INSTALL xml" cp -a xml/index.txt xml/ld.dtd xml/brg-si/ $(XMLDIR) # old targets ########################################################## test: $(MAIN).opt @echo " HELENA -o -p $(INPUT)" $(H)./$(MAIN).opt -o -p -S 3 $(O) $(INPUT) > etc/log.txt test-si-old: $(MAIN).opt @echo " HELENA -o -p -u $(INPUT)" $(H)./$(MAIN).opt -o -p -u -S 3 $(O) $(INPUT) > etc/log.txt test-si-fast-old: $(MAIN).opt @echo " HELENA -o -u -q $(INPUT)" $(H)./$(MAIN).opt -o -u -q -S 1 $(O) $(INPUT) > etc/log.txt xml-si-old: $(MAIN).opt @echo " HELENA -o -u -x -s 2 $(INPUT)" $(H)./$(MAIN).opt -o -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt