This is mdemo, an example package that uses GNU libtool with anAutomake-generated environment to build two simple modules anda program.It demonstrates how to build both dynamic and static librariesthat can be dlopened. mdemo uses libtool's portable dlopenwrapper called "libltdl".All exported symbols are prefixed with "libname_LTX_" to avoidsymbols conflicts, especially when linking statically.libltdl will automatically cut the prefix off to get the real name.Note that on Windows, for the purposes of illustrating ltdl, thelibraries *are* built as dll's, but do not have the __declspecmachinery to make them suitable for loading at link time. This isonly for clarity inside this example, look at the example in ../demoto see how the __declspec macros should be set up.