author | nipkow |
Wed, 11 Oct 2000 09:09:06 +0200 | |
changeset 10186 | 499637e8f2c6 |
parent 10122 | 194c7349b6c0 |
child 10187 | 0376cccd9118 |
permissions | -rw-r--r-- |
8743 | 1 |
# |
2 |
# IsaMakefile for Tutorial |
|
3 |
# |
|
4 |
||
5 |
## targets |
|
6 |
||
9958 | 7 |
default: HOL-ToyList HOL-Ifexpr HOL-CodeGen HOL-Trie HOL-Datatype HOL-Recdef HOL-Advanced HOL-CTL HOL-Misc styles |
9520 | 8 |
images: |
9 |
test: |
|
10 |
all: default |
|
8743 | 11 |
|
12 |
||
13 |
## global settings |
|
14 |
||
15 |
SRC = $(ISABELLE_HOME)/src |
|
16 |
OUT = $(ISABELLE_OUTPUT) |
|
17 |
LOG = $(OUT)/log |
|
18 |
||
19 |
||
20 |
## HOL |
|
21 |
||
22 |
HOL: |
|
23 |
@cd $(SRC)/HOL; $(ISATOOL) make HOL |
|
24 |
||
8825
0c9cf33d499b
improved handling of Isabelle styles (less garbage);
wenzelm
parents:
8754
diff
changeset
|
25 |
styles: |
8847 | 26 |
@$(ISATOOL) latex -o sty >/dev/null |
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 | 31 |
@rm -f */document/session.tex |
8743 | 32 |
|
33 |
||
34 |
## HOL-Ifexpr |
|
35 |
||
36 |
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz |
|
37 |
||
38 |
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML |
|
39 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Ifexpr |
|
8754 | 40 |
@rm -f tutorial.dvi |
8743 | 41 |
|
42 |
## HOL-ToyList |
|
43 |
||
44 |
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz |
|
45 |
||
46 |
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2 |
|
47 |
cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy |
|
48 |
||
49 |
$(LOG)/HOL-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML |
|
50 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList2 |
|
8754 | 51 |
@rm -f tutorial.dvi |
8743 | 52 |
|
53 |
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML |
|
54 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList |
|
8754 | 55 |
@rm -f tutorial.dvi |
8743 | 56 |
|
57 |
## HOL-CodeGen |
|
58 |
||
59 |
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz |
|
60 |
||
61 |
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/CodeGen.thy |
|
62 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CodeGen |
|
8754 | 63 |
@rm -f tutorial.dvi |
8743 | 64 |
|
65 |
||
66 |
## HOL-Datatype |
|
67 |
||
68 |
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz |
|
69 |
||
8751 | 70 |
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \ |
9666 | 71 |
Datatype/Nested.thy Datatype/unfoldnested.thy \ |
9644 | 72 |
Datatype/Fundata.thy |
8743 | 73 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Datatype |
8754 | 74 |
@rm -f tutorial.dvi |
8743 | 75 |
|
76 |
||
77 |
## HOL-Trie |
|
78 |
||
79 |
HOL-Trie: HOL $(LOG)/HOL-Trie.gz |
|
80 |
||
81 |
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/Option2.thy Trie/Trie.thy |
|
82 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Trie |
|
8754 | 83 |
@rm -f tutorial.dvi |
8743 | 84 |
|
85 |
||
86 |
## HOL-Recdef |
|
87 |
||
88 |
HOL-Recdef: HOL $(LOG)/HOL-Recdef.gz |
|
89 |
||
10186 | 90 |
$(LOG)/HOL-Recdef.gz: $(OUT)/HOL Recdef/ROOT.ML Recdef/examples.thy Recdef/termination.thy \ |
9644 | 91 |
Recdef/simplification.thy Recdef/Induction.thy \ |
10186 | 92 |
Recdef/Nested0.thy Recdef/Nested1.thy Recdef/Nested2.thy Recdef/WFrec.thy |
8743 | 93 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Recdef |
8754 | 94 |
@rm -f tutorial.dvi |
8743 | 95 |
|
96 |
||
9933 | 97 |
## HOL-Advanced |
98 |
||
99 |
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz |
|
100 |
||
101 |
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML |
|
102 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Advanced |
|
103 |
@rm -f tutorial.dvi |
|
104 |
||
9958 | 105 |
## HOL-CTL |
106 |
||
107 |
HOL-CTL: HOL $(LOG)/HOL-CTL.gz |
|
108 |
||
10122 | 109 |
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/Base.thy CTL/PDL.thy CTL/CTL.thy CTL/ROOT.ML |
9958 | 110 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CTL |
111 |
@rm -f tutorial.dvi |
|
112 |
||
8743 | 113 |
## HOL-Misc |
114 |
||
115 |
HOL-Misc: HOL $(LOG)/HOL-Misc.gz |
|
116 |
||
9722 | 117 |
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/Tree2.thy \ |
9721 | 118 |
Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/types.thy \ |
119 |
Misc/prime_def.thy Misc/case_exprs.thy \ |
|
9844 | 120 |
Misc/arith1.thy Misc/arith2.thy Misc/arith3.thy \ |
121 |
Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy |
|
8743 | 122 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Misc |
8754 | 123 |
@rm -f tutorial.dvi |
8743 | 124 |
|
125 |
||
126 |
## clean |
|
127 |
||
128 |
clean: |
|
9958 | 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 |