1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths

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:46:20 +00:00
parent 1ec0c0f505
commit 61d324734a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312498

View File

@ -2,9 +2,9 @@
PACKAGE=lib${LIB}
LIB= lzma
LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma
LZMADIR= ${SRCTOP}/contrib/xz/src/liblzma
.PATH: ${LZMADIR}/../common
.PATH: ${LZMADIR:H}/common
SRCS+= tuklib_physmem.c tuklib_cpucores.c
.PATH: ${LZMADIR}/api/lzma
@ -145,7 +145,7 @@ CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMADIR}/lzma \
-I${LZMADIR}/delta \
-I${LZMADIR}/simple \
-I${LZMADIR}/../common
-I${LZMADIR:H}/common
LIBADD+= pthread