src/ZF/IsaMakefile
author paulson
Sat Jun 22 18:28:46 2002 +0200 (2002-06-22)
changeset 13239 f599984ec4c2
parent 13225 b6fc6e4a0a24
child 13240 bb5f4faea1f3
permissions -rw-r--r--
converted Bool, Trancl, Rel to Isar format
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@13225
    13
test: ZF-AC ZF-Coind ZF-Constructible 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
paulson@13163
    31
$(OUT)/ZF: $(OUT)/FOL AC.thy Arith.thy ArithSimp.ML	\
paulson@13239
    32
  ArithSimp.thy Bool.thy Cardinal.thy		\
paulson@13216
    33
  CardinalArith.thy Cardinal_AC.thy \
paulson@13194
    34
  Datatype.ML Datatype.thy Epsilon.thy Finite.thy	\
paulson@13218
    35
  Fixedpt.thy Inductive.ML Inductive.thy 	\
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@13171
    40
  Main_ZFC.ML Main_ZFC.thy Nat.thy Order.thy OrderArith.thy	\
paulson@13176
    41
  OrderType.thy Ordinal.thy OrdQuant.thy Perm.thy	\
paulson@13239
    42
  QPair.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Sum.ML	\
wenzelm@12425
    43
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
wenzelm@12425
    44
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
wenzelm@12425
    45
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
paulson@13239
    46
  Trancl.thy Univ.thy Update.thy \
paulson@13168
    47
  WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
wenzelm@12425
    48
  ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
wenzelm@12425
    49
  subset.ML subset.thy thy_syntax.ML upair.ML upair.thy
wenzelm@6213
    50
	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
wenzelm@2500
    51
wenzelm@2500
    52
wenzelm@4518
    53
## ZF-AC
wenzelm@2500
    54
wenzelm@4518
    55
ZF-AC: ZF $(LOG)/ZF-AC.gz
wenzelm@2500
    56
paulson@11380
    57
$(LOG)/ZF-AC.gz: $(OUT)/ZF \
paulson@12776
    58
  AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
paulson@12776
    59
  AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy \
paulson@12776
    60
  AC/AC_Equiv.thy AC/Cardinal_aux.thy \
paulson@12776
    61
  AC/DC.thy AC/HH.thy AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy \
paulson@12776
    62
  AC/WO2_AC16.thy AC/WO6_WO1.thy 
wenzelm@2828
    63
	@$(ISATOOL) usedir $(OUT)/ZF AC
wenzelm@2500
    64
wenzelm@2500
    65
paulson@11479
    66
## ZF-Coind
wenzelm@4518
    67
paulson@11479
    68
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
wenzelm@2500
    69
paulson@12606
    70
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
paulson@12595
    71
  Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
paulson@12595
    72
  Coind/Static.thy Coind/Types.thy Coind/Values.thy
paulson@11479
    73
	@$(ISATOOL) usedir $(OUT)/ZF Coind
wenzelm@2500
    74
wenzelm@2500
    75
paulson@13225
    76
## ZF-Constructible
paulson@13225
    77
paulson@13225
    78
ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
paulson@13225
    79
paulson@13225
    80
$(LOG)/ZF-Constructible.gz: $(OUT)/ZF  Constructible/ROOT.ML \
paulson@13225
    81
  Constructible/Formula.thy     Constructible/Relative.thy \
paulson@13225
    82
  Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
paulson@13225
    83
  Constructible/Normal.thy      Constructible/WF_absolute.thy \
paulson@13225
    84
  Constructible/Reflection.thy  Constructible/WFrec.thy
paulson@13225
    85
	@$(ISATOOL) usedir $(OUT)/ZF Constructible
paulson@13225
    86
paulson@13225
    87
paulson@11479
    88
## ZF-IMP
paulson@11479
    89
paulson@11479
    90
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
paulson@11479
    91
wenzelm@12610
    92
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
wenzelm@12610
    93
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
paulson@11479
    94
	@$(ISATOOL) usedir $(OUT)/ZF IMP
paulson@11479
    95
paulson@11479
    96
paulson@11479
    97
## ZF-Resid
paulson@11479
    98
paulson@11479
    99
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
paulson@11479
   100
paulson@12595
   101
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
paulson@12595
   102
  Resid/Confluence.thy  Resid/Redex.thy \
paulson@12595
   103
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
paulson@11479
   104
	@$(ISATOOL) usedir $(OUT)/ZF Resid
paulson@11479
   105
paulson@11479
   106
paulson@11479
   107
## ZF-UNITY
paulson@11479
   108
paulson@11479
   109
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
paulson@11479
   110
paulson@11479
   111
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
paulson@11479
   112
  UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
paulson@11479
   113
  UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
paulson@11479
   114
  UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
paulson@11479
   115
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
paulson@11479
   116
  UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
paulson@11479
   117
  UNITY/WFair.ML UNITY/WFair.thy
paulson@11479
   118
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
paulson@11479
   119
paulson@11479
   120
paulson@12088
   121
## ZF-Induct
paulson@12088
   122
paulson@12088
   123
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
paulson@12088
   124
paulson@12560
   125
$(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
paulson@12560
   126
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
paulson@12560
   127
  Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
wenzelm@12229
   128
  Induct/ListN.thy Induct/Multiset.ML Induct/Multiset.thy Induct/Mutil.thy \
paulson@12560
   129
  Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
wenzelm@12207
   130
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
paulson@12088
   131
	@$(ISATOOL) usedir $(OUT)/ZF Induct
paulson@12088
   132
wenzelm@12175
   133
paulson@12088
   134
## ZF-ex
paulson@12088
   135
paulson@12088
   136
ZF-ex: ZF $(LOG)/ZF-ex.gz
paulson@12088
   137
wenzelm@12186
   138
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
paulson@12606
   139
  ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy \
paulson@13085
   140
  ex/Limit.thy ex/LList.thy ex/Primes.thy \
paulson@12606
   141
  ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
paulson@12088
   142
	@$(ISATOOL) usedir $(OUT)/ZF ex
paulson@12088
   143
paulson@12088
   144
wenzelm@4518
   145
## clean
wenzelm@4447
   146
wenzelm@4447
   147
clean:
paulson@11479
   148
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
paulson@13225
   149
	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
paulson@13225
   150
          $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
paulson@11479
   151
	  $(LOG)/ZF-UNITY.gz