author | nipkow |
Fri, 02 Dec 1994 11:43:20 +0100 | |
changeset 194 | b93cc55cb7ab |
parent 192 | 2adddba98924 |
child 209 | cc7ad90039b9 |
permissions | -rw-r--r-- |
0 | 1 |
######################################################################### |
2 |
# # |
|
3 |
# Makefile for Isabelle (HOL) # |
|
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 pure Isabelle (Pure) 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) |
|
69 | 21 |
FILES = ROOT.ML HOL.thy HOL.ML simpdata.ML Ord.thy Ord.ML \ |
119 | 22 |
Set.thy Set.ML Fun.thy Fun.ML subset.thy subset.ML \ |
192 | 23 |
equalities.thy equalities.ML thy_syntax.ML \ |
176 | 24 |
Prod.thy Prod.ML Trancl.ML Trancl.thy Sum.thy Sum.ML WF.thy WF.ML \ |
119 | 25 |
mono.thy mono.ML Lfp.thy Lfp.ML Gfp.thy Gfp.ML Nat.thy Nat.ML \ |
189 | 26 |
add_ind_def.ML ind_syntax.ML indrule.ML Inductive.ML Inductive.thy \ |
129 | 27 |
intr_elim.ML datatype.ML ../Pure/section_utils.ML\ |
128 | 28 |
Finite.ML Finite.thy\ |
78 | 29 |
Arith.thy Arith.ML Sexp.thy Sexp.ML Univ.thy Univ.ML \ |
148 | 30 |
List.thy List.ML \ |
0 | 31 |
../Provers/classical.ML ../Provers/simplifier.ML \ |
32 |
../Provers/splitter.ML ../Provers/ind.ML |
|
33 |
||
133
4a2bb4fbc168
Added IMP, which necessiated changes in intr_elim.tex (mk_cases).
nipkow
parents:
129
diff
changeset
|
34 |
IMP_FILES = IMP/ROOT.ML IMP/Com.ML IMP/Com.thy IMP/Denotation.ML\ |
189 | 35 |
IMP/Denotation.thy IMP/Equiv.ML IMP/Equiv.thy\ |
36 |
IMP/Properties.thy IMP/Properties.ML |
|
133
4a2bb4fbc168
Added IMP, which necessiated changes in intr_elim.tex (mk_cases).
nipkow
parents:
129
diff
changeset
|
37 |
|
157 | 38 |
IOA_FILES = IOA/ROOT.ML IOA/example/Action.ML IOA/example/Action.thy\ |
39 |
IOA/example/Channels.ML IOA/example/Channels.thy\ |
|
40 |
IOA/example/Correctness.ML IOA/example/Correctness.thy\ |
|
41 |
IOA/example/Impl.ML IOA/example/Impl.thy IOA/example/Lemmas.ML\ |
|
42 |
IOA/example/Lemmas.thy IOA/example/Multiset.ML\ |
|
43 |
IOA/example/Multiset.thy IOA/example/Packet.thy\ |
|
44 |
IOA/example/Receiver.ML IOA/example/Receiver.thy\ |
|
45 |
IOA/example/Sender.ML IOA/example/Sender.thy IOA/example/Spec.thy\ |
|
46 |
IOA/meta_theory/Asig.thy IOA/meta_theory/IOA.ML\ |
|
47 |
IOA/meta_theory/IOA.thy IOA/meta_theory/Option.ML\ |
|
48 |
IOA/meta_theory/Option.thy IOA/meta_theory/Solve.ML\ |
|
49 |
IOA/meta_theory/Solve.thy |
|
50 |
||
128 | 51 |
EX_FILES = ex/ROOT.ML ex/cla.ML \ |
69 | 52 |
ex/LexProd.ML ex/LexProd.thy ex/meson.ML ex/mesontest.ML\ |
128 | 53 |
ex/MT.ML ex/MT.thy ex/Acc.ML ex/Acc.thy \ |
129 | 54 |
ex/PropLog.ML ex/PropLog.thy ex/Puzzle.ML ex/Puzzle.thy\ |
148 | 55 |
ex/Qsort.thy ex/Qsort.ML ex/LList.thy ex/LList.ML \ |
69 | 56 |
ex/Rec.ML ex/Rec.thy ex/rel.ML ex/set.ML ex/Simult.ML ex/Simult.thy\ |
57 |
ex/Term.ML ex/Term.thy |
|
16 | 58 |
|
69 | 59 |
SUBST_FILES = Subst/ROOT.ML Subst/AList.ML Subst/AList.thy\ |
60 |
Subst/Setplus.ML Subst/Setplus.thy\ |
|
97 | 61 |
Subst/Subst.ML Subst/Subst.thy\ |
62 |
Subst/Unifier.ML Subst/Unifier.thy\ |
|
69 | 63 |
Subst/UTerm.ML Subst/UTerm.thy\ |
64 |
Subst/UTLemmas.ML Subst/UTLemmas.thy |
|
16 | 65 |
|
0 | 66 |
$(BIN)/HOL: $(BIN)/Pure $(FILES) |
78 | 67 |
if [ -d $${ISABELLEBIN:?}/Pure ];\ |
68 |
then echo Bad value for ISABELLEBIN: \ |
|
69 |
$(BIN) is the Isabelle source directory; \ |
|
70 |
exit 1; \ |
|
71 |
fi;\ |
|
0 | 72 |
case "$(COMP)" in \ |
73 |
poly*) echo 'make_database"$(BIN)/HOL"; quit();' \ |
|
74 |
| $(COMP) $(BIN)/Pure;\ |
|
75 |
echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/HOL ;;\ |
|
76 |
sml*) echo 'use"ROOT.ML"; xML"$(BIN)/HOL" banner;' | $(BIN)/Pure ;;\ |
|
78 | 77 |
*) echo Bad value for ISABELLECOMP: \ |
78 |
$(COMP) is not poly or sml;;\ |
|
0 | 79 |
esac |
80 |
||
81 |
$(BIN)/Pure: |
|
82 |
cd ../Pure; $(MAKE) |
|
83 |
||
133
4a2bb4fbc168
Added IMP, which necessiated changes in intr_elim.tex (mk_cases).
nipkow
parents:
129
diff
changeset
|
84 |
#Directories IMP and Subst also test the system |
97 | 85 |
#Load ex/ROOT.ML last since it creates the file "test" |
157 | 86 |
test: $(BIN)/HOL $(IMP_FILES) $(IOA_FILES) $(SUBST_FILES) $(EX_FILES) |
0 | 87 |
case "$(COMP)" in \ |
164 | 88 |
poly*) echo '(use"IMP/ROOT.ML"; use"IOA/ROOT.ML"; use"Subst/ROOT.ML"; use"ex/ROOT.ML"); quit();' \ |
0 | 89 |
| $(COMP) $(BIN)/HOL ;;\ |
170
3a8d722fd3ff
HOL,ZF/Makefile: enclosed multiple "use" calls in parentheses. This
lcp
parents:
164
diff
changeset
|
90 |
sml*) echo '(use"IMP/ROOT.ML"; use"IOA/ROOT.ML"; use"Subst/ROOT.ML"; use"ex/ROOT.ML");' | $(BIN)/HOL;;\ |
78 | 91 |
*) echo Bad value for ISABELLECOMP: \ |
92 |
$(COMP) is not poly or sml;;\ |
|
0 | 93 |
esac |
94 |
||
95 |
.PRECIOUS: $(BIN)/Pure $(BIN)/HOL |