--- Makefile.orig	2008-07-28 15:33:38.000000000 -0700
+++ Makefile	2009-03-20 22:43:53.000000000 -0700
@@ -6,27 +6,28 @@
 # See the file INSTALL if you need help.
 #
 
-PREFIX		= /usr/local
+PREFIX		= __PREFIX__
 BINDIR		= $(PREFIX)/bin
 MANDIR		= $(PREFIX)/share/man
-SYSCONFDIR	= /etc
+SYSCONFDIR	= $(PREFIX)/etc
 
 MAILRC		= $(SYSCONFDIR)/nail.rc
 MAILSPOOL	= /var/mail
-SENDMAIL	= /usr/lib/sendmail
+SENDMAIL	= /usr/sbin/sendmail
 
-DESTDIR		=
+DESTDIR		= __DESTROOT__
 
-UCBINSTALL	= /usr/ucb/install
+UCBINSTALL	= /usr/bin/install
 
 # Define compiler, preprocessor, and linker flags here.
 # Note that some Linux/glibc versions need -D_GNU_SOURCE in CPPFLAGS, or
 # wcwidth() will not be available and multibyte characters will not be
 # displayed correctly.
-#CFLAGS		=
+CC			= __CC__
+CFLAGS		= __CFLAGS__
 #CPPFLAGS	=
-#LDFLAGS		=
-#WARN		= -Wall -Wno-parentheses -Werror
+LDFLAGS		= __LDFLAGS__
+WARN		= -Wall -Wno-parentheses
 
 # Some RedHat versions need INCLUDES = -I/usr/kerberos/include to compile
 # with OpenSSL, or to compile with GSSAPI authentication included. In the