2 # $Id$ |
2 # $Id$ |
3 # |
3 # |
4 # IsaMakefile for FOL |
4 # IsaMakefile for FOL |
5 # |
5 # |
6 |
6 |
|
7 ## targets |
|
8 |
|
9 default: FOL |
|
10 images: FOL |
|
11 test: FOL-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 PROVERS = hypsubst.ML classical.ML blast.ML \ |
|
11 simplifier.ML splitter.ML ind.ML |
|
12 |
21 |
13 FILES = ROOT.ML IFOL.thy IFOL.ML FOL.thy FOL.ML intprover.ML simpdata.ML \ |
22 ## FOL |
14 fologic.ML cladata.ML $(PROVERS:%=$(ISABELLE_HOME)/src/Provers/%) |
|
15 |
23 |
16 EX_NAMES = If List Nat Nat2 Prolog IffOracle |
24 FOL: Pure $(OUT)/FOL |
17 EX_FILES = ex/ROOT.ML ex/cla.ML ex/foundn.ML ex/int.ML ex/intro.ML \ |
25 |
18 ex/prop.ML ex/quant.ML $(EX_NAMES:%=ex/%.thy) $(EX_NAMES:%=ex/%.ML) |
26 Pure: |
|
27 @cd $(SRC)/Pure; $(ISATOOL) make Pure |
|
28 |
|
29 $(OUT)/FOL: $(OUT)/Pure $(SRC)/Provers/blast.ML \ |
|
30 $(SRC)/Provers/classical.ML $(SRC)/Provers/hypsubst.ML \ |
|
31 $(SRC)/Provers/ind.ML $(SRC)/Provers/simplifier.ML \ |
|
32 $(SRC)/Provers/splitter.ML FOL.ML FOL.thy IFOL.ML IFOL.thy ROOT.ML \ |
|
33 cladata.ML fologic.ML intprover.ML simpdata.ML |
|
34 @$(ISATOOL) usedir -b $(OUT)/Pure FOL |
19 |
35 |
20 |
36 |
21 $(OUT)/FOL: $(OUT)/Pure $(FILES) |
37 ## FOL-ex |
22 @$(ISATOOL) usedir -b $(OUT)/Pure FOL |
|
23 |
38 |
24 $(OUT)/Pure: |
39 FOL-ex: FOL $(LOG)/FOL-ex.gz |
25 @cd ../Pure; $(ISATOOL) make |
|
26 |
40 |
27 $(LOG)/FOL-ex.gz: ex/ROOT.ML $(OUT)/FOL $(EX_FILES) |
41 $(LOG)/FOL-ex.gz: $(OUT)/FOL ex/If.ML ex/If.thy ex/IffOracle.ML \ |
|
42 ex/IffOracle.thy ex/List.ML ex/List.thy ex/Nat.ML ex/Nat.thy \ |
|
43 ex/Nat2.ML ex/Nat2.thy ex/Prolog.ML ex/Prolog.thy ex/ROOT.ML ex/cla.ML \ |
|
44 ex/foundn.ML ex/int.ML ex/intro.ML ex/prop.ML ex/quant.ML |
28 @$(ISATOOL) usedir $(OUT)/FOL ex |
45 @$(ISATOOL) usedir $(OUT)/FOL ex |
29 |
46 |
30 test: $(OUT)/FOL $(LOG)/FOL-ex.gz |
47 |
|
48 ## clean |
31 |
49 |
32 clean: |
50 clean: |
33 @rm -f $(OUT)/FOL $(LOG)/FOL-ex.gz |
51 @rm -f $(OUT)/FOL $(LOG)/FOL.gz $(LOG)/FOL-ex.gz |
34 |
|
35 |
|
36 .PRECIOUS: $(OUT)/Pure $(OUT)/FOL |
|