This directory contains 'TEA-complaint' configuration and makefiles
to compile Plplot as a set of extensions to Tcl.  'TEA' stands for
'Tcl Extension Architecture' and is the modern way to build extensions
for Tcl so that they can be easily recompiled on any Tcl platform.

On windows (using cygwin --- see www.scriptics.com for more
instructions), the following sort of thing should suffice:

(in the bash shell):

% autoconf
% ../configure --with-tcl=//d/tcl-source/tcl8.3.1/win/Release
--with-tclinclude=//d/tcl-source/tcl8.3.1/generic
--prefix=//d/progra~1/tcl

% make
% make install

'with-tcl' is the location of tclConfig.sh (this requirement may be
lifted in a future version of TEA).
'with-tclinclude' is the location of tcl.h
'prefix' is the install location

You may also wish to add 'exec-prefix' for a platform specific
installation location (otherwise prefix/bin will be used).

For 'Pltk' you'll need to add --with-tk etc.

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

State as of May 2000:

I've now made three separate compilation directories 'tcltk',
'pltcltk' and 'pltk'.  These compile respectively a 'Matrix'
extension, a 'Pltcl' extension, and a 'Pltk' extension.  However each 
subsumes the previous items (e.g. Pltcl has the Matrix stuff embedded 
in it, rather than simply using the Matrix shared library).

The first two compile and run on windows.  The third one appears to
manage all of the compilation except for xwin.c, so there is a good
chance it will compile/run on Unix.

You may need to edit your tkDevs.h to turn off devices which won't compile.

To Do:

Add targets for proper support of 'Matrix', 'Pltcl' and 'Pltk' as
interdependent shared libraries.

I suggest that 'Plplot' be a Tcl-only package, which, when requested, 
loads up Matrix, Pltcl and Pltk.  The actual shared libraries should
be platform specific variants of 'Matrix, Pltcl and Pltk' (i.e. with
.so, .dll, version numbers, 'lib' prefix or whatever is defined by the
TEA standard).  But I'm open to suggestions on that.