libtool/tests/mdemo
Gary V. Vaughan d7919d50d0 syntax-check: fix violations and implement sc_trailing_blank-non-rfc3676.
* cfg.mk (local-checks-to-fix): Move sc_trailing_blank from
here...
(local-checks-to-skip): ...to here, because otherwise it flags
valid RFC3676 signature blocks.
(sc_trailing_blank-non-rfc3676): An improved sc_trailing_blank
implementation that doesn't flag signature blocks as violations.
* Makefile.am, bootstrap.conf, doc/PLATFORMS,
libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4,
libltdl/m4/lt~obsolete.m4, tests/archive-in-archive.at,
tests/convenience.at, tests/darwin.at, tests/depdemo/l1/l1.c,
tests/depdemo/l2/l2.c, tests/depdemo/l3/l3.c,
tests/depdemo/l4/l4.c, tests/f77demo/README,
tests/f77demo/cprogram.c, tests/f77demo/foof.f,
tests/f77demo/foof2.f, tests/f77demo/foof3.f,
tests/f77demo/fprogram.f, tests/fcdemo/README,
tests/fcdemo/cprogram.c, tests/fcdemo/foof.f90,
tests/fcdemo/foof2.f90, tests/fcdemo/foof3.f90,
tests/fcdemo/fprogram.f90, tests/mdemo/README,
tests/mdemo/main.c, tests/mdemo/mlib.c, tests/objectlist.test,
tests/static.at, tests/template.at, tests/testsuite.at: Remove
trailing blanks.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2011-11-17 19:22:35 +07:00
..
.gitignore
configure.ac libtoolize: rename libltdl/config' directory to standard build-aux'. 2011-11-17 17:56:40 +07:00
foo1.c
foo2.c
foo.h
main.c syntax-check: fix violations and implement sc_trailing_blank-non-rfc3676. 2011-11-17 19:22:35 +07:00
Makefile.am syntax-check: fix violations and re-enable sc_makefile_at_at_check. 2011-11-17 19:20:25 +07:00
mlib.c syntax-check: fix violations and implement sc_trailing_blank-non-rfc3676. 2011-11-17 19:22:35 +07:00
README syntax-check: fix violations and implement sc_trailing_blank-non-rfc3676. 2011-11-17 19:22:35 +07:00
sub.c

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.