a35f04fba2
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
22 lines
311 B
Makefile
22 lines
311 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= lzmainfo
|
|
|
|
XZDIR= ${SRCTOP}/contrib/xz/src
|
|
LZMALIBDIR= ${SRCTOP}/lib/liblzma
|
|
|
|
.PATH: ${XZDIR}/lzmainfo
|
|
SRCS+= lzmainfo.c
|
|
|
|
.PATH: ${XZDIR}/common
|
|
SRCS+= tuklib_progname.c \
|
|
tuklib_exit.c
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
-I${LZMALIBDIR} \
|
|
-I${XZDIR}/common
|
|
|
|
LIBADD= lzma
|
|
|
|
.include <bsd.prog.mk>
|