The minimum set of Cygwin packages needed to build wpr3287 are:
[optional] If you want SSL support, you will need to build a MinGW OpenSSL library. That requres the following packages:
cd /usr/src/openssl-* ./Configure --prefix=/usr/local/mingw-openssl mingw make make install
To build wpr3287 (with or without SSL support) start a Cygwin shell, cd to the directory where the source code resides, and type:
makewpr3287 was developed primarily on 32-bit Windows XP, but should be buildable on Windows Server 2003 or Windows 2000. It has not been built or tested on 64-bit Windows or on Windows Vista.
nmake /f Msc\Makefile
This will build wpr3287.exe. The DLLs it depends on are part of the wc3270 package and need to be built separately.
Note that the resulting version of wpr3287 will not include SSL support. To build wpr3287 with a statically-linked OpenSSL library, you must modify Msc\Makefile; instructions for doing that are included in the file.