October 2000
Intermediate to advanced
432 pages
9h 9m
English
As you have seen, it is very easy to convert automake-built static libraries to automake-built Libtool libraries. To build 'libsic' as a Libtool library, I have changed the name of the library from 'libsic.a' (the old archive name in Libtool terminology) to 'libsic.la' (the pseudo library), and must use the LTLIBRARIES Automake primary:
lib_LTLIBRARIES = libsic.la
libsic_la_SOURCES = builtin.c error.c eval.c list.c sic.c \
syntax.c xmalloc.c xstrdup.c xstrerror.c
Notice the 'la' in libsic_la_SOURCES is new too.
It is similarly easy to take advantage of Libtool convenience libraries. For the purposes of Sic, 'libreplace' is an ideal candidate for this treatment—I can create the library as a separate entity from ...
Read now
Unlock full access