libtool/tests/mdemo
Gary V. Vaughan baf75223ff syntax-check: fix violations and re-enable sc_prohibit_empty_lines_at_EOF.
* cfg.mk (local-checks-to-fix): Remove
sc_prohibit_empty_lines_at_EOF from list of disabled checks.
* THANKS, libltdl/argz.c, libltdl/config/getopt.m4sh,
tests/f77demo/README, tests/f77demo/cprogram.c,
tests/f77demo/fprogram.f, tests/fcdemo/README,
tests/fcdemo/cprogram.c, tests/libtoolize.at,
tests/mdemo/README, tests/mdemo2/README, tests/pdemo-inst.test:
Remove spurious empty lines from the end of these files.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2011-11-17 19:21:07 +07:00
..
.gitignore maint: tidy, sort and consolidate .gitignore files. 2011-10-22 18:36:16 +07:00
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
Makefile.am syntax-check: fix violations and re-enable sc_makefile_at_at_check. 2011-11-17 19:20:25 +07:00
mlib.c
README syntax-check: fix violations and re-enable sc_prohibit_empty_lines_at_EOF. 2011-11-17 19:21:07 +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.