src/HOL/IsaMakefile
author berghofe
Tue, 30 May 2000 18:02:49 +0200
changeset 9001 93af64f54bf2
parent 8958 ba75f564726b
child 9015 8006e9009621
permissions -rw-r--r--
the is now defined using primrec, avoiding explicit use of arbitrary.

#
# $Id$
#
# IsaMakefile for HOL
#

## targets

default: HOL
images: HOL HOL-Real TLA
test: HOL-Subst HOL-Induct HOL-IMP HOL-IMPP HOL-Hoare HOL-Lex HOL-Algebra \
  HOL-Auth HOL-UNITY HOL-Modelcheck HOL-Lambda HOL-W0 HOL-MiniML HOL-BCV \
  HOL-MicroJava HOL-IOA HOL-AxClasses-Group HOL-AxClasses-Lattice \
  HOL-AxClasses-Tutorial HOL-Quot HOL-ex HOL-Isar_examples HOL-Real-ex \
  HOL-Real-HahnBanach TLA-Inc TLA-Buffer TLA-Memory

all: images test


## global settings

SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log


## HOL

HOL: Pure $(OUT)/HOL

Pure:
	@cd $(SRC)/Pure; $(ISATOOL) make Pure

$(OUT)/HOL: $(OUT)/Pure $(SRC)/Provers/Arith/abel_cancel.ML \
  $(SRC)/Provers/Arith/cancel_sums.ML		\
  $(SRC)/Provers/Arith/assoc_fold.ML		\
  $(SRC)/Provers/Arith/combine_numerals.ML	\
  $(SRC)/Provers/Arith/cancel_numerals.ML	\
  $(SRC)/Provers/Arith/fast_lin_arith.ML $(SRC)/Provers/blast.ML \
  $(SRC)/Provers/clasimp.ML $(SRC)/Provers/classical.ML \
  $(SRC)/Provers/hypsubst.ML $(SRC)/Provers/simplifier.ML \
  $(SRC)/Provers/split_paired_all.ML $(SRC)/Provers/splitter.ML \
  $(SRC)/TFL/dcterm.sml $(SRC)/TFL/post.sml $(SRC)/TFL/rules.sml \
  $(SRC)/TFL/rules.sig $(SRC)/TFL/tfl.sig $(SRC)/TFL/tfl.sml \
  $(SRC)/TFL/thms.sig $(SRC)/TFL/thms.sml $(SRC)/TFL/thry.sig \
  $(SRC)/TFL/thry.sml $(SRC)/TFL/usyntax.sig $(SRC)/TFL/usyntax.sml \
  $(SRC)/TFL/utils.sig $(SRC)/TFL/utils.sml Arith.ML Arith.thy \
  Calculation.thy Datatype.thy Divides.ML Divides.thy Finite.ML \
  Finite.thy Fun.ML Fun.thy Gfp.ML Gfp.thy HOL.ML HOL.thy \
  HOL_lemmas.ML Inductive.thy Integ/Bin.ML Integ/Bin.thy \
  Integ/Equiv.ML Integ/Equiv.thy Integ/IntArith.ML Integ/IntArith.thy \
  Integ/IntDef.ML Integ/IntDef.thy Integ/Int.ML Integ/Int.thy \
  Integ/IntDiv.ML Integ/IntDiv.thy Integ/NatBin.ML Integ/NatBin.thy \
  Integ/NatSimprocs.thy Integ/NatSimprocs.ML \
  Lfp.ML Lfp.thy List.ML List.thy Main.thy Map.ML \
  Map.thy Nat.ML Nat.thy NatDef.ML NatDef.thy Numeral.thy Option.ML \
  Option.thy Ord.ML Ord.thy Power.ML Power.thy PreList.thy Prod.ML \
  Prod.thy ROOT.ML Recdef.thy Record.thy RelPow.ML RelPow.thy \
  Relation.ML Relation.thy Set.ML Set.thy SetInterval.ML SetInterval.thy \
  String.thy SVC_Oracle.ML \
  SVC_Oracle.thy Sum.ML Sum.thy Tools/datatype_aux.ML \
  Tools/datatype_abs_proofs.ML Tools/datatype_package.ML \
  Tools/datatype_prop.ML Tools/datatype_rep_proofs.ML \
  Tools/induct_method.ML Tools/inductive_package.ML \
  Tools/numeral_syntax.ML Tools/primrec_package.ML \
  Tools/recdef_package.ML Tools/record_package.ML Tools/svc_funcs.ML \
  Tools/typedef_package.ML Trancl.ML Trancl.thy Univ.ML Univ.thy \
  Vimage.ML Vimage.thy WF.ML WF.thy WF_Rel.ML WF_Rel.thy blastdata.ML \
  cladata.ML equalities.ML equalities.thy hologic.ML mono.ML mono.thy \
  simpdata.ML subset.ML subset.thy thy_syntax.ML
	@$(ISATOOL) usedir -b $(OUT)/Pure HOL


