Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones

This simplifies 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:51:36 +00:00
parent eca3ef96a3
commit f36f637c6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312501

View file

@ -5,7 +5,7 @@ LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
MAN= com_err.3
COM_ERRDIR= ${.CURDIR}/../../contrib/com_err
COM_ERRDIR= ${SRCTOP}/contrib/com_err
CFLAGS+= -I${COM_ERRDIR}
LDFLAGS= -Wl,--no-undefined