mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
* Move settings duplicated in libarchive, bsdcat, bsdcpio, bsdtar, and bsdunzip into libarchive's Makefile.inc. * Drop some CFLAGS that merely duplicated some of the contents of our platform configuration header. MFC after: 1 week Reviewed by: mm Differential Revision: https://reviews.freebsd.org/D57307
25 lines
485 B
Makefile
25 lines
485 B
Makefile
.include <src.opts.mk>
|
|
|
|
.include "${SRCTOP}/lib/libarchive/Makefile.inc"
|
|
|
|
PROG= bsdunzip
|
|
|
|
.PATH: ${_LIBARCHIVEDIR}/unzip
|
|
SRCS= bsdunzip.c
|
|
|
|
.PATH: ${_LIBARCHIVEDIR}/libarchive_fe
|
|
SRCS+= cmdline.c lafe_err.c lafe_getline.c passphrase.c
|
|
|
|
LIBADD= archive
|
|
|
|
CFLAGS+= -DBSDUNZIP_VERSION_STRING=\"${LIBARCHIVE_VERSION_ONLY_STRING}\"
|
|
CFLAGS+= -I${_LIBARCHIVEDIR}/unzip
|
|
|
|
SYMLINKS=bsdunzip ${BINDIR}/unzip
|
|
MLINKS= bsdunzip.1 unzip.1
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|