freebsd-nq/usr.bin/xzdec/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

28 lines
370 B
Makefile

# $FreeBSD$
PROG= xzdec
LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec
MLINKS= xzdec.1 lzmadec.1
XZDIR= ${SRCTOP}/contrib/xz/src
LZMALIBDIR= ${SRCTOP}/lib/liblzma
.PATH: ${XZDIR}/xzdec
SRCS= xzdec.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>