xref: /freebsd/usr.bin/xzdec/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
181ad8388SMartin MatuskaPROG=	xzdec
281ad8388SMartin Matuska
381ad8388SMartin MatuskaLINKS=	${BINDIR}/xzdec ${BINDIR}/lzdec
481ad8388SMartin Matuska
581ad8388SMartin MatuskaMLINKS= xzdec.1 lzmadec.1
681ad8388SMartin Matuska
7*a35f04fbSWarner LoshXZDIR=	${SRCTOP}/contrib/xz/src
8*a35f04fbSWarner LoshLZMALIBDIR=	${SRCTOP}/lib/liblzma
981ad8388SMartin Matuska
1081ad8388SMartin Matuska.PATH: ${XZDIR}/xzdec
1181ad8388SMartin Matuska
1281ad8388SMartin MatuskaSRCS=	xzdec.c
1381ad8388SMartin Matuska
1481ad8388SMartin Matuska.PATH: ${XZDIR}/common
1581ad8388SMartin Matuska
1681ad8388SMartin MatuskaSRCS+=	tuklib_progname.c \
1781ad8388SMartin Matuska	tuklib_exit.c
1881ad8388SMartin Matuska
1981ad8388SMartin MatuskaCFLAGS+=	-DHAVE_CONFIG_H \
2081ad8388SMartin Matuska		-I${LZMALIBDIR} \
2198be8199SMartin Matuska		-I${XZDIR}/common
2281ad8388SMartin Matuska
233e11bd9eSBaptiste DaroussinLIBADD=	lzma
2481ad8388SMartin Matuska
2581ad8388SMartin Matuska.include <bsd.prog.mk>
26