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:
Enji Cooper 2017-03-01 04:18:28 +00:00
parent e8d2762fd3
commit 5855f96f80

View File

@ -12,8 +12,8 @@ MAN= ypldap.8 ypldap.conf.5
LIBADD= openbsd event util rpcsvc
CFLAGS+=-I${.CURDIR}
CFLAGS+=-I${.CURDIR}/../../contrib/pf/libevent
CFLAGS+=-I${.CURDIR}/../../lib/libopenbsd
CFLAGS+=-I${SRCTOP}/contrib/pf/libevent
CFLAGS+=-I${SRCTOP}/lib/libopenbsd
WARNS= 2