## HOL-Real

HOL-Real: HOL $(OUT)/HOL-Real

$(OUT)/HOL-Real: $(OUT)/HOL Real/Lubs.ML Real/Lubs.thy Real/PNat.ML \
  Real/PNat.thy Real/PRat.ML Real/PRat.thy Real/PReal.ML \
  Real/PReal.thy Real/RComplete.ML Real/RComplete.thy Real/Real.thy \
  Real/RealDef.ML Real/RealDef.thy Real/RealOrd.ML Real/RealOrd.thy \
  Real/simproc.ML Real/RealAbs.ML Real/RealAbs.thy Real/ROOT.ML \
  Real/RealBin.ML Real/RealBin.thy Real/RealInt.ML Real/RealInt.thy \
  Real/RealPow.ML Real/RealPow.thy Real/Hyperreal/Filter.ML \
  Real/Hyperreal/Filter.thy Real/Hyperreal/fuf.ML \
  Real/Hyperreal/HyperDef.ML Real/Hyperreal/HyperDef.thy \
  Real/Hyperreal/Zorn.ML Real/Hyperreal/Zorn.thy
	@cd Real; $(ISATOOL) usedir -b $(OUT)/HOL HOL-Real


## HOL-Real-ex

HOL-Real-ex: HOL-Real $(LOG)/HOL-Real-ex.gz

$(LOG)/HOL-Real-ex.gz: $(OUT)/HOL-Real Real/ex/ROOT.ML \
  Real/ex/BinEx.thy
	@cd Real; $(ISATOOL) usedir $(OUT)/HOL-Real ex


## HOL-Real-HahnBanach

HOL-Real-HahnBanach: HOL-Real $(LOG)/HOL-Real-HahnBanach.gz

$(LOG)/HOL-Real-HahnBanach.gz: $(OUT)/HOL-Real Real/HahnBanach/Aux.thy \
  Real/HahnBanach/Bounds.thy Real/HahnBanach/FunctionNorm.thy \
  Real/HahnBanach/FunctionOrder.thy Real/HahnBanach/HahnBanach.thy \
  Real/HahnBanach/HahnBanachExtLemmas.thy	\
  Real/HahnBanach/HahnBanachSupLemmas.thy	\
  Real/HahnBanach/Linearform.thy Real/HahnBanach/NormedSpace.thy \
  Real/HahnBanach/README.html Real/HahnBanach/ROOT.ML \
  Real/HahnBanach/Subspace.thy Real/HahnBanach/VectorSpace.thy \
  Real/HahnBanach/ZornLemma.thy Real/HahnBanach/document/notation.tex \
  Real/HahnBanach/document/bbb.sty Real/HahnBanach/document/root.bib \
  Real/HahnBanach/document/root.tex \
  Real/HahnBanach/document/notation.tex
	@cd Real; $(ISATOOL) usedir $(OUT)/HOL-Real HahnBanach


## HOL-Subst

HOL-Subst: HOL $(LOG)/HOL-Subst.gz

$(LOG)/HOL-Subst.gz: $(OUT)/HOL Subst/AList.ML Subst/AList.thy \
  Subst/ROOT.ML Subst/Subst.ML Subst/Subst.thy Subst/UTerm.ML \
  Subst/UTerm.thy Subst/Unifier.ML Subst/Unifier.thy Subst/Unify.ML \
  Subst/Unify.thy
	@$(ISATOOL) usedir $(OUT)/HOL Subst


