doc-src/TutorialI/IsaMakefile
author nipkow
Thu, 14 Sep 2000 17:46:00 +0200
changeset 9958 67f2920862c7
parent 9933 9feb1e0c4cb3
child 10002 aaaca09b18de
permissions -rw-r--r--
*** empty log message ***
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
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
     7
default: HOL-ToyList HOL-Ifexpr HOL-CodeGen HOL-Trie HOL-Datatype HOL-Recdef HOL-Advanced HOL-CTL HOL-Misc styles
9520
73f1c6685367 targets for images, test, all;
wenzelm
parents: 9493
diff changeset
     8
images:
73f1c6685367 targets for images, test, all;
wenzelm
parents: 9493
diff changeset
     9
test:
73f1c6685367 targets for images, test, all;
wenzelm
parents: 9493
diff changeset
    10
all: default
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    11
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    12
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    13
## global settings
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    14
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    15
SRC = $(ISABELLE_HOME)/src
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    16
OUT = $(ISABELLE_OUTPUT)
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    17
LOG = $(OUT)/log
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    18
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    19
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    20
## 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
HOL:
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    23
	@cd $(SRC)/HOL; $(ISATOOL) make HOL
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    24
8825
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    25
styles:
8847
d6c92979fa51 use proper version of pdfsetup.sty;
wenzelm
parents: 8825
diff changeset
    26
	@$(ISATOOL) latex -o sty >/dev/null
d6c92979fa51 use proper version of pdfsetup.sty;
wenzelm
parents: 8825
diff changeset
    27
	@rm -f pdfsetup.sty
8825
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    28
	@rm -f */document/isabelle.sty
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    29
	@rm -f */document/isabellesym.sty
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    30
	@rm -f */document/pdfsetup.sty
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    31
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    32
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    33
## HOL-Ifexpr
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    34
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    35
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    36
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    37
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    38
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Ifexpr
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    39
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    40
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    41
## HOL-ToyList
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    42
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    43
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    44
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    45
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    46
	cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    47
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    48
$(LOG)/HOL-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    49
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList2
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    50
	@rm -f tutorial.dvi
8743
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
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    54
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    55
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    56
## HOL-CodeGen
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    57
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    58
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    59
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    60
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/CodeGen.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    61
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CodeGen
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    62
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    63
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
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    66
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    67
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    68
8751
9ed0548177fb *** empty log message ***
nipkow
parents: 8743
diff changeset
    69
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \
9666
3572fc1dbe6b *** empty log message ***
nipkow
parents: 9644
diff changeset
    70
  Datatype/Nested.thy Datatype/unfoldnested.thy \
9644
6b0b6b471855 *** empty log message ***
nipkow
parents: 9520
diff changeset
    71
  Datatype/Fundata.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    72
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Datatype
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    73
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    74
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    75
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    76
## HOL-Trie
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    77
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    78
HOL-Trie: HOL $(LOG)/HOL-Trie.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    79
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    80
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/Option2.thy Trie/Trie.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    81
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Trie
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    82
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    83
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    84
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    85
## HOL-Recdef
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    86
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    87
HOL-Recdef: HOL $(LOG)/HOL-Recdef.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    88
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    89
$(LOG)/HOL-Recdef.gz: $(OUT)/HOL Recdef/examples.thy Recdef/termination.thy \
9644
6b0b6b471855 *** empty log message ***
nipkow
parents: 9520
diff changeset
    90
  Recdef/simplification.thy Recdef/Induction.thy \
9689
751fde5307e4 *** empty log message ***
nipkow
parents: 9666
diff changeset
    91
  Recdef/Nested0.thy Recdef/Nested1.thy Recdef/Nested2.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    92
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Recdef
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    93
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    94
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    95
9933
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    96
## HOL-Advanced
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    97
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    98
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    99
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   100
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   101
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Advanced
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   102
	@rm -f tutorial.dvi
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   103
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   104
## HOL-CTL
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   105
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   106
HOL-CTL: HOL $(LOG)/HOL-CTL.gz
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   107
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   108
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/PDL.thy CTL/CTL.thy CTL/ROOT.ML
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   109
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CTL
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   110
	@rm -f tutorial.dvi
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   111
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   112
## HOL-Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   113
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   114
HOL-Misc: HOL $(LOG)/HOL-Misc.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   115
9722
a5f86aed785b *** empty log message ***
nipkow
parents: 9721
diff changeset
   116
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/Tree2.thy \
9721
7e51c9f3d5a0 *** empty log message ***
nipkow
parents: 9689
diff changeset
   117
  Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/types.thy \
7e51c9f3d5a0 *** empty log message ***
nipkow
parents: 9689
diff changeset
   118
  Misc/prime_def.thy Misc/case_exprs.thy \
9844
8016321c7de1 *** empty log message ***
nipkow
parents: 9722
diff changeset
   119
  Misc/arith1.thy Misc/arith2.thy Misc/arith3.thy \
8016321c7de1 *** empty log message ***
nipkow
parents: 9722
diff changeset
   120
  Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   121
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Misc
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
   122
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   123
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   124
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   125
## clean
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   126
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   127
clean:
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   128
	@rm -f tutorial.dvi $(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 $(LOG)/HOL-Advanced.gz $(LOG)/HOL-CTL.gz