Hi,

On Fri, Sep 08, 2000 at 03:18:09PM +0100, James Bonfield wrote:
> eg_SOURCES = a/a.c b/b.c c/c.c
> 
> Previously this was all home-cooked Makefiles without autoconf, automake, etc.
> I've managed to get this working in autoconf by using VPATH. However I create
> shared libraries, and so libtool and automake are really useful for me.
> 
> However if the above snippet is in Makefile.am automake tells me:
> 
> automake: Makefile.am: not supported: source file `a/a.c' is in subdirectory
> 
> The obvious solution is:
> eg_SOURCES = a.c b.c c.c
> VPATH += @srcdir@/a:@srcdir@/b:@srcdir@/c

Instead of relying on VPATHs, why not just use libtool convenience
libraries?  Libtool convenience library support is integrated quite
well into Automake.

HTH,
-Ossama
-- 
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8

Reply via email to