
ChartFolio/ZAF Motif Installation

This file provides information for installing the ChartFolio
libraries and demos under Motif.  It presumes that ZAF 5.1 has 
already been installed, and uses many of the conventions used for 
building ZAF.


----------------------------------------------------------------------

1.  Running The Install Script

	The first step towards installing ChartFolio is to run the   
minstall script.  This is a modified version of the minstall script
used to install ZAF, and in fact it will ask the same questions
(platform, compiler, options, etc), as that script.  In addition,
it asks for the full pathname for ZAF 5.1.  'minstall' is found in
the ChartFolio root directory (normally $ZAF_ROOT/cf_zaf).


	Example:

		% minstall
		(introduction)
		Enter the ZAF 5.1 root path: /usr/local/zaf
			(Note that an absolute path is required.)
		(asks for platform/compiler/options)



	minstall will then configure makefiles, similarly to ZAF's
mconfig process.


----------------------------------------------------------------------

2. Building The Library

	Once the installation has completed, go to the ChartFolio source
	directory and make the library:


		cd /usr/local/zaf/cf_zaf/src
		make


	The library (libcfzaf.a or libcfzaf.so) will be placed in 
the same directory where ZAF's libraries are located.


----------------------------------------------------------------------

3. Building The Demo Programs

	Demo programs are found in the demo directory under CF_ZAF.
A demo is built as follows:


		cd /usr/local/zaf/cf_zaf/demo/cfz_4cht
		make


	Currently there are three demo subdirectories: basic_2d (builds
seven applications, each displaying a different chart), cfz_4cht 
(builds an application that displays four charts in a single window),
and cfz_attr (builds an application patterned after ZAF's attrtest).

