summaryrefslogtreecommitdiffstats
path: root/kerberos5/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-05-30 22:21:25 +0000
committerobrien <obrien@FreeBSD.org>2012-05-30 22:21:25 +0000
commit928a481c653a909ac1f7811c68a12a3f7360a679 (patch)
treedf0f27f031cb10f54a5cc334b0cb952fdfae0a0c /kerberos5/usr.bin
parentdab3b2897b692fad80da5d2e280cde909b1ab39a (diff)
downloadFreeBSD-src-928a481c653a909ac1f7811c68a12a3f7360a679.zip
FreeBSD-src-928a481c653a909ac1f7811c68a12a3f7360a679.tar.gz
* Remove headers from SRCS that are not generated
(and are in /usr/src/crypto/heimdal/). * Avoid race conditions with 'make -j<N>'.
Diffstat (limited to 'kerberos5/usr.bin')
-rw-r--r--kerberos5/usr.bin/hxtool/Makefile6
-rw-r--r--kerberos5/usr.bin/kadmin/Makefile6
-rw-r--r--kerberos5/usr.bin/kcc/Makefile6
-rw-r--r--kerberos5/usr.bin/kf/Makefile1
-rw-r--r--kerberos5/usr.bin/string2key/Makefile1
5 files changed, 15 insertions, 5 deletions
diff --git a/kerberos5/usr.bin/hxtool/Makefile b/kerberos5/usr.bin/hxtool/Makefile
index c40f009..92268c0 100644
--- a/kerberos5/usr.bin/hxtool/Makefile
+++ b/kerberos5/usr.bin/hxtool/Makefile
@@ -10,9 +10,13 @@ DPADD= ${LIBHX509} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBSL} ${LI
LDADD= -lhx509 -lroken -lasn1 -lcrypto -lcrypt ${LIBSL} ${LIBVERS} -ledit
SRCS= hxtool.c hxtool-commands.c hxtool-commands.h
-hxtool-commands.c hxtool-commands.h: hxtool-commands.in
+hxtool-commands.h: hxtool-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+hxtool-commands.${ext}: hxtool-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/lib/hx509
diff --git a/kerberos5/usr.bin/kadmin/Makefile b/kerberos5/usr.bin/kadmin/Makefile
index d0f8ed1..637ce7f 100644
--- a/kerberos5/usr.bin/kadmin/Makefile
+++ b/kerberos5/usr.bin/kadmin/Makefile
@@ -38,8 +38,12 @@ LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>
-kadmin-commands.c kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
+kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in o c
+kadmin-commands.${ext}: kadmin-commands.h
+.endfor
+
.PATH: ${KRB5DIR}/kadmin
diff --git a/kerberos5/usr.bin/kcc/Makefile b/kerberos5/usr.bin/kcc/Makefile
index d690b32..f1d053c 100644
--- a/kerberos5/usr.bin/kcc/Makefile
+++ b/kerberos5/usr.bin/kcc/Makefile
@@ -19,9 +19,13 @@ SRCS= kcc.c \
kswitch.c \
copy_cred_cache.c
-kcc-commands.c kcc-commands.h: kcc-commands.in
+kcc-commands.h: kcc-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+kcc-commands.${ext}: kcc-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/kuser
diff --git a/kerberos5/usr.bin/kf/Makefile b/kerberos5/usr.bin/kf/Makefile
index 0a1ccec..c9d3fce 100644
--- a/kerberos5/usr.bin/kf/Makefile
+++ b/kerberos5/usr.bin/kf/Makefile
@@ -2,7 +2,6 @@
PROG= kf
MAN= kf.1
-SRCS= kf.c kf_locl.h
CFLAGS+= -I${KRB5DIR}/lib/asn1 \
-I${KRB5DIR}/lib/roken
DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
diff --git a/kerberos5/usr.bin/string2key/Makefile b/kerberos5/usr.bin/string2key/Makefile
index 25204fd..fc790e2 100644
--- a/kerberos5/usr.bin/string2key/Makefile
+++ b/kerberos5/usr.bin/string2key/Makefile
@@ -10,7 +10,6 @@ CFLAGS+= -I${KRB5DIR}/kdc \
DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
${LIBCRYPT} ${LIBVERS}
LDADD= -lhdb -lkrb5 -lroken -lasn1 -lcrypto -lcrypt ${LIBVERS}
-SRCS= string2key.c headers.h
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud