mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
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)
27 lines
370 B
Makefile
27 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>
|