src/ZF/IsaMakefile
author paulson
Sat May 18 22:22:23 2002 +0200 (2002-05-18)
changeset 13164 dfc399c684e4
parent 13163 e320a52ff711
child 13165 31d020705aff
permissions -rw-r--r--
converted Epsilon to Isar
     1 #
     2 # $Id$
     3 #
     4 # IsaMakefile for ZF
     5 #
     6 
     7 ## targets
     8 
     9 default: ZF
    10 images: ZF
    11 
    12 #Note: keep targets sorted
    13 test: ZF-AC ZF-Coind ZF-IMP ZF-Induct ZF-Resid ZF-UNITY ZF-ex
    14 all: images test
    15 
    16 
    17 ## global settings
    18 
    19 SRC = $(ISABELLE_HOME)/src
    20 OUT = $(ISABELLE_OUTPUT)
    21 LOG = $(OUT)/log
    22 
    23 
    24 ## ZF
    25 
    26 ZF: FOL $(OUT)/ZF
    27 
    28 FOL:
    29 	@cd $(SRC)/FOL; $(ISATOOL) make FOL
    30 
    31 $(OUT)/ZF: $(OUT)/FOL AC.thy Arith.thy ArithSimp.ML	\
    32   ArithSimp.thy Bool.ML Bool.thy Cardinal.ML Cardinal.thy		\
    33   CardinalArith.ML CardinalArith.thy Cardinal_AC.thy \
    34   Datatype.ML Datatype.thy Epsilon.thy Finite.ML Finite.thy	\
    35   Fixedpt.ML Fixedpt.thy Inductive.ML Inductive.thy 	\
    36   InfDatatype.thy Integ/Bin.ML Integ/Bin.thy Integ/EquivClass.ML	\
    37   Integ/EquivClass.thy Integ/Int.ML Integ/Int.thy Integ/IntArith.thy	\
    38   Integ/IntDiv.ML Integ/IntDiv.thy Integ/int_arith.ML			\
    39   Integ/twos_compl.ML Let.ML Let.thy List.ML List.thy Main.ML Main.thy	\
    40   Main_ZFC.ML Main_ZFC.thy	\
    41   Nat.ML Nat.thy Order.thy OrderArith.thy	\
    42   OrderType.thy Ordinal.thy OrdQuant.ML OrdQuant.thy Perm.ML Perm.thy	\
    43   QPair.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Rel.ML Rel.thy Sum.ML	\
    44   Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
    45   Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
    46   Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
    47   Trancl.ML Trancl.thy Univ.thy Update.ML Update.thy WF.ML	\
    48   WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML domrange.ML	\
    49   domrange.thy equalities.ML equalities.thy func.thy		\
    50   ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
    51   subset.ML subset.thy thy_syntax.ML upair.ML upair.thy
    52 	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
    53 
    54 
    55 ## ZF-AC
    56 
    57 ZF-AC: ZF $(LOG)/ZF-AC.gz
    58 
    59 $(LOG)/ZF-AC.gz: $(OUT)/ZF \
    60   AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
    61   AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy \
    62   AC/AC_Equiv.thy AC/Cardinal_aux.thy \
    63   AC/DC.thy AC/HH.thy AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy \
    64   AC/WO2_AC16.thy AC/WO6_WO1.thy 
    65 	@$(ISATOOL) usedir $(OUT)/ZF AC
    66 
    67 
    68 ## ZF-Coind
    69 
    70 ZF-Coind: ZF $(LOG)/ZF-Coind.gz
    71 
    72 $(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
    73   Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
    74   Coind/Static.thy Coind/Types.thy Coind/Values.thy
    75 	@$(ISATOOL) usedir $(OUT)/ZF Coind
    76 
    77 
    78 ## ZF-IMP
    79 
    80 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    81 
    82 $(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    83   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
    84 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    85 
    86 
    87 ## ZF-Resid
    88 
    89 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
    90 
    91 $(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
    92   Resid/Confluence.thy  Resid/Redex.thy \
    93   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
    94 	@$(ISATOOL) usedir $(OUT)/ZF Resid
    95 
    96 
    97 ## ZF-UNITY
    98 
    99 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
   100 
   101 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
   102   UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
   103   UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
   104   UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
   105   UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
   106   UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
   107   UNITY/WFair.ML UNITY/WFair.thy
   108 	@$(ISATOOL) usedir $(OUT)/ZF UNITY
   109 
   110 
   111 ## ZF-Induct
   112 
   113 ZF-Induct: ZF $(LOG)/ZF-Induct.gz
   114 
   115 $(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
   116   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   117   Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
   118   Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
   119   Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
   120   Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
   121 	@$(ISATOOL) usedir $(OUT)/ZF Induct
   122 
   123 
   124 ## ZF-ex
   125 
   126 ZF-ex: ZF $(LOG)/ZF-ex.gz
   127 
   128 $(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
   129   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
   130   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   131   ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
   132 	@$(ISATOOL) usedir $(OUT)/ZF ex
   133 
   134 
   135 ## clean
   136 
   137 clean:
   138 	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
   139 	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
   140 	  $(LOG)/ZF-UNITY.gz