Websh 3.6 Windows version
=========================

Compiling Websh 3.6
-------------------

The provided Makefile runs with the Microsoft Visual Studio 6.0 nmake utility.

The following variables in the Makefile must be adapted to your system:

  TCL_PREFIX=C:/Program Files/Tcl
  TCL_VERSION=85
  HTTPD_PREFIX=C:/Program Files/Apache Group/Apache2
  INSTALL_PREFIX=C:/Program Files/Apache Group/Websh

To compile Websh just run nmake with the corresponding target:

nmake all
      Compile websh<version>.exe, websh<version>.dll, and mod_websh<version>.so

nmake websh.exe
      Compile websh<version>.exe and websh<version>.dll
      (Used for CGI and other commandline script handling. 
      websh<version>.dll is a TEA compliant Tcl extension.)

nmake mod_websh.so
      Compile mod_websh<version>.so Apache module.
      (Note that websh<version>.exe is not needed to run the Websh Apache
      module. However, websh<version>.dll must be in a path where it can be 
      found (e.g. the same directory as mod_websh.so). Also note that
      the module can be built for Apache 1.3 and Apache2 without any
      additional changes: just point HTTPD_PREFIX to either an Apache
      1.3 or Apache 2 installation)

nmake test
      Run test suite that checks websh<version>.exe and websh<version>.dll

nmake apachetest
      Run test suite on mod_websh.so running within Apache Web Server.

nmake clean
      Clean up all output files

nmake install
      Install all compiled targets


To create debug symbols in your objects, just add DEBUG=1 to the
commandline. E.g. nmake websh.exe DEBUG=1
