author | wenzelm |
Thu, 24 Apr 1997 18:44:32 +0200 | |
changeset 3043 | 63a77d6b7eca |
parent 3028 | 45204c79ad1d |
child 3057 | a5a42ff18a40 |
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\ |
3028 | 20 |
Lift1.thy Lift2.thy Lift3.thy HOLCF.thy |
2494 | 21 |
|
2640 | 22 |
ONLYTHYS = Lift.thy |
23 |
||
3028 | 24 |
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML) \ |
3043 | 25 |
ax_ops/holcflogic.ML ax_ops/thy_axioms.ML \ |
3028 | 26 |
ax_ops/thy_ops.ML ax_ops/thy_syntax.ML \ |
27 |
domain/library.ML domain/syntax.ML domain/axioms.ML \ |
|
28 |
domain/theorems.ML domain/extender.ML domain/interface.ML |
|
2494 | 29 |
|
30 |
$(OUT)/HOLCF: $(OUT)/HOL $(FILES) |
|
2828 | 31 |
@$(ISATOOL) usedir -b -c $(OUT)/HOL HOLCF |
2494 | 32 |
@chmod -w $@ |
33 |
||
34 |
$(OUT)/HOL: |
|
35 |
@cd ../HOL; $(ISATOOL) make |
|
36 |
||
37 |
||
38 |
||
39 |
#### Tests and examples |
|
40 |
||
2797 | 41 |
## IMP |
42 |
||
43 |
IMP_THYS = IMP/Denotational.thy |
|
44 |
IMP_FILES = IMP/ROOT.ML $(IMP_THYS) $(IMP_THYS:.thy=.ML) |
|
45 |
||
46 |
IMP: $(OUT)/HOLCF $(IMP_FILES) |
|
2828 | 47 |
@$(ISATOOL) usedir $(OUT)/HOLCF IMP |
2797 | 48 |
|
2494 | 49 |
## Miscellaneous examples |
50 |
||
2571
b9f641195b48
reflecting the changes made in HOLCF/ex and HOLCF/explicit_domains
oheimb
parents:
2494
diff
changeset
|
51 |
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
|
52 |
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
|
53 |
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
|
54 |
ex/Hoare.thy ex/Loop.thy |
2494 | 55 |
|
56 |
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML) |
|
57 |
||
2797 | 58 |
EX: ex/ROOT.ML $(EX_FILES) |
2828 | 59 |
@$(ISATOOL) usedir $(OUT)/HOLCF ex |
2494 | 60 |
|
2797 | 61 |
## Full test |
62 |
||
63 |
test: $(OUT)/HOLCF IMP EX |
|
64 |
echo 'Test examples ran successfully' > test |
|
65 |
||
2494 | 66 |
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF |