--- Makefile.proto	Wed May  4 21:07:05 2005
+++ Makefile	Fri May  6 14:09:04 2005
@@ -24,8 +24,8 @@
 # The include directory is the one containing the cryptlib.h file.
 # The library path is the one containing libcl.so or libcl.a.
 ##
-#CRYPTO_INCLUDE_PATH = -I/replace/this/with/real/path
-#CRYPTO_LIBRARY_PATH = -L/replace/this/with/real/path
+CRYPTO_INCLUDE_PATH = -I$(PREFIX)/include
+CRYPTO_LIBRARY_PATH = -L$(PREFIX)/lib
 
 ##
 # If using OpenSSL, uncomment the following 3 lines.
@@ -37,15 +37,14 @@
 ##
 # If using cryptlib, uncomment the following 3 lines.
 ##
-#CRYPTO_CFLAGS = -D_REENTRANT
-#CRYPTO_OBJS   = secure_random_cryptlib.o
-#CRYPTO_LIBS   = -lcl -lpthread
+CRYPTO_CFLAGS = -D_REENTRANT
+CRYPTO_OBJS   = secure_random_cryptlib.o
+CRYPTO_LIBS   = -lcl -lpthread
 
 ##
 # Change PREFIX to install to different directories. The binary is installed
 # in $PREFIX/bin, and the man in $PREFIX/man/man1
 ##
-PREFIX = /usr/local
 
 ##
 # On some operating systems (most notably Linux 2.6 kernels) using mlockall
@@ -54,13 +53,13 @@
 # you experience crashes immediately at startup, uncomment the following line.
 ##
 #
-#NO_MLOCKALL = -DDISABLE_MLOCKALL
+NO_MLOCKALL = -DDISABLE_MLOCKALL
 
 ##
 # Sometimes you have only dynamic libraries available. In that case COMMENT
 # the following line.
 ##
-LINK_STATIC = -static
+#LINK_STATIC = -static
 
 ##############################################################################
 # NO USER MODIFIABLE PARTS AFTER THIS POINT
@@ -84,7 +83,7 @@
 
 install: secpwgen
 	cp -i secpwgen $(PREFIX)/bin
-	cp -i secpwgen.1 $(PREFIX)/man/man1
+	cp -i secpwgen.1 $(PREFIX)/share/man/man1
 
 clean:
 	rm -f *.o secpwgen