summaryrefslogtreecommitdiff
path: root/kerberosV
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2013-06-17 21:27:17 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2013-06-17 21:27:17 +0000
commit6b472ffac5bf56db90ed1864ca1d01361303dbf2 (patch)
tree6a2e37c9990ed2ef4f024b59b855734ddbd38124 /kerberosV
parent04e32ff1185c26ae06bf391ab2425123a21db924 (diff)
ditch the beforedepend target and properly generate SRCS file list that
includes the symlinked src files as well
Diffstat (limited to 'kerberosV')
-rw-r--r--kerberosV/lib/libgssapi/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/kerberosV/lib/libgssapi/Makefile b/kerberosV/lib/libgssapi/Makefile
index 00ca8e82138..f5a5ce22359 100644
--- a/kerberosV/lib/libgssapi/Makefile
+++ b/kerberosV/lib/libgssapi/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2013/06/17 21:14:19 robert Exp $
+# $OpenBSD: Makefile,v 1.3 2013/06/17 21:27:16 robert Exp $
LIB= gssapi
@@ -277,12 +277,10 @@ CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} gssapi_asn1_files spnego_asn1_fil
.for i in ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC}
CLEANFILES+=$i
-.endfor
+SRCS+=$i
-beforedepend:
-.for i in ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC}
- cmp -s ${KRB5DIR}/lib/gssapi/${i:S@__@/@} ${.OBJDIR}/${i} || \
- ln -sf ${KRB5DIR}/lib/gssapi/${i:S@__@/@} ${.OBJDIR}/${i}
+${i}: ${i:S@__@/@}
+ ln -s ${.ALLSRC} ${.OBJDIR}/${i}
.endfor
gengssapi: gssapi.asn1