src/ZF/IsaMakefile
author wenzelm
Mon Jul 07 09:09:21 1997 +0200 (1997-07-07)
changeset 3505 1cb4ea47d967
parent 3118 24dae6222579
child 4447 b7ee449eb345
permissions -rw-r--r--
eliminated chmod -w;
wenzelm@2500
     1
#
wenzelm@2500
     2
# $Id$
wenzelm@2500
     3
#
wenzelm@2500
     4
# IsaMakefile for ZF
wenzelm@2500
     5
#
wenzelm@2500
     6
wenzelm@2500
     7
#### Base system
wenzelm@2500
     8
wenzelm@3118
     9
OUT = $(ISABELLE_OUTPUT)
wenzelm@2500
    10
wenzelm@2500
    11
NAMES = ZF upair subset pair domrange \
wenzelm@2500
    12
	func AC equalities Bool \
wenzelm@2500
    13
	Sum QPair mono Fixedpt ind_syntax cartprod add_ind_def \
wenzelm@2500
    14
	constructor intr_elim indrule Inductive Perm Rel EquivClass Trancl \
wenzelm@2500
    15
	WF Order Ordinal Epsilon Arith Univ \
wenzelm@2500
    16
	QUniv Datatype OrderArith OrderType \
wenzelm@2500
    17
	Cardinal CardinalArith Cardinal_AC InfDatatype \
wenzelm@2500
    18
	Zorn Nat Finite List
wenzelm@2500
    19
wenzelm@2500
    20
FILES = ROOT.ML thy_syntax.ML ../Pure/section_utils.ML simpdata.ML typechk.ML \
wenzelm@2500
    21
	$(NAMES:%=%.thy) $(NAMES:%=%.ML)
wenzelm@2500
    22
wenzelm@2500
    23
$(OUT)/ZF: $(OUT)/FOL $(FILES)
wenzelm@3057
    24
	@$(ISATOOL) usedir -b $(OUT)/FOL ZF
wenzelm@2500
    25
wenzelm@2500
    26
$(OUT)/FOL:
wenzelm@2500
    27
	@cd ../FOL; $(ISATOOL) make
wenzelm@2500
    28
wenzelm@2500
    29
wenzelm@2500
    30
wenzelm@2500
    31
#### Tests and examples
wenzelm@2500
    32
wenzelm@2500
    33
## IMP-semantics example
wenzelm@2500
    34
wenzelm@2500
    35
IMP_NAMES = Com Denotation Equiv
wenzelm@2500
    36
IMP_FILES = IMP/ROOT.ML $(IMP_NAMES:%=IMP/%.thy) $(IMP_NAMES:%=IMP/%.ML)
wenzelm@2500
    37
wenzelm@2500
    38
IMP: $(OUT)/ZF $(IMP_FILES)
wenzelm@2828
    39
	@$(ISATOOL) usedir $(OUT)/ZF IMP
wenzelm@2500
    40
wenzelm@2500
    41
wenzelm@2500
    42
## Coinduction example
wenzelm@2500
    43
wenzelm@2500
    44
COIND_NAMES = ECR MT Map Static Types Values
wenzelm@2500
    45
wenzelm@2500
    46
COIND_FILES = Coind/ROOT.ML Coind/Language.thy Coind/BCR.thy Coind/Dynamic.thy \
wenzelm@2500
    47
	      $(COIND_NAMES:%=Coind/%.thy) $(COIND_NAMES:%=Coind/%.ML)
wenzelm@2500
    48
wenzelm@2500
    49
Coind: $(OUT)/ZF $(COIND_FILES)
wenzelm@2828
    50
	@$(ISATOOL) usedir $(OUT)/ZF Coind
wenzelm@2500
    51
wenzelm@2500
    52
wenzelm@2500
    53
## AC examples
wenzelm@2500
    54
wenzelm@2500
    55
AC_NAMES = AC_Equiv Cardinal_aux \
wenzelm@2500
    56
	   AC15_WO6 AC16_WO4 AC16_lemmas AC17_AC1 AC18_AC19 AC1_WO2 \
wenzelm@2500
    57
	   DC DC_lemmas HH Hartog WO1_AC \
wenzelm@2500
    58
	   WO2_AC16 WO6_WO1 WO_AC recfunAC16 rel_is_fun
wenzelm@2500
    59
wenzelm@2500
    60
AC_FILES = AC/ROOT.ML AC/AC0_AC1.ML AC/AC10_AC15.ML AC/AC1_AC17.ML \
wenzelm@2500
    61
	   AC/AC2_AC6.ML AC/AC7_AC9.ML \
wenzelm@2500
    62
	   AC/WO1_WO6.ML AC/WO1_WO7.ML AC/WO1_WO8.ML \
wenzelm@2500
    63
	   $(AC_NAMES:%=AC/%.thy) $(AC_NAMES:%=AC/%.ML)
wenzelm@2500
    64
wenzelm@2500
    65
AC: $(OUT)/ZF $(AC_FILES)
wenzelm@2828
    66
	@$(ISATOOL) usedir $(OUT)/ZF AC
wenzelm@2500
    67
wenzelm@2500
    68
wenzelm@2500
    69
## Residuals example
wenzelm@2500
    70
wenzelm@2500
    71
RESID_NAMES = Confluence Redex SubUnion Conversion Reduction Substitution \
wenzelm@2500
    72
	      Cube Residuals Terms
wenzelm@2500
    73
wenzelm@2500
    74
RESID_FILES = Resid/ROOT.ML $(RESID_NAMES:%=Resid/%.thy) $(RESID_NAMES:%=Resid/%.ML)
wenzelm@2500
    75
wenzelm@2500
    76
Resid: $(OUT)/ZF $(RESID_FILES)
wenzelm@2828
    77
	@$(ISATOOL) usedir $(OUT)/ZF Resid
wenzelm@2500
    78
wenzelm@2500
    79
wenzelm@2500
    80
## Miscellaneous examples
wenzelm@2500
    81
wenzelm@2500
    82
EX_NAMES = Primes Ramsey Limit Integ twos_compl Bin BT Term TF Ntree Brouwer \
wenzelm@2500
    83
	   Data Enum Rmap Mutil PropLog ListN Acc Comb Primrec LList CoUnit
wenzelm@2500
    84
wenzelm@2500
    85
EX_FILES = ex/ROOT.ML ex/misc.ML $(EX_NAMES:%=ex/%.thy) $(EX_NAMES:%=ex/%.ML)
wenzelm@2500
    86
wenzelm@2500
    87
ex: $(OUT)/ZF $(EX_FILES)
wenzelm@2828
    88
	@$(ISATOOL) usedir $(OUT)/ZF ex
wenzelm@2500
    89
wenzelm@2500
    90
wenzelm@2500
    91
## Full test
wenzelm@2500
    92
wenzelm@2500
    93
test: $(OUT)/ZF IMP Coind AC Resid ex
wenzelm@2500
    94
	echo 'Test examples ran successfully' > test
wenzelm@2500
    95
wenzelm@2500
    96
.PRECIOUS: $(OUT)/FOL $(OUT)/ZF