version = "3.7.3"
requires = "str unix netsys "
description = "Ocamlnet - String processing library"

archive(byte) = 
    "netstring.cma"
archive(byte,toploop) = 
    "netstring.cma netstring_top.cmo"
archive(native) = 
    "netstring.cmxa"
archive(native,gprof) = 
    "netstring.p.cmxa"

archive(byte,netstring_only_iso) += 
    "netmappings_iso.cmo"
archive(native,netstring_only_iso) += 
    "netmappings_iso.cmx"
archive(native,gprof,netstring_only_iso) += 
    "netmappings_iso.p.cmx"

archive(byte,netstring_minimum) += 
    "netmappings_min.cmo"
archive(native,netstring_minimum) += 
    "netmappings_min.cmx"
archive(native,gprof,netstring_minimum) += 
    "netmappings_min.p.cmx"

archive(byte,netstring_static) += 
    "netmappings_iso.cmo netmappings_other.cmo netmappings_jp.cmo"
archive(native,netstring_static) += 
    "netmappings_iso.cmx netmappings_other.cmx netmappings_jp.cmx"
archive(native,gprof,netstring_static) += 
    "netmappings_iso.p.cmx netmappings_other.p.cmx netmappings_jp.p.cmx"

archive(byte,-nonetaccel) +=
    "netaccel.cma netaccel_link.cmo"