## HOL-Induct

HOL-Induct: HOL $(LOG)/HOL-Induct.gz

$(LOG)/HOL-Induct.gz: $(OUT)/HOL Induct/Acc.ML Induct/Acc.thy \
  Induct/Com.ML Induct/Com.thy Induct/Comb.ML Induct/Comb.thy \
  Induct/Exp.ML Induct/Exp.thy Induct/LFilter.ML Induct/LFilter.thy \
  Induct/LList.ML Induct/LList.thy Induct/Mutil.ML Induct/Mutil.thy \
  Induct/Multiset0.ML Induct/Multiset0.thy \
  Induct/Multiset.ML Induct/Multiset.thy Induct/MultisetOrder.thy \
  Induct/Perm.ML Induct/Perm.thy Induct/PropLog.ML \
  Induct/PropLog.thy Induct/ROOT.ML Induct/Sexp.ML Induct/Sexp.thy \
  Induct/SList.ML Induct/SList.thy Induct/ABexp.ML Induct/ABexp.thy \
  Induct/Term.ML Induct/Term.thy
	@$(ISATOOL) usedir $(OUT)/HOL Induct


## HOL-IMP

HOL-IMP: HOL $(LOG)/HOL-IMP.gz

$(LOG)/HOL-IMP.gz: $(OUT)/HOL IMP/Com.thy IMP/Denotation.ML \
  IMP/Denotation.thy IMP/Expr.ML IMP/Expr.thy IMP/Hoare.ML IMP/Hoare.thy \
  IMP/Natural.ML IMP/Natural.thy IMP/ROOT.ML IMP/Transition.ML \
  IMP/Transition.thy IMP/VC.ML IMP/VC.thy
	@$(ISATOOL) usedir $(OUT)/HOL IMP


## HOL-IMPP

HOL-IMPP: HOL $(LOG)/HOL-IMPP.gz

$(LOG)/HOL-IMPP.gz: $(OUT)/HOL IMPP/ROOT.ML IMPP/Com.thy IMPP/Com.ML \
  IMPP/Natural.thy IMPP/Natural.ML IMPP/Hoare.thy IMPP/Hoare.ML \
  IMPP/Misc.thy IMPP/Misc.ML IMPP/EvenOdd.thy IMPP/EvenOdd.ML
	@$(ISATOOL) usedir $(OUT)/HOL IMPP


## HOL-Hoare

HOL-Hoare: HOL $(LOG)/HOL-Hoare.gz

$(LOG)/HOL-Hoare.gz: $(OUT)/HOL Hoare/Arith2.ML Hoare/Arith2.thy \
  Hoare/Examples.ML Hoare/Examples.thy Hoare/Hoare.ML Hoare/Hoare.thy \
  Hoare/ROOT.ML
	@$(ISATOOL) usedir $(OUT)/HOL Hoare


## HOL-Lex

HOL-Lex: HOL $(LOG)/HOL-Lex.gz

$(LOG)/HOL-Lex.gz: $(OUT)/HOL \
  Lex/AutoChopper.thy Lex/AutoChopper.ML Lex/AutoChopper1.thy \
  Lex/AutoMaxChop.thy Lex/AutoMaxChop.ML Lex/AutoProj.thy Lex/AutoProj.ML \
  Lex/Automata.thy Lex/Automata.ML Lex/Chopper.thy Lex/DA.thy Lex/DA.ML \
  Lex/MaxChop.thy Lex/MaxChop.ML Lex/MaxPrefix.thy Lex/MaxPrefix.ML \
  Lex/NA.thy Lex/NA.ML Lex/NAe.thy Lex/NAe.ML Lex/RegExp2NAe.thy \
  Lex/RegExp2NAe.ML Lex/RegExp2NA.thy Lex/RegExp2NA.ML \
  Lex/Prefix.thy Lex/Prefix.ML Lex/ROOT.ML \
  Lex/RegExp.thy Lex/RegSet.thy Lex/RegSet.ML \
  Lex/RegSet_of_nat_DA.thy Lex/RegSet_of_nat_DA.ML
	@$(ISATOOL) usedir $(OUT)/HOL Lex


## HOL-Algebra

