author | lcp |
Tue, 16 Aug 1994 18:53:29 +0200 | |
changeset 531 | e24f47f8938e |
parent 530 | 2eb142800801 |
child 578 | efc648d29dd0 |
permissions | -rw-r--r-- |
0 | 1 |
######################################################################### |
2 |
# # |
|
3 |
# Makefile for Isabelle (ZF) # |
|
4 |
# # |
|
5 |
######################################################################### |
|
6 |
||
7 |
#To make the system, cd to this directory and type |
|
8 |
# make -f Makefile |
|
9 |
#To make the system and test it on standard examples, type |
|
10 |
# make -f Makefile test |
|
11 |
||
12 |
#Environment variable ISABELLECOMP specifies the compiler. |
|
13 |
#Environment variable ISABELLEBIN specifies the destination directory. |
|
14 |
#For Poly/ML, ISABELLEBIN must begin with a / |
|
15 |
||
16 |
#Makes FOL if this file is ABSENT -- but not |
|
17 |
#if it is out of date, since this Makefile does not know its dependencies! |
|
18 |
||
19 |
BIN = $(ISABELLEBIN) |
|
20 |
COMP = $(ISABELLECOMP) |
|
530 | 21 |
FILES = ROOT.ML ZF.thy ZF.ML upair.thy upair.ML subset.thy subset.ML \ |
22 |
pair.thy pair.ML domrange.thy domrange.ML \ |
|
23 |
func.thy func.ML AC.thy AC.ML simpdata.thy simpdata.ML\ |
|
24 |
equalities.thy equalities.ML Bool.thy Bool.ML \ |
|
342 | 25 |
Sum.thy Sum.ML QPair.thy QPair.ML mono.ML Fixedpt.thy Fixedpt.ML \ |
530 | 26 |
ind_syntax.thy ind_syntax.ML add_ind_def.thy add_ind_def.ML \ |
531
e24f47f8938e
ZF/Makefile,ROOT.ML, ZF/ex/Integ.thy: updated for EquivClass
lcp
parents:
530
diff
changeset
|
27 |
intr_elim.thy intr_elim.ML indrule.thy indrule.ML \ |
530 | 28 |
inductive.thy inductive.ML \ |
531
e24f47f8938e
ZF/Makefile,ROOT.ML, ZF/ex/Integ.thy: updated for EquivClass
lcp
parents:
530
diff
changeset
|
29 |
Perm.thy Perm.ML Rel.thy Rel.ML EquivClass.ML EquivClass.thy \ |
e24f47f8938e
ZF/Makefile,ROOT.ML, ZF/ex/Integ.thy: updated for EquivClass
lcp
parents:
530
diff
changeset
|
30 |
Trancl.thy Trancl.ML \ |
435 | 31 |
WF.thy WF.ML Order.thy Order.ML Ordinal.thy Ordinal.ML \ |
488 | 32 |
Epsilon.thy Epsilon.ML Arith.thy Arith.ML Univ.thy Univ.ML \ |
33 |
QUniv.thy QUniv.ML constructor.ML Datatype.thy Datatype.ML \ |
|
467 | 34 |
OrderArith.thy OrderArith.ML OrderType.thy OrderType.ML \ |
435 | 35 |
Cardinal.thy Cardinal.ML CardinalArith.thy CardinalArith.ML \ |
488 | 36 |
Cardinal_AC.thy Cardinal_AC.ML InfDatatype.thy InfDatatype.ML \ |
516 | 37 |
Zorn.thy Zorn.ML Nat.thy Nat.ML Finite.thy Finite.ML \ |
38 |
List.thy List.ML |
|
0 | 39 |
|
516 | 40 |
IMP_FILES = IMP/ROOT.ML IMP/Com.ML IMP/Com.thy IMP/Denotation.ML\ |
41 |
IMP/Denotation.thy IMP/Equiv.ML IMP/Equiv.thy |
|
483 | 42 |
|
516 | 43 |
EX_FILES = ex/ROOT.ML ex/misc.ML ex/Ramsey.ML ex/Ramsey.thy\ |
531
e24f47f8938e
ZF/Makefile,ROOT.ML, ZF/ex/Integ.thy: updated for EquivClass
lcp
parents:
530
diff
changeset
|
44 |
ex/Integ.ML ex/Integ.thy\ |
516 | 45 |
ex/twos_compl.ML ex/Bin.thy ex/Bin.ML\ |
46 |
ex/BT.thy ex/BT.ML ex/Term.thy ex/Term.ML \ |
|
47 |
ex/TF.thy ex/TF.ML ex/Ntree.thy ex/Ntree.ML \ |
|
48 |
ex/Brouwer.thy ex/Brouwer.ML \ |
|
49 |
ex/Data.thy ex/Data.ML ex/Enum.thy ex/Enum.ML \ |
|
50 |
ex/Rmap.thy ex/Rmap.ML ex/PropLog.ML ex/PropLog.thy \ |
|
51 |
ex/ListN.thy ex/ListN.ML ex/Acc.thy ex/Acc.ML\ |
|
52 |
ex/Comb.thy ex/Comb.ML ex/Primrec.thy ex/Primrec.ML\ |
|
53 |
ex/LList.thy ex/LList.ML ex/CoUnit.thy ex/CoUnit.ML |
|
102 | 54 |
|
0 | 55 |
#Uses cp rather than make_database because Poly/ML allows only 3 levels |
56 |
$(BIN)/ZF: $(BIN)/FOL $(FILES) |
|
57 |
case "$(COMP)" in \ |
|
58 |
poly*) cp $(BIN)/FOL $(BIN)/ZF;\ |
|
82
b9ac34abc054
no longer specifies "-h 15000". Instead $ISABELLECOMP should
lcp
parents:
75
diff
changeset
|
59 |
echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/ZF ;;\ |
0 | 60 |
sml*) echo 'use"ROOT.ML"; xML"$(BIN)/ZF" banner;' | $(BIN)/FOL;;\ |
435 | 61 |
*) echo Bad value for ISABELLECOMP: \ |
62 |
$(COMP) is not poly or sml;;\ |
|
0 | 63 |
esac |
64 |
||
65 |
$(BIN)/FOL: |
|
66 |
cd ../FOL; $(MAKE) |
|
67 |
||
488 | 68 |
#Directory IMP also tests the system |
69 |
#Load ex/ROOT.ML last since it creates the file "test" |
|
70 |
test: $(BIN)/ZF $(IMP_FILES) $(EX_FILES) |
|
0 | 71 |
case "$(COMP)" in \ |
483 | 72 |
poly*) echo 'use"IMP/ROOT.ML"; use"ex/ROOT.ML"; quit();' | \ |
73 |
$(COMP) $(BIN)/ZF ;;\ |
|
74 |
sml*) echo 'use"IMP/ROOT.ML"; use"ex/ROOT.ML";' | $(BIN)/ZF;;\ |
|
435 | 75 |
*) echo Bad value for ISABELLECOMP: \ |
76 |
$(COMP) is not poly or sml;;\ |
|
0 | 77 |
esac |
78 |
||
79 |
.PRECIOUS: $(BIN)/FOL $(BIN)/ZF |