How do I port a UNIX application?

See Port from Unix To Win32.