| 1 |
(library |
| 2 |
(name clib) |
| 3 |
(synopsis "Coq's Utility Library [general purpose]") |
| 4 |
(public_name rocq-runtime.clib) |
| 5 |
(wrapped false) |
| 6 |
(modules_without_implementation cSig) |
| 7 |
(modules :standard \ unicodetable_gen) |
| 8 |
(libraries |
| 9 |
(select memprof_coq.ml from |
| 10 |
(!memprof-limits -> memprof_coq.std.ml) |
| 11 |
(memprof-limits -> memprof_coq.memprof.ml)) |
| 12 |
str unix threads)) |
| 13 |
|
| 14 |
(executable |
| 15 |
(name unicodetable_gen) |
| 16 |
(modules unicodetable_gen)) |
| 17 |
|
| 18 |
(rule |
| 19 |
(targets unicodetable.ml) |
| 20 |
(deps (:gen ./unicodetable_gen.exe)) |
| 21 |
(action (run %{gen} %{targets}))) |
| 22 |
|
| 23 |
(rule |
| 24 |
(target mutex_aux.ml) |
| 25 |
(action (copy mutex_aux_4.x.ml %{target})) |
| 26 |
(enabled_if (< %{ocaml_version} 5.0))) |
| 27 |
|
| 28 |
(rule |
| 29 |
(target mutex_aux.ml) |
| 30 |
(action (copy mutex_aux_5.0.ml %{target})) |
| 31 |
(enabled_if (and (>= %{ocaml_version} 5.0) (< %{ocaml_version} 5.1)))) |
| 32 |
|
| 33 |
(rule |
| 34 |
(target mutex_aux.ml) |
| 35 |
(action (copy mutex_aux_5.x.ml %{target})) |
| 36 |
(enabled_if (>= %{ocaml_version} 5.1))) |