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