freebsd-dev/usr.bin/xzdec/Makefile
Martin Matuska 98be819983 Add two public headers missing in r207842
Adjust CFLAGS for lzmainfo, xz, xzdec

Approved by:	delphij (mentor)
MFC after:	2 weeks
2010-05-10 07:47:31 +00:00

31 lines
414 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
DPADD= ${LIBLZMA}
LDADD= -llzma
.include <bsd.prog.mk>