summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppush
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/yppush')
-rw-r--r--usr.sbin/yppush/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/yppush/Makefile b/usr.sbin/yppush/Makefile
index 510dc10..a87be5b 100644
--- a/usr.sbin/yppush/Makefile
+++ b/usr.sbin/yppush/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
-RPCDIR= ${.CURDIR}/../../include/rpcsvc
-.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
- ${.CURDIR}/../../libexec/ypxfr
+RPCDIR= ${SRCTOP}/include/rpcsvc
+.PATH: ${RPCDIR} ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/libexec/ypxfr
PROG= yppush
MAN= yppush.8
@@ -10,7 +9,7 @@ SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
${GENSRCS}
GENSRCS=yp.h yp_clnt.c yppush_svc.c
-CFLAGS+= -I. -I${.CURDIR}/../../libexec/ypxfr
+CFLAGS+= -I. -I${SRCTOP}/libexec/ypxfr
WARNS?= 2
OpenPOWER on IntegriCloud