src/ZF/IsaMakefile
author paulson
Fri Dec 28 10:11:14 2001 +0100 (2001-12-28)
changeset 12606 cf1715a5f5ec
parent 12595 0480d02221b8
child 12610 8b9845807f77
permissions -rw-r--r--
conversion to Isar/ZF
wenzelm@2500
     1
#
wenzelm@2500
     2
# $Id$
wenzelm@2500
     3
#
wenzelm@2500
     4
# IsaMakefile for ZF
wenzelm@2500
     5
#
wenzelm@2500
     6
wenzelm@4518
     7
## targets
wenzelm@2500
     8
wenzelm@4518
     9
default: ZF
wenzelm@4518
    10
images: ZF
paulson@11479
    11
paulson@11479
    12
#Note: keep targets sorted
paulson@12088
    13
test: ZF-AC ZF-Coind ZF-IMP ZF-Induct ZF-Resid ZF-UNITY ZF-ex
wenzelm@4518
    14
all: images test
wenzelm@4518
    15
wenzelm@4518
    16
wenzelm@4518
    17
## global settings
wenzelm@4518
    18
wenzelm@4518
    19
SRC = $(ISABELLE_HOME)/src
wenzelm@3118
    20
OUT = $(ISABELLE_OUTPUT)
wenzelm@4447
    21
LOG = $(OUT)/log
wenzelm@2500
    22
wenzelm@4518
    23
wenzelm@4518
    24
## ZF
wenzelm@4518
    25
wenzelm@4518
    26
ZF: FOL $(OUT)/ZF
wenzelm@4518
    27
wenzelm@4518
    28
FOL:
wenzelm@4518
    29
	@cd $(SRC)/FOL; $(ISATOOL) make FOL
wenzelm@2500
    30
wenzelm@12425
    31
$(OUT)/ZF: $(OUT)/FOL AC.ML AC.thy Arith.ML Arith.thy ArithSimp.ML	\
wenzelm@12425
    32
  ArithSimp.thy Bool.ML Bool.thy Cardinal.ML Cardinal.thy		\
wenzelm@12425
    33
  CardinalArith.ML CardinalArith.thy Cardinal_AC.ML Cardinal_AC.thy	\
wenzelm@12425
    34
  Datatype.ML Datatype.thy Epsilon.ML Epsilon.thy Finite.ML Finite.thy	\
wenzelm@12425
    35
  Fixedpt.ML Fixedpt.thy Inductive.ML Inductive.thy InfDatatype.ML	\
wenzelm@12425
    36
  InfDatatype.thy Integ/Bin.ML Integ/Bin.thy Integ/EquivClass.ML	\
wenzelm@12425
    37
  Integ/EquivClass.thy Integ/Int.ML Integ/Int.thy Integ/IntArith.thy	\
wenzelm@12425
    38
  Integ/IntDiv.ML Integ/IntDiv.thy Integ/int_arith.ML			\
wenzelm@12425
    39
  Integ/twos_compl.ML Let.ML Let.thy List.ML List.thy Main.ML Main.thy	\
paulson@12552
    40
  Main_ZFC.ML Main_ZFC.thy	\
wenzelm@12425
    41
  Nat.ML Nat.thy Order.ML Order.thy OrderArith.ML OrderArith.thy	\
wenzelm@12425
    42
  OrderType.ML OrderType.thy Ordinal.ML Ordinal.thy Perm.ML Perm.thy	\
wenzelm@12425
    43
  QPair.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Rel.ML Rel.thy Sum.ML	\
wenzelm@12425
    44
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
wenzelm@12425
    45
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
wenzelm@12425
    46
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
wenzelm@8812
    47
  Trancl.ML Trancl.thy Univ.ML Univ.thy Update.ML Update.thy WF.ML	\
wenzelm@12425
    48
  WF.thy ZF.ML ZF.thy Zorn.ML Zorn.thy arith_data.ML domrange.ML	\
wenzelm@12425
    49
  domrange.thy equalities.ML equalities.thy func.ML func.thy		\
wenzelm@12425
    50
  ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
wenzelm@12425
    51
  subset.ML subset.thy thy_syntax.ML upair.ML upair.thy
wenzelm@6213
    52
	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
wenzelm@2500
    53
wenzelm@2500
    54
wenzelm@4518
    55
## ZF-AC
wenzelm@2500
    56
wenzelm@4518
    57
ZF-AC: ZF $(LOG)/ZF-AC.gz
wenzelm@2500
    58
paulson@11380
    59
$(LOG)/ZF-AC.gz: $(OUT)/ZF \
wenzelm@4518
    60
  AC/AC15_WO6.ML AC/AC15_WO6.thy AC/AC16_WO4.ML AC/AC16_WO4.thy \
