Circular dependency

2006-11-24 Thread Guillaume Rousse
I'm using this rule to substitute values in a sourcefile: corelib/camlimages.ml: Makefile corelib/camlimages.ml.in rm -f corelib/camlimages.ml corelib/camlimages.ml.tmp sed \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ ... corelib

compiling in subdirs, linking in top-level dir

2006-11-24 Thread Guillaume Rousse
I'm having troubles building a large ocaml library, where code is divided into subdirectories for maintainance ease, as each of them relies on optional dependencies. The final stage (linking) has to be done from the top-level directory, so as to create a single library. As linking order is strict,

any way to set AM_CPPFLAGS for all subdirs at one time?

2006-11-24 Thread Ed Hartnett
Howdy all! In my build, I allow the user to specify a location for a library, in case they have built the library but not installed it in /usr/lib, or some other place the loader checks automatically. The library is called HDF5, and the configure script allows them to do something like: ./configu