src/HOLCF/IsaMakefile
author nipkow
Mon, 17 Mar 1997 15:37:16 +0100
changeset 2797 54ca927b831b
parent 2679 3eac428cdd1b
child 2828 13136dc7b9d0
permissions -rw-r--r--
Added the HOLCF-based den. sem. of IMP.
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\
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    19
       Lift1.thy Lift2.thy Lift3.thy HOLCF.thy 
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    20
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    21
ONLYTHYS = Lift.thy
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    22
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2571
diff changeset
    23
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML)
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    24
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    25
$(OUT)/HOLCF: $(OUT)/HOL $(FILES)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    26
	@$(ISABELLE) -e "make_html := $(ISABELLE_HTML);" -qu -c $(OUT)/HOL HOLCF
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    27
	@chmod -w $@
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    28
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    29
$(OUT)/HOL:
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    30
	@cd ../HOL; $(ISATOOL) make
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    31
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
#### Tests and examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    35
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    36
## IMP
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    37
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    38
IMP_THYS = IMP/Denotational.thy
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    39
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
    40
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    41
IMP:	$(OUT)/HOLCF $(IMP_FILES)
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    42
	@$(ISATOOL) testdir $(OUT)/HOLCF IMP
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    43
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    44
## Miscellaneous examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    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
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    50
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    51
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    52
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    53
EX:	ex/ROOT.ML $(EX_FILES)
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    54
	@$(ISATOOL) testdir $(OUT)/HOLCF ex
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    55
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    56
## Full test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    57
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    58
test:	$(OUT)/HOLCF IMP EX
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    59
	echo 'Test examples ran successfully' > test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    60
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    61
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF