freebsd-nq/usr.bin/lzmainfo/Makefile
Warner Losh a35f04fba2 Adopt SRCTOP in usr.bin
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)
2017-03-12 18:58:44 +00:00

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>