mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
aa404b67bb
It seems these two tools can be built properly with WARNS=6, even on architectures that are stricter about alignment.
29 lines
403 B
Makefile
29 lines
403 B
Makefile
# $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
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
-I${LZMALIBDIR} \
|
|
-I${XZDIR}/common
|
|
|
|
DPADD= ${LIBLZMA}
|
|
LDADD= -llzma
|
|
|
|
.include <bsd.prog.mk>
|