libtool/mdemo
Alexandre Oliva d4326213cb * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen
(hell_LDFLAGS): added -export-dynamic and -dlopen
	(SUBDIRS, INCLUDES): added modules directory
	(foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules
	* Makefile.am: ditto
	* tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved
	* mdemo/modules/Makefile.am: new file

	* */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
1998-11-19 22:53:40 +00:00
..
modules * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen 1998-11-19 22:53:40 +00:00
.cvsignore * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen 1998-11-19 22:53:40 +00:00
configure.in * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen 1998-11-19 22:53:40 +00:00
main.c * NEWS: -module and libtldl 1998-11-18 07:29:36 +00:00
Makefile.am * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen 1998-11-19 22:53:40 +00:00
README * NEWS: -module and libtldl 1998-11-18 07:29:36 +00:00

This is GNU modular hell, an example package that uses GNU libtool with an
Automake-generated environment to build two simple libraries and programs.

It demonstrates how to build both dynamic and static libraries
that can be dlopened. You'll need a wrapper (libltdl)
for your dlopen functions. For static libraries we prefix all
non-static symbols with libname___ using the LTEXP(symbol) macro.
When dlopening these static libraries, we cut the prefix off to
get the real name.