7ccc19c3b8
It seems these two tools can be built properly with WARNS=6, even on architectures that are stricter about alignment.
23 lines
344 B
Makefile
23 lines
344 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= lzmainfo
|
|
|
|
XZDIR= ${.CURDIR}/../../contrib/xz/src
|
|
LZMALIBDIR= ${.CURDIR}/../../lib/liblzma
|
|
|
|
.PATH: ${XZDIR}/lzmainfo
|
|
SRCS+= lzmainfo.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>
|