1.include <src.opts.mk> 2 3PROG= xz 4 5LINKS= ${BINDIR}/xz ${BINDIR}/unxz 6LINKS+= ${BINDIR}/xz ${BINDIR}/lzma 7LINKS+= ${BINDIR}/xz ${BINDIR}/unlzma 8LINKS+= ${BINDIR}/xz ${BINDIR}/xzcat 9LINKS+= ${BINDIR}/xz ${BINDIR}/lzcat 10 11MLINKS= xz.1 unxz.1 xz.1 lzma.1 xz.1 unlzma.1 xz.1 xzcat.1 xz.1 lzcat.1 12 13XZDIR= ${SRCTOP}/contrib/xz/src 14LZMALIBDIR= ${SRCTOP}/lib/liblzma 15 16.PATH: ${XZDIR}/xz 17 18SRCS= args.c \ 19 coder.c \ 20 file_io.c \ 21 hardware.c \ 22 list.c \ 23 main.c \ 24 message.c \ 25 mytime.c \ 26 options.c \ 27 signals.c \ 28 suffix.c \ 29 util.c 30 31.PATH: ${XZDIR}/common 32 33SRCS+= tuklib_open_stdxxx.c \ 34 tuklib_progname.c \ 35 tuklib_exit.c \ 36 tuklib_cpucores.c \ 37 tuklib_mbstr_width.c \ 38 tuklib_mbstr_fw.c 39 40WARNS?= 3 41 42CFLAGS+= -DHAVE_CONFIG_H \ 43 -I${LZMALIBDIR} \ 44 -I${XZDIR}/common 45 46LIBADD= lzma 47 48.include <bsd.prog.mk> 49