src/ZF/IsaMakefile
author paulson
Sat Jun 22 18:28:46 2002 +0200 (2002-06-22)
changeset 13239 f599984ec4c2
parent 13225 b6fc6e4a0a24
child 13240 bb5f4faea1f3
permissions -rw-r--r--
converted Bool, Trancl, Rel to Isar format
     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 ArithSimp.ML	\
    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.ML 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.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Sum.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 Update.thy \
    47   WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
    48   ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
    49   subset.ML subset.thy thy_syntax.ML upair.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/Formula.thy     Constructible/Relative.thy \
    82   Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
    83   Constructible/Normal.thy      Constructible/WF_absolute.thy \
    84   Constructible/Reflection.thy  Constructible/WFrec.thy
    85 	@$(ISATOOL) usedir $(OUT)/ZF Constructible
    86 
    87 
    88 ## ZF-IMP
    89 
    90 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    91 
    92 $(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    93   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
    94 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    95 
    96 
    97 ## ZF-Resid
    98 
    99 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
   100 
   101 $(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
   102   Resid/Confluence.thy  Resid/Redex.thy \
   103   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
   104 	@$(ISATOOL) usedir $(OUT)/ZF Resid
   105 
   106 
   107 ## ZF-UNITY
   108 
   109 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
   110 
   111 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
   112   UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
   113   UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
   114   UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
   115   UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
   116   UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
   117   UNITY/WFair.ML UNITY/WFair.thy
   118 	@$(ISATOOL) usedir $(OUT)/ZF UNITY
   119 
   120 
   121 ## ZF-Induct
   122 
   123 ZF-Induct: ZF $(LOG)/ZF-Induct.gz
   124 
   125 $(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
   126   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   127   Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
   128   Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
   129   Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
   130   Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
   131 	@$(ISATOOL) usedir $(OUT)/ZF Induct
   132 
   133 
   134 ## ZF-ex
   135 
   136 ZF-ex: ZF $(LOG)/ZF-ex.gz
   137 
   138 $(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
   139   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
   140   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   141   ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
   142 	@$(ISATOOL) usedir $(OUT)/ZF ex
   143 
   144 
   145 ## clean
   146 
   147 clean:
   148 	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
   149 	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
   150           $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
   151 	  $(LOG)/ZF-UNITY.gz