To compile URI-milter just edit the Makefile and run make. Make sure that the paths in SENDMAILINCLUDE and SENDMAILLIB variables are correct. Install by copying the binary and the configuration file where you need them. :-p