Most of this page relates to building VNC version 3.3.1 for Unix platforms. I also added support for fonts compressed with GNU Zip, which should make us lazy X users happy.
GNU make appears to have a predisposition for ignoring errors during compilation.
They have been tweaked slightly to reflect current usage. The additions for gzipped fonts were taken directly from XFree86 3.3.1, modulo the removal of conditionalisation. FreeBSD is fairly puritanical about avoiding header contamination, so this is conditionalised in case lack of idempotency on another platform causes the build to fail. This is included more for completeness than because I expect you to do anything much about it. Here's what I did.