version = "2.1"
description = "XHTML and HTML5 pages typed with polymorphic variants"
requires = "netstring"
archive(byte) = "tyxml.cma"
archive(native) = "tyxml.cmxa"

package "functor" (
description = "XHTML and HTML5 pages typed with polymorphic variants (Functor version)"
version = "(distributed with tyxml)"
archive(byte) = "tyxml_f.cma"
archive(native) = "tyxml_f.cmxa"
)

package "syntax" (
description = "XHTML and HTML5 syntax extension"
version = "(distributed with tyxml)"
requires(toploop) = "tyxml"
archive(preprocessor,syntax) = "pa_tyxml.cmo"
archive(syntax,toploop) = "pa_tyxml.cmo"
)

package "parser" (
description = "Simple XML parser"
requires = "camlp4.lib"
version = "(distributed with tyxml)"
archive(byte) = "xmllexer.cmo simplexmlparser.cmo"
archive(native) = "xmllexer.cmx simplexmlparser.cmx"
)

package "duce" (
exists_if = "tyxml_duce.cma"
description = "XHTML types for ocamlduce"
requires = "ocamlduce,tyxml"
version = "(distributed with tyxml)"
archive(byte) = "tyxml_duce.cma"
archive(native) = "tyxml_duce.cmxa"
)
