From: Ben Kaduk Date: Tue, 26 Mar 2013 21:57:28 +0000 (-0400) Subject: Fix build with separate objdirs X-Git-Tag: upstream/1.8.0_pre1^2~1263 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7aa9eaecb6181ccf987b99f1be902c8bff69c384;p=packages%2Fo%2Fopenafs.git Fix build with separate objdirs The conversion of pam/ to use libtool introduced references to file names with LT_CCRULE that are not subject to make's vpath searching. Sprinkle ${srcdir} accordingly to fix the build. Change-Id: Ia500fe2a57813fdd93ca1767e243fd947d6b8e1e Reviewed-on: http://gerrit.openafs.org/9677 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/pam/Makefile.in b/src/pam/Makefile.in index f84a7c263..a0ac93328 100644 --- a/src/pam/Makefile.in +++ b/src/pam/Makefile.in @@ -26,15 +26,15 @@ CFLAGS_ktc_krb.lo = -DAFS_KERBEROS_ENV -I../auth afs_setcred.lo: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h afs_setcred_krb.lo: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h - $(LT_CCRULE) afs_setcred.c + $(LT_CCRULE) ${srcdir}/afs_setcred.c afs_auth.lo: afs_auth.c afs_pam_msg.h afs_message.h afs_util.h afs_auth_krb.lo: afs_auth.c afs_pam_msg.h afs_message.h afs_util.h - $(LT_CCRULE) afs_auth.c + $(LT_CCRULE) ${srcdir}/afs_auth.c afs_util.lo: afs_util.c afs_pam_msg.h afs_message.h afs_util.h afs_util_krb.lo: afs_util.c afs_pam_msg.h afs_message.h afs_util.h - $(LT_CCRULE) afs_util.c + $(LT_CCRULE) ${srcdir}/afs_util.c ktc_krb.lo: ${srcdir}/../auth/ktc.c ${TOP_INCDIR}/afs/cellconfig.h \ ${TOP_INCDIR}/afs/auth.h ${srcdir}/../auth/keys.h \