i worked around peculiar libtool behavior (generating .bundle files rather than .so) on osx, and fixed the deprecation warnings raised by rake, rdoc, and flexmock. there are still a few deprecation warnings being raised in cm17a.c, but otherwise the build is working.
add flexmock dependency.
avoid flexmock deprecation warnings.
avoid rake/rdoctask deprecation warning.
avoid rake/gempackagetask deprecation warning.
remove and ignore build files.
fix build on osx.
on darwin, libtool seems to build ruby extensions as .bundle (library) files,
rather than .so (shared library) files. i don't entirely understand the
difference, but this patch works around it.
Thank you for this.