Copyright (C) 1998-99 Paul Le Roux. All Rights Reserved.
Welcome to the source distribution of E4M. This document briefly describes how to build E4M.
Firstly E4M does not use the build tool supplied by Microsoft in the NT DDK.
E4M uses normal makefiles to build everything.
Extract the files from the zip archive, with "use directories" set on. The source zip contains long names so don't use an older pkunzip.
For the rest of this document I will assume you installed it into \e4m, but this can be any directory. All paths in the code, and the makefiles are relative.
The commandline makefiles are the only supported method of building E4M.
IDE project files for the Visual C++ 5.0 environment are provided as part of the source package, but they are unsupported. These are in the e4m\ide directory.
The reference compiler for Windows builds is Visual C++ 5.0 (no service packs).
This is the compiler that the shipping product is built under.
In the device driver makefiles, change the variable DDK to the full path of your ddk directories for both the Windows 9x driver, and the NT driver.
Follow the instructions given in the E4M help file or in the online documentation for verifying the main program. The source is verified the same way.
You should end up with e4mnt4.sys in the ntdriver directory.
or e4m9x.vxd in the windriver directory.
Don't try this by hand, just install the driver from the binary distribution, then overwrite it with the rebuilt driver.
All the function prototypes in E4M (except those in crypto\) are generated using the mkproto tool which you can download from http://www.e4m.net/download.html
This tool is used with the following command line option:
mkproto -s -p -h somefile.c
the above command produces somefile.h with a prototype line for each function found in somefile.c
GNU Indent v1.2 is used to format the code that is distributed.
This tool is used with the following command line option:
indent -cli0.4 -bli0 -i8 -ci0 somefile.c
The IDE tab settings used are the defaults (eg: tab size=4, indent size=4, keep tabs).
The shareware tool "rar" v2.50 is used to package the final product, this tool creates both the sfx installation binary, and the zip archive for the source code.
This tool is available from http://www.rarsoft.com
Enjoy!
Paul Le Roux