*** Makefile.in.orig	2004-04-18 16:55:11.000000000 +0100
--- Makefile.in	2004-05-04 21:32:31.000000000 +0100
***************
*** 215,221 ****
  # AUTHMODULES should be listed in the best authentication order
  #
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo authtest \
! 	authenumerate @authdaemondprog@
  
  noinst_SCRIPTS = libauth.dep authdaemond.in
  
--- 215,221 ----
  # AUTHMODULES should be listed in the best authentication order
  #
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo authtest \
! 	authenumerate couriercheckpassword @authdaemondprog@
  
  noinst_SCRIPTS = libauth.dep authdaemond.in
  
***************
*** 369,374 ****
--- 369,380 ----
  libauthmod_a_SOURCES = authmod.c authmod.h authmodclient.c authmodfail.c \
  	authmoduser.c authmoduser2.c authmoduser3.c debug.c debug.h
  
+ courierchkpwd_SOURCES = couriercheckpassword.c
+ courierchkpwd_DEPENDENCIES = libauth.a libauth1.dep\
+ 	../rfc2045/librfc2045.a ../random128/librandom128.a
+ 
+ courierchkpwd_LDADD = libauth.a debug.o\
+ 	../rfc2045/librfc2045.a ../random128/librandom128.a `cat libauth1.dep`
  
  authpam_SOURCES = mod.h modauthpam.c
  authpam_DEPENDENCIES = libauthmod.a libauth.a
***************
*** 652,658 ****
  	authdaemon$(EXEEXT) authdaemontest$(EXEEXT) authmksock$(EXEEXT) \
  	authcustom$(EXEEXT) authdaemon.passwd$(EXEEXT)
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo$(EXEEXT) \
! 	authtest$(EXEEXT) authenumerate$(EXEEXT) @authdaemondprog@
  PROGRAMS = $(noinst_PROGRAMS)
  
  am_authcram_OBJECTS = modauthcram.$(OBJEXT)
--- 658,665 ----
  	authdaemon$(EXEEXT) authdaemontest$(EXEEXT) authmksock$(EXEEXT) \
  	authcustom$(EXEEXT) authdaemon.passwd$(EXEEXT)
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo$(EXEEXT) \
! 	authtest$(EXEEXT) authenumerate$(EXEEXT) \
! 	couriercheckpassword$(EXEEXT) @authdaemondprog@
  PROGRAMS = $(noinst_PROGRAMS)
  
  am_authcram_OBJECTS = modauthcram.$(OBJEXT)
***************
*** 707,712 ****
--- 714,721 ----
  am_authvchkpw_OBJECTS = modauthvchkpw.$(OBJEXT)
  authvchkpw_OBJECTS = $(am_authvchkpw_OBJECTS)
  authvchkpw_LDFLAGS =
+ courierchkpwd_OBJECTS =  couriercheckpassword.$(OBJEXT)
+ courierchkpwd_LDFLAGS =
  SCRIPTS = $(noinst_SCRIPTS)
  
  
***************
*** 811,817 ****
  	README.authdebug.html.in aclocal.m4 authdaemond.in \
  	authdaemonrc.in authsystem.passwd.in config.h.in configure \
  	configure.in installlist.in installlist.sh.in modulelist.in
! SOURCES = $(libauth_authcram_a_SOURCES) $(libauth_authcustom_a_SOURCES) $(libauth_authdaemon_a_SOURCES) $(libauth_authldap_a_SOURCES) $(libauth_authmysql_a_SOURCES) $(libauth_authpam_a_SOURCES) $(libauth_authpgsql_a_SOURCES) $(libauth_authpwd_a_SOURCES) $(libauth_authshadow_a_SOURCES) $(libauth_authuserdb_a_SOURCES) $(libauth_authvchkpw_a_SOURCES) $(libauth_a_SOURCES) $(libauthmod_a_SOURCES) $(authcram_SOURCES) $(authcustom_SOURCES) $(authdaemon_SOURCES) $(authdaemon_passwd_SOURCES) $(authdaemontest_SOURCES) $(authenumerate_SOURCES) $(authinfo_SOURCES) $(authldap_SOURCES) $(authmksock_SOURCES) $(authmysql_SOURCES) $(authpam_SOURCES) $(authpgsql_SOURCES) $(authpwd_SOURCES) $(authshadow_SOURCES) $(authtest_SOURCES) $(authuserdb_SOURCES) $(authvchkpw_SOURCES)
  
  all: $(BUILT_SOURCES) config.h
  	$(MAKE) $(AM_MAKEFLAGS) all-am
--- 820,826 ----
  	README.authdebug.html.in aclocal.m4 authdaemond.in \
  	authdaemonrc.in authsystem.passwd.in config.h.in configure \
  	configure.in installlist.in installlist.sh.in modulelist.in
! SOURCES = $(libauth_authcram_a_SOURCES) $(libauth_authcustom_a_SOURCES) $(libauth_authdaemon_a_SOURCES) $(libauth_authldap_a_SOURCES) $(libauth_authmysql_a_SOURCES) $(libauth_authpam_a_SOURCES) $(libauth_authpgsql_a_SOURCES) $(libauth_authpwd_a_SOURCES) $(libauth_authshadow_a_SOURCES) $(libauth_authuserdb_a_SOURCES) $(libauth_authvchkpw_a_SOURCES) $(libauth_a_SOURCES) $(libauthmod_a_SOURCES) $(authcram_SOURCES) $(authcustom_SOURCES) $(authdaemon_SOURCES) $(authdaemon_passwd_SOURCES) $(authdaemontest_SOURCES) $(authenumerate_SOURCES) $(authinfo_SOURCES) $(authldap_SOURCES) $(authmksock_SOURCES) $(authmysql_SOURCES) $(authpam_SOURCES) $(authpgsql_SOURCES) $(authpwd_SOURCES) $(authshadow_SOURCES) $(authtest_SOURCES) $(authuserdb_SOURCES) $(authvchkpw_SOURCES) $(courierchkpwd_SOURCES)
  
  all: $(BUILT_SOURCES) config.h
  	$(MAKE) $(AM_MAKEFLAGS) all-am
***************
*** 976,981 ****
--- 985,993 ----
  authvchkpw$(EXEEXT): $(authvchkpw_OBJECTS) $(authvchkpw_DEPENDENCIES) 
  	@rm -f authvchkpw$(EXEEXT)
  	$(LINK) $(authvchkpw_LDFLAGS) $(authvchkpw_OBJECTS) $(authvchkpw_LDADD) $(LIBS)
+ couriercheckpassword$(EXEEXT): $(courierchkpwd_OBJECTS) $(courierchkpwd_DEPENDENCIES)
+ 	@rm -f couriercheckpassword
+ 	$(LINK) $(courierchkpwd_LDFLAGS) $(courierchkpwd_OBJECTS) $(courierchkpwd_LDADD) $(LIBS)
  
  mostlyclean-compile:
  	-rm -f *.$(OBJEXT) core *.core
***************
*** 1590,1595 ****
--- 1602,1609 ----
  
  authdaemonlib.o: authdaemonrc.h authdaemonlib.c
  
+ couriercheckpassword.o: couriercheckpassword.c auth.h config.h authmod.h authstaticlist.h authsasl.h
+ 
  install-configure:
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
  # Otherwise a system limit (for SysV at least) may be exceeded.
