Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
32 lines
441 B
Makefile
32 lines
441 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= xzdec
|
|
|
|
LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec
|
|
|
|
MLINKS= xzdec.1 lzmadec.1
|
|
|
|
XZDIR= ${.CURDIR}/../../contrib/xz/src
|
|
LZMALIBDIR= ${.CURDIR}/../../lib/liblzma
|
|
|
|
.PATH: ${XZDIR}/xzdec
|
|
|
|
SRCS= xzdec.c
|
|
|
|
.PATH: ${XZDIR}/common
|
|
|
|
SRCS+= tuklib_progname.c \
|
|
tuklib_exit.c
|
|
|
|
WARNS?= 3
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
-I${LZMALIBDIR} \
|
|
-I${XZDIR}/common \
|
|
-I${XZDIR}/liblzma/api
|
|
|
|
DPADD= ${LIBLZMA}
|
|
LDADD= -llzma
|
|
|
|
.include <bsd.prog.mk>
|