buildtools/libtool/mdemo
Ingo Weinhold 64dcab13c1 Added support for Haiku x86 target.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 14:02:23 +00:00
..
acinclude.m4 Added support for Haiku x86 target. 2005-12-05 14:02:23 +00:00
aclocal.m4 Added support for Haiku x86 target. 2005-12-05 14:02:23 +00:00
configure Added support for Haiku x86 target. 2005-12-05 14:02:23 +00:00
configure.ac Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
foo1.c Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
foo2.c Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
foo.h Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
main.c Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
Makefile.am Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
Makefile.in Added support for Haiku x86 target. 2005-12-05 14:02:23 +00:00
mlib.c Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
README Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +00:00
sub.c Copying libtool 1.5.20 into the trunk. 2005-12-05 13:34:28 +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.