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