version = "1.4"
description = "Js_of_ocaml library"
archive(byte) = "js_of_ocaml.cma"
requires = "js_of_ocaml.syntax,lwt"

package "syntax" (
description = "Js_of_ocaml syntax extension"
version = "[distributed with js_of_ocaml]"
requires(syntax) = "camlp4"
archive(preprocessor,syntax) = "pa_js.cmo"
)

package "deriving" (
exists_if = "deriving_json.cma deriving_json.cmxa"
description = "Runtime library for the class Json."
version = "[distributed with js_of_ocaml]"
archive(byte) = "deriving_json.cma"
archive(native) = "deriving_json.cmxa"

package "syntax" (
description = "Safe \"IO in JSON\" class for deriving-ocsigen."
version = "[distributed with js_of_ocaml]"
requires(syntax) = "deriving-ocsigen.syntax"
archive(preprocessor,syntax) = "pa_deriving_Json.cmo"
archive(syntax,toploop) = "pa_deriving_Json.cmo"
)
)
