diff --git a/contrib/chkpass/Makefile b/contrib/chkpass/Makefile
index afa9ee46fa34d52ef0afb38f35a88e468d5f7c4f..61b7523ee9545f26c5c6df058565fcac048c0069 100644
--- a/contrib/chkpass/Makefile
+++ b/contrib/chkpass/Makefile
@@ -1,10 +1,12 @@
-# $Header: /cvsroot/pgsql/contrib/chkpass/Makefile,v 1.3 2001/09/06 10:49:29 petere Exp $
+# $Header: /cvsroot/pgsql/contrib/chkpass/Makefile,v 1.4 2002/10/21 18:55:10 petere Exp $
 
 subdir = contrib/chkpass
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-MODULES = chkpass
+MODULE_big = chkpass
+OBJS = chkpass.o
+SHLIB_LINK = $(filter -lcrypt, $(LIBS))
 DATA_built = chkpass.sql
 DOCS = README.chkpass