-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
66 lines (57 loc) · 1.81 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
COQMODULE := CompOptCert
COQTHEORIES := \
src/lib/*.v \
src/rtl/*.v \
src/promising/lang/*.v \
src/promising/wwrf/*.v \
src/promising/prop/Cover.v \
src/promising/prop/MemoryReorder.v \
src/promising/prop/MemoryMerge.v \
src/promising/prop/MemorySplit.v \
src/promising/prop/FulfillStep.v \
src/promising/prop/PromiseConsistent.v \
src/promising/prop/ReorderPromise.v \
src/promising/prop/ReorderCancel.v \
src/promising/prop/MemoryProps.v \
src/result/*.v \
src/non-preemptive/*.v \
src/proofs/*.v \
src/proofs/general-prop/*.v \
src/proofs/ps-np-equivalence/*.v \
src/proofs/sim-compositionality/*.v \
src/proofs/wwRF-preservation/*.v \
src/simulation/*.v \
src/promising/prop/ReorderReserve.v \
src/rtl/optimizer/*.v
.PHONY: all theories clean
all: quick
build: Makefile.coq
$(MAKE) -f Makefile.coq all
quick: Makefile.coq
$(MAKE) -f Makefile.coq quick
html: Makefile.coq
$(MAKE) -f Makefile.coq html
Makefile.coq: Makefile $(COQTHEORIES)
(echo "-R src/promising/lang $(COQMODULE)"; \
echo "-R src/promising/wwrf $(COQMODULE)"; \
echo "-R src/promising/prop $(COQMODULE)"; \
echo "-R src/lib $(COQMODULE)"; \
echo "-R src/rtl $(COQMODULE)"; \
echo "-R src/result $(COQMODULE)"; \
echo "-R src/non-preemptive $(COQMODULE)"; \
echo "-R src/proofs $(COQMODULE)"; \
echo "-R src/proofs/general-prop $(COQMODULE)"; \
echo "-R src/proofs/ps-np-equivalence $(COQMODULE)"; \
echo "-R src/proofs/sim-compositionality $(COQMODULE)"; \
echo "-R src/simulation $(COQMODULE)"; \
echo "-R src/proofs/wwRF-preservation $(COQMODULE)"; \
\
echo $(COQTHEORIES)) > _CoqProject
coq_makefile -f _CoqProject -o Makefile.coq
%.vo: Makefile.coq
$(MAKE) -f Makefile.coq "$@"
%.vio: Makefile.coq
$(MAKE) -f Makefile.coq "$@"
clean:
$(MAKE) -f Makefile.coq cleanall
rm -f _CoqProject Makefile.coq Makefile.coq.conf