0
|
1 |
#########################################################################
|
|
2 |
# #
|
|
3 |
# Makefile for Isabelle (FOLP) #
|
|
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)
|
337
|
21 |
FILES = ROOT.ML IFOLP.thy IFOLP.ML FOLP.thy FOLP.ML intprover.ML simpdata.ML\
|
0
|
22 |
classical.ML ../Provers/simp.ML ../Provers/ind.ML
|
|
23 |
|
337
|
24 |
EX_FILES = ex/ROOT.ML ex/cla.ML ex/foundn.ML ex/If.ML ex/If.thy ex/int.ML\
|
|
25 |
ex/intro.ML ex/Nat.ML ex/Nat.thy ex/Prolog.ML ex/Prolog.thy\
|
101
|
26 |
ex/prop.ML ex/quant.ML
|
|
27 |
|
0
|
28 |
$(BIN)/FOLP: $(BIN)/Pure $(FILES)
|
|
29 |
case "$(COMP)" in \
|
|
30 |
poly*) echo 'make_database"$(BIN)/FOLP"; quit();' \
|
|
31 |
| $(COMP) $(BIN)/Pure;\
|
|
32 |
echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/FOLP;;\
|
|
33 |
sml*) echo 'use"ROOT.ML"; xML"$(BIN)/FOLP" banner;' | $(BIN)/Pure;;\
|
|
34 |
*) echo Bad value for ISABELLECOMP;;\
|
|
35 |
esac
|
|
36 |
|
|
37 |
$(BIN)/Pure:
|
|
38 |
cd ../Pure; $(MAKE)
|
|
39 |
|
101
|
40 |
test: ex/ROOT.ML $(BIN)/FOLP $(EX_FILES)
|
0
|
41 |
case "$(COMP)" in \
|
|
42 |
poly*) echo 'use"ex/ROOT.ML"; quit();' | $(COMP) $(BIN)/FOLP ;;\
|
|
43 |
sml*) echo 'use"ex/ROOT.ML";' | $(BIN)/FOLP;;\
|
|
44 |
*) echo Bad value for ISABELLECOMP;;\
|
|
45 |
esac
|
|
46 |
|
|
47 |
.PRECIOUS: $(BIN)/Pure $(BIN)/FOLP
|