Cdk installation guide.
-------------------------------------------------------------------------------

General
-------
This document details how to build and install the Cdk library. The first thing
you should know is what compile options you may require. I have had the 
fortunate luck of being able to compile this library on the following
platforms:
	* Sun/OS 4.1.*
	* Solaris 2.3/2.4
	* AIX 3.2.* (and even AIX 4.1 but there is no mention of this in the
                    makefile. Sorry.)
	* HPUX 9.* (and even HPUX 10.* but there is no mention of this in the
                    makefile. Sorry.)
	* Linux, in both a.out and Elf.

If you have a machine that is not mentioned here and you would like to see it
in the makefile, mail me the additions for the makefile and I will add them in.

CFLAGS
------
You may need to change a few things in the makefile as far as compile options
are concerned, but also the C flags. There are a number of defined CFLAGS 
that should be explained. They are as follows:

	-DCOLOR		Add in if your curses header file supports color. 
			Ncurses does.
	-DWINCHBUG	If your copy of curses has a bug in the routine winch.
	-DNOUSLEEP	If you haven't got the usleep library function.
	-DNODYNALLOC	If your compiler does not support the use of non
			constants in variable definitions. Set -DDNODYNALLOC
			can't support a definition like the following:
			char *array[variableName];
			where variableName is a variable that was set to
			dictate the size of the array.
	-DAIX		As always, AIX is the exception to the rule....

Building
--------
To build the library cd into the Cdk distribution directory and type in
make cdklib
This builds the file libcdk.a
Thats all there is to it.

Installing
----------
Modify the makefile to set the values of INST_ROOTDIR, INST_LIBDIR,
INST_INCDIR, and INST_MANDIR. These variables set the location of the root
install directory, the library directory, the include directory, and the 
man directory respectively. Once these have been set correctly, su to root
and type 
make install
This will install the files:
cdk.h, curdefs.h, libcdk.a and all of the manual pages.
