18f02c0d1SXin LI.include <src.opts.mk> 281ad8388SMartin Matuska 381ad8388SMartin MatuskaPROG= xz 481ad8388SMartin Matuska 581ad8388SMartin MatuskaLINKS= ${BINDIR}/xz ${BINDIR}/unxz 681ad8388SMartin MatuskaLINKS+= ${BINDIR}/xz ${BINDIR}/lzma 781ad8388SMartin MatuskaLINKS+= ${BINDIR}/xz ${BINDIR}/unlzma 881ad8388SMartin MatuskaLINKS+= ${BINDIR}/xz ${BINDIR}/xzcat 981ad8388SMartin MatuskaLINKS+= ${BINDIR}/xz ${BINDIR}/lzcat 1081ad8388SMartin Matuska 1181ad8388SMartin MatuskaMLINKS= xz.1 unxz.1 xz.1 lzma.1 xz.1 unlzma.1 xz.1 xzcat.1 xz.1 lzcat.1 1281ad8388SMartin Matuska 13a35f04fbSWarner LoshXZDIR= ${SRCTOP}/contrib/xz/src 14a35f04fbSWarner LoshLZMALIBDIR= ${SRCTOP}/lib/liblzma 1581ad8388SMartin Matuska 1681ad8388SMartin Matuska.PATH: ${XZDIR}/xz 1781ad8388SMartin Matuska 1881ad8388SMartin MatuskaSRCS= args.c \ 1981ad8388SMartin Matuska coder.c \ 2081ad8388SMartin Matuska file_io.c \ 2181ad8388SMartin Matuska hardware.c \ 2281ad8388SMartin Matuska list.c \ 2381ad8388SMartin Matuska main.c \ 2481ad8388SMartin Matuska message.c \ 2553200025SRui Paulo mytime.c \ 2681ad8388SMartin Matuska options.c \ 27*3b35e7eeSXin LI sandbox.c \ 2881ad8388SMartin Matuska signals.c \ 2981ad8388SMartin Matuska suffix.c \ 3081ad8388SMartin Matuska util.c 3181ad8388SMartin Matuska 3281ad8388SMartin Matuska.PATH: ${XZDIR}/common 3381ad8388SMartin Matuska 3481ad8388SMartin MatuskaSRCS+= tuklib_open_stdxxx.c \ 3581ad8388SMartin Matuska tuklib_progname.c \ 3681ad8388SMartin Matuska tuklib_exit.c \ 37e0f0e66dSMartin Matuska tuklib_cpucores.c \ 38e0f0e66dSMartin Matuska tuklib_mbstr_width.c \ 39e0f0e66dSMartin Matuska tuklib_mbstr_fw.c 4081ad8388SMartin Matuska 4181ad8388SMartin MatuskaWARNS?= 3 4281ad8388SMartin Matuska 4381ad8388SMartin MatuskaCFLAGS+= -DHAVE_CONFIG_H \ 4481ad8388SMartin Matuska -I${LZMALIBDIR} \ 4598be8199SMartin Matuska -I${XZDIR}/common 4681ad8388SMartin Matuska 473e11bd9eSBaptiste DaroussinLIBADD= lzma 4881ad8388SMartin Matuska 4981ad8388SMartin Matuska.include <bsd.prog.mk> 50