src/HOLCF/IsaMakefile
author wenzelm
Fri, 25 Apr 1997 15:24:07 +0200
changeset 3057 a5a42ff18a40
parent 3043 63a77d6b7eca
child 3081 71c54eb8ed1d
permissions -rw-r--r--
removed -c option;
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\
3028
45204c79ad1d added dependencies on ax_ops/*.ML and domain/*.ML
oheimb
parents: 2841
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
3028
45204c79ad1d added dependencies on ax_ops/*.ML and domain/*.ML
oheimb
parents: 2841
diff changeset
    24
FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML) \
3043
63a77d6b7eca removed space;
wenzelm
parents: 3028
diff changeset
    25
        ax_ops/holcflogic.ML ax_ops/thy_axioms.ML \
3028
45204c79ad1d added dependencies on ax_ops/*.ML and domain/*.ML
oheimb
parents: 2841
diff changeset
    26
        ax_ops/thy_ops.ML    ax_ops/thy_syntax.ML \
45204c79ad1d added dependencies on ax_ops/*.ML and domain/*.ML
oheimb
parents: 2841
diff changeset
    27
        domain/library.ML  domain/syntax.ML   domain/axioms.ML \
45204c79ad1d added dependencies on ax_ops/*.ML and domain/*.ML
oheimb
parents: 2841
diff changeset
    28
        domain/theorems.ML domain/extender.ML domain/interface.ML
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    29
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    30
$(OUT)/HOLCF: $(OUT)/HOL $(FILES)
3057
a5a42ff18a40 removed -c option;
wenzelm
parents: 3043
diff changeset
    31
	@$(ISATOOL) usedir -b $(OUT)/HOL HOLCF
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    32
	@chmod -w $@
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    33
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    34
$(OUT)/HOL:
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    35
	@cd ../HOL; $(ISATOOL) make
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    36
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    37
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    38
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    39
#### Tests and examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    40
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    41
## IMP
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    42
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    43
IMP_THYS = IMP/Denotational.thy
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    44
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
    45
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    46
IMP:	$(OUT)/HOLCF $(IMP_FILES)
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2797
diff changeset
    47
	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    48
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    49
## Miscellaneous examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    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
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    55
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    56
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    57
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    58
EX:	ex/ROOT.ML $(EX_FILES)
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2797
diff changeset
    59
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    60
2797
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    61
## Full test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    62
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    63
test:	$(OUT)/HOLCF IMP EX
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    64
	echo 'Test examples ran successfully' > test
54ca927b831b Added the HOLCF-based den. sem. of IMP.
nipkow
parents: 2679
diff changeset
    65
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    66
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF