author | nipkow |
Thu, 14 Sep 2000 17:46:00 +0200 | |
changeset 9958 | 67f2920862c7 |
parent 9933 | 9feb1e0c4cb3 |
child 10002 | aaaca09b18de |
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 |
8743 | 31 |
|
32 |
||
33 |
## HOL-Ifexpr |
|
34 |
||
35 |
HOL-Ifexpr: HOL $(LOG)/HOL-Ifexpr.gz |
|
36 |
||
37 |
$(LOG)/HOL-Ifexpr.gz: $(OUT)/HOL Ifexpr/Ifexpr.thy Ifexpr/ROOT.ML |
|
38 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Ifexpr |
|
8754 | 39 |
@rm -f tutorial.dvi |
8743 | 40 |
|
41 |
## HOL-ToyList |
|
42 |
||
43 |
HOL-ToyList: HOL $(LOG)/HOL-ToyList.gz $(LOG)/HOL-ToyList2.gz |
|
44 |
||
45 |
ToyList2/ToyList.thy: ToyList2/ToyList1 ToyList2/ToyList2 |
|
46 |
cat ToyList2/ToyList1 ToyList2/ToyList2 > ToyList2/ToyList.thy |
|
47 |
||
48 |
$(LOG)/HOL-ToyList2.gz: $(OUT)/HOL ToyList2/ToyList.thy ToyList2/ROOT.ML |
|
49 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList2 |
|
8754 | 50 |
@rm -f tutorial.dvi |
8743 | 51 |
|
52 |
$(LOG)/HOL-ToyList.gz: $(OUT)/HOL ToyList/ToyList.thy ToyList/ROOT.ML |
|
53 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL ToyList |
|
8754 | 54 |
@rm -f tutorial.dvi |
8743 | 55 |
|
56 |
## HOL-CodeGen |
|
57 |
||
58 |
HOL-CodeGen: HOL $(LOG)/HOL-CodeGen.gz |
|
59 |
||
60 |
$(LOG)/HOL-CodeGen.gz: $(OUT)/HOL CodeGen/CodeGen.thy |
|
61 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CodeGen |
|
8754 | 62 |
@rm -f tutorial.dvi |
8743 | 63 |
|
64 |
||
65 |
## HOL-Datatype |
|
66 |
||
67 |
HOL-Datatype: HOL $(LOG)/HOL-Datatype.gz |
|
68 |
||
8751 | 69 |
$(LOG)/HOL-Datatype.gz: $(OUT)/HOL Datatype/ROOT.ML Datatype/ABexpr.thy \ |
9666 | 70 |
Datatype/Nested.thy Datatype/unfoldnested.thy \ |
9644 | 71 |
Datatype/Fundata.thy |
8743 | 72 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Datatype |
8754 | 73 |
@rm -f tutorial.dvi |
8743 | 74 |
|
75 |
||
76 |
## HOL-Trie |
|
77 |
||
78 |
HOL-Trie: HOL $(LOG)/HOL-Trie.gz |
|
79 |
||
80 |
$(LOG)/HOL-Trie.gz: $(OUT)/HOL Trie/Option2.thy Trie/Trie.thy |
|
81 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Trie |
|
8754 | 82 |
@rm -f tutorial.dvi |
8743 | 83 |
|
84 |
||
85 |
## HOL-Recdef |
|
86 |
||
87 |
HOL-Recdef: HOL $(LOG)/HOL-Recdef.gz |
|
88 |
||
89 |
$(LOG)/HOL-Recdef.gz: $(OUT)/HOL Recdef/examples.thy Recdef/termination.thy \ |
|
9644 | 90 |
Recdef/simplification.thy Recdef/Induction.thy \ |
9689 | 91 |
Recdef/Nested0.thy Recdef/Nested1.thy Recdef/Nested2.thy |
8743 | 92 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Recdef |
8754 | 93 |
@rm -f tutorial.dvi |
8743 | 94 |
|
95 |
||
9933 | 96 |
## HOL-Advanced |
97 |
||
98 |
HOL-Advanced: HOL $(LOG)/HOL-Advanced.gz |
|
99 |
||
100 |
$(LOG)/HOL-Advanced.gz: $(OUT)/HOL Advanced/simp.thy Advanced/ROOT.ML |
|
101 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Advanced |
|
102 |
@rm -f tutorial.dvi |
|
103 |
||
9958 | 104 |
## HOL-CTL |
105 |
||
106 |
HOL-CTL: HOL $(LOG)/HOL-CTL.gz |
|
107 |
||
108 |
$(LOG)/HOL-CTL.gz: $(OUT)/HOL CTL/PDL.thy CTL/CTL.thy CTL/ROOT.ML |
|
109 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL CTL |
|
110 |
@rm -f tutorial.dvi |
|
111 |
||
8743 | 112 |
## HOL-Misc |
113 |
||
114 |
HOL-Misc: HOL $(LOG)/HOL-Misc.gz |
|
115 |
||
9722 | 116 |
$(LOG)/HOL-Misc.gz: $(OUT)/HOL Misc/ROOT.ML Misc/Tree.thy Misc/Tree2.thy \ |
9721 | 117 |
Misc/fakenat.thy Misc/natsum.thy Misc/pairs.thy Misc/types.thy \ |
118 |
Misc/prime_def.thy Misc/case_exprs.thy \ |
|
9844 | 119 |
Misc/arith1.thy Misc/arith2.thy Misc/arith3.thy \ |
120 |
Misc/simp.thy Misc/Itrev.thy Misc/AdvancedInd.thy |
|
8743 | 121 |
@$(ISATOOL) usedir -i true -d dvi -D document $(OUT)/HOL Misc |
8754 | 122 |
@rm -f tutorial.dvi |
8743 | 123 |
|
124 |
||
125 |
## clean |
|
126 |
||
127 |
clean: |
|
9958 | 128 |
@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 |