This document will show you how to change configure.ac and Makefile.am files to link your code with a shared library. An example is included, which links to the examplelib library used in "Building C/C++ libraries with Automake and Autoconf." More