HOL-Algebra: HOL $(LOG)/HOL-Algebra.gz

$(LOG)/HOL-Algebra.gz: $(OUT)/HOL Algebra/ROOT.ML \
  Algebra/abstract/Abstract.thy \
  Algebra/abstract/Factor.ML Algebra/abstract/Factor.thy \
  Algebra/abstract/Field.thy \
  Algebra/abstract/Ideal.ML Algebra/abstract/Ideal.thy \
  Algebra/abstract/NatSum.ML Algebra/abstract/NatSum.thy \
  Algebra/abstract/PID.thy \
  Algebra/abstract/Ring.ML Algebra/abstract/Ring.thy \
  Algebra/abstract/RingHomo.ML Algebra/abstract/RingHomo.thy\
  Algebra/poly/Degree.ML Algebra/poly/Degree.thy \
  Algebra/poly/LongDiv.ML Algebra/poly/LongDiv.thy \
  Algebra/poly/PolyHomo.ML Algebra/poly/PolyHomo.thy \
  Algebra/poly/PolyRing.ML Algebra/poly/PolyRing.thy \
  Algebra/poly/Polynomial.thy \
  Algebra/poly/ProtoPoly.ML Algebra/poly/ProtoPoly.thy \
  Algebra/poly/UnivPoly.ML Algebra/poly/UnivPoly.thy
	@$(ISATOOL) usedir $(OUT)/HOL Algebra

## HOL-Auth

HOL-Auth: HOL $(LOG)/HOL-Auth.gz

$(LOG)/HOL-Auth.gz: $(OUT)/HOL Auth/Event.ML Auth/Event.thy \
  Auth/Message.ML Auth/Message.thy Auth/NS_Public.ML Auth/NS_Public.thy \
  Auth/NS_Public_Bad.ML Auth/NS_Public_Bad.thy Auth/NS_Shared.ML \
  Auth/NS_Shared.thy Auth/OtwayRees.ML Auth/OtwayRees.thy \
  Auth/OtwayRees_AN.ML Auth/OtwayRees_AN.thy Auth/OtwayRees_Bad.ML \
  Auth/OtwayRees_Bad.thy Auth/Public.ML Auth/Public.thy Auth/ROOT.ML \
  Auth/Recur.ML Auth/Recur.thy Auth/Shared.ML Auth/Shared.thy \
  Auth/TLS.ML Auth/TLS.thy Auth/WooLam.ML Auth/WooLam.thy \
  Auth/Kerberos_BAN.ML Auth/Kerberos_BAN.thy \
  Auth/KerberosIV.ML Auth/KerberosIV.thy \
  Auth/Yahalom.ML Auth/Yahalom.thy Auth/Yahalom2.ML Auth/Yahalom2.thy \
  Auth/Yahalom_Bad.ML Auth/Yahalom_Bad.thy
	@$(ISATOOL) usedir $(OUT)/HOL Auth


## HOL-UNITY

HOL-UNITY: HOL $(LOG)/HOL-UNITY.gz

$(LOG)/HOL-UNITY.gz: $(OUT)/HOL UNITY/ROOT.ML\
  UNITY/AllocBase.ML UNITY/AllocBase.thy\
  UNITY/Alloc.ML UNITY/Alloc.thy\
  UNITY/Channel.ML UNITY/Channel.thy UNITY/Common.ML UNITY/Common.thy\
  UNITY/Client.ML UNITY/Client.thy  UNITY/Comp.ML UNITY/Comp.thy\
  UNITY/Guar.ML UNITY/Guar.thy\
  UNITY/Deadlock.ML UNITY/Deadlock.thy UNITY/FP.ML UNITY/FP.thy\
  UNITY/Detects.ML UNITY/Detects.thy\
  UNITY/Reachability.ML UNITY/Reachability.thy\
  UNITY/Union.ML UNITY/Union.thy UNITY/Handshake.ML UNITY/Handshake.thy\
  UNITY/TimerArray.ML UNITY/TimerArray.thy\
  UNITY/Extend.ML UNITY/Extend.thy UNITY/Project.ML UNITY/Project.thy\
  UNITY/ELT.ML UNITY/ELT.thy\
  UNITY/Follows.ML UNITY/Follows.thy\
  UNITY/GenPrefix.thy UNITY/GenPrefix.ML \
  UNITY/Lift_prog.ML UNITY/Lift_prog.thy UNITY/ListOrder.thy\
  UNITY/Mutex.ML UNITY/Mutex.thy\
  UNITY/Network.ML UNITY/Network.thy UNITY/Reach.ML UNITY/Reach.thy\
  UNITY/Rename.ML UNITY/Rename.thy\
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/Token.ML UNITY/Token.thy\
  UNITY/UNITY.ML UNITY/UNITY.thy\
  UNITY/WFair.ML UNITY/WFair.thy UNITY/Lift.ML UNITY/Lift.thy\
  UNITY/PPROD.ML UNITY/PPROD.thy UNITY/NSP_Bad.ML UNITY/NSP_Bad.thy
	@$(ISATOOL) usedir $(OUT)/HOL UNITY


