Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2012 10:14:12 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r237993 - in stable/9/kerberos5: usr.bin/kadmin usr.sbin/ktutil
Message-ID:  <201207021014.q62AECMl063289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Mon Jul  2 10:14:12 2012
New Revision: 237993
URL: http://svn.freebsd.org/changeset/base/237993

Log:
  * Avoid race conditions with 'make -j<N>'.
    (partially MFC r236337 (in spirit))

Modified:
  stable/9/kerberos5/usr.bin/kadmin/Makefile
  stable/9/kerberos5/usr.sbin/ktutil/Makefile

Modified: stable/9/kerberos5/usr.bin/kadmin/Makefile
==============================================================================
--- stable/9/kerberos5/usr.bin/kadmin/Makefile	Mon Jul  2 10:07:32 2012	(r237992)
+++ stable/9/kerberos5/usr.bin/kadmin/Makefile	Mon Jul  2 10:14:12 2012	(r237993)
@@ -38,9 +38,13 @@ LDFLAGS=${LDAPLDFLAGS}
 
 .include <bsd.prog.mk>
 
-kadmin-commands.c kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in ../../tools/slc/slc
+kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in ../../tools/slc/slc
 	../../tools/slc/slc ${.ALLSRC:M*.in}
 
+.for ext in c o
+kadmin-commands.${ext}: kadmin-commands.h
+.endfor
+
 ../../tools/slc/slc:
 	cd ${.CURDIR}/../../tools/slc && ${MAKE}
 

Modified: stable/9/kerberos5/usr.sbin/ktutil/Makefile
==============================================================================
--- stable/9/kerberos5/usr.sbin/ktutil/Makefile	Mon Jul  2 10:07:32 2012	(r237992)
+++ stable/9/kerberos5/usr.sbin/ktutil/Makefile	Mon Jul  2 10:14:12 2012	(r237993)
@@ -25,9 +25,13 @@ LDADD=	-lkadm5clnt -lkrb5 -lhx509 ${LIBS
 
 .include <bsd.prog.mk>
 
-ktutil-commands.c ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in ../../tools/slc/slc
+ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in ../../tools/slc/slc
 	../../tools/slc/slc ${.ALLSRC:M*.in}
 
+.for ext in c o
+ktutil-commands.${ext}: ktutil-commands.h
+.endfor
+
 ../../tools/slc/slc:
 	cd ${.CURDIR}/../../tools/slc && ${MAKE}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207021014.q62AECMl063289>