libtool/mdemo
Tim Van Holder 4925d0771e General cleanup of autoconf-2.50 upgrade:
* configure.ac: Mark as needing autoconf-mode in
emacs.  Pass arguments to AC_INIT.
* cdemo/configure.ac: Ditto.
* demo/configure.ac: Ditto.
* depdemo/configure.ac: Ditto.
* libtldl/configure.ac: Ditto.
* mdemo/configure.ac: Ditto.
* pdemo/configure.ac: Ditto.
* tagdemo/configure.ac: Ditto.
* ltdl.m4: Mark as needing autoconf-mode in
emacs.
* libtool.m4: Mark as needing autoconf-mode in
emacs.  Don't add () to AS_MESSAGE_LOG_FD.
* libltdl/configure.ac: Use config-h.in as
template for config.h.
* tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move
AC_LANG([C++]) after the OBJEXT/EXEEXT check.
2001-06-29 22:56:50 +00:00
..
.cvsignore s/debug/static/ 1999-03-17 06:53:36 +00:00
configure.ac General cleanup of autoconf-2.50 upgrade: 2001-06-29 22:56:50 +00:00
foo1.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
foo2.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
foo.h * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
main.c * update all copyright notices to 2000 2000-01-13 00:28:09 +00:00
Makefile.am * mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1 2001-06-29 02:35:56 +00:00
README * mdemo/README: Explain the deliberate incompleteness of the 2000-01-14 13:50:21 +00:00
sub.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +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.