## HOL-Modelcheck

HOL-Modelcheck: HOL $(LOG)/HOL-Modelcheck.gz

$(LOG)/HOL-Modelcheck.gz: $(OUT)/HOL Modelcheck/CTL.thy \
  Modelcheck/EindhovenExample.ML Modelcheck/EindhovenExample.thy \
  Modelcheck/EindhovenSyn.ML Modelcheck/EindhovenSyn.thy \
  Modelcheck/MuCalculus.ML Modelcheck/MuCalculus.thy \
  Modelcheck/MuckeExample1.ML Modelcheck/MuckeExample1.thy \
  Modelcheck/MuckeExample2.ML Modelcheck/MuckeExample2.thy \
  Modelcheck/MuckeSyn.ML Modelcheck/MuckeSyn.thy Modelcheck/ROOT.ML \
  Modelcheck/mucke_oracle.ML
	@$(ISATOOL) usedir $(OUT)/HOL Modelcheck


## HOL-Lambda

HOL-Lambda: HOL $(LOG)/HOL-Lambda.gz

$(LOG)/HOL-Lambda.gz: $(OUT)/HOL Lambda/Commutation.ML \
  Lambda/Commutation.thy Lambda/Eta.ML Lambda/Eta.thy Lambda/InductTermi.ML \
  Lambda/InductTermi.thy Lambda/Lambda.ML Lambda/Lambda.thy \
  Lambda/ListApplication.ML Lambda/ListApplication.thy Lambda/ListBeta.ML \
  Lambda/ListBeta.thy Lambda/ListOrder.ML Lambda/ListOrder.thy \
  Lambda/ParRed.ML Lambda/ParRed.thy Lambda/ROOT.ML
	@$(ISATOOL) usedir $(OUT)/HOL Lambda


## HOL-W0

HOL-W0: HOL $(LOG)/HOL-W0.gz

$(LOG)/HOL-W0.gz: $(OUT)/HOL W0/I.ML W0/I.thy W0/Maybe.ML W0/Maybe.thy \
  W0/MiniML.ML W0/MiniML.thy W0/ROOT.ML W0/Type.ML W0/Type.thy W0/W.ML \
  W0/W.thy
	@$(ISATOOL) usedir $(OUT)/HOL W0


## HOL-MiniML

HOL-MiniML: HOL $(LOG)/HOL-MiniML.gz

$(LOG)/HOL-MiniML.gz: $(OUT)/HOL MiniML/Generalize.ML \
  MiniML/Generalize.thy MiniML/Instance.ML MiniML/Instance.thy \
  MiniML/Maybe.ML MiniML/Maybe.thy MiniML/MiniML.ML MiniML/MiniML.thy \
  MiniML/ROOT.ML MiniML/Type.ML MiniML/Type.thy MiniML/W.ML MiniML/W.thy
	@$(ISATOOL) usedir $(OUT)/HOL MiniML


## HOL-MicroJava

HOL-MicroJava: HOL $(LOG)/HOL-MicroJava.gz

