Well, for me, adding OASIS was simple and it just worked, except the stub part.

In principle, I'm OK with replacing the OASIS cruft with an ocamlbuild config and a Makefile delegating to it, though I think that won't help much with stub generation. I'm quite opposed to the idea of using custom Makefiles rather than some simple, standard approach.