doc-src/TutorialI/IsaMakefile
author wenzelm
Fri, 15 Dec 2000 18:06:48 +0100
changeset 10682 295a25fee35c
parent 10676 06f390008ceb
child 10762 cd1a2bee5549
permissions -rw-r--r--
usedir -m brackets;
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
10328
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
     7
default: HOL-ToyList HOL-Ifexpr HOL-CodeGen HOL-Trie HOL-Datatype HOL-Recdef HOL-Advanced HOL-Rules HOL-Sets HOL-CTL HOL-Inductive  HOL-Types 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
10682
295a25fee35c usedir -m brackets;
wenzelm
parents: 10676
diff changeset
    18
USEDIR = @$(ISATOOL) usedir -m brackets -i true -d dvi -D document $(OUT)/HOL
8743
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:
10654
458068404143 *** empty log message ***
nipkow
parents: 10598
diff changeset
    26
	@rm -f isabelle.sty
458068404143 *** empty log message ***
nipkow
parents: 10598
diff changeset
    27
	@rm -f isabellesym.sty
458068404143 *** empty log message ***
nipkow
parents: 10598
diff changeset
    28
	@rm -f pdfsetup.sty
8847
d6c92979fa51 use proper version of pdfsetup.sty;
wenzelm
parents: 8825
diff changeset
    29
	@$(ISATOOL) latex -o sty >/dev/null
d6c92979fa51 use proper version of pdfsetup.sty;
wenzelm
parents: 8825
diff changeset
    30
	@rm -f pdfsetup.sty
8825
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    31
	@rm -f */document/isabelle.sty
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    32
	@rm -f */document/isabellesym.sty
0c9cf33d499b improved handling of Isabelle styles (less garbage);
wenzelm
parents: 8754
diff changeset
    33
	@rm -f */document/pdfsetup.sty
10002
aaaca09b18de *** empty log message ***
wenzelm
parents: 9958
diff changeset
    34
	@rm -f */document/session.tex
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    35
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    36
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    37
## HOL-Ifexpr
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    38
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    39
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    40
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    41
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    42
	$(USEDIR) Ifexpr
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    43
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    44
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    45
## HOL-ToyList
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    46
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    47
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    48
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    49
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    50
	cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy
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-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    53
	$(USEDIR) ToyList2
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
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    57
	$(USEDIR) ToyList
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    58
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    59
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    60
## 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
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    63
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    64
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/ROOT.ML CodeGen/CodeGen.thy
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    65
	$(USEDIR) CodeGen
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    66
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    67
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    68
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    69
## 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
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    72
8751
9ed0548177fb *** empty log message ***
nipkow
parents: 8743
diff changeset
    73
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \
9666
3572fc1dbe6b *** empty log message ***
nipkow
parents: 9644
diff changeset
    74
  Datatype/Nested.thy Datatype/unfoldnested.thy \
9644
6b0b6b471855 *** empty log message ***
nipkow
parents: 9520
diff changeset
    75
  Datatype/Fundata.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    76
	$(USEDIR) Datatype
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    77
	@rm -f tutorial.dvi
8743
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-Trie
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-Trie: HOL $(LOG)/HOL-Trie.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    83
10543
8e4307d1207a *** empty log message ***
nipkow
parents: 10538
diff changeset
    84
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/ROOT.ML Trie/Trie.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    85
	$(USEDIR) Trie
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    86
	@rm -f tutorial.dvi
8743
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-Recdef
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-Recdef: HOL $(LOG)/HOL-Recdef.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    92
10186
499637e8f2c6 *** empty log message ***
nipkow
parents: 10122
diff changeset
    93