$(LOG)/HOL-MicroJava.gz: $(OUT)/HOL MicroJava/ROOT.ML \
  MicroJava/J/Conform.ML MicroJava/J/Conform.thy MicroJava/J/Decl.thy \
  MicroJava/J/Eval.thy MicroJava/J/Eval.ML MicroJava/J/JBasis.ML \
  MicroJava/J/JBasis.thy MicroJava/J/JTypeSafe.thy MicroJava/J/JTypeSafe.ML \
  MicroJava/J/Prog.thy MicroJava/J/Prog.ML MicroJava/J/State.ML \
  MicroJava/J/State.thy MicroJava/J/Term.thy MicroJava/J/Type.ML \
  MicroJava/J/Type.thy MicroJava/J/TypeRel.ML MicroJava/J/TypeRel.thy \
  MicroJava/J/WellForm.thy MicroJava/J/WellForm.ML \
  MicroJava/J/WellType.ML MicroJava/J/WellType.thy \
  MicroJava/JVM/Control.thy MicroJava/JVM/JVMExec.thy \
  MicroJava/JVM/JVMState.thy MicroJava/JVM/LoadAndStore.thy \
  MicroJava/JVM/Method.thy MicroJava/JVM/Object.thy MicroJava/JVM/Opstack.thy \
  MicroJava/JVM/Store.thy MicroJava/JVM/Store.ML \
  MicroJava/BV/BVSpec.thy MicroJava/BV/BVSpec.ML \
  MicroJava/BV/BVSpecTypeSafe.thy MicroJava/BV/BVSpecTypeSafe.ML \
  MicroJava/BV/Convert.thy MicroJava/BV/Convert.ML \
  MicroJava/BV/Correct.thy MicroJava/BV/Correct.ML MicroJava/document/root.tex
	@$(ISATOOL) usedir $(OUT)/HOL MicroJava


## HOL-BCV

HOL-BCV: HOL $(LOG)/HOL-BCV.gz

$(LOG)/HOL-BCV.gz: $(OUT)/HOL BCV/DFAandWTI.ML \
  BCV/DFAandWTI.thy BCV/DFAimpl.ML BCV/DFAimpl.thy \
  BCV/Fixpoint.ML BCV/Fixpoint.thy BCV/Machine.ML BCV/Machine.thy \
  BCV/Orders.ML BCV/Orders.thy BCV/Orders0.ML BCV/Orders0.thy \
  BCV/Plus.ML BCV/Plus.thy BCV/ROOT.ML BCV/SemiLattice.ML BCV/SemiLattice.thy \
  BCV/Types0.ML BCV/Types0.thy BCV/Types.ML BCV/Types.thy
	@$(ISATOOL) usedir $(OUT)/HOL BCV

## HOL-IOA

HOL-IOA: HOL $(LOG)/HOL-IOA.gz

$(LOG)/HOL-IOA.gz: $(OUT)/HOL IOA/Asig.ML IOA/Asig.thy IOA/IOA.ML \
  IOA/IOA.thy IOA/ROOT.ML IOA/Solve.ML IOA/Solve.thy
	@$(ISATOOL) usedir $(OUT)/HOL IOA


## HOL-AxClasses-Group

HOL-AxClasses-Group: HOL $(LOG)/HOL-AxClasses-Group.gz

$(LOG)/HOL-AxClasses-Group.gz: $(OUT)/HOL AxClasses/Group/Group.ML \
  AxClasses/Group/Group.thy AxClasses/Group/GroupDefs.ML \
  AxClasses/Group/GroupDefs.thy AxClasses/Group/GroupInsts.thy \
  AxClasses/Group/Monoid.thy AxClasses/Group/MonoidGroupInsts.thy \
  AxClasses/Group/ROOT.ML AxClasses/Group/Sigs.thy
	@$(ISATOOL) usedir -s AxClasses-Group $(OUT)/HOL AxClasses/Group


## HOL-AxClasses-Lattice

HOL-AxClasses-Lattice: HOL $(LOG)/HOL-AxClasses-Lattice.gz