wenzelm@4518
    61
  AC/AC16_lemmas.ML AC/AC16_lemmas.thy AC/AC17_AC1.ML AC/AC17_AC1.thy \
paulson@11380
    62
  AC/AC18_AC19.ML AC/AC18_AC19.thy AC/AC1_WO2.ML \
paulson@11380
    63
  AC/AC1_WO2.thy AC/AC7_AC9.ML AC/AC_Equiv.ML \
wenzelm@4518
    64
  AC/AC_Equiv.thy AC/Cardinal_aux.ML AC/Cardinal_aux.thy AC/DC.ML \
wenzelm@4518
    65
  AC/DC.thy AC/DC_lemmas.ML AC/DC_lemmas.thy AC/HH.ML AC/HH.thy \
wenzelm@4518
    66
  AC/Hartog.ML AC/Hartog.thy AC/ROOT.ML AC/WO1_AC.ML AC/WO1_AC.thy \
paulson@11380
    67
  AC/WO1_WO7.ML AC/WO1_WO7.thy AC/WO2_AC16.ML \
wenzelm@4518
    68
  AC/WO2_AC16.thy AC/WO6_WO1.ML AC/WO6_WO1.thy AC/WO_AC.ML AC/WO_AC.thy \
wenzelm@4518
    69
  AC/recfunAC16.ML AC/recfunAC16.thy AC/rel_is_fun.ML AC/rel_is_fun.thy
wenzelm@2828
    70
	@$(ISATOOL) usedir $(OUT)/ZF AC
wenzelm@2500
    71
wenzelm@2500
    72
paulson@11479
    73
## ZF-Coind
wenzelm@4518
    74
paulson@11479
    75
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
wenzelm@2500
    76
paulson@12606
    77
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
paulson@12595
    78
  Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
paulson@12595
    79
  Coind/Static.thy Coind/Types.thy Coind/Values.thy
paulson@11479
    80
	@$(ISATOOL) usedir $(OUT)/ZF Coind
wenzelm@2500
    81
wenzelm@2500
    82
paulson@11479
    83
## ZF-IMP
paulson@11479
    84
paulson@11479
    85
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
paulson@11479
    86
paulson@12606
    87
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy \
paulson@12606
    88
  IMP/Denotation.thy IMP/Equiv.thy IMP/ROOT.ML
paulson@11479
    89
	@$(ISATOOL) usedir $(OUT)/ZF IMP
paulson@11479
    90
paulson@11479
    91
paulson@11479
    92
## ZF-Resid
paulson@11479
    93
paulson@11479
    94
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
paulson@11479
    95
paulson@12595
    96
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
paulson@12595
    97
  Resid/Confluence.thy  Resid/Redex.thy \
paulson@12595
    98
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
paulson@11479
    99
	@$(ISATOOL) usedir $(OUT)/ZF Resid
paulson@11479
   100
paulson@11479
   101
paulson@11479
   102
## ZF-UNITY
paulson@11479
   103
paulson@11479
   104
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
paulson@11479
   105
paulson@11479
   106
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
paulson@11479
   107
  UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
paulson@11479
   108
  UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
paulson@11479
   109
  UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
paulson@11479
   110
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
paulson@11479
   111
  UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
paulson@11479
   112
  UNITY/WFair.ML UNITY/WFair.thy
paulson@11479
   113
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
paulson@11479
   114
paulson@11479
   115
paulson@12088
   116
## ZF-Induct
paulson@12088
   117
paulson@12088
   118
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
paulson@12088
   119
paulson@12560
   120
$(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
paulson@12560
   121
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
paulson@12560
   122
  Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
wenzelm@12229
   123
  Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
paulson@12560
   124
  Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
wenzelm@12207
   125
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
paulson@12088
   126
	@$(ISATOOL) usedir $(OUT)/ZF Induct
paulson@12088
   127
wenzelm@12175
   128
paulson@12088
   129
## ZF-ex
paulson@12088
   130
paulson@12088
   131
ZF-ex: ZF $(LOG)/ZF-ex.gz
paulson@12088
   132
wenzelm@12186
   133
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
paulson@12606
   134
  ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
paulson@12606
   135
  ex/Limit.ML ex/Limit.thy ex/LList.thy ex/Primes.thy \
paulson@12606
   136
  ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
paulson@12088
   137
	@$(ISATOOL) usedir $(OUT)/ZF ex
paulson@12088
   138
paulson@12088
   139
wenzelm@4518
   140
## clean
wenzelm@4447
   141
wenzelm@4447
   142
clean:
paulson@11479
   143
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
paulson@11479
   144
	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
paulson@11479
   145
	  $(LOG)/ZF-UNITY.gz