src/HOLCF/IsaMakefile
author nipkow
Wed, 26 Mar 1997 17:58:48 +0100
changeset 2841 c2508f4ab739
parent 2828 13136dc7b9d0
child 3028 45204c79ad1d
permissions -rw-r--r--
Added "discrete" CPOs and modified IMP to use those rather than "lift"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     1
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     2
# $Id$
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     3
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for HOLCF
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     5
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     6
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     7
#### Base system
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     8
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     9
OUT = $(ISABELLE_OUTPUT_DIR)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    10
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    11
THYS = Porder.thy Porder0.thy Pcpo.thy \
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    12
       Fun1.thy Fun2.thy Fun3.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    13
       Cfun1.thy Cfun2.thy Cfun3.thy Cont.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    14
       Cprod1.thy Cprod2.thy Cprod3.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    15
       Sprod0.thy Sprod1.thy Sprod2.thy Sprod3.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    16
       Ssum0.thy Ssum1.thy Ssum2.thy Ssum3.thy \
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    17
       Up1.thy Up2.thy Up3.thy Fix.thy ccc1.thy \
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    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
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    20
       Lift1.thy Lift2.thy Lift3.thy HOLCF.thy 
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    21
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    22
ONLYTHYS = Lift.thy
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    23
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    24
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML)
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    25
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    26
$(OUT)/HOLCF: $(OUT)/HOL $(FILES)
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2797
diff changeset
    27
	@$(ISATOOL) usedir -b -c $(OUT)/HOL HOLCF
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    28
	@chmod -w $@
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    29
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    30
$(OUT)/HOL:
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    31
	@cd ../HOL; $(ISATOOL) make
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    32
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    33
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    34
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    35
#### Tests and examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    36
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    37
## IMP
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    38
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    39
IMP_THYS = IMP/Denotational.thy
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    40
IMP_FILES = IMP/ROOT.ML $(IMP_THYS) $(IMP_THYS:.thy=.ML)
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    41
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    42
IMP:	$(OUT)/HOLCF $(IMP_FILES)
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2797
diff changeset
    43
	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    44
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    45
## Miscellaneous examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    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
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    51
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    52
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    53
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    54
EX:	ex/ROOT.ML $(EX_FILES)
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2797
diff changeset
    55
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    56
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    57
## Full test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    58
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    59
test:	$(OUT)/HOLCF IMP EX
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    60
	echo 'Test examples ran successfully' > test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    61
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    62
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF