doc-src/TutorialI/IsaMakefile
author nipkow
Wed, 11 Oct 2000 10:44:42 +0200
changeset 10187 0376cccd9118
parent 10186 499637e8f2c6
child 10212 33fe2d701ddd
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
10002
aaaca09b18de *** empty log message ***
wenzelm
parents: 9958
diff changeset
    31
	@rm -f */document/session.tex
8743
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
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    40
	@rm -f tutorial.dvi
8743
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
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    51
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    52
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    53
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    54
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    55
	@rm -f tutorial.dvi
8743
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
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    58
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    59
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    60
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    61
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/CodeGen.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    62
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CodeGen
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    63
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    64
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    65
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    66
## HOL-Datatype
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    67
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    68
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    69
8751
9ed0548177fb *** empty log message ***
nipkow
parents: 8743
diff changeset
    70
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \
9666
3572fc1dbe6b *** empty log message ***
nipkow
parents: 9644
diff changeset
    71
  Datatype/Nested.thy Datatype/unfoldnested.thy \
9644
6b0b6b471855 *** empty log message ***
nipkow
parents: 9520
diff changeset
    72
  Datatype/Fundata.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    73
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Datatype
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    74
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    75
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    76
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    77
## 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
HOL-Trie: HOL $(LOG)/HOL-Trie.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    80
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    81
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/Option2.thy Trie/Trie.thy
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    82
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Trie
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    83
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    84
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    85
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    86
## 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
HOL-Recdef: HOL $(LOG)/HOL-Recdef.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    89
10186
499637e8f2c6 *** empty log message ***
nipkow
parents: 10122
diff changeset
    90
$(LOG)/HOL-Recdef.gz: $(OUT)/HOL Recdef/ROOT.ML Recdef/examples.thy Recdef/termination.thy \
9644
6b0b6b471855 *** empty log message ***
nipkow
parents: 9520
diff changeset
    91
  Recdef/simplification.thy Recdef/Induction.thy \
10187
0376cccd9118 *** empty log message ***
nipkow
parents: 10186
diff changeset
    92
  Recdef/Nested0.thy Recdef/Nested1.thy Recdef/Nested2.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    93
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Recdef
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    94
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    95
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    96
9933
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    97
## HOL-Advanced
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    98
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
    99
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   100
10187
0376cccd9118 *** empty log message ***
nipkow
parents: 10186
diff changeset
   101
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML Advanced/WFrec.thy
9933
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   102
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Advanced
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   103
	@rm -f tutorial.dvi
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   104
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   105
## HOL-CTL
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   106
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   107
HOL-CTL: HOL $(LOG)/HOL-CTL.gz
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   108
10122
194c7349b6c0 *** empty log message ***
nipkow
parents: 10002
diff changeset
   109
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/Base.thy CTL/PDL.thy CTL/CTL.thy CTL/ROOT.ML
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   110
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CTL
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   111
	@rm -f tutorial.dvi
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   112
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   113
## HOL-Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   114
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   115
HOL-Misc: HOL $(LOG)/HOL-Misc.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   116
9722
a5f86aed785b *** empty log message ***
nipkow
parents: 9721
diff changeset
   117
$(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
   118
  Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/types.thy \
7e51c9f3d5a0 *** empty log message ***
nipkow
parents: 9689
diff changeset
   119
  Misc/prime_def.thy Misc/case_exprs.thy \
9844
8016321c7de1 *** empty log message ***
nipkow
parents: 9722
diff changeset
   120
  Misc/arith1.thy Misc/arith2.thy Misc/arith3.thy \
8016321c7de1 *** empty log message ***
nipkow
parents: 9722
diff changeset
   121
  Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   122
	@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Misc
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
   123
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   124
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   125
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   126
## clean
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   127
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   128
clean:
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   129
	@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