| 1 |
(rule |
| 2 |
(targets endianString.mli) |
| 3 |
(deps (:< endianString.cppo.mli)) |
| 4 |
(action |
| 5 |
(run %{bin:cppo} %{<} -o %{targets}))) |
| 6 |
|
| 7 |
(rule |
| 8 |
(targets endianString.ml) |
| 9 |
(deps |
| 10 |
(:< endianString.cppo.ml) |
| 11 |
common.ml |
| 12 |
common_401.ml) |
| 13 |
(action |
| 14 |
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{<} -o %{targets}))) |
| 15 |
|
| 16 |
(rule |
| 17 |
(targets endianBytes.mli) |
| 18 |
(deps |
| 19 |
(:< endianBytes.cppo.mli)) |
| 20 |
(action |
| 21 |
(run %{bin:cppo} %{<} -o %{targets}))) |
| 22 |
|
| 23 |
(rule |
| 24 |
(targets endianBytes.ml) |
| 25 |
(deps |
| 26 |
(:< endianBytes.cppo.ml) |
| 27 |
common.ml |
| 28 |
common_401.ml) |
| 29 |
(action |
| 30 |
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{<} -o %{targets}))) |
| 31 |
|
| 32 |
(rule |
| 33 |
(targets endianBigstring.mli) |
| 34 |
(deps |
| 35 |
(:< endianBigstring.cppo.mli)) |
| 36 |
(action |
| 37 |
(run %{bin:cppo} %{<} -o %{targets}))) |
| 38 |
|
| 39 |
(rule |
| 40 |
(targets endianBigstring.ml) |
| 41 |
(deps |
| 42 |
(:< endianBigstring.cppo.ml) |
| 43 |
common.ml |
| 44 |
common_401.ml) |
| 45 |
(action |
| 46 |
(run %{bin:cppo} %{<} -o %{targets}))) |
| 47 |
|
| 48 |
(rule |
| 49 |
(targets common_401.ml) |
| 50 |
(deps |
| 51 |
(:< common_401.cppo.ml) |
| 52 |
be_ocaml_401.ml |
| 53 |
le_ocaml_401.ml |
| 54 |
ne_ocaml_401.ml |
| 55 |
common_float.ml) |
| 56 |
(action |
| 57 |
(run %{bin:cppo} %{<} -o %{targets}))) |
| 58 |
|
| 59 |
(library |
| 60 |
(name ocplib_endian) |
| 61 |
(public_name ocplib-endian) |
| 62 |
(synopsis "Optimised functions to read and write int16/32/64 from strings and bytes") |
| 63 |
(wrapped false) |
| 64 |
(ocamlopt_flags (:standard -inline 1000)) |
| 65 |
(modules endianString endianBytes) |
| 66 |
(libraries bytes)) |
| 67 |
|
| 68 |
(library |
| 69 |
(name ocplib_endian_bigstring) |
| 70 |
(public_name ocplib-endian.bigstring) |
| 71 |
(synopsis "Optimised functions to read and write int16/32/64 from bigarrays") |
| 72 |
(wrapped false) |
| 73 |
(modules endianBigstring) |
| 74 |
(ocamlopt_flags (:standard -inline 1000)) |
| 75 |
(libraries ocplib_endian bigarray bytes)) |