-
Notifications
You must be signed in to change notification settings - Fork 21
/
Makefile.local.common
83 lines (79 loc) · 2.92 KB
/
Makefile.local.common
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
TIMED?=
TIMECMD?=
STDTIME?=/usr/bin/time -f "$@ (real: %e, user: %U, sys: %S, mem: %M ko)"
TIMER=$(if $(TIMED), $(STDTIME), $(TIMECMD))
TIMECMD_FULL?=
STDTIME_FULL?=/usr/bin/time -f "$@ (real: %e, user: %U, sys: %S, mem: %M ko)"
TIMER_FULL=$(if $(TIMED), $(STDTIME_FULL), $(TIMECMD_FULL))
COQ_VERSION_FILE = .coq-version
COQ_VERSION_PREFIX = The Coq Proof Assistant, version
COQ_VERSION_COQTOP_CMD := $(COQBIN)coqtop </dev/null
COQ_VERSION_COQC_CMD := $(COQBIN)coqc --version
COQC_VERSION_FULL := $(shell $(COQ_VERSION_COQC_CMD) 2>/dev/null)
COQ_VERSION := $(firstword $(subst $(COQ_VERSION_PREFIX),,$(COQC_VERSION_FULL)))
COQ_EXTENDED_VERSION:=$(strip $(shell $(COQ_VERSION_COQTOP_CMD) 2>/dev/null) $(COQC_VERSION_FULL))
COQ_EXTENDED_VERSION_OLD:=$(strip $(shell cat $(COQ_VERSION_FILE) 2>/dev/null))
ifneq (,$(filter 8.15%,$(COQ_VERSION)))
EXPECTED_EXT:=.v815
ML_DESCRIPTION := "Coq v8.15"
META_FILE_FRAGMENT :=
else
META_FILE_FRAGMENT := src/Rewriter/Util/plugins/META.coq-rewriter
ifneq (,$(filter 8.16%,$(COQ_VERSION)))
EXPECTED_EXT:=.v816
ML_DESCRIPTION := "Coq v8.16"
else
ifneq (,$(filter 8.17%,$(COQ_VERSION)))
EXPECTED_EXT:=.v817
ML_DESCRIPTION := "Coq v8.17"
else
ifneq (,$(filter 8.18%,$(COQ_VERSION)))
EXPECTED_EXT:=.v818
ML_DESCRIPTION := "Coq v8.18"
else
ifneq (,$(filter 8.19%,$(COQ_VERSION)))
EXPECTED_EXT:=.v819
ML_DESCRIPTION := "Coq v8.19"
else
ifneq (,$(filter 8.20%,$(COQ_VERSION)))
EXPECTED_EXT:=.v820
ML_DESCRIPTION := "Coq v8.20"
else
EXPECTED_EXT:=.v821
ML_DESCRIPTION := "Coq v8.21"
endif
endif
endif
endif
endif
endif
COMPATIBILITY_FILES := \
src/Rewriter/Util/plugins/definition_by_tactic.ml \
src/Rewriter/Util/plugins/definition_by_tactic.mli \
src/Rewriter/Util/plugins/definition_by_tactic_plugin.mlg \
src/Rewriter/Util/plugins/definition_by_tactic_plugin.mllib \
src/Rewriter/Util/plugins/inductive_from_elim.ml \
src/Rewriter/Util/plugins/inductive_from_elim.mli \
src/Rewriter/Util/plugins/inductive_from_elim_plugin.mlg \
src/Rewriter/Util/plugins/inductive_from_elim_plugin.mllib \
src/Rewriter/Util/plugins/rewriter_build.ml \
src/Rewriter/Util/plugins/rewriter_build.mli \
src/Rewriter/Util/plugins/rewriter_build_plugin.mlg \
src/Rewriter/Util/plugins/rewriter_build_plugin.mllib \
src/Rewriter/Util/plugins/strategy_tactic.ml \
src/Rewriter/Util/plugins/strategy_tactic.mli \
src/Rewriter/Util/plugins/strategy_tactic_plugin.mlg \
src/Rewriter/Util/plugins/strategy_tactic_plugin.mllib \
src/Rewriter/Util/plugins/ltac2_extra.ml \
src/Rewriter/Util/plugins/ltac2_extra.mli \
src/Rewriter/Util/plugins/ltac2_extra_plugin.mlg \
src/Rewriter/Util/plugins/ltac2_extra_plugin.mllib \
src/Rewriter/Util/plugins/RewriterBuildRegistry.v \
src/Rewriter/Util/plugins/RewriterBuild.v \
src/Rewriter/Util/plugins/StrategyTactic.v \
src/Rewriter/Util/plugins/Ltac2Extra.v \
src/Rewriter/Util/Tactics2/Constr.v \
src/Rewriter/Util/Tactics2/DestCase.v \
src/Rewriter/Util/Tactics2/DestProj.v \
src/Rewriter/Util/Tactics2/Proj.v \
#