kconv version 0.3 -- installation

These are some installation instructions for kconv.  See the README file
for a copyright notice.  The file MANIFEST should tell you which files
should be here.

Important Note: These instructions assume you are using gcc-2.7.2.

I've never written a Makefile before, so sorry if my Makefiles are strange :)

I've tested a dynamically loadable version of kconv on SunOS 4.1.3, 
Solaris 2.5, and IRIX 5.3.  For details on other systems, see:

              http://www.python.org/doc/ext/node21.html 

(Note: the url might change, in that case, look for the 'Dynamic Loading' 
section of the document on 'Extending and Embedding the Python Interpreter' 
at the Python home page (http://www.python.org/) or one of its mirrors.

1) Choose one of the Makefiles in the subdirectory 'Makefiles' and copy it
   as 'Makefile' to the top level directory (the directory this file is in).  
   Currently, I've made Makefiles for SunOS 4.x, Solaris 2.x, and SGI IRIX 5.x.
   If you have some other system, you may need to tweak your Makefile :)

   Tweaking hints: a) flags to ld may need tweaking, 

2) Edit the Makefile, in particular, you will most likely need to change
   the value of PYTHONTOP.  If you don't use gcc, you should probably
   change the value of CC.  There may be other things you may have to
   change too.

3) Type 'make dynamic' for a shared library and 'make static' for an
   object file you can use to statically link into the python interpreter. 

   For the dynamically loadable version, a file called 'kconv.so' should
   appear in the top level distribution directory.

   For the statically loaded version, two files: Kconv.c and libkconv.a should
   appear in the top level distribution directory.

4) For the dynamically loadable version, put the resulting 'kconv.so' 
   somewhere in your python module search path (the environment variable 
   PYTHONPATH can set this up).  

   For the static version, take Kconv.c and libkconv.a and put them in
   $(PYTHONTOP)/Modules.  Then edit 'Setup' in $(PYTHONTOP)/Modules so that
   it contains the line:

     kconv Kconv.c -L./ -lkconv

   Then rebuild the Python interpreter.

That should do it.

Sen Nagata 2/13/97
