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:35:18 +00:00
parent 9582a53013
commit b7debe1d3f

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmdb
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.