src/ZF/IsaMakefile
author paulson
Mon Dec 28 16:59:28 1998 +0100 (1998-12-28)
changeset 6053 8a1059aa01f0
parent 5561 426c1e330903
child 6065 3b4a29166f26
permissions -rw-r--r--
new inductive, datatype and primrec packages, etc.
     1 #
     2 # $Id$
     3 #
     4 # IsaMakefile for ZF
     5 #
     6 
     7 ## targets
     8 
     9 default: ZF
    10 images: ZF
    11 test: ZF-IMP ZF-Coind ZF-AC ZF-Resid ZF-ex
    12 all: images test
    13 
    14 
    15 ## global settings
    16 
    17 SRC = $(ISABELLE_HOME)/src
    18 OUT = $(ISABELLE_OUTPUT)
    19 LOG = $(OUT)/log
    20 
    21 
    22 ## ZF
    23 
    24 ZF: FOL $(OUT)/ZF
    25 
    26 FOL:
    27 	@cd $(SRC)/FOL; $(ISATOOL) make FOL
    28 
    29 $(OUT)/ZF: $(OUT)/FOL $(SRC)/Pure/section_utils.ML AC.ML AC.thy \
    30   Arith.ML Arith.thy Bool.ML Bool.thy Cardinal.ML Cardinal.thy \
    31   CardinalArith.ML CardinalArith.thy Cardinal_AC.ML Cardinal_AC.thy \
    32   Datatype.ML Datatype.thy Epsilon.ML Epsilon.thy \
    33   Finite.ML Finite.thy Fixedpt.ML Fixedpt.thy \
    34   Inductive.ML Inductive.thy InfDatatype.ML InfDatatype.thy \
    35   Let.ML Let.thy List.ML List.thy Main.thy Nat.ML Nat.thy \
    36   Order.ML Order.thy OrderArith.ML \
    37   OrderArith.thy OrderType.ML OrderType.thy Ordinal.ML Ordinal.thy \
    38   Perm.ML Perm.thy QPair.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Rel.ML \
    39   Rel.thy Sum.ML Sum.thy Trancl.ML Trancl.thy \
    40   Update.ML Update.thy Univ.ML Univ.thy WF.ML WF.thy \
    41   ZF.ML ZF.thy Zorn.ML Zorn.thy domrange.ML \
    42   domrange.thy equalities.ML equalities.thy func.ML func.thy \
    43   ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML subset.ML \
    44   subset.thy thy_syntax.ML upair.ML upair.thy \
    45   Tools/cartprod.ML Tools/datatype_package.ML Tools/inductive_package.ML \
    46   Tools/primrec_package.ML Tools/typechk.ML \
    47   Integ/EquivClass.ML Integ/EquivClass.thy Integ/Int.ML Integ/Int.thy \
    48   Integ/twos_compl.ML Integ/Bin.ML Integ/Bin.thy 
    49 	@$(ISATOOL) usedir -b $(OUT)/FOL ZF
    50 
    51 
    52 ## ZF-IMP
    53 
    54 ZF-IMP: ZF $(LOG)/ZF-IMP.gz
    55 
    56 $(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.ML IMP/Com.thy IMP/Denotation.ML \
    57   IMP/Denotation.thy IMP/Equiv.ML IMP/Equiv.thy IMP/ROOT.ML
    58 	@$(ISATOOL) usedir $(OUT)/ZF IMP
    59 
    60 
    61 ## ZF-Coind
    62 
    63 ZF-Coind: ZF $(LOG)/ZF-Coind.gz
    64 
    65 $(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/BCR.thy Coind/Dynamic.thy \
    66   Coind/ECR.ML Coind/ECR.thy Coind/Language.thy Coind/MT.ML Coind/MT.thy \
    67   Coind/Map.ML Coind/Map.thy Coind/ROOT.ML Coind/Static.ML \
    68   Coind/Static.thy Coind/Types.ML Coind/Types.thy Coind/Values.ML \
    69   Coind/Values.thy
    70 	@$(ISATOOL) usedir $(OUT)/ZF Coind
    71 
    72 
    73 ## ZF-AC
    74 
    75 ZF-AC: ZF $(LOG)/ZF-AC.gz
    76 
    77 $(LOG)/ZF-AC.gz: $(OUT)/ZF AC/AC0_AC1.ML AC/AC10_AC15.ML \
    78   AC/AC15_WO6.ML AC/AC15_WO6.thy AC/AC16_WO4.ML AC/AC16_WO4.thy \
    79   AC/AC16_lemmas.ML AC/AC16_lemmas.thy AC/AC17_AC1.ML AC/AC17_AC1.thy \
    80   AC/AC18_AC19.ML AC/AC18_AC19.thy AC/AC1_AC17.ML AC/AC1_WO2.ML \
    81   AC/AC1_WO2.thy AC/AC2_AC6.ML AC/AC7_AC9.ML AC/AC_Equiv.ML \
    82   AC/AC_Equiv.thy AC/Cardinal_aux.ML AC/Cardinal_aux.thy AC/DC.ML \
    83   AC/DC.thy AC/DC_lemmas.ML AC/DC_lemmas.thy AC/HH.ML AC/HH.thy \
    84   AC/Hartog.ML AC/Hartog.thy AC/ROOT.ML AC/WO1_AC.ML AC/WO1_AC.thy \
    85   AC/WO1_WO6.ML AC/WO1_WO7.ML AC/WO1_WO7.thy AC/WO1_WO8.ML AC/WO2_AC16.ML \
    86   AC/WO2_AC16.thy AC/WO6_WO1.ML AC/WO6_WO1.thy AC/WO_AC.ML AC/WO_AC.thy \
    87   AC/recfunAC16.ML AC/recfunAC16.thy AC/rel_is_fun.ML AC/rel_is_fun.thy
    88 	@$(ISATOOL) usedir $(OUT)/ZF AC
    89 
    90 
    91 ## ZF-Resid
    92 
    93 ZF-Resid: ZF $(LOG)/ZF-Resid.gz
    94 
    95 $(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/Confluence.ML Resid/Confluence.thy \
    96   Resid/Conversion.ML Resid/Conversion.thy Resid/Cube.ML Resid/Cube.thy \
    97   Resid/ROOT.ML Resid/Redex.ML Resid/Redex.thy Resid/Reduction.ML \
    98   Resid/Reduction.thy Resid/Residuals.ML Resid/Residuals.thy \
    99   Resid/Substitution.ML \
   100   Resid/Substitution.thy Resid/Terms.ML Resid/Terms.thy
   101 	@$(ISATOOL) usedir $(OUT)/ZF Resid
   102 
   103 
   104 ## ZF-ex
   105 
   106 ZF-ex: ZF $(LOG)/ZF-ex.gz
   107 
   108 $(LOG)/ZF-ex.gz: $(OUT)/ZF ex/Acc.ML ex/Acc.thy ex/BT.ML ex/BT.thy \
   109   ex/BinEx.ML ex/Brouwer.ML ex/Brouwer.thy ex/CoUnit.ML \
   110   ex/CoUnit.thy ex/Comb.ML ex/Comb.thy ex/Data.ML ex/Data.thy ex/Enum.ML \
   111   ex/Enum.thy ex/LList.ML ex/LList.thy \
   112   ex/Limit.ML ex/Limit.thy ex/ListN.ML ex/ListN.thy ex/Mutil.ML \
   113   ex/Mutil.thy ex/Ntree.ML ex/Ntree.thy ex/Primes.ML ex/Primes.thy \
   114   ex/Primrec_defs.ML ex/Primrec_defs.thy \
   115   ex/Primrec.ML ex/Primrec.thy ex/PropLog.ML ex/PropLog.thy ex/ROOT.ML \
   116   ex/Ramsey.ML ex/Ramsey.thy ex/Rmap.ML ex/Rmap.thy ex/TF.ML ex/TF.thy \
   117   ex/Term.ML ex/Term.thy ex/misc.ML
   118 	@$(ISATOOL) usedir $(OUT)/ZF ex
   119 
   120 
   121 ## clean
   122 
   123 clean:
   124 	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-IMP.gz \
   125 	  $(LOG)/ZF-Coind.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Resid.gz \
   126 	  $(LOG)/ZF-ex.gz