*** Makefile.in.orig	Mon Jul 28 17:45:38 2003
--- Makefile.in	Mon Jul 28 20:40:13 2003
***************
*** 155,161 ****
  #
  # AUTHMODULES should be listed in the best authentication order
  #
! noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo authtest @authdaemondprog@
  noinst_SCRIPTS = libauth.dep authdaemond.in
  
  @HAVE_MD5_TRUE@checkpasswordmd5c = checkpasswordmd5.c
--- 155,161 ----
  #
  # AUTHMODULES should be listed in the best authentication order
  #
! noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo authtest couriercheckpassword @authdaemondprog@
  noinst_SCRIPTS = libauth.dep authdaemond.in
  
  @HAVE_MD5_TRUE@checkpasswordmd5c = checkpasswordmd5.c
***************
*** 379,384 ****
--- 379,390 ----
  authtest_LDADD = libauth.a\
  	../rfc2045/librfc2045.a ../random128/librandom128.a `cat libauth1.dep`
  
+ courierchkpwd_SOURCES = couriercheckpassword.c
+ courierchkpwd_DEPENDENCIES = libauth.a libauth1.dep\
+ 	../rfc2045/librfc2045.a ../random128/librandom128.a
+ 
+ courierchkpwd_LDADD = libauth.a\
+ 	../rfc2045/librfc2045.a ../random128/librandom128.a `cat libauth1.dep`
  
  
  #
***************
*** 542,550 ****
  	authshadow$(EXEEXT) authuserdb$(EXEEXT) authvchkpw$(EXEEXT) \
  	authldap$(EXEEXT) authmysql$(EXEEXT) authpgsql$(EXEEXT) \
  	authdaemon$(EXEEXT) authdaemontest$(EXEEXT) authmksock$(EXEEXT) \
! 	authcustom$(EXEEXT) authdaemon.passwd$(EXEEXT)
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo$(EXEEXT) \
! 	authtest$(EXEEXT) @authdaemondprog@
  PROGRAMS = $(noinst_PROGRAMS)
  
  am_authcram_OBJECTS = modauthcram.$(OBJEXT)
--- 548,556 ----
  	authshadow$(EXEEXT) authuserdb$(EXEEXT) authvchkpw$(EXEEXT) \
  	authldap$(EXEEXT) authmysql$(EXEEXT) authpgsql$(EXEEXT) \
  	authdaemon$(EXEEXT) authdaemontest$(EXEEXT) authmksock$(EXEEXT) \
! 	authcustom$(EXEEXT) authdaemon.passwd$(EXEEXT) 
  noinst_PROGRAMS = @PWPROGS@ @AUTHMODULES_PROGS@ authinfo$(EXEEXT) \
! 	authtest$(EXEEXT) couriercheckpassword$(EXEEXT) @authdaemondprog@
  PROGRAMS = $(noinst_PROGRAMS)
  
  am_authcram_OBJECTS = modauthcram.$(OBJEXT)
***************
*** 596,601 ****
--- 602,609 ----
  am_authvchkpw_OBJECTS = modauthvchkpw.$(OBJEXT)
  authvchkpw_OBJECTS = $(am_authvchkpw_OBJECTS)
  authvchkpw_LDFLAGS =
+ courierchkpwd_OBJECTS =  couriercheckpassword.$(OBJEXT)
+ courierchkpwd_LDFLAGS =
  SCRIPTS = $(noinst_SCRIPTS)
  
  
***************
*** 695,701 ****
  	Makefile.am Makefile.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) $(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
--- 703,710 ----
  	Makefile.am Makefile.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) $(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
***************
*** 855,860 ****
--- 864,872 ----
  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
***************
*** 1404,1409 ****
--- 1416,1423 ----
  authdaemond.o: authdaemonrc.h authdaemond.c
  
  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.
