diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-05-10 06:59:50 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-05-10 06:59:50 +0000 |
commit | 81ad83880dcc267b198c781929dd9a009f98c5f7 (patch) | |
tree | d2d916954c6a66a3168ee356b5f24da01c2017d6 /usr.bin/xzdec/Makefile | |
parent | 8da9c507753bce6b31fdd966709bae4588c09a7e (diff) | |
parent | c19dc90688c2dacd857449ee2edceb09c3811e20 (diff) | |
download | src-81ad83880dcc267b198c781929dd9a009f98c5f7.tar.gz src-81ad83880dcc267b198c781929dd9a009f98c5f7.zip |
Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version
Approved by: delphij (mentor)
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=207842
Diffstat (limited to 'usr.bin/xzdec/Makefile')
-rw-r--r-- | usr.bin/xzdec/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usr.bin/xzdec/Makefile b/usr.bin/xzdec/Makefile new file mode 100644 index 000000000000..7107f4ffc774 --- /dev/null +++ b/usr.bin/xzdec/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PROG= xzdec + +LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec + +MLINKS= xzdec.1 lzmadec.1 + +XZDIR= ${.CURDIR}/../../contrib/xz/src +LZMALIBDIR= ${.CURDIR}/../../lib/liblzma + +.PATH: ${XZDIR}/xzdec + +SRCS= xzdec.c + +.PATH: ${XZDIR}/common + +SRCS+= tuklib_progname.c \ + tuklib_exit.c + +WARNS?= 3 + +CFLAGS+= -DHAVE_CONFIG_H \ + -I${LZMALIBDIR} \ + -I${XZDIR}/common \ + -I${XZDIR}/liblzma/api + +DPADD= ${LIBLZMA} +LDADD= -llzma + +.include <bsd.prog.mk> |