doc-src/TutorialI/IsaMakefile
author nipkow
Wed, 19 Apr 2000 11:54:39 +0200
changeset 8743 3253c6046d57
child 8751 9ed0548177fb
permissions -rw-r--r--
I wonder if that's all?
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     1
#
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     2
# IsaMakefile for Tutorial
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     3
#
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     4
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     5
## targets
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     6
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     7
default: styles HOL-ToyList HOL-Ifexpr HOL-CodeGen HOL-Trie HOL-Datatype HOL-Recdef HOL-Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     8
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
     9
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    10
## global settings
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    11
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    12
SRC = $(ISABELLE_HOME)/src
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    13
OUT = $(ISABELLE_OUTPUT)
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    14
LOG = $(OUT)/log
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    15
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    16
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    17
## HOL
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    18
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    19
HOL:
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    20
	@cd $(SRC)/HOL; $(ISATOOL) make HOL
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    21
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    22
styles: isabelle.sty isabellesym.sty pdfsetup.sty
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    23
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    24
isabelle.sty: $(ISABELLE_HOME)/lib/texinputs/isabelle.sty
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    25
	cp $(ISABELLE_HOME)/lib/texinputs/isabelle.sty .
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    26
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    27
isabellesym.sty: $(ISABELLE_HOME)/lib/texinputs/isabellesym.sty
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    28
	cp $(ISABELLE_HOME)/lib/texinputs/isabellesym.sty .
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    29
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    30
pdfsetup.sty: $(ISABELLE_HOME)/lib/texinputs/pdfsetup.sty
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    31
	cp $(ISABELLE_HOME)/lib/texinputs/pdfsetup.sty .
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    32
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    33
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    34
## HOL-Ifexpr
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    35
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    36
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    37
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    38
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    39
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Ifexpr
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    40
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    41
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    42
## HOL-ToyList
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    43
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    44
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    45
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    46
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    47
	cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    48
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    49
$(LOG)/HOL-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    50
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList2
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    51
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    52
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    53
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    54
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    55
## HOL-CodeGen
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    56
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    57
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    58
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    59
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/CodeGen.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    60
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CodeGen
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    61
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    62
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    63
## HOL-Datatype
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    64
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    65
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    66
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    67
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy Datatype/Nested.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    68
  Datatype/Fundata.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    69
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Datatype
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    70
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    71
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    72
## HOL-Trie
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    73
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    74
HOL-Trie: HOL $(LOG)/HOL-Trie.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    75
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    76
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/Option2.thy Trie/Trie.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    77
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Trie
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    78
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    79
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    80
## HOL-Recdef
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    81
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    82
HOL-Recdef: HOL $(LOG)/HOL-Recdef.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    83
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    84
$(LOG)/HOL-Recdef.gz: $(OUT)/HOL Recdef/examples.thy Recdef/termination.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    85
  Recdef/simplification.thy Recdef/Induction.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    86
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Recdef
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    87
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    88
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    89
## HOL-Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    90
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    91
HOL-Misc: HOL $(LOG)/HOL-Misc.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    92
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    93
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/cases.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    94
  Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/types.thy Misc/prime_def.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    95
  Misc/arith1.thy Misc/arith2.thy Misc/arith3.thy Misc/arith4.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    96
  Misc/def_rewr.thy Misc/let_rewr.thy Misc/cond_rewr.thy Misc/case_splits.thy \
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    97
  Misc/trace_simp.thy Misc/Itrev.thy Misc/asm_simp.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    98
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    99
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   100
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   101
## clean
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   102
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   103
clean:
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   104
	@rm -f $(LOG)/HOL-Ifexpr.gz $(LOG)/HOL-CodeGen.gz $(LOG)/HOL-Misc.gz $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz $(LOG)/HOL-Trie.gz $(LOG)/HOL-Datatype.gz $(LOG)/HOL-Recdef.gz