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 981ad8388SMartin MatuskaXZDIR= ${.CURDIR}/../../contrib/xz/src 1081ad8388SMartin MatuskaLZMALIBDIR= ${.CURDIR}/../../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 MatuskaWARNS?= 3 2281ad8388SMartin Matuska 2381ad8388SMartin MatuskaCFLAGS+= -DHAVE_CONFIG_H \ 2481ad8388SMartin Matuska -I${LZMALIBDIR} \ 25*98be8199SMartin Matuska -I${XZDIR}/common 2681ad8388SMartin Matuska 2781ad8388SMartin MatuskaDPADD= ${LIBLZMA} 2881ad8388SMartin MatuskaLDADD= -llzma 2981ad8388SMartin Matuska 3081ad8388SMartin Matuska.include <bsd.prog.mk> 31