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:53:26 +00:00
parent ec6d881762
commit d5e08ff4a3
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../libc/iconv
.PATH: ${SRCTOP}/lib/libc/iconv
SHLIB_MAJOR= 4
WARNS?= 6
CFLAGS+= -I${.CURDIR}/../../libc/iconv
CFLAGS+= -I${SRCTOP}/lib/libc/iconv
CFLAGS+= -Dbool=_Bool

View file

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../mapper_serial
.PATH: ${.CURDIR:H}/mapper_serial
SHLIB= mapper_parallel
SRCS+= citrus_mapper_serial.c