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:40:55 +00:00
parent 213efd3d26
commit a9468a4e63
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312492

View file

@ -8,8 +8,8 @@ SHLIBDIR?= /lib
LIB= nv
SHLIB_MAJOR= 0
.PATH: ${.CURDIR}/../../sys/contrib/libnv ${.CURDIR}/../../sys/sys
CFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
CFLAGS+=-I${SRCTOP}/sys -I${.CURDIR}
SRCS= cnvlist.c
SRCS+= dnvlist.c