Hi,

Is it possible to create a lib_LTLIBRARIES library from only convenience
libraries?  I've tried leaving the _SOURCES variable empty, but automake
tries to fill it with a source file it invents by tacking a '.c' on the
end of the library target, e.g. libwine.la.c.  Here's more or less what
I have:

lib_LTLIBRARIES = libwine.la
libwine_la_SOURCES = 
libwine_la_LDFLAGS = -version-info 1:0:0
libwine_la_LIBADD = \
        controls/libcontrols.la \
        console/libconsole.la \
        ...

I can get it to work fine by creating a bogus empty file, e.g. empty.c,
and adding that to the _SOURCES variable.  However, this seems quite
silly to me.  Is there another way around this?

I only really want the 'libtool --mode=link' part of the build.  Would I
be better off just creating the link target myself, by hand, rather than
using automake for it?

Thanks,
John

-- 
[EMAIL PROTECTED]                                http://www.gnome.org
[EMAIL PROTECTED]                      http://www.worldforge.org

Reply via email to