src/ZF/IsaMakefile
author wenzelm
Tue Oct 11 13:28:05 2005 +0200 (2005-10-11)
changeset 17821 daffb154f73e
parent 15634 bca33c49b083
child 17935 c6f1442ce949
permissions -rw-r--r--
ML_SUFFIX in targets (experimental);
     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 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.thy \
    37   Integ/EquivClass.thy Integ/Int.thy Integ/IntArith.thy	\
    38   Integ/IntDiv.thy Integ/int_arith.ML			\
    39   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.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
    48   ind_syntax.ML 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$(ML_SUFFIX) \
    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 AC/document/root.bib AC/document/root.tex
    63 	@$(ISATOOL) usedir -g true $(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$(ML_SUFFIX) 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$(ML_SUFFIX)  Constructible/ROOT.ML \
    81   Constructible/Datatype_absolute.thy Constructible/DPow_absolute.thy\
    82   Constructible/Formula.thy Constructible/Internalize.thy \
    83   Constructible/AC_in_L.thy Constructible/Relative.thy \
    84   Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
    85   Constructible/MetaExists.thy  Constructible/Normal.thy \
    86   Constructible/Rank.thy Constructible/Rank_Separation.thy \
    87   Constructible/Rec_Separation.thy Constructible/Separation.thy \
    88   Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy \
    89   Constructible/Reflection.thy  Constructible/WFrec.thy \
    90   Constructible/document/root.bib Constructible/document/root.tex
    91 	@$(ISATOOL) usedir -g true $(OUT)/ZF Constructible
    92 
    93 
    94 ## ZF-IMP
    95 
    96 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    97 
    98 $(LOG)/ZF-IMP.gz: $(OUT)/ZF$(ML_SUFFIX) IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
    99   IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
   100 	@$(ISATOOL) usedir $(OUT)/ZF IMP
   101 
   102 
   103 ## ZF-Resid
   104 
   105 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
   106 
   107 $(LOG)/ZF-Resid.gz: $(OUT)/ZF$(ML_SUFFIX) Resid/ROOT.ML \
   108   Resid/Confluence.thy  Resid/Redex.thy \
   109   Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
   110 	@$(ISATOOL) usedir $(OUT)/ZF Resid
   111 
   112 
   113 ## ZF-UNITY
   114 
   115 ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
   116 
   117 $(LOG)/ZF-UNITY.gz: $(OUT)/ZF$(ML_SUFFIX) UNITY/ROOT.ML \
   118   UNITY/Comp.thy UNITY/Constrains.thy UNITY/FP.thy\
   119   UNITY/GenPrefix.thy UNITY/Guar.thy UNITY/Mutex.thy UNITY/State.thy \
   120   UNITY/SubstAx.thy UNITY/UNITY.thy UNITY/Union.thy \
   121   UNITY/AllocBase.thy UNITY/AllocImpl.thy\
   122   UNITY/ClientImpl.thy UNITY/Distributor.thy\
   123   UNITY/Follows.thy UNITY/Increasing.thy UNITY/Merge.thy\
   124   UNITY/Monotonicity.thy UNITY/MultisetSum.thy UNITY/WFair.thy
   125 	@$(ISATOOL) usedir $(OUT)/ZF UNITY
   126 
   127 
   128 ## ZF-Induct
   129 
   130 ZF-Induct: ZF $(LOG)/ZF-Induct.gz
   131 
   132 $(LOG)/ZF-Induct.gz: $(OUT)/ZF$(ML_SUFFIX)  Induct/ROOT.ML Induct/Acc.thy \
   133   Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
   134   Induct/Datatypes.thy Induct/FoldSet.thy \
   135   Induct/ListN.thy Induct/Multiset.thy Induct/Mutil.thy \
   136   Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
   137   Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
   138 	@$(ISATOOL) usedir $(OUT)/ZF Induct
   139 
   140 
   141 ## ZF-ex
   142 
   143 ZF-ex: ZF $(LOG)/ZF-ex.gz
   144 
   145 $(LOG)/ZF-ex.gz: $(OUT)/ZF$(ML_SUFFIX) ex/ROOT.ML \
   146   ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy ex/Group.thy\
   147   ex/Limit.thy ex/LList.thy ex/Primes.thy \
   148   ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
   149 	@$(ISATOOL) usedir $(OUT)/ZF ex
   150 
   151 
   152 ## clean
   153 
   154 clean:
   155 	@rm -f $(OUT)/ZF$(ML_SUFFIX) $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
   156 	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
   157           $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
   158 	  $(LOG)/ZF-UNITY.gz