author | nipkow |
Mon, 17 Mar 1997 15:37:16 +0100 | |
changeset 2797 | 54ca927b831b |
parent 2679 | 3eac428cdd1b |
child 2828 | 13136dc7b9d0 |
permissions | -rw-r--r-- |
2494 | 1 |
# |
2 |
# $Id$ |
|
3 |
# |
|
4 |
# IsaMakefile for HOLCF |
|
5 |
# |
|
6 |
||
7 |
#### Base system |
|
8 |
||
9 |
OUT = $(ISABELLE_OUTPUT_DIR) |
|
10 |
||
2640 | 11 |
THYS = Porder.thy Porder0.thy Pcpo.thy \ |
2494 | 12 |
Fun1.thy Fun2.thy Fun3.thy \ |
13 |
Cfun1.thy Cfun2.thy Cfun3.thy Cont.thy \ |
|
14 |
Cprod1.thy Cprod2.thy Cprod3.thy \ |
|
15 |
Sprod0.thy Sprod1.thy Sprod2.thy Sprod3.thy \ |
|
16 |
Ssum0.thy Ssum1.thy Ssum2.thy Ssum3.thy \ |
|
2640 | 17 |
Up1.thy Up2.thy Up3.thy Fix.thy ccc1.thy \ |
18 |
One.thy Tr.thy\ |
|
19 |
Lift1.thy Lift2.thy Lift3.thy HOLCF.thy |
|
2494 | 20 |
|
2640 | 21 |
ONLYTHYS = Lift.thy |
22 |
||
23 |
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML) |
|
2494 | 24 |
|
25 |
$(OUT)/HOLCF: $(OUT)/HOL $(FILES) |
|
26 |
@$(ISABELLE) -e "make_html := $(ISABELLE_HTML);" -qu -c $(OUT)/HOL HOLCF |
|
27 |
@chmod -w $@ |
|
28 |
||
29 |
$(OUT)/HOL: |
|
30 |
@cd ../HOL; $(ISATOOL) make |
|
31 |
||
32 |
||
33 |
||
34 |
#### Tests and examples |
|
35 |
||
2797 | 36 |
## IMP |
37 |
||
38 |
IMP_THYS = IMP/Denotational.thy |
|
39 |
IMP_FILES = IMP/ROOT.ML $(IMP_THYS) $(IMP_THYS:.thy=.ML) |
|
40 |
||
41 |
IMP: $(OUT)/HOLCF $(IMP_FILES) |
|
42 |
@$(ISATOOL) testdir $(OUT)/HOLCF IMP |
|
43 |
||
2494 | 44 |
## Miscellaneous examples |
45 |
||
2571
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
46 |
EX_THYS = ex/Classlib.thy ex/Witness.thy\ |
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
47 |
ex/Dnat.thy ex/Dlist.thy ex/Stream.thy\ |
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
48 |
ex/Dagstuhl.thy ex/Focus_ex.thy ex/Fix2.thy\ |
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
49 |
ex/Hoare.thy ex/Loop.thy |
2494 | 50 |
|
51 |
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML) |
|
52 |
||
2797 | 53 |
EX: ex/ROOT.ML $(EX_FILES) |
2494 | 54 |
@$(ISATOOL) testdir $(OUT)/HOLCF ex |
55 |
||
2797 | 56 |
## Full test |
57 |
||
58 |
test: $(OUT)/HOLCF IMP EX |
|
59 |
echo 'Test examples ran successfully' > test |
|
60 |
||
2494 | 61 |
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF |