A working example how to create a shared library on AIX4.2 (read: testet on AIX 4.2)

Note: there are know problems with AIX4.3 and shared libraries check for
      patch APARTXT IX89428 (from the phyton mailing list)

The examples subself.c subext.c submain.c are sheamlessly stolen from
"The AIX survival Guide" also the linker flags.

The "mkexp.sh" programm is from the postgress source. See comments inside.

The makefile is my baby, written from scratch. The same acounts for the *lo-files. The
suffices is neither documented nor mandatory for AIX. 

*Known Problems:
When you link from *.o to *.lo you must resolve all dependencies. Therefor i added the
libc for linking (printf). This is not sufficient. Use exp() and you need -lm also...

The Phyton mailinglist noted some problems with the init part of the library. I couldnt
reproduce that problem here.

*howto test:
simple create the library and main, check result (should be 42). then change in subself.c the '+'
into '-' create the library (not the main !) and check again ....


walter
(wharms@bfs.de)