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
This commit is contained in:
parent
eca186c4c2
commit
c3f658c181
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user