src/ZF/IsaMakefile
author paulson
Sun Jul 14 15:14:43 2002 +0200 (2002-07-14)
changeset 13356 c9cfe1638bf2
parent 13339 0f89104dd377
child 13357 6f54e992777e
permissions -rw-r--r--
improved presentation markup
     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-Constructible 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 \
    32   ArithSimp.thy Bool.thy Cardinal.thy		\
    33   CardinalArith.thy Cardinal_AC.thy \
    34   Datatype.ML Datatype.thy Epsilon.thy Finite.thy	\
    35   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.thy Main.ML Main.thy	\
    40   Main_ZFC.ML Main_ZFC.thy Nat.thy Order.thy OrderArith.thy	\
    41   OrderType.thy Ordinal.thy OrdQuant.thy Perm.thy	\
    42   QPair.thy QUniv.thy ROOT.ML	\
    43   Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
    44   Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
    45   Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
    46   Trancl.thy Univ.thy \
    47   WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
    48   ind_syntax.ML mono.thy pair.thy simpdata.ML		\
    49   thy_syntax.ML upair.thy
    50 	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
    51 
    52 
    53 ## ZF-AC
    54 
    55 ZF-AC: ZF $(LOG)/ZF-AC.gz
    56 
    57 $(LOG)/ZF-AC.gz: $(OUT)/ZF \
    58   AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
    59   AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy \
    60   AC/AC_Equiv.thy AC/Cardinal_aux.thy \
    61   AC/DC.thy AC/HH.thy AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy \
    62   AC/WO2_AC16.thy AC/WO6_WO1.thy 
    63 	@$(ISATOOL) usedir $(OUT)/ZF AC
    64 
    65 
    66 ## ZF-Coind
    67 
    68 ZF-Coind: ZF $(LOG)/ZF-Coind.gz
    69 
    70 $(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
    71   Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
    72   Coind/Static.thy Coind/Types.thy Coind/Values.thy
    73 	@$(ISATOOL) usedir $(OUT)/ZF Coind
    74 
    75 
    76 ## ZF-Constructible
    77 
    78 ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
    79 
    80 $(LOG)/ZF-Constructible.gz: $(OUT)/ZF  Constructible/ROOT.ML \
    81   Constructible/Datatype_absolute.thy\
    82   Constructible/Formula.thy     Constructible/Relative.thy \
    83   Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
    84   Constructible/MetaExists.thy  Constructible/Normal.thy \
    85   Constructible/Rec_Separation.thy Constructible/Separation.thy \
    86   Constructible/WF_absolute.thy \
    87   Constructible/Reflection.thy  Constructible/WFrec.thy \
    88   Constructible/document/root.tex
    89 	@$(ISATOOL) usedir $(OUT)/ZF Constructible
    90 
    91 
    92 ## ZF-IMP
    93 
    94 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    95 
    96 $(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    97   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
    98 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    99 
   100 
   101 ## ZF-Resid
   102 
   103 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
   104 
   105 $(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
   106   Resid/Confluence.thy  Resid/Redex.thy \
   107   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
   108 	@$(ISATOOL) usedir $(OUT)/ZF Resid
   109 
   110 
   111 ## ZF-UNITY
   112 
   113 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
   114 
   115 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
   116   UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
   117   UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
   118   UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
   119   UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
   120   UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
   121   UNITY/WFair.ML UNITY/WFair.thy
   122 	@$(ISATOOL) usedir $(OUT)/ZF UNITY
   123 
   124 
   125 ## ZF-Induct
   126 
   127 ZF-Induct: ZF $(LOG)/ZF-Induct.gz
   128 
   129 $(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
   130   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   131   Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
   132   Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
   133   Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
   134   Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
   135 	@$(ISATOOL) usedir $(OUT)/ZF Induct
   136 
   137 
   138 ## ZF-ex
   139 
   140 ZF-ex: ZF $(LOG)/ZF-ex.gz
   141 
   142 $(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
   143   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
   144   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   145   ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
   146 	@$(ISATOOL) usedir $(OUT)/ZF ex
   147 
   148 
   149 ## clean
   150 
   151 clean:
   152 	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
   153 	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
   154           $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
   155 	  $(LOG)/ZF-UNITY.gz