Provided by: manpages-ja_0.5.0.0.20110915-1_all bug

AUTOMAKE

       libtool LTLIBRARIES

        libtool  program_LDADD libtool  -static program_LDFLAGS

       libtool  lib_LTLIBRARIES libtool  -version-info  lib_LDFLAGS

        libtoolize libtool

       config.guess

       config.sub

       ltconfig
               libtool

       ltmain.sh
               libtool

       libtool  configure.in    AM_PROG_LIBTOOL    AC_LIBTOOL_DLOPEN   libtool
       -dlopen  -dlreopen libtool

              struct lt_dlsymlist { const char *NAME; lt_ptr_t ADDRESS; }

       NAME "fprintf" ADDRESS &fprintf

              const lt_dlsymlist * lt_preloaded_symbols;

        -dlpreloaded  NAME  `0'  ADDRESS  @PROGRAM@  NAME  `0'  ADDRESS

        -module

        -export-dynamic

         `.la'
        dlname='DLNAME'

        `foo.c', `bar.c'  `libbaz'  `a'  `a.c'  `libbaz'

       +o Linux libtool  2  (`foo.lo')  (`foo.o') -c

              lightside:~% libtool cc -c foo.c
              cc -c -fPIC -DPIC foo.c -o .libs/foo.lo
              cc -c foo.c >/dev/null 2>&1
              lightside:~% libtool cc -c bar.c
              cc -c -fPIC -DPIC bar.c -o .libs/bar.lo
              cc -c bar.c >/dev/null 2>&1

       +o  `.o' -o

              lightside:~% libtool cc -o libbaz.a foo.o bar.o
              ar cru libbaz.a foo.o bar.o
              ranlib libbaz.a

       +o `.lo'  -o  -rpath  `.libs'

              lightside:~% libtool cc -o libbaz.la foo.lo bar.lo \
                  -rpath /usr/local/lib
              cc -shared -Wl,-soname -Wl,libbaz.so.0 \
                  -o .libs/libbaz.so.0.0.0 foo.lo bar.lo
              (cd .libs && ln -s libbaz.so.0.0.0 libbaz.so.0)
              (cd .libs && ln -s libbaz.so.0.0.0 libbaz.so)
              ar cru .libs/libbaz.a foo.o bar.o
              ranlib .libs/libbaz.a
              creating libbaz.la
              (cd .libs && ln -s ../libbaz.la libbaz.la)

       +o ( `/usr/local/lib')  (`.so')  (`.a') libtool  (`.la')

        -n  --dry-run

              lightside:/tmp% libtool -n install libbaz.la /usr/local/lib
              install .libs/libbaz.so.0.0.0 /usr/local/lib/libbaz.so.0.0.0
              (cd /usr/local/lib && ln -s libbaz.so.0.0.0 libbaz.so.0)
              (cd /usr/local/lib && ln -s libbaz.so.0.0.0 libbaz.so)
              install libbaz.la /usr/local/lib/libbaz.la
              install .libs/libbaz.a /usr/local/lib/libbaz.a
              ranlib /usr/local/lib/libbaz.a
              chmod 644 /usr/local/lib/libbaz.a

        `a.c'

              cc -c a.c

              cc a.c -lbaz -L/usr/local/lib

        libtool ()  `.libs'

        -l  -L `.la'  (`-lm')

              lightside:~% libtool cc a.o libbaz.la -o a -lm
              cc a.o -Wl,--rpath -Wl,/usr/local/lib \
                  .libs/libbaz.so -o .libs/a -lm
              lightside:~% libtool gdb a
              []
              lightside:~% libtool install -c a /usr/local/bin/a
              install -c .libs/a /usr/local/bin/a

   Makefile.am
       +o  configure.in automake  libtool

              AC_DEFUN(AM_INIT_AUTOMAKE)
              AC_INIT(a.c)
              AM_INIT_AUTOMAKE(a, 1.0)
              AC_PROG_CC
              AM_PROG_LIBTOOL
              AC_OUTPUT(Makefile)

       +o  Makefile.am

              #
              lib_LTLIBRARIES=libbaz.la
              libbaz_la_SOURCES = foo.c bar.c
              libbaz_la_LDFLAGS = -version-info 0:0:0

              bin_PROGRAMS = a a.debug

              # a.c  libbaz.la  a
              a_SOURCES = a.c
              a_LDADD = libbaz.la

              #
              a_debug_SOURCES = a.c
              a_debug_LDADD = libbaz.la
              a_debug_LDFLAGS = -static

       +o

              lightside:~% aclocal; libtoolize; automake --add-missing; autoconf
              lightside:~% ./configure; make

        libtoolize(1), libltdl(3)

        <bug-libtool@gnu.org>
        man  Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>