freebsd-dev/usr.bin/xzdec/Makefile
Baptiste Daroussin 3e11bd9e2a Convert to usr.bin/ to LIBADD
Reduce overlinking
2014-11-25 14:29:10 +00:00

28 lines
384 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
CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMALIBDIR} \
-I${XZDIR}/common
LIBADD= lzma
.include <bsd.prog.mk>