src/ZF/IsaMakefile
author paulson
Fri May 31 15:06:06 2002 +0200 (2002-05-31)
changeset 13194 812b00ed1c03
parent 13177 ba734cc2887d
child 13216 6104bd4088a2
permissions -rw-r--r--
conversion of Finite 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-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.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 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 Rel.ML Rel.thy 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.ML 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-IMP
    77 
    78 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    79 
    80 $(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    81   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
    82 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    83 
    84 
    85 ## ZF-Resid
    86 
    87 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
    88 
    89 $(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
    90   Resid/Confluence.thy  Resid/Redex.thy \
    91   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
    92 	@$(ISATOOL) usedir $(OUT)/ZF Resid
    93 
    94 
    95 ## ZF-UNITY
    96 
    97 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
    98 
    99 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
   100   UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
   101   UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
   102   UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
   103   UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
   104   UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
   105   UNITY/WFair.ML UNITY/WFair.thy
   106 	@$(ISATOOL) usedir $(OUT)/ZF UNITY
   107 
   108 
   109 ## ZF-Induct
   110 
   111 ZF-Induct: ZF $(LOG)/ZF-Induct.gz
   112 
   113 $(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
   114   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   115   Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
   116   Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
   117   Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
   118   Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
   119 	@$(ISATOOL) usedir $(OUT)/ZF Induct
   120 
   121 
   122 ## ZF-ex
   123 
   124 ZF-ex: ZF $(LOG)/ZF-ex.gz
   125 
   126 $(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
   127   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
   128   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   129   ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
   130 	@$(ISATOOL) usedir $(OUT)/ZF ex
   131 
   132 
   133 ## clean
   134 
   135 clean:
   136 	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
   137 	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
   138 	  $(LOG)/ZF-UNITY.gz