src/ZF/IsaMakefile
author wenzelm
Thu May 31 12:06:31 2007 +0200 (2007-05-31)
changeset 23146 0bc590051d95
parent 22814 4cd25f1706bb
child 26056 6a0801279f4c
permissions -rw-r--r--
moved Integ files to canonical place;
     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$(ML_SUFFIX)
    27 
    28 FOL:
    29 	@cd $(SRC)/FOL; $(ISATOOL) make FOL
    30 
    31 $(OUT)/ZF$(ML_SUFFIX): $(OUT)/FOL$(ML_SUFFIX) AC.thy Arith.thy		\
    32   ArithSimp.thy Bin.thy Bool.thy Cardinal.thy CardinalArith.thy		\
    33   Cardinal_AC.thy Datatype.thy Epsilon.thy EquivClass.thy Finite.thy	\
    34   Fixedpt.thy Inductive.thy InfDatatype.thy Int.thy IntArith.thy	\
    35   IntDiv.thy List.thy Main.thy Main_ZFC.thy Nat.thy OrdQuant.thy	\
    36   Order.thy OrderArith.thy OrderType.thy Ordinal.thy Perm.thy QPair.thy	\
    37   QUniv.thy ROOT.ML Sum.thy Tools/cartprod.ML Tools/datatype_package.ML	\
    38   Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
    39   Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
    40   Trancl.thy Univ.thy WF.thy ZF.thy Zorn.thy arith_data.ML		\
    41   equalities.thy func.thy ind_syntax.ML int_arith.ML pair.thy		\
    42   simpdata.ML upair.thy
    43 	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
    44 
    45 
    46 ## ZF-AC
    47 
    48 ZF-AC: ZF $(LOG)/ZF-AC.gz
    49 
    50 $(LOG)/ZF-AC.gz: $(OUT)/ZF$(ML_SUFFIX) \
    51   AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
    52   AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy \
    53   AC/AC_Equiv.thy AC/Cardinal_aux.thy \
    54   AC/DC.thy AC/HH.thy AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy \
    55   AC/WO2_AC16.thy AC/WO6_WO1.thy AC/document/root.bib AC/document/root.tex
    56 	@$(ISATOOL) usedir -g true $(OUT)/ZF AC
    57 
    58 
    59 ## ZF-Coind
    60 
    61 ZF-Coind: ZF $(LOG)/ZF-Coind.gz
    62 
    63 $(LOG)/ZF-Coind.gz: $(OUT)/ZF$(ML_SUFFIX) Coind/Dynamic.thy \
    64   Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
    65   Coind/Static.thy Coind/Types.thy Coind/Values.thy
    66 	@$(ISATOOL) usedir $(OUT)/ZF Coind
    67 
    68 
    69 ## ZF-Constructible
    70 
    71 ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
    72 
    73 $(LOG)/ZF-Constructible.gz: $(OUT)/ZF$(ML_SUFFIX)  Constructible/ROOT.ML \
    74   Constructible/Datatype_absolute.thy Constructible/DPow_absolute.thy\
    75   Constructible/Formula.thy Constructible/Internalize.thy \
    76   Constructible/AC_in_L.thy Constructible/Relative.thy \
    77   Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
    78   Constructible/MetaExists.thy  Constructible/Normal.thy \
    79   Constructible/Rank.thy Constructible/Rank_Separation.thy \
    80   Constructible/Rec_Separation.thy Constructible/Separation.thy \
    81   Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy \
    82   Constructible/Reflection.thy  Constructible/WFrec.thy \
    83   Constructible/document/root.bib Constructible/document/root.tex
    84 	@$(ISATOOL) usedir -g true $(OUT)/ZF Constructible
    85 
    86 
    87 ## ZF-IMP
    88 
    89 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    90 
    91 $(LOG)/ZF-IMP.gz: $(OUT)/ZF$(ML_SUFFIX) IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    92   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
    93 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    94 
    95 
    96 ## ZF-Resid
    97 
    98 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
    99 
   100 $(LOG)/ZF-Resid.gz: $(OUT)/ZF$(ML_SUFFIX) Resid/ROOT.ML \
   101   Resid/Confluence.thy  Resid/Redex.thy \
   102   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
   103 	@$(ISATOOL) usedir $(OUT)/ZF Resid
   104 
   105 
   106 ## ZF-UNITY
   107 
   108 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
   109 
   110 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF$(ML_SUFFIX) UNITY/ROOT.ML \
   111   UNITY/Comp.thy UNITY/Constrains.thy UNITY/FP.thy\
   112   UNITY/GenPrefix.thy UNITY/Guar.thy UNITY/Mutex.thy UNITY/State.thy \
   113   UNITY/SubstAx.thy UNITY/UNITY.thy UNITY/Union.thy \
   114   UNITY/AllocBase.thy UNITY/AllocImpl.thy\
   115   UNITY/ClientImpl.thy UNITY/Distributor.thy\
   116   UNITY/Follows.thy UNITY/Increasing.thy UNITY/Merge.thy\
   117   UNITY/Monotonicity.thy UNITY/MultisetSum.thy 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$(ML_SUFFIX)  Induct/ROOT.ML Induct/Acc.thy \
   126   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   127   Induct/Datatypes.thy Induct/FoldSet.thy \
   128   Induct/ListN.thy 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$(ML_SUFFIX) ex/ROOT.ML \
   139   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy ex/Group.thy\
   140   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   141   ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
   142 	@$(ISATOOL) usedir $(OUT)/ZF ex
   143 
   144 
   145 ## clean
   146 
   147 clean:
   148 	@rm -f $(OUT)/ZF$(ML_SUFFIX) $(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