libtool/tests/mdemo
Gary V. Vaughan 94cc58be06 The FSF are moving offices today. Changed their contact address
in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
`51 Franklin Street, Fifth Floor, MA 02110-1301'.
2005-04-22 10:10:31 +00:00
..
.cvsignore spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
configure.ac The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
foo1.c The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
foo2.c The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
foo.h The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
main.c The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
Makefile.am The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
mlib.c The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00
README spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
sub.c The FSF are moving offices today. Changed their contact address 2005-04-22 10:10:31 +00:00

This is mdemo, an example package that uses GNU libtool with an
Automake-generated environment to build two simple modules and 
a program.

It demonstrates how to build both dynamic and static libraries
that can be dlopened. mdemo uses libtool's portable dlopen
wrapper called "libltdl". 
All exported symbols are prefixed with "libname_LTX_" to avoid
symbols 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, the
libraries *are* built as dll's, but do not have the __declspec
machinery to make them suitable for loading at link time.  This is
only for clarity inside this example, look at the example in ../demo
to see how the __declspec macros should be set up.