author | wenzelm |
Fri, 19 Aug 1994 16:09:27 +0200 | |
changeset 566 | 959cb0e329f7 |
parent 415 | e5470bf81350 |
child 954 | d3f734f66141 |
permissions | -rw-r--r-- |
0 | 1 |
######################################################################### |
2 |
# # |
|
3 |
# Makefile for Isabelle (Pure) # |
|
4 |
# # |
|
5 |
######################################################################### |
|
6 |
||
7 |
#The pure part is common to all systems. |
|
8 |
#Object-logics (like FOL) are loaded on top of it. |
|
9 |
||
10 |
#To make the system, cd to this directory and type |
|
11 |
# make -f Makefile |
|
12 |
||
13 |
#Environment variable ML_DBASE specifies the initial Poly/ML database, from |
|
14 |
# the Poly/ML distribution directory. |
|
15 |
#WARNING: Poly/ML parent databases should not be moved! |
|
16 |
||
17 |
#Environment variable ISABELLECOMP specifies the compiler. |
|
18 |
#Environment variable ISABELLEBIN specifies the destination directory. |
|
19 |
#For Poly/ML, ISABELLEBIN must begin with a / |
|
20 |
||
21 |
BIN = $(ISABELLEBIN) |
|
22 |
COMP = $(ISABELLECOMP) |
|
23 |
FILES = POLY.ML NJ.ML ROOT.ML library.ML term.ML symtab.ML type.ML sign.ML\ |
|
24 |
sequence.ML envir.ML pattern.ML unify.ML logic.ML thm.ML net.ML\ |
|
415
e5470bf81350
added axclass.ML, Syntax/mixfix.ML, Thy/thy_syn.ML;
wenzelm
parents:
408
diff
changeset
|
25 |
drule.ML tctical.ML tactic.ML goals.ML axclass.ML install_pp.ML |
0 | 26 |
|
241 | 27 |
SYNTAX_FILES = Syntax/ROOT.ML Syntax/ast.ML Syntax/lexicon.ML\ |
566 | 28 |
Syntax/parser.ML Syntax/type_ext.ML Syntax/syn_trans.ML\ |
57 | 29 |
Syntax/pretty.ML Syntax/printer.ML Syntax/syntax.ML\ |
415
e5470bf81350
added axclass.ML, Syntax/mixfix.ML, Thy/thy_syn.ML;
wenzelm
parents:
408
diff
changeset
|
30 |
Syntax/syn_ext.ML Syntax/mixfix.ML |
0 | 31 |
|
415
e5470bf81350
added axclass.ML, Syntax/mixfix.ML, Thy/thy_syn.ML;
wenzelm
parents:
408
diff
changeset
|
32 |
THY_FILES = Thy/ROOT.ML Thy/thy_scan.ML Thy/thy_parse.ML\ |
e5470bf81350
added axclass.ML, Syntax/mixfix.ML, Thy/thy_syn.ML;
wenzelm
parents:
408
diff
changeset
|
33 |
Thy/thy_syn.ML Thy/thy_read.ML |
0 | 34 |
|
35 |
#Uses cp rather than make_database because Poly/ML allows only 3 levels |
|
36 |
$(BIN)/Pure: $(FILES) $(SYNTAX_FILES) $(THY_FILES) $(ML_DBASE) |
|
37 |
case "$(COMP)" in \ |
|
38 |
poly*) echo database=$${ML_DBASE:?'No Poly/ML database specified'};\ |
|
39 |
cp $(ML_DBASE) $(BIN)/Pure; chmod u+w $(BIN)/Pure;\ |
|
40 |
echo 'PolyML.use"POLY";use"ROOT";' | $(COMP) $(BIN)/Pure;;\ |
|
41 |
sml*) if [ ! '(' -d $${ISABELLEBIN:?} -a -w $${ISABELLEBIN:?} ')' ];\ |
|
408 | 42 |
then echo Bad value for ISABELLEBIN: \ |
0 | 43 |
$(BIN) is not a writable directory; \ |
44 |
exit 1; \ |
|
45 |
fi;\ |
|
46 |
echo 'use"NJ.ML"; use"ROOT.ML"; xML"$(BIN)/Pure" banner;'\ |
|
47 |
| $(COMP);;\ |
|
408 | 48 |
*) echo Bad value for ISABELLECOMP: \ |
49 |
$(COMP) is not poly or sml;;\ |
|
0 | 50 |
esac |
51 |
||
52 |
.PRECIOUS: $(BIN)/Pure |