description = "Ocamlnet - OS-specific functions"
requires = "unix,bigarray"
version = "3.7.3"
archive(byte) = "netsys_oothr.cma netsys.cma"
archive(native) = "netsys_oothr.cmxa netsys.cmxa"
archive(native,gprof) = "netsys_oothr.p.cmxa netsys.p.cmxa netsys_c_gprof.o netsys_gprof_init.p.cmx"
archive(byte,mt) = "netsys_oothr_mt.cma netsys_oothr_mt_init.cmo netsys.cma"
archive(native,mt) = "netsys_oothr_mt.cmxa netsys_oothr_mt_init.cmx netsys.cmxa"
archive(native,gprof,mt) = "netsys_oothr_mt.p.cmxa netsys_oothr_mt_init.p.cmx netsys.p.cmxa"
archive(byte,toploop) = "netsys_oothr.cma netsys.cma"
archive(byte,mt,toploop) = "netsys_oothr_mt.cma netsys_oothr_mt_init.cmo netsys.cma"

package "outofheap" (
        version = "3.7.3"
        description = "Ocamlnet - override caml_modify and caml_initialize"
        requires = ""
	exists_if = "netsys_c_outofheap.o"
        archive(byte) = "netsys_c_outofheap.o"
        archive(native) = "netsys_c_outofheap.o"
        linkopts(byte) = "-custom"
)
