181ad8388SMartin Matuska# $FreeBSD$ 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 1381ad8388SMartin MatuskaXZDIR= ${.CURDIR}/../../contrib/xz/src 1481ad8388SMartin MatuskaLZMALIBDIR= ${.CURDIR}/../../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 \ 25*53200025SRui Paulo mytime.c \ 2681ad8388SMartin Matuska options.c \ 2781ad8388SMartin Matuska signals.c \ 2881ad8388SMartin Matuska suffix.c \ 2981ad8388SMartin Matuska util.c 3081ad8388SMartin Matuska 3181ad8388SMartin Matuska.PATH: ${XZDIR}/common 3281ad8388SMartin Matuska 3381ad8388SMartin MatuskaSRCS+= tuklib_open_stdxxx.c \ 3481ad8388SMartin Matuska tuklib_progname.c \ 3581ad8388SMartin Matuska tuklib_exit.c \ 36e0f0e66dSMartin Matuska tuklib_cpucores.c \ 37e0f0e66dSMartin Matuska tuklib_mbstr_width.c \ 38e0f0e66dSMartin Matuska tuklib_mbstr_fw.c 3981ad8388SMartin Matuska 4081ad8388SMartin MatuskaWARNS?= 3 4181ad8388SMartin Matuska 4281ad8388SMartin MatuskaCFLAGS+= -DHAVE_CONFIG_H \ 4381ad8388SMartin Matuska -I${LZMALIBDIR} \ 4498be8199SMartin Matuska -I${XZDIR}/common 4581ad8388SMartin Matuska 463e11bd9eSBaptiste DaroussinLIBADD= lzma 4781ad8388SMartin Matuska 4881ad8388SMartin Matuska.include <bsd.prog.mk> 49