-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile
99 lines (71 loc) · 2.52 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
PYTHON=python2.7
include Makefile.ml-files
default: Makefile.coq
$(MAKE) -f Makefile.coq
quick: Makefile.coq
$(MAKE) -f Makefile.coq quick
vos: Makefile.coq
$(MAKE) -f Makefile.coq vos
checkproofs: quick
$(MAKE) -f Makefile.coq checkproofs
install: Makefile.coq
$(MAKE) -f Makefile.coq install
proofalytics:
$(MAKE) -C proofalytics clean
$(MAKE) -C proofalytics
$(MAKE) -C proofalytics publish
STDBUF=$(shell [ -x "$$(which gstdbuf)" ] && echo "gstdbuf" || echo "stdbuf")
BUILDTIMER=$(PWD)/proofalytics/build-timer.sh $(STDBUF) -i0 -o0
proofalytics-aux: Makefile.coq
$(MAKE) -f Makefile.coq TIMECMD="$(BUILDTIMER)"
Makefile.coq: _CoqProject
coq_makefile -f _CoqProject -o Makefile.coq
theories/Raft/RaftState.v: theories/Raft/RaftState.v.rec
$(PYTHON) script/extract_record_notation.py theories/Raft/RaftState.v.rec raft_data > theories/Raft/RaftState.v
clean: Makefile.coq
$(MAKE) -f Makefile.coq cleanall
rm -f Makefile.coq Makefile.coq.conf
find . -name '*.buildtime' -delete
$(MAKE) -C proofalytics clean
$(MAKE) -C extraction/vard clean
$(MAKE) -C extraction/vard-serialized clean
$(MAKE) -C extraction/vard-log clean
$(MAKE) -C extraction/vard-serialized-log clean
$(MAKE) -C extraction/vard-debug clean
assumptions: Makefile.coq
$(MAKE) -f Makefile.coq script/assumptions.vo
$(VARDML) $(VARDSERML) $(VARDLOGML) $(VARDSERLOGML) $(VARDDEBUGML): Makefile.coq
$(MAKE) -f Makefile.coq $@
vard:
+$(MAKE) -C extraction/vard
vard-test:
+$(MAKE) -C extraction/vard test
vard-serialized:
+$(MAKE) -C extraction/vard-serialized
vard-serialized-test:
+$(MAKE) -C extraction/vard-serialized test
vard-log:
+$(MAKE) -C extraction/vard-log
vard-log-test:
+$(MAKE) -C extraction/vard-log test
vard-serialized-log:
+$(MAKE) -C extraction/vard-serialized-log
vard-serialized-log-test:
+$(MAKE) -C extraction/vard-serialized-log test
vard-debug:
+$(MAKE) -C extraction/vard-debug
vard-debug-test:
+$(MAKE) -C extraction/vard-debug test
lint:
@echo "Possible use of hypothesis names:"
find . -name '*.v' -exec grep -Hn 'H[0-9][0-9]*' {} \;
distclean: clean
rm -f _CoqProject
.PHONY: default quick install clean lint proofalytics distclean checkproofs assumptions vos
.PHONY: vard vard-test vard-serialized vard-serialized-test vard-log vard-log-test vard-serialized-log vard-serialized-log-test vard-debug vard-debug-test
.PHONY: $(VARDML) $(VARDSERML) $(VARDLOGML) $(VARDSERLOGML) $(VARDDEBUGML)
.NOTPARALLEL: $(VARDML)
.NOTPARALLEL: $(VARDSERML)
.NOTPARALLEL: $(VARDLOGML)
.NOTPARALLEL: $(VARDSERLOGML)
.NOTPARALLEL: $(VARDDEBUGML)