Compiling TkSM
==============

I've included as examples in the src/ subdirectory the Makefiles that I use to
compile TkSM with Tcl7.5/Tk4.1 under SunOS 4.1.4, Solaris 2.4, Irix 5.3, and
OSF1 V3.2 using GNU make (or a make that understands VPATH.)  These Makefiles
produce two dynamically loadable modules (libtksm.so and libvrml.so) as well as
a wish-like executable (smsh).

You will need to edit the appropriate Makefile to match your site configuration
and/or if you are linking TkSM with Tcl7.4/Tk4.0.  Be sure that you're
including the right versions of tcl.h and tk.h and that you're linking against
the right versions of the Tcl/Tk libraries. Also you will need the header file
'tkCanvas.h' from the Tk distribution. I've included the Tk4.1 version of
'tkCanvas.h' in the src/ directory. Again, if you're using Tk4.0 you can
either change TCL_INCLUDE in the Makefile to point to the Tk source directory,
or you can replace 'tkCanvas.h' in src/ with the Tk4.0 version.

If you are linking against Tcl7.5/Tk4.1, you will need to define USE_TCL75 in
the Makefile.
