author | wenzelm |
Wed, 22 Sep 2010 18:21:48 +0200 | |
changeset 39616 | 8052101883c3 |
parent 32835 | 00c14c4a6b4f |
child 42512 | f1ca2b0e0265 |
permissions | -rw-r--r-- |
8743 | 1 |
# |
2 |
# IsaMakefile for Tutorial |
|
3 |
# |
|
4 |
||
5 |
## targets |
|
6 |
||
25281
8d309beb66d6
removed advanced recdef section and replaced it by citation of Alex's tutorial.
nipkow
parents:
25258
diff
changeset
|
7 |
default: HOL-ToyList HOL-Ifexpr HOL-CodeGen HOL-Trie HOL-Datatype HOL-Fun HOL-Fun \ |
27423 | 8 |
HOL-Advanced HOL-Rules HOL-Sets HOL-CTL HOL-Inductive HOL-Types HOL-Misc \ |
11647
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
9 |
HOL-Protocol HOL-Documents styles |
9520 | 10 |
images: |
11 |
test: |
|
12 |
all: default |
|
8743 | 13 |
|
14 |
||
15 |
## global settings |
|
16 |
||
17 |
SRC = $(ISABELLE_HOME)/src |
|
18 |
OUT = $(ISABELLE_OUTPUT) |
|
19 |
LOG = $(OUT)/log |
|
32835
00c14c4a6b4f
enable slow-motion mode to accomodate unsynchronized refs within theory sources;
wenzelm
parents:
31676
diff
changeset
|
20 |
OPTIONS = -m brackets -i true -d "" -D document -M 1 |
28500 | 21 |
USEDIR = @$(ISABELLE_TOOL) usedir $(OPTIONS) $(OUT)/HOL |
11617 | 22 |
|
8743 | 23 |
|
24 |
## HOL |
|
25 |
||
26 |
HOL: |
|
28500 | 27 |
@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL |
8743 | 28 |
|
8825
0c9cf33d499b
improved handling of Isabelle styles (less garbage);
wenzelm
parents:
8754
diff
changeset
|
29 |
styles: |
10654 | 30 |
@rm -f isabelle.sty |
31 |
@rm -f isabellesym.sty |
|
32 |
@rm -f pdfsetup.sty |
|
28500 | 33 |
@$(ISABELLE_TOOL) latex -o sty >/dev/null |
8847 | 34 |
@rm -f pdfsetup.sty |
8825
0c9cf33d499b
improved handling of Isabelle styles (less garbage);
wenzelm
parents:
8754
diff
changeset
|
35 |
@rm -f */document/isabelle.sty |
0c9cf33d499b
improved handling of Isabelle styles (less garbage);
wenzelm
parents:
8754
diff
changeset
|
36 |
@rm -f */document/isabellesym.sty |
0c9cf33d499b
improved handling of Isabelle styles (less garbage);
wenzelm
parents:
8754
diff
changeset
|
37 |
@rm -f */document/pdfsetup.sty |
10002 | 38 |
@rm -f */document/session.tex |
11401 | 39 |
|
8743 | 40 |
|
41 |
||
42 |
## HOL-Ifexpr |
|
43 |
||
44 |
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz |
|
45 |
||
46 |
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML |
|
10676 | 47 |
$(USEDIR) Ifexpr |
8754 | 48 |
@rm -f tutorial.dvi |
8743 | 49 |
|
50 |
## HOL-ToyList |
|
51 |
||
52 |
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz |
|
53 |
||
54 |
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2 |
|
55 |
cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy |
|
56 |
||
57 |
$(LOG)/HOL-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML |
|
10676 | 58 |
$(USEDIR) ToyList2 |
8754 | 59 |
@rm -f tutorial.dvi |
8743 | 60 |
|
61 |
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML |
|
10676 | 62 |
$(USEDIR) ToyList |
8754 | 63 |
@rm -f tutorial.dvi |
8743 | 64 |
|
65 |
## HOL-CodeGen |
|
66 |
||
67 |
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz |
|
68 |
||
10676 | 69 |
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/ROOT.ML CodeGen/CodeGen.thy |
70 |
$(USEDIR) CodeGen |
|
8754 | 71 |
@rm -f tutorial.dvi |
8743 | 72 |
|
73 |
||
74 |
## HOL-Datatype |
|
75 |
||
76 |
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz |
|
77 |
||
8751 | 78 |
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \ |
9666 | 79 |
Datatype/Nested.thy Datatype/unfoldnested.thy \ |
9644 | 80 |
Datatype/Fundata.thy |
10676 | 81 |
$(USEDIR) Datatype |
8754 | 82 |
@rm -f tutorial.dvi |
8743 | 83 |
|
84 |
||
85 |
## HOL-Trie |
|
86 |
||
87 |
HOL-Trie: HOL $(LOG)/HOL-Trie.gz |
|
88 |
||
10543 | 89 |
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/ROOT.ML Trie/Trie.thy |
10676 | 90 |
$(USEDIR) Trie |
8754 | 91 |
@rm -f tutorial.dvi |
8743 | 92 |
|
93 |
||
25258 | 94 |
## HOL-Fun |
95 |
||
96 |
HOL-Fun: HOL $(LOG)/HOL-Fun.gz |
|
97 |
||
98 |
$(LOG)/HOL-Fun.gz: $(OUT)/HOL Fun/ROOT.ML Fun/fun0.thy |
|
99 |
$(USEDIR) Fun |
|
100 |
@rm -f tutorial.dvi |
|
101 |
||
102 |
||
9933 | 103 |
## HOL-Advanced |
104 |
||
105 |
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz |
|
106 |
||
25281
8d309beb66d6
removed advanced recdef section and replaced it by citation of Alex's tutorial.
nipkow
parents:
25258
diff
changeset
|
107 |
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML |
10676 | 108 |
$(USEDIR) Advanced |
9933 | 109 |
@rm -f tutorial.dvi |
110 |
||
10296 | 111 |
## HOL-Rules |
112 |
||
113 |
HOL-Rules: HOL $(LOG)/HOL-Rules.gz |
|
114 |
||
115 |
$(LOG)/HOL-Rules.gz: $(OUT)/HOL Rules/Basic.thy \ |
|
10956 | 116 |
Rules/Blast.thy Rules/Force.thy Rules/Primes.thy Rules/Forward.thy \ |
16543 | 117 |
Rules/Tacticals.thy Rules/find2.thy Rules/ROOT.ML |
10840 | 118 |
@$(USEDIR) Rules |
10296 | 119 |
@rm -f tutorial.dvi |
120 |
||
121 |
## HOL-Sets |
|
122 |
||
123 |
HOL-Sets: HOL $(LOG)/HOL-Sets.gz |
|
124 |
||
125 |
$(LOG)/HOL-Sets.gz: $(OUT)/HOL Sets/Examples.thy Sets/Functions.thy \ |
|
126 |
Sets/Recur.thy Sets/Relations.thy Sets/ROOT.ML |
|
10840 | 127 |
@$(USEDIR) Sets |
10296 | 128 |
@rm -f tutorial.dvi |
129 |
||
9958 | 130 |
## HOL-CTL |
131 |
||
132 |
HOL-CTL: HOL $(LOG)/HOL-CTL.gz |
|
133 |
||
10212 | 134 |
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/Base.thy CTL/PDL.thy CTL/CTL.thy CTL/CTLind.thy CTL/ROOT.ML |
10676 | 135 |
$(USEDIR) CTL |
9958 | 136 |
@rm -f tutorial.dvi |
137 |
||
10217 | 138 |
## HOL-Inductive |
139 |
||
140 |
HOL-Inductive: HOL $(LOG)/HOL-Inductive.gz |
|
141 |
||
10225 | 142 |
$(LOG)/HOL-Inductive.gz: $(OUT)/HOL Inductive/ROOT.ML \ |
10762 | 143 |
Inductive/Even.thy Inductive/Mutual.thy Inductive/Star.thy Inductive/AB.thy \ |
144 |
Inductive/Advanced.thy |
|
10676 | 145 |
$(USEDIR) Inductive |
10217 | 146 |
@rm -f tutorial.dvi |
147 |
||
10328 | 148 |
## HOL-Types |
149 |
||
27423 | 150 |
HOL-Types: HOL $(LOG)/HOL-Types.gz |
10328 | 151 |
|
27423 | 152 |
$(LOG)/HOL-Types.gz: $(OUT)/HOL Types/ROOT.ML \ |
11858
ca128c9100b6
renamed Typedef.thy to Typedefs.thy (former already present in main HOL);
wenzelm
parents:
11857
diff
changeset
|
153 |
Types/Numbers.thy Types/Pairs.thy Types/Records.thy Types/Typedefs.thy \ |
10328 | 154 |
Types/Overloading.thy Types/Axioms.thy |
27423 | 155 |
$(USEDIR) Types |
10328 | 156 |
@rm -f tutorial.dvi |
157 |
||
8743 | 158 |
## HOL-Misc |
159 |
||
160 |
HOL-Misc: HOL $(LOG)/HOL-Misc.gz |
|
161 |
||
9722 | 162 |
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/Tree2.thy \ |
13305 | 163 |
Misc/Plus.thy Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy \ |
164 |
Misc/Option2.thy Misc/types.thy Misc/prime_def.thy Misc/case_exprs.thy \ |
|
10978 | 165 |
Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy Misc/appendix.thy |
10676 | 166 |
$(USEDIR) Misc |
8754 | 167 |
@rm -f tutorial.dvi |
8743 | 168 |
|
169 |
||
11249 | 170 |
## HOL-Protocol |
171 |
||
172 |
HOL-Protocol: HOL $(LOG)/HOL-Protocol.gz |
|
173 |
||
174 |
$(LOG)/HOL-Protocol.gz: $(OUT)/HOL Protocol/ROOT.ML \ |
|
23926 | 175 |
Protocol/Message.thy Protocol/Event.thy \ |
176 |
Protocol/Public.thy Protocol/NS_Public.thy |
|
11249 | 177 |
$(USEDIR) Protocol |
178 |
@rm -f tutorial.dvi |
|
179 |
||
11647
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
180 |
## HOL-Documents |
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
181 |
|
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
182 |
HOL-Documents: HOL $(LOG)/HOL-Documents.gz |
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
183 |
|
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
184 |
$(LOG)/HOL-Documents.gz: $(OUT)/HOL Documents/Documents.thy Documents/ROOT.ML |
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
185 |
$(USEDIR) Documents |
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
186 |
@rm -f tutorial.dvi |
0538cb0f7999
initial setup for chapter on document preparation;
wenzelm
parents:
11617
diff
changeset
|
187 |
|
8743 | 188 |
## clean |
189 |
||
190 |
clean: |
|
25281
8d309beb66d6
removed advanced recdef section and replaced it by citation of Alex's tutorial.
nipkow
parents:
25258
diff
changeset
|
191 |
@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-Fun.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 $(LOG)/HOL-Protocol.gz $(LOG)/HOL-Documents.gz Rules/document/*.tex Sets/document/*.tex |