aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/tests/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-06-04 13:12:23 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-06-04 13:12:23 +0000
commiteb3a0a74a069d0f294e1596504676459282bb308 (patch)
tree17f304f557b427416964dd4825058a6383764af7 /lib/libarchive/tests/Makefile
parentb3a8659f3692977b2d4689d3d1388860c868dc4c (diff)
libarchive: Clean up the build configuration
* 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
Diffstat (limited to 'lib/libarchive/tests/Makefile')
-rw-r--r--lib/libarchive/tests/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libarchive/tests/Makefile b/lib/libarchive/tests/Makefile
index 3a03725054f4..3210938bc117 100644
--- a/lib/libarchive/tests/Makefile
+++ b/lib/libarchive/tests/Makefile
@@ -1,11 +1,11 @@
.include <src.opts.mk>
+.include "${SRCTOP}/lib/libarchive/Makefile.inc"
+
PACKAGE= tests
WARNS?= 3
-_LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
-
ATF_TESTS_SH+= functional_test
TEST_METADATA.functional_test+= timeout="600"
@@ -14,8 +14,8 @@ BINDIR= ${TESTSDIR}
PROGS+= libarchive_test
-CFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR}
-CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive -I${_LIBARCHIVEDIR}/libarchive/test
+CFLAGS+= -I${.OBJDIR}
+CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive/test
CFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib