98be819983
Adjust CFLAGS for lzmainfo, xz, xzdec Approved by: delphij (mentor) MFC after: 2 weeks
25 lines
355 B
Makefile
25 lines
355 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
|
|
|
|
WARNS?= 3
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H \
|
|
-I${LZMALIBDIR} \
|
|
-I${XZDIR}/common
|
|
|
|
DPADD= ${LIBLZMA}
|
|
LDADD= -llzma
|
|
|
|
.include <bsd.prog.mk>
|