src/HOLCF/IsaMakefile
author wenzelm
Wed, 08 Jan 1997 15:12:44 +0100
changeset 2494 5d45c2094ff6
child 2571 b9f641195b48
permissions -rw-r--r--
IsaMakefile for HOLCF;
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
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    11
THYS = Void.thy Porder.thy Pcpo.thy \
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 \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    17
       Up1.thy Up2.thy Up3.thy Fix.thy ccc1.thy One.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    18
       Tr1.thy Tr2.thy Lift1.thy Lift2.thy Lift2.thy HOLCF.thy
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    19
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    20
FILES = ROOT.ML Porder0.thy  $(THYS) $(THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    21
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    22
$(OUT)/HOLCF: $(OUT)/HOL $(FILES)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    23
	@$(ISABELLE) -e "make_html := $(ISABELLE_HTML);" -qu -c $(OUT)/HOL HOLCF
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    24
	@chmod -w $@
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    25
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    26
$(OUT)/HOL:
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    27
	@cd ../HOL; $(ISATOOL) make
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    28
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    29
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    30
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    31
#### Tests and examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    32
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    33
## Miscellaneous examples
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    34
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    35
EX_THYS = ex/Fix2.thy ex/Hoare.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    36
	  ex/Loop.thy
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    37
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    38
EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    39
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    40
test: ex/ROOT.ML $(OUT)/HOLCF $(EX_FILES)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    41
	@$(ISATOOL) testdir $(OUT)/HOLCF ex
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    42
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    43
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    44
## Explicit domains
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    45
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    46
EXPLICIT_DOMAINS_THYS = explicit_domains/Coind.thy explicit_domains/Dlist.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    47
			explicit_domains/Dnat2.thy explicit_domains/Stream.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    48
			explicit_domains/Dagstuhl.thy explicit_domains/Dnat.thy \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    49
			explicit_domains/Focus_ex.thy explicit_domains/Stream2.thy
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    50
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    51
EXPLICIT_DOMAINS_FILES = explicit_domains/ROOT.ML $(EXPLICIT_DOMAINS_THYS) \
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    52
			 $(EXPLICIT_DOMAINS_THYS:.thy=.ML)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    53
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    54
test2: explicit_domains/ROOT.ML $(OUT)/HOLCF $(EXPLICIT_DOMAINS_FILES)
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    55
	@$(ISATOOL) testdir $(OUT)/HOLCF explicit_domains
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    56
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    57
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    58
.PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF