I don't have any of the java stuff, but I may be able to help talk you through it. Since automake is already being used it should be relativly simple. Basically you need 2 lines in the Makefile.am
lib_LTLIBRARIES = libAnyDX.la libAnyDX_la_SOURCES = "the sources that go into it" and AM_PROG_LIBTOOL in the configure.in. You will probably also need to run libtoolize in the top directory to pick up some glue needed by libtool. >From looking at the current Makefile.am, the SOURCES line could be the tricky one. From a quick look I would suggest libAnyDX_la_SOURCES = `ls ../dxl/*.c | sed -e "s&../dxl/object.c&&" \ -e "s&../dxl/x11.c&&"` DXLink.c I suspect that it is currently bombing since nothing is compiled with PIC, or whatever that flag is for Solaris. On 03-Nov-99 at 20:04, David L. Thompson ([EMAIL PROTECTED]) wrote: > Okay, > > Now that I've got all of my updates for the configure stuff working > the way they should, I've gone about setting up a script to do auto > builds on my platforms. However, I ran into a snag when compiling the > JX stuff on Solaris. I've noticed that it is trying to build a shared > library in src/uipp/java and tries two different ways. If either way > doesn't work then it bombs. I guess this is why my --disable-javadx > is important (I can still compile everything else). > > What am I after with this email? Does anyone want to help set up > libtool for this little function? It is really only one small compile > but I don't even know what args to pass to the compiler for the > Solaris ld to make a shared library and I don't want to know. I'd > rather use a tool that already knows about this stuff. How difficult > would it be? > > David > ............................................................................. > David L. Thompson The University of Montana > mailto:[EMAIL PROTECTED] Computer Science Department > http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812 > Work Phone : (406)257-8530
