author | nipkow |
Wed, 26 Mar 1997 17:58:48 +0100 | |
changeset 2841 | c2508f4ab739 |
parent 2828 | 13136dc7b9d0 |
child 3028 | 45204c79ad1d |
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\ |
|
2841
c2508f4ab739
Added "discrete" CPOs and modified IMP to use those rather than "lift"
nipkow
parents:
2828
diff
changeset
|
19 |
Discrete0.thy Discrete1.thy Discrete.thy\ |
2640 | 20 |
Lift1.thy Lift2.thy Lift3.thy HOLCF.thy |
2494 | 21 |
|
2640 | 22 |
ONLYTHYS = Lift.thy |
23 |
||
24 |
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML) |
|
2494 | 25 |
|
26 |
$(OUT)/HOLCF: $(OUT)/HOL $(FILES) |
|
2828 | 27 |
@$(ISATOOL) usedir -b -c $(OUT)/HOL HOLCF |
2494 | 28 |
@chmod -w $@ |
29 |
||
30 |
$(OUT)/HOL: |
|
31 |
@cd ../HOL; $(ISATOOL) make |
|
32 |
||
33 |
||
34 |
||
35 |
#### Tests and examples |
|
36 |
||
2797 | 37 |
## IMP |
38 |
||
39 |
IMP_THYS = IMP/Denotational.thy |
|
40 |
IMP_FILES = IMP/ROOT.ML $(IMP_THYS) $(IMP_THYS:.thy=.ML) |
|
41 |
||
42 |
IMP: $(OUT)/HOLCF $(IMP_FILES) |
|
2828 | 43 |
@$(ISATOOL) usedir $(OUT)/HOLCF IMP |
2797 | 44 |
|
2494 | 45 |
## Miscellaneous examples |
46 |
||
2571
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
47 |
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
|
48 |
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
|
49 |
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
|
50 |
ex/Hoare.thy ex/Loop.thy |
2494 | 51 |
|
52 |
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML) |
|
53 |
||
2797 | 54 |
EX: ex/ROOT.ML $(EX_FILES) |
2828 | 55 |
@$(ISATOOL) usedir $(OUT)/HOLCF ex |
2494 | 56 |
|
2797 | 57 |
## Full test |
58 |
||
59 |
test: $(OUT)/HOLCF IMP EX |
|
60 |
echo 'Test examples ran successfully' > test |
|
61 |
||
2494 | 62 |
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF |