1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/usr.bin/lzmainfo/Makefile
Martin Matuska 81ad83880d Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by:	delphij (mentor)
MFC after:	2 weeks
2010-05-10 06:59:50 +00:00

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>