$(LOG)/HOL-AxClasses-Lattice.gz: $(OUT)/HOL AxClasses/Lattice/CLattice.ML \
  AxClasses/Lattice/CLattice.thy AxClasses/Lattice/LatInsts.ML \
  AxClasses/Lattice/LatInsts.thy AxClasses/Lattice/LatMorph.ML \
  AxClasses/Lattice/LatMorph.thy AxClasses/Lattice/LatPreInsts.ML \
  AxClasses/Lattice/LatPreInsts.thy AxClasses/Lattice/Lattice.ML \
  AxClasses/Lattice/Lattice.thy AxClasses/Lattice/OrdDefs.ML \
  AxClasses/Lattice/OrdDefs.thy AxClasses/Lattice/OrdInsts.thy \
  AxClasses/Lattice/Order.ML AxClasses/Lattice/Order.thy \
  AxClasses/Lattice/ROOT.ML
	@$(ISATOOL) usedir -s AxClasses-Lattice $(OUT)/HOL AxClasses/Lattice


## HOL-AxClasses-Tutorial

HOL-AxClasses-Tutorial: HOL $(LOG)/HOL-AxClasses-Tutorial.gz

$(LOG)/HOL-AxClasses-Tutorial.gz: $(OUT)/HOL \
  AxClasses/Tutorial/Group.thy AxClasses/Tutorial/Product.thy \
  AxClasses/Tutorial/ROOT.ML AxClasses/Tutorial/Semigroups.thy
	@$(ISATOOL) usedir -s AxClasses-Tutorial $(OUT)/HOL AxClasses/Tutorial


## HOL-Quot

HOL-Quot: HOL $(LOG)/HOL-Quot.gz

$(LOG)/HOL-Quot.gz: $(OUT)/HOL Quot/FRACT.ML Quot/FRACT.thy \
  Quot/HQUOT.ML Quot/HQUOT.thy Quot/NPAIR.ML Quot/NPAIR.thy Quot/PER.ML \
  Quot/PER.thy Quot/PER0.ML Quot/PER0.thy Quot/ROOT.ML
	@$(ISATOOL) usedir $(OUT)/HOL Quot


## HOL-ex

HOL-ex: HOL $(LOG)/HOL-ex.gz

$(LOG)/HOL-ex.gz: $(OUT)/HOL  ex/AVL.ML ex/AVL.thy ex/BT.ML ex/BT.thy \
  ex/InSort.ML ex/InSort.thy ex/MT.ML ex/MT.thy ex/NatSum.ML ex/NatSum.thy \
  ex/Fib.ML ex/Fib.thy ex/Primes.ML ex/Primes.thy \
  ex/Factorization.ML ex/Factorization.thy \
  ex/Primrec.ML ex/Primrec.thy \
  ex/Puzzle.ML ex/Puzzle.thy ex/Qsort.ML ex/Qsort.thy \
  ex/ROOT.ML ex/Recdefs.ML ex/Recdefs.thy ex/cla.ML ex/meson.ML \
  ex/mesontest.ML ex/mesontest2.ML ex/set.ML \
  ex/Group.ML ex/Group.thy ex/IntRing.ML ex/IntRing.thy \
  ex/Lagrange.ML ex/Lagrange.thy ex/Ring.ML ex/Ring.thy ex/StringEx.ML \
  ex/StringEx.thy ex/Tarski.ML ex/Tarski.thy \
  ex/BinEx.ML ex/BinEx.thy ex/svc_test.thy ex/svc_test.ML ex/MonoidGroup.thy \
  ex/PiSets.thy ex/PiSets.ML ex/LocaleGroup.thy ex/LocaleGroup.ML \
  ex/Antiquote.thy ex/Multiquote.thy ex/Points.thy
	@$(ISATOOL) usedir $(OUT)/HOL ex


## HOL-Isar_examples

HOL-Isar_examples: HOL $(LOG)/HOL-Isar_examples.gz

$(LOG)/HOL-Isar_examples.gz: $(OUT)/HOL Isar_examples/BasicLogic.thy \
  Isar_examples/Cantor.ML Isar_examples/Cantor.thy \
  Isar_examples/ExprCompiler.thy Isar_examples/Fibonacci.thy \
  Isar_examples/Group.thy Isar_examples/KnasterTarski.thy \
  Isar_examples/MultisetOrder.thy		\
  Isar_examples/MutilatedCheckerboard.thy	\
  Isar_examples/NestedDatatype.thy Isar_examples/Peirce.thy \
  Isar_examples/Puzzle.thy Isar_examples/Summation.thy \
  Isar_examples/ROOT.ML Isar_examples/W_correct.thy \
  Isar_examples/document/proof.sty Isar_examples/document/root.bib \
  Isar_examples/document/root.tex Isar_examples/document/style.tex
	@$(ISATOOL) usedir $(OUT)/HOL Isar_examples


