mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 02:51:09 +01:00
a35f04fba2
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
28 lines
370 B
Makefile
28 lines
370 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= xzdec
|
|
|
|
LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec
|
|
|
|
MLINKS= xzdec.1 lzmadec.1
|
|
|
|
XZDIR= ${SRCTOP}/contrib/xz/src
|
|
LZMALIBDIR= ${SRCTOP}/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
|
|
|
|
LIBADD= lzma
|
|
|
|
.include <bsd.prog.mk>
|