1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/usr.bin/xz/Makefile
Martin Matuska e0f0e66dfe Upgrade xz to git snapshot as of 20101010
Approved by:	delphij (mentor)
MFC after:	1 month
2010-10-11 21:16:50 +00:00

49 lines
806 B
Makefile

# $FreeBSD$
PROG= xz
LINKS= ${BINDIR}/xz ${BINDIR}/unxz
LINKS+= ${BINDIR}/xz ${BINDIR}/lzma
LINKS+= ${BINDIR}/xz ${BINDIR}/unlzma
LINKS+= ${BINDIR}/xz ${BINDIR}/xzcat
LINKS+= ${BINDIR}/xz ${BINDIR}/lzcat
MLINKS= xz.1 unxz.1 xz.1 lzma.1 xz.1 unlzma.1 xz.1 xzcat.1 xz.1 lzcat.1
XZDIR= ${.CURDIR}/../../contrib/xz/src
LZMALIBDIR= ${.CURDIR}/../../lib/liblzma
.PATH: ${XZDIR}/xz
SRCS= args.c \
coder.c \
file_io.c \
hardware.c \
list.c \
main.c \
message.c \
options.c \
signals.c \
suffix.c \
util.c
.PATH: ${XZDIR}/common
SRCS+= tuklib_open_stdxxx.c \
tuklib_progname.c \
tuklib_exit.c \
tuklib_cpucores.c \
tuklib_mbstr_width.c \
tuklib_mbstr_fw.c
WARNS?= 3
CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMALIBDIR} \
-I${XZDIR}/common
DPADD= ${LIBLZMA}
LDADD= -llzma
.include <bsd.prog.mk>