# HG changeset patch # User paulson # Date 840709101 -7200 # Node ID ec67a0507c2a9febd7f732301515d9155d092461 # Parent 58573e7041b47d837175b21215c463a55a6f3821 For building the security theory as a separate database diff -r 58573e7041b4 -r ec67a0507c2a src/HOL/Auth/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/HOL/Auth/Makefile Thu Aug 22 12:18:21 1996 +0200 @@ -0,0 +1,43 @@ +# $Id$ +# This Makefile allows the common theory for security logics to be +# built separately. +# +BIN = $(ISABELLEBIN) +COMP = $(ISABELLECOMP) +NAMES = Message Shared + +FILES = ROOT.ML $(NAMES:%=%.thy) $(NAMES:%=%.ML) + +$(BIN)/Auth: $(BIN)/HOL $(FILES) + if [ -d $${ISABELLEBIN:?}/Pure ];\ + then echo Bad value for ISABELLEBIN: \ + $(BIN) is the Isabelle source directory; \ + exit 1; \ + fi;\ + case "$(COMP)" in \ + poly*) echo 'make_database"$(BIN)/Auth"; quit();' \ + | $(COMP) $(BIN)/HOL;\ + if [ "$${MAKE_HTML}" = "true" ]; \ + then echo 'open PolyML; make_html := true; exit_use_dir".";' \ + | $(COMP) $(BIN)/Auth;\ + elif [ "$${MAKE_HTML-undefined}" != "undefined" ]; \ + then echo 'open PolyML; make_html := true; exit_use_dir"."; make_html := false;' | $(COMP) $(BIN)/Auth;\ + else echo 'open PolyML; exit_use_dir".";' \ + | $(COMP) $(BIN)/Auth;\ + fi;;\ + sml*) if [ "$${MAKE_HTML}" = "true" ]; \ + then echo 'make_html := true; exit_use_dir"."; xML"$(BIN)/Auth" banner;' | $(BIN)/HOL;\ + elif [ "$${MAKE_HTML-undefined}" != "undefined" ];\ + then echo 'make_html := true; exit_use_dir"."; make_html := false; xML"$(BIN)/Auth" banner;' \ + | $(BIN)/HOL;\ + else echo 'exit_use_dir"."; xML"$(BIN)/Auth" banner;' \ + | $(BIN)/HOL;\ + fi;;\ + *) echo Bad value for ISABELLECOMP: \ + $(COMP) is not poly or sml; exit 1;;\ + esac + +$(BIN)/HOL: + cd ..; $(MAKE) + +.PRECIOUS: $(BIN)/HOL $(BIN)/Auth