Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones

This implifies pathing in make/displayed output

MFC after:    3 weeks
Sponsored by: Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-01-20 04:28:41 +00:00
parent f6d8b2c698
commit 5943dd2a5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312469

View file

@ -24,9 +24,9 @@ GENSRCS=yp.h \
yppasswd_private_xdr.c
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C
RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x
RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x
RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
RPCSRC= ${SRCTOP}/include/rpcsvc/yp.x
RPCSRC_PW= ${SRCTOP}/include/rpcsvc/yppasswd.x
RPCSRC_PRIV= ${SRCTOP}/usr.sbin/rpc.yppasswdd/yppasswd_private.x
yp.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}