author | lcp |
Tue, 09 Nov 1993 16:09:34 +0100 | |
changeset 101 | d4730dd72226 |
parent 59 | ab555029f583 |
child 334 | 9411dc57c56b |
permissions | -rw-r--r-- |
0 | 1 |
######################################################################### |
2 |
# # |
|
3 |
# Makefile for Isabelle (CCL) # |
|
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) |
|
21 |
||
22 |
SET_FILES = ROOT.ML set.thy set.ML subset.ML equalities.ML mono.ML \ |
|
23 |
gfp.thy gfp.ML lfp.thy lfp.ML |
|
24 |
||
59
ab555029f583
renamed: terms.* to term.*, types.* to type.*, wf.* to wfd.*
clasohm
parents:
0
diff
changeset
|
25 |
CCL_FILES = ccl.thy ccl.ML term.thy term.ML type.thy type.ML \ |
0 | 26 |
coinduction.ML hered.thy hered.ML trancl.thy trancl.ML\ |
59
ab555029f583
renamed: terms.* to term.*, types.* to type.*, wf.* to wfd.*
clasohm
parents:
0
diff
changeset
|
27 |
wfd.thy wfd.ML genrec.ML typecheck.ML eval.ML fix.thy fix.ML |
0 | 28 |
|
101 | 29 |
EX_FILES = ex/ROOT.ML ex/flag.ML ex/flag.thy ex/list.ML ex/list.thy\ |
30 |
ex/nat.ML ex/nat.thy ex/stream.ML ex/stream.thy |
|
31 |
||
0 | 32 |
#Uses cp rather than make_database because Poly/ML allows only 3 levels |
33 |
$(BIN)/CCL: $(BIN)/FOL $(SET_FILES) $(CCL_FILES) |
|
34 |
case "$(COMP)" in \ |
|
35 |
poly*) cp $(BIN)/FOL $(BIN)/CCL;\ |
|
36 |
echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/CCL ;;\ |
|
37 |
sml*) echo 'use"ROOT.ML"; xML"$(BIN)/CCL" banner;' | $(BIN)/FOL;;\ |
|
38 |
*) echo Bad value for ISABELLECOMP;;\ |
|
39 |
esac |
|
40 |
||
41 |
$(BIN)/FOL: |
|
42 |
cd ../FOL; $(MAKE) |
|
43 |
||
101 | 44 |
test: ex/ROOT.ML $(BIN)/CCL $(EX_FILES) |
0 | 45 |
case "$(COMP)" in \ |
46 |
poly*) echo 'use"ex/ROOT.ML"; quit();' | $(COMP) $(BIN)/CCL ;;\ |
|
47 |
sml*) echo 'use"ex/ROOT.ML";' | $(BIN)/CCL;;\ |
|
48 |
*) echo Bad value for ISABELLECOMP;;\ |
|
49 |
esac |
|
50 |
||
51 |
.PRECIOUS: $(BIN)/FOL $(BIN)/CCL |