aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.yppasswdd
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-01 04:14:41 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-01 04:14:41 +0000
commite938182bf56ec1cd77081dc4407491bfaf4eb623 (patch)
tree9c0dae7ad0890ddccc9d5aefe93653327b152702 /usr.sbin/rpc.yppasswdd
parent4841dac7c3aea66d1c2f4207c7da11df5e2bf069 (diff)
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314456
Diffstat (limited to 'usr.sbin/rpc.yppasswdd')
-rw-r--r--usr.sbin/rpc.yppasswdd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpc.yppasswdd/Makefile b/usr.sbin/rpc.yppasswdd/Makefile
index 9b2fb395cb7a..22887fb0ec88 100644
--- a/usr.sbin/rpc.yppasswdd/Makefile
+++ b/usr.sbin/rpc.yppasswdd/Makefile
@@ -2,8 +2,8 @@
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
-.PATH: ${.CURDIR}/../../usr.sbin/ypserv ${.CURDIR}/../../usr.bin/chpass \
- ${.CURDIR}/../../libexec/ypxfr ${RPCDIR}
+.PATH: ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/usr.bin/chpass \
+ ${SRCTOP}/libexec/ypxfr ${RPCDIR}
PROG= rpc.yppasswdd
SCRIPTS=yppwupdate
@@ -16,9 +16,9 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_private.h yppasswd_private_svc.c \
WARNS?= 5
CFLAGS+= -fno-strict-aliasing
-CFLAGS+= -I${.CURDIR}/../../usr.sbin/vipw \
- -I${.CURDIR}/../../usr.sbin/ypserv \
- -I${.CURDIR}/../../libexec/ypxfr \
+CFLAGS+= -I${SRCTOP}/usr.sbin/vipw \
+ -I${SRCTOP}/usr.sbin/ypserv \
+ -I${SRCTOP}/libexec/ypxfr \
-I${.CURDIR} -I.
LIBADD= rpcsvc crypt util