equal
deleted
inserted
replaced
74 sml*) echo "$(ISABELLEBIN)/HOL" ;;\ |
74 sml*) echo "$(ISABELLEBIN)/HOL" ;;\ |
75 *) echo "echo; echo Bad value for ISABELLECOMP: \ |
75 *) echo "echo; echo Bad value for ISABELLECOMP: \ |
76 $(ISABELLECOMP) is not poly or sml; exit 1" ;;\ |
76 $(ISABELLECOMP) is not poly or sml; exit 1" ;;\ |
77 esac` |
77 esac` |
78 |
78 |
|
79 ##TFL (requires integration into HOL proper) |
|
80 TFL_NAMES = mask tfl thms thry usyntax utils |
|
81 TFL_FILES = ../TFL/ROOT.ML ../TFL/sys.sml \ |
|
82 $(TFL_NAMES:%=../TFL/%.sig) $(TFL_NAMES:%=../TFL/%.sml) |
|
83 |
|
84 TFL: $(BIN)/HOL $(TFL_FILES) |
|
85 @if [ "$${MAKE_HTML-undefined}" != "undefined" ]; \ |
|
86 then echo 'make_html:= true; exit_use_dir"../TFL";quit();' | $(LOGIC);\ |
|
87 else echo 'exit_use_dir"../TFL";quit();' | $(LOGIC); \ |
|
88 fi |
|
89 |
79 ##IMP-semantics example |
90 ##IMP-semantics example |
80 IMP_NAMES = Expr Com Natural Transition Denotation Hoare VC |
91 IMP_NAMES = Expr Com Natural Transition Denotation Hoare VC |
81 IMP_FILES = IMP/ROOT.ML $(IMP_NAMES:%=IMP/%.thy) $(IMP_NAMES:%=IMP/%.ML) |
92 IMP_FILES = IMP/ROOT.ML $(IMP_NAMES:%=IMP/%.thy) $(IMP_NAMES:%=IMP/%.ML) |
82 |
93 |
83 IMP: $(BIN)/HOL $(IMP_FILES) |
94 IMP: $(BIN)/HOL $(IMP_FILES) |
209 then echo 'make_html := true; exit_use_dir"ex";quit();' | $(LOGIC);\ |
220 then echo 'make_html := true; exit_use_dir"ex";quit();' | $(LOGIC);\ |
210 else echo 'exit_use_dir"ex";quit();' | $(LOGIC); \ |
221 else echo 'exit_use_dir"ex";quit();' | $(LOGIC); \ |
211 fi |
222 fi |
212 |
223 |
213 #Full test. |
224 #Full test. |
214 test: $(BIN)/HOL IMP Hoare Lex Integ Auth Subst Lambda MiniML IOA ex |
225 test: $(BIN)/HOL TFL IMP Hoare Lex Integ Auth Subst Lambda MiniML IOA ex |
215 echo 'Test examples ran successfully' > test |
226 echo 'Test examples ran successfully' > test |
216 |
227 |
217 .PRECIOUS: $(BIN)/Pure $(BIN)/HOL |
228 .PRECIOUS: $(BIN)/Pure $(BIN)/HOL |