2 # $Id$ |
2 # $Id$ |
3 # |
3 # |
4 # IsaMakefile for Sequents |
4 # IsaMakefile for Sequents |
5 # |
5 # |
6 |
6 |
|
7 ## targets |
|
8 |
|
9 default: Sequents |
|
10 images: Sequents |
|
11 test: Sequents-ex |
|
12 all: images test |
|
13 |
|
14 |
|
15 ## global settings |
|
16 |
|
17 SRC = $(ISABELLE_HOME)/src |
7 OUT = $(ISABELLE_OUTPUT) |
18 OUT = $(ISABELLE_OUTPUT) |
8 LOG = $(OUT)/log |
19 LOG = $(OUT)/log |
9 |
20 |
10 NAMES = ILL LK S4 S43 T |
|
11 FILES = ROOT.ML Sequents.thy prover.ML $(NAMES:%=%.thy) $(NAMES:%=%.ML) |
|
12 |
21 |
13 ILL_NAMES = ILL_predlog washing |
22 ## Sequents |
14 EX_FILES = ex/ROOT.ML \ |
|
15 ex/LK/ROOT.ML ex/LK/hardquant.ML ex/LK/prop.ML ex/LK/quant.ML \ |
|
16 ex/Modal/ROOT.ML ex/Modal/S43thms.ML ex/Modal/S4thms.ML ex/Modal/Tthms.ML \ |
|
17 ex/ILL/ILL_kleene_lemmas.ML \ |
|
18 $(ILL_NAMES:%=ex/ILL/%.thy) $(ILL_NAMES:%=ex/ILL/%.ML) |
|
19 |
23 |
20 $(OUT)/Sequents: $(OUT)/Pure $(FILES) |
24 Sequents: Pure $(OUT)/Sequents |
|
25 |
|
26 Pure: |
|
27 @cd $(SRC)/Pure; $(ISATOOL) make Pure |
|
28 |
|
29 $(OUT)/Sequents: $(OUT)/Pure ILL.ML ILL.thy LK.ML LK.thy ROOT.ML S4.ML \ |
|
30 S4.thy S43.ML S43.thy Sequents.thy T.ML T.thy prover.ML |
21 @$(ISATOOL) usedir -b $(OUT)/Pure Sequents |
31 @$(ISATOOL) usedir -b $(OUT)/Pure Sequents |
22 |
32 |
23 $(OUT)/Pure: |
|
24 @cd ../Pure; $(ISATOOL) make |
|
25 |
33 |
26 $(LOG)/Sequents-ex.gz: $(OUT)/Sequents $(EX_FILES) |
34 ## Sequents-ex |
|
35 |
|
36 Sequents-ex: Sequents $(LOG)/Sequents-ex.gz |
|
37 |
|
38 $(LOG)/Sequents-ex.gz: $(OUT)/Sequents ex/ILL/ILL_kleene_lemmas.ML \ |
|
39 ex/ILL/ILL_predlog.ML ex/ILL/ILL_predlog.thy ex/ILL/washing.ML \ |
|
40 ex/ILL/washing.thy ex/LK/ROOT.ML ex/LK/hardquant.ML ex/LK/prop.ML \ |
|
41 ex/LK/quant.ML ex/Modal/ROOT.ML ex/Modal/S43thms.ML ex/Modal/S4thms.ML \ |
|
42 ex/Modal/Tthms.ML ex/ROOT.ML |
27 @$(ISATOOL) usedir $(OUT)/Sequents ex |
43 @$(ISATOOL) usedir $(OUT)/Sequents ex |
28 |
44 |
29 test: $(OUT)/Sequents $(LOG)/Sequents-ex.gz |
45 |
|
46 ## clean |
30 |
47 |
31 clean: |
48 clean: |
32 @rm -f $(OUT)/Sequents $(LOG)/Sequents-ex.gz |
49 @rm -f $(OUT)/Sequents $(LOG)/Sequents.gz $(LOG)/Sequents-ex.gz |
33 |
|
34 |
|
35 .PRECIOUS: $(OUT)/Pure $(OUT)/Sequents |
|