1This is mdemo, an example package that uses GNU libtool with an 2Automake-generated environment to build two simple modules and 3a program. 4 5It demonstrates how to build both dynamic and static libraries 6that can be dlopened. mdemo uses libtool's portable dlopen 7wrapper called "libltdl". 8All exported symbols are prefixed with "libname_LTX_" to avoid 9symbols conflicts, especially when linking statically. 10libltdl will automatically cut the prefix off to get the real name. 11 12Note that on Windows, for the purposes of illustrating ltdl, the 13libraries *are* built as dll's, but do not have the __declspec 14machinery to make them suitable for loading at link time. This is 15only for clarity inside this example, look at the example in ../demo 16to see how the __declspec macros should be set up. 17 18