Node: Libtool Libraries, Next: Conditional Libtool Libraries, Previous: Libtool Concept, Up: A Shared Library
Automake uses libtool to build libraries declared with the
LTLIBRARIES primary. Each _LTLIBRARIES variable is a
list of libtool libraries to build. For instance, to create a libtool
library named libgettext.la, and install it in libdir,
write:
lib_LTLIBRARIES = libgettext.la
libgettext_la_SOURCES = gettext.c gettext.h ...
Automake predefines the variable pkglibdir, so you can use
pkglib_LTLIBRARIES to install libraries in
$(libdir)/@PACKAGE@/.