## TLA

TLA: HOL $(OUT)/TLA

$(OUT)/TLA: $(OUT)/HOL TLA/Action.ML TLA/Action.thy TLA/Init.ML \
  TLA/Init.thy TLA/IntLemmas.ML TLA/Intensional.ML TLA/Intensional.thy \
  TLA/ROOT.ML TLA/Stfun.ML TLA/Stfun.thy TLA/TLA.ML TLA/TLA.thy
	@cd TLA; $(ISATOOL) usedir -b $(OUT)/HOL TLA


## TLA-Inc

TLA-Inc: TLA $(LOG)/TLA-Inc.gz

$(LOG)/TLA-Inc.gz: $(OUT)/TLA TLA/Inc/Inc.thy TLA/Inc/Inc.ML \
  TLA/Inc/Pcount.thy
	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Inc


## TLA-Buffer

TLA-Buffer: TLA $(LOG)/TLA-Buffer.gz

$(LOG)/TLA-Buffer.gz: $(OUT)/TLA TLA/Buffer/Buffer.thy \
  TLA/Buffer/Buffer.ML TLA/Buffer/DBuffer.thy TLA/Buffer/DBuffer.ML
	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Buffer


## TLA-Memory

TLA-Memory: TLA $(LOG)/TLA-Memory.gz

$(LOG)/TLA-Memory.gz: $(OUT)/TLA TLA/Memory/MIParameters.thy \
  TLA/Memory/MIlive.ML TLA/Memory/MIsafe.ML TLA/Memory/MemClerk.ML \
  TLA/Memory/MemClerk.thy TLA/Memory/MemClerkParameters.ML \
  TLA/Memory/MemClerkParameters.thy TLA/Memory/Memory.ML \
  TLA/Memory/Memory.thy TLA/Memory/MemoryImplementation.ML \
  TLA/Memory/MemoryImplementation.thy TLA/Memory/MemoryParameters.ML \
  TLA/Memory/MemoryParameters.thy TLA/Memory/ProcedureInterface.ML \
  TLA/Memory/ProcedureInterface.thy TLA/Memory/RPC.ML TLA/Memory/RPC.thy \
  TLA/Memory/RPCMemoryParams.thy TLA/Memory/RPCParameters.ML \
  TLA/Memory/RPCParameters.thy
	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Memory


## clean

clean:
	@rm -f $(OUT)/HOL $(OUT)/HOL-Real $(LOG)/HOL.gz $(LOG)/HOL-Subst.gz \
	  $(LOG)/HOL-IMP.gz $(LOG)/HOL-IMPP.gz $(LOG)/HOL-Hoare.gz \
	  $(LOG)/HOL-Induct.gz $(LOG)/HOL-Lex.gz $(LOG)/HOL-Algebra.gz \
	  $(LOG)/HOL-Auth.gz $(LOG)/HOL-UNITY.gz \
	  $(LOG)/HOL-Modelcheck.gz $(LOG)/HOL-Lambda.gz \
	  $(LOG)/HOL-W0.gz $(LOG)/HOL-MiniML.gz $(LOG)/HOL-BCV.gz $(LOG)/HOL-IOA.gz \
	  $(LOG)/HOL-AxClasses-Group.gz		\
	  $(LOG)/HOL-AxClasses-Lattice.gz	\
	  $(LOG)/HOL-AxClasses-Tutorial.gz $(LOG)/HOL-Quot.gz \
	  $(LOG)/HOL-ex.gz $(LOG)/HOL-Isar_examples.gz $(OUT)/TLA \
	  $(LOG)/TLA.gz $(LOG)/TLA-Inc.gz $(LOG)/TLA-Buffer.gz \
	  $(LOG)/TLA-Memory.gz $(LOG)/HOL-Real.gz $(LOG)/HOL-Real-ex.gz \
	  $(LOG)/HOL-Real-HahnBanach.gz