$(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
    94
  Recdef/simplification.thy Recdef/Induction.thy \
10187
0376cccd9118 *** empty log message ***
nipkow
parents: 10186
diff changeset
    95
  Recdef/Nested0.thy Recdef/Nested1.thy Recdef/Nested2.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
    96
	$(USEDIR) Recdef
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
    97
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    98
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
    99
9933
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   100
## HOL-Advanced
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   101
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   102
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   103
10654
458068404143 *** empty log message ***
nipkow
parents: 10598
diff changeset
   104
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML Advanced/WFrec.thy \
458068404143 *** empty log message ***
nipkow
parents: 10598
diff changeset
   105
	Advanced/Partial.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
   106
	$(USEDIR) Advanced
9933
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   107
	@rm -f tutorial.dvi
9feb1e0c4cb3 *** empty log message ***
nipkow
parents: 9844
diff changeset
   108
10296
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   109
## HOL-Rules
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   110
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   111
HOL-Rules: HOL $(LOG)/HOL-Rules.gz
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   112
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   113
$(LOG)/HOL-Rules.gz: $(OUT)/HOL Rules/Basic.thy \
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   114
	Rules/Blast.thy Rules/Force.thy Rules/Primes.thy  \
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   115
	Rules/ROOT.ML 
10655
ddd33e0f4935 *** empty log message ***
nipkow
parents: 10654
diff changeset
   116
	@$(ISATOOL) usedir -d dvi -D document $(OUT)/HOL Rules
10296
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   117
	@rm -f tutorial.dvi
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   118
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   119
## HOL-Sets
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   120
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   121
HOL-Sets: HOL $(LOG)/HOL-Sets.gz
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   122
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   123
$(LOG)/HOL-Sets.gz: $(OUT)/HOL Sets/Examples.thy Sets/Functions.thy \
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   124
	Sets/Recur.thy Sets/Relations.thy Sets/ROOT.ML
10655
ddd33e0f4935 *** empty log message ***
nipkow
parents: 10654
diff changeset
   125
	@$(ISATOOL) usedir -d dvi -D document $(OUT)/HOL Sets
10296
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   126
	@rm -f tutorial.dvi
0c5907082459 now includes Rules, Sets (?)
paulson
parents: 10225
diff changeset
   127
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   128
## HOL-CTL
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   129
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   130
HOL-CTL: HOL $(LOG)/HOL-CTL.gz
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   131
10212
33fe2d701ddd *** empty log message ***
nipkow
parents: 10187
diff changeset
   132
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/Base.thy CTL/PDL.thy CTL/CTL.thy CTL/CTLind.thy CTL/ROOT.ML
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
   133
	$(USEDIR) CTL
9958
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   134
	@rm -f tutorial.dvi
67f2920862c7 *** empty log message ***
nipkow
parents: 9933
diff changeset
   135
10217
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   136
## HOL-Inductive
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   137
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   138
HOL-Inductive: HOL $(LOG)/HOL-Inductive.gz
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   139
10225
b9fd52525b69 *** empty log message ***
nipkow
parents: 10217
diff changeset
   140
$(LOG)/HOL-Inductive.gz: $(OUT)/HOL Inductive/ROOT.ML \
10368
f7e8abd8ea15 replaced Acc.thy by Advanced.thy
paulson
parents: 10362
diff changeset
   141
  Inductive/Even.thy Inductive/Star.thy Inductive/AB.thy Inductive/Advanced.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
   142
	$(USEDIR) Inductive
10217
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   143
	@rm -f tutorial.dvi
e61e7e1eacaf *** empty log message ***
nipkow
parents: 10212
diff changeset
   144
10328
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   145
## HOL-Types
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   146
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   147
HOL-Types: HOL $(LOG)/HOL-Types.gz
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   148
10598
f92037156f4d new theory Numbers.thy
paulson
parents: 10543
diff changeset
   149
$(LOG)/HOL-Types.gz: $(OUT)/HOL Types/ROOT.ML \
f92037156f4d new theory Numbers.thy
paulson
parents: 10543
diff changeset
   150
  Types/Numbers.thy Types/Pairs.thy Types/Typedef.thy \
10328
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   151
  Types/Overloading0.thy Types/Overloading1.thy Types/Overloading2.thy \
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   152
  Types/Overloading.thy Types/Axioms.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
   153
	$(USEDIR) Types
10328
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   154
	@rm -f tutorial.dvi
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   155
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   156
## HOL-Misc
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   157
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   158
HOL-Misc: HOL $(LOG)/HOL-Misc.gz
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   159
9722
a5f86aed785b *** empty log message ***
nipkow
parents: 9721
diff changeset
   160
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/Tree2.thy \
10543
8e4307d1207a *** empty log message ***
nipkow
parents: 10538
diff changeset
   161
  Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/Option2.thy \
8e4307d1207a *** empty log message ***
nipkow
parents: 10538
diff changeset
   162
  Misc/types.thy Misc/prime_def.thy Misc/case_exprs.thy \
9844
8016321c7de1 *** empty log message ***
nipkow
parents: 9722
diff changeset
   163
  Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy
10676
06f390008ceb *** empty log message ***
nipkow
parents: 10655
diff changeset
   164
	$(USEDIR) Misc
8754
42ce93ada11e *** empty log message ***
nipkow
parents: 8751
diff changeset
   165
	@rm -f tutorial.dvi
8743
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   166
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   167
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   168
## clean
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   169
3253c6046d57 I wonder if that's all?
nipkow
parents:
diff changeset
   170
clean:
10328
bf33cbd76c05 *** empty log message ***
nipkow
parents: 10296
diff changeset
   171
	@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-Rules.gz $(LOG)/HOL-Sets.gz $(LOG)/HOL-CTL.gz $(LOG)/HOL-Inductive.gz $(LOG)/HOL-Types.gz