mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
81ad83880d
Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
26 lines
382 B
Makefile
26 lines
382 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= lzmainfo
|
|
|
|
XZDIR= ${.CURDIR}/../../contrib/xz/src
|
|
LZMALIBDIR= ${.CURDIR}/../../lib/liblzma
|
|
|
|
.PATH: ${XZDIR}/lzmainfo
|
|
SRCS+= lzmainfo.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>
|