aboutsummaryrefslogtreecommitdiff
path: root/kernel/byterun/dune
blob: 4d2000bb522bcd3640f39f62fc68653b94676dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(library
 (name coqrun)
 (synopsis "Coq's Kernel Abstract Reduction Machine [C implementation]")
 (public_name coq-core.vm)
 (foreign_stubs
  (language c)
  (names coq_fix_code coq_float64 coq_memory coq_values coq_interp)
  (flags (:include %{project_root}/config/dune.c_flags))))

(rule
 (targets coq_instruct.h)
 (action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe enum))))

(rule
 (targets coq_jumptbl.h)
 (action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe jump))))

(rule
 (targets coq_arity.h)
 (action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe arity))))