xref: /freebsd/usr.bin/xzdec/Makefile (revision a35f04fba2ebb8f86d4cbdc710c89a094572b08e)
181ad8388SMartin Matuska# $FreeBSD$
281ad8388SMartin Matuska
381ad8388SMartin MatuskaPROG=	xzdec
481ad8388SMartin Matuska
581ad8388SMartin MatuskaLINKS=	${BINDIR}/xzdec ${BINDIR}/lzdec
681ad8388SMartin Matuska
781ad8388SMartin MatuskaMLINKS= xzdec.1 lzmadec.1
881ad8388SMartin Matuska
9*a35f04fbSWarner LoshXZDIR=	${SRCTOP}/contrib/xz/src
10*a35f04fbSWarner LoshLZMALIBDIR=	${SRCTOP}/lib/liblzma
1181ad8388SMartin Matuska
1281ad8388SMartin Matuska.PATH: ${XZDIR}/xzdec
1381ad8388SMartin Matuska
1481ad8388SMartin MatuskaSRCS=	xzdec.c
1581ad8388SMartin Matuska
1681ad8388SMartin Matuska.PATH: ${XZDIR}/common
1781ad8388SMartin Matuska
1881ad8388SMartin MatuskaSRCS+=	tuklib_progname.c \
1981ad8388SMartin Matuska	tuklib_exit.c
2081ad8388SMartin Matuska
2181ad8388SMartin MatuskaCFLAGS+=	-DHAVE_CONFIG_H \
2281ad8388SMartin Matuska		-I${LZMALIBDIR} \
2398be8199SMartin Matuska		-I${XZDIR}/common
2481ad8388SMartin Matuska
253e11bd9eSBaptiste DaroussinLIBADD=	lzma
2681ad8388SMartin Matuska
2781ad8388SMartin Matuska.include <bsd.prog.mk>
28