Now target "test" builds and tests TFL
authorpaulson
Tue, 10 Dec 1996 15:08:57 +0100
changeset 2371 c5dc6f8b385b
parent 2370 5f9607d293f5
child 2372 a2999e19703b
Now target "test" builds and tests TFL
src/HOL/Makefile
--- a/src/HOL/Makefile	Tue Dec 10 15:07:43 1996 +0100
+++ b/src/HOL/Makefile	Tue Dec 10 15:08:57 1996 +0100
@@ -76,6 +76,17 @@
 			$(ISABELLECOMP) is not poly or sml; exit 1" ;;\
 	esac`
 
+##TFL (requires integration into HOL proper)
+TFL_NAMES = mask tfl thms thry usyntax utils
+TFL_FILES = ../TFL/ROOT.ML ../TFL/sys.sml \
+            $(TFL_NAMES:%=../TFL/%.sig) $(TFL_NAMES:%=../TFL/%.sml)
+
+TFL:	$(BIN)/HOL  $(TFL_FILES)
+	@if [ "$${MAKE_HTML-undefined}" != "undefined" ]; \
+	then echo 'make_html:= true; exit_use_dir"../TFL";quit();' | $(LOGIC);\
+	else echo 'exit_use_dir"../TFL";quit();' | $(LOGIC); \
+	fi
+
 ##IMP-semantics example
 IMP_NAMES = Expr Com Natural Transition Denotation Hoare VC
 IMP_FILES = IMP/ROOT.ML $(IMP_NAMES:%=IMP/%.thy) $(IMP_NAMES:%=IMP/%.ML)
@@ -211,7 +222,7 @@
 	fi
 
 #Full test.
-test:	$(BIN)/HOL IMP Hoare Lex Integ Auth Subst Lambda MiniML IOA ex
+test:	$(BIN)/HOL TFL IMP Hoare Lex Integ Auth Subst Lambda MiniML IOA ex
 	echo 'Test examples ran successfully' > test
 
 .PRECIOUS:  $(BIN)/Pure $(BIN)/HOL