src/HOL/IsaMakefile
author nipkow
Wed Mar 11 09:40:32 1998 +0100 (1998-03-11)
changeset 4729 e1888c0d3b36
parent 4707 abe6f28a38c1
child 4777 379f32b0ae40
permissions -rw-r--r--
More Lex.
     1 #
     2 # $Id$
     3 #
     4 # IsaMakefile for HOL
     5 #
     6 
     7 ## targets
     8 
     9 default: HOL
    10 images: HOL TLA
    11 test: HOL-Subst HOL-Induct HOL-IMP HOL-Hoare HOL-Lex HOL-Integ \
    12   HOL-Auth HOL-Modelcheck HOL-Lambda HOL-W0 HOL-MiniML HOL-IOA \
    13   HOL-AxClasses HOL-AxClasses-Group HOL-AxClasses-Lattice \
    14   HOL-AxClasses-Tutorial HOL-Quot HOL-ex TLA-Inc TLA-Buffer TLA-Memory
    15 all: images test
    16 
    17 
    18 ## global settings
    19 
    20 SRC = $(ISABELLE_HOME)/src
    21 OUT = $(ISABELLE_OUTPUT)
    22 LOG = $(OUT)/log
    23 
    24 
    25 ## HOL
    26 
    27 HOL: Pure $(OUT)/HOL
    28 
    29 Pure:
    30 	@cd $(SRC)/Pure; $(ISATOOL) make Pure
    31 
    32 $(OUT)/HOL: $(OUT)/Pure $(SRC)/Provers/Arith/cancel_sums.ML \
    33   $(SRC)/Provers/Arith/nat_transitive.ML $(SRC)/Provers/blast.ML \
    34   $(SRC)/Provers/clasimp.ML $(SRC)/Provers/classical.ML \
    35   $(SRC)/Provers/hypsubst.ML $(SRC)/Provers/simplifier.ML \
    36   $(SRC)/Provers/splitter.ML $(SRC)/Pure/section_utils.ML \
    37   $(SRC)/TFL/dcterm.sml $(SRC)/TFL/post.sml $(SRC)/TFL/rules.new.sml \
    38   $(SRC)/TFL/rules.sig $(SRC)/TFL/sys.sml $(SRC)/TFL/tfl.sig \
    39   $(SRC)/TFL/tfl.sml $(SRC)/TFL/thms.sig $(SRC)/TFL/thms.sml \
    40   $(SRC)/TFL/thry.sig $(SRC)/TFL/thry.sml $(SRC)/TFL/usyntax.sig \
    41   $(SRC)/TFL/usyntax.sml $(SRC)/TFL/utils.sig $(SRC)/TFL/utils.sml \
    42   Arith.ML Arith.thy Divides.ML Divides.thy Finite.ML Finite.thy \
    43   Fun.ML Fun.thy Gfp.ML Gfp.thy HOL.ML HOL.thy Inductive.ML \
    44   Inductive.thy Lfp.ML Lfp.thy List.ML List.thy Map.ML Map.thy Nat.ML \
    45   Nat.thy NatDef.ML NatDef.thy Option.ML Option.thy Ord.ML Ord.thy \
    46   Power.ML Power.thy Prod.ML Prod.thy ROOT.ML RelPow.ML RelPow.thy \
    47   Relation.ML Relation.thy Set.ML Set.thy Sexp.ML Sexp.thy Sum.ML \
    48   Sum.thy Trancl.ML Trancl.thy Univ.ML Univ.thy Vimage.ML Vimage.thy \
    49   WF.ML WF.thy WF_Rel.ML WF_Rel.thy add_ind_def.ML arith_data.ML \
    50   cladata.ML datatype.ML equalities.ML equalities.thy hologic.ML \
    51   ind_syntax.ML indrule.ML indrule.thy intr_elim.ML intr_elim.thy \
    52   mono.ML mono.thy record.ML simpdata.ML subset.ML subset.thy \
    53   thy_data.ML thy_syntax.ML typedef.ML
    54 	@$(ISATOOL) usedir -b $(OUT)/Pure HOL
    55 
    56 
    57 ## HOL-Subst
    58 
    59 HOL-Subst: HOL $(LOG)/HOL-Subst.gz
    60 
    61 $(LOG)/HOL-Subst.gz: $(OUT)/HOL Subst/AList.ML Subst/AList.thy \
    62   Subst/ROOT.ML Subst/Subst.ML Subst/Subst.thy Subst/UTerm.ML \
    63   Subst/UTerm.thy Subst/Unifier.ML Subst/Unifier.thy Subst/Unify.ML \
    64   Subst/Unify.thy
    65 	@$(ISATOOL) usedir $(OUT)/HOL Subst
    66 
    67 
    68 ## HOL-Induct
    69 
    70 HOL-Induct: HOL $(LOG)/HOL-Induct.gz
    71 
    72 $(LOG)/HOL-Induct.gz: $(OUT)/HOL Induct/Acc.ML Induct/Acc.thy \
    73   Induct/Com.ML Induct/Com.thy Induct/Comb.ML Induct/Comb.thy \
    74   Induct/Exp.ML Induct/Exp.thy Induct/LFilter.ML Induct/LFilter.thy \
    75   Induct/LList.ML Induct/LList.thy Induct/Mutil.ML Induct/Mutil.thy \
    76   Induct/Perm.ML Induct/Perm.thy Induct/PropLog.ML Induct/PropLog.thy \
    77   Induct/ROOT.ML Induct/SList.ML Induct/SList.thy Induct/Simult.ML \
    78   Induct/Simult.thy Induct/Term.ML Induct/Term.thy
    79 	@$(ISATOOL) usedir $(OUT)/HOL Induct
    80 
    81 
    82 ## HOL-IMP
    83 
    84 HOL-IMP: HOL $(LOG)/HOL-IMP.gz
    85 
    86 $(LOG)/HOL-IMP.gz: $(OUT)/HOL IMP/Com.ML IMP/Com.thy IMP/Denotation.ML \
    87   IMP/Denotation.thy IMP/Expr.ML IMP/Expr.thy IMP/Hoare.ML IMP/Hoare.thy \
    88   IMP/Natural.ML IMP/Natural.thy IMP/ROOT.ML IMP/Transition.ML \
    89   IMP/Transition.thy IMP/VC.ML IMP/VC.thy
    90 	@$(ISATOOL) usedir $(OUT)/HOL IMP
    91 
    92 
    93 ## HOL-Hoare
    94 
    95 HOL-Hoare: HOL $(LOG)/HOL-Hoare.gz
    96 
    97 $(LOG)/HOL-Hoare.gz: $(OUT)/HOL Hoare/Arith2.ML Hoare/Arith2.thy \
    98   Hoare/Examples.ML Hoare/Examples.thy Hoare/Hoare.ML Hoare/Hoare.thy \
    99   Hoare/ROOT.ML
   100 	@$(ISATOOL) usedir $(OUT)/HOL Hoare
   101 
   102 
   103 ## HOL-Lex
   104 
   105 HOL-Lex: HOL $(LOG)/HOL-Lex.gz
   106 
   107 $(LOG)/HOL-Lex.gz: $(OUT)/HOL Lex/Auto.thy Lex/Auto.ML \
   108   Lex/AutoChopper.thy Lex/AutoChopper.ML Lex/AutoChopper1.thy \
   109   Lex/Chopper.thy Lex/Prefix.thy Lex/Prefix.ML Lex/ROOT.ML \
   110   Lex/Regset_of_auto.ML Lex/Regset_of_auto.thy Lex/MaxChop.thy Lex/MaxChop.ML \
   111   Lex/MaxPrefix.thy Lex/MaxPrefix.ML Lex/AutoMaxChop.thy Lex/AutoMaxChop.ML
   112 	@$(ISATOOL) usedir $(OUT)/HOL Lex
   113 
   114 
   115 ## HOL-Integ
   116 
   117 HOL-Integ: HOL $(LOG)/HOL-Integ.gz
   118 
   119 $(LOG)/HOL-Integ.gz: $(OUT)/HOL Integ/Bin.ML Integ/Bin.thy \
   120   Integ/Equiv.ML Integ/Equiv.thy Integ/Group.ML Integ/Group.thy \
   121   Integ/IntRing.ML Integ/IntRing.thy Integ/IntRingDefs.ML \
   122   Integ/IntRingDefs.thy Integ/Integ.ML Integ/Integ.thy Integ/Lagrange.ML \
   123   Integ/Lagrange.thy Integ/ROOT.ML Integ/Ring.ML Integ/Ring.thy
   124 	@$(ISATOOL) usedir $(OUT)/HOL Integ
   125 
   126 
   127 ## HOL-Auth
   128 
   129 HOL-Auth: HOL $(LOG)/HOL-Auth.gz
   130 
   131 $(LOG)/HOL-Auth.gz: $(OUT)/HOL Auth/Event.ML Auth/Event.thy \
   132   Auth/Message.ML Auth/Message.thy Auth/NS_Public.ML Auth/NS_Public.thy \
   133   Auth/NS_Public_Bad.ML Auth/NS_Public_Bad.thy Auth/NS_Shared.ML \
   134   Auth/NS_Shared.thy Auth/OtwayRees.ML Auth/OtwayRees.thy \
   135   Auth/OtwayRees_AN.ML Auth/OtwayRees_AN.thy Auth/OtwayRees_Bad.ML \
   136   Auth/OtwayRees_Bad.thy Auth/Public.ML Auth/Public.thy Auth/ROOT.ML \
   137   Auth/Recur.ML Auth/Recur.thy Auth/Shared.ML Auth/Shared.thy \
   138   Auth/TLS.ML Auth/TLS.thy Auth/WooLam.ML Auth/WooLam.thy \
   139   Auth/Yahalom.ML Auth/Yahalom.thy Auth/Yahalom2.ML Auth/Yahalom2.thy
   140 	@$(ISATOOL) usedir $(OUT)/HOL Auth
   141 
   142 
   143 ## HOL-Modelcheck
   144 
   145 HOL-Modelcheck: HOL $(LOG)/HOL-Modelcheck.gz
   146 
   147 $(LOG)/HOL-Modelcheck.gz: $(OUT)/HOL Modelcheck/CTL.thy \
   148   Modelcheck/Example.ML Modelcheck/Example.thy Modelcheck/MCSyn.ML \
   149   Modelcheck/MCSyn.thy Modelcheck/MuCalculus.ML	\
   150   Modelcheck/MuCalculus.thy Modelcheck/ROOT.ML
   151 	@$(ISATOOL) usedir $(OUT)/HOL Modelcheck
   152 
   153 
   154 ## HOL-Lambda
   155 
   156 HOL-Lambda: HOL $(LOG)/HOL-Lambda.gz
   157 
   158 $(LOG)/HOL-Lambda.gz: $(OUT)/HOL Lambda/Commutation.ML \
   159   Lambda/Commutation.thy Lambda/Eta.ML Lambda/Eta.thy Lambda/Lambda.ML \
   160   Lambda/Lambda.thy Lambda/ParRed.ML Lambda/ParRed.thy Lambda/ROOT.ML
   161 	@$(ISATOOL) usedir $(OUT)/HOL Lambda
   162 
   163 
   164 ## HOL-W0
   165 
   166 HOL-W0: HOL $(LOG)/HOL-W0.gz
   167 
   168 $(LOG)/HOL-W0.gz: $(OUT)/HOL W0/I.ML W0/I.thy W0/Maybe.ML W0/Maybe.thy \
   169   W0/MiniML.ML W0/MiniML.thy W0/ROOT.ML W0/Type.ML W0/Type.thy W0/W.ML \
   170   W0/W.thy
   171 	@$(ISATOOL) usedir $(OUT)/HOL W0
   172 
   173 
   174 ## HOL-MiniML
   175 
   176 HOL-MiniML: HOL $(LOG)/HOL-MiniML.gz
   177 
   178 $(LOG)/HOL-MiniML.gz: $(OUT)/HOL MiniML/Generalize.ML \
   179   MiniML/Generalize.thy MiniML/Instance.ML MiniML/Instance.thy \
   180   MiniML/Maybe.ML MiniML/Maybe.thy MiniML/MiniML.ML MiniML/MiniML.thy \
   181   MiniML/ROOT.ML MiniML/Type.ML MiniML/Type.thy MiniML/W.ML MiniML/W.thy
   182 	@$(ISATOOL) usedir $(OUT)/HOL MiniML
   183 
   184 
   185 ## HOL-IOA
   186 
   187 HOL-IOA: HOL $(LOG)/HOL-IOA.gz
   188 
   189 $(LOG)/HOL-IOA.gz: $(OUT)/HOL IOA/Asig.ML IOA/Asig.thy IOA/IOA.ML \
   190   IOA/IOA.thy IOA/ROOT.ML IOA/Solve.ML IOA/Solve.thy
   191 	@$(ISATOOL) usedir $(OUT)/HOL IOA
   192 
   193 
   194 ## HOL-AxClasses
   195 
   196 HOL-AxClasses: HOL $(LOG)/HOL-AxClasses.gz
   197 
   198 $(LOG)/HOL-AxClasses.gz: $(OUT)/HOL AxClasses/ROOT.ML
   199 	@$(ISATOOL) usedir $(OUT)/HOL AxClasses
   200 
   201 
   202 ## HOL-AxClasses-Group
   203 
   204 HOL-AxClasses-Group: HOL-AxClasses $(LOG)/HOL-AxClasses-Group.gz
   205 
   206 $(LOG)/HOL-AxClasses-Group.gz: $(OUT)/HOL AxClasses/Group/Group.ML \
   207   AxClasses/Group/Group.thy AxClasses/Group/GroupDefs.ML \
   208   AxClasses/Group/GroupDefs.thy AxClasses/Group/GroupInsts.thy \
   209   AxClasses/Group/Monoid.thy AxClasses/Group/MonoidGroupInsts.thy \
   210   AxClasses/Group/ROOT.ML AxClasses/Group/Sigs.thy
   211 	@$(ISATOOL) usedir -s AxClasses-Group $(OUT)/HOL AxClasses/Group
   212 
   213 
   214 ## HOL-AxClasses-Lattice
   215 
   216 HOL-AxClasses-Lattice: HOL-AxClasses $(LOG)/HOL-AxClasses-Lattice.gz
   217 
   218 $(LOG)/HOL-AxClasses-Lattice.gz: $(OUT)/HOL AxClasses/Lattice/CLattice.ML \
   219   AxClasses/Lattice/CLattice.thy AxClasses/Lattice/LatInsts.ML \
   220   AxClasses/Lattice/LatInsts.thy AxClasses/Lattice/LatMorph.ML \
   221   AxClasses/Lattice/LatMorph.thy AxClasses/Lattice/LatPreInsts.ML \
   222   AxClasses/Lattice/LatPreInsts.thy AxClasses/Lattice/Lattice.ML \
   223   AxClasses/Lattice/Lattice.thy AxClasses/Lattice/OrdDefs.ML \
   224   AxClasses/Lattice/OrdDefs.thy AxClasses/Lattice/OrdInsts.thy \
   225   AxClasses/Lattice/Order.ML AxClasses/Lattice/Order.thy \
   226   AxClasses/Lattice/ROOT.ML AxClasses/Lattice/tools.ML
   227 	@$(ISATOOL) usedir -s AxClasses-Lattice $(OUT)/HOL AxClasses/Lattice
   228 
   229 
   230 ## HOL-AxClasses-Tutorial
   231 
   232 HOL-AxClasses-Tutorial: HOL-AxClasses $(LOG)/HOL-AxClasses-Tutorial.gz
   233 
   234 $(LOG)/HOL-AxClasses-Tutorial.gz: $(OUT)/HOL \
   235   AxClasses/Tutorial/BoolGroupInsts.thy AxClasses/Tutorial/Group.ML \
   236   AxClasses/Tutorial/Group.thy AxClasses/Tutorial/Monoid.thy \
   237   AxClasses/Tutorial/MonoidGroupInsts.thy \
   238   AxClasses/Tutorial/ProdGroupInsts.thy AxClasses/Tutorial/Product.thy \
   239   AxClasses/Tutorial/ProductInsts.thy AxClasses/Tutorial/ROOT.ML \
   240   AxClasses/Tutorial/Semigroup.thy AxClasses/Tutorial/Semigroups.thy \
   241   AxClasses/Tutorial/Sigs.thy AxClasses/Tutorial/Xor.ML \
   242   AxClasses/Tutorial/Xor.thy
   243 	@$(ISATOOL) usedir -s AxClasses-Tutorial $(OUT)/HOL AxClasses/Tutorial
   244 
   245 
   246 ## HOL-Quot
   247 
   248 HOL-Quot: HOL $(LOG)/HOL-Quot.gz
   249 
   250 $(LOG)/HOL-Quot.gz: $(OUT)/HOL Quot/FRACT.ML Quot/FRACT.thy \
   251   Quot/HQUOT.ML Quot/HQUOT.thy Quot/NPAIR.ML Quot/NPAIR.thy Quot/PER.ML \
   252   Quot/PER.thy Quot/PER0.ML Quot/PER0.thy Quot/ROOT.ML
   253 	@$(ISATOOL) usedir $(OUT)/HOL Quot
   254 
   255 
   256 ## HOL-ex
   257 
   258 HOL-ex: HOL $(LOG)/HOL-ex.gz
   259 
   260 $(LOG)/HOL-ex.gz: $(OUT)/HOL ex/BT.ML ex/BT.thy ex/Fib.ML ex/Fib.thy \
   261   ex/InSort.ML ex/InSort.thy ex/MT.ML ex/MT.thy ex/NatSum.ML \
   262   ex/NatSum.thy ex/Primes.ML ex/Primes.thy ex/Primrec.ML ex/Primrec.thy \
   263   ex/Puzzle.ML ex/Puzzle.thy ex/Qsort.ML ex/Qsort.thy ex/ROOT.ML \
   264   ex/Recdef.ML ex/Recdef.thy ex/String.ML ex/String.thy ex/cla.ML \
   265   ex/meson.ML ex/mesontest.ML ex/rel.ML ex/set.ML
   266 	@$(ISATOOL) usedir $(OUT)/HOL ex
   267 
   268 
   269 ## TLA
   270 
   271 TLA: HOL $(OUT)/TLA
   272 
   273 $(OUT)/TLA: $(OUT)/HOL TLA/Action.ML TLA/Action.thy TLA/IntLemmas.ML \
   274   TLA/Intensional.ML TLA/Intensional.thy TLA/ROOT.ML TLA/Stfun.ML \
   275   TLA/Stfun.thy TLA/TLA.ML TLA/TLA.thy TLA/cladata.ML TLA/hypsubst.ML
   276 	@cd TLA; $(ISATOOL) usedir -b $(OUT)/HOL TLA
   277 
   278 
   279 ## TLA-Inc
   280 
   281 TLA-Inc: TLA $(LOG)/TLA-Inc.gz
   282 
   283 $(LOG)/TLA-Inc.gz: $(OUT)/TLA TLA/Inc/Inc.thy TLA/Inc/Inc.ML \
   284   TLA/Inc/Pcount.thy
   285 	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Inc
   286 
   287 
   288 ## TLA-Buffer
   289 
   290 TLA-Buffer: TLA $(LOG)/TLA-Buffer.gz
   291 
   292 $(LOG)/TLA-Buffer.gz: $(OUT)/TLA TLA/Buffer/Buffer.thy \
   293   TLA/Buffer/Buffer.ML TLA/Buffer/DBuffer.thy TLA/Buffer/DBuffer.ML
   294 	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Buffer
   295 
   296 
   297 ## TLA-Memory
   298 
   299 TLA-Memory: TLA $(LOG)/TLA-Memory.gz
   300 
   301 $(LOG)/TLA-Memory.gz: $(OUT)/TLA TLA/Memory/MIParameters.thy \
   302   TLA/Memory/MIlive.ML TLA/Memory/MIsafe.ML TLA/Memory/MemClerk.ML \
   303   TLA/Memory/MemClerk.thy TLA/Memory/MemClerkParameters.ML \
   304   TLA/Memory/MemClerkParameters.thy TLA/Memory/Memory.ML \
   305   TLA/Memory/Memory.thy TLA/Memory/MemoryImplementation.ML \
   306   TLA/Memory/MemoryImplementation.thy TLA/Memory/MemoryParameters.ML \
   307   TLA/Memory/MemoryParameters.thy TLA/Memory/ProcedureInterface.ML \
   308   TLA/Memory/ProcedureInterface.thy TLA/Memory/RPC.ML TLA/Memory/RPC.thy \
   309   TLA/Memory/RPCMemoryParams.thy TLA/Memory/RPCParameters.ML \
   310   TLA/Memory/RPCParameters.thy
   311 	@cd TLA; $(ISATOOL) usedir $(OUT)/TLA Memory
   312 
   313 
   314 ## clean
   315 
   316 clean:
   317 	@rm -f $(OUT)/HOL $(LOG)/HOL.gz $(LOG)/HOL-Subst.gz \
   318 	  $(LOG)/HOL-Induct.gz $(LOG)/HOL-IMP.gz $(LOG)/HOL-Hoare.gz \
   319 	  $(LOG)/HOL-Lex.gz $(LOG)/HOL-Integ.gz $(LOG)/HOL-Auth.gz \
   320 	  $(LOG)/HOL-Modelcheck.gz $(LOG)/HOL-Lambda.gz $(LOG)/HOL-W0.gz \
   321 	  $(LOG)/HOL-MiniML.gz $(LOG)/HOL-IOA.gz $(LOG)/HOL-AxClasses.gz \
   322 	  $(LOG)/HOL-AxClasses-Group.gz $(LOG)/HOL-AxClasses-Lattice.gz \
   323 	  $(LOG)/HOL-AxClasses-Tutorial.gz $(LOG)/HOL-Quot.gz \
   324 	  $(LOG)/HOL-ex.gz $(OUT)/TLA $(LOG)/TLA.gz $(LOG)/TLA-Inc.gz \
   325 	  $(LOG)/TLA-Buffer.gz $(LOG)/TLA-Memory.gz