opnsense-src/lib/libxo/tests/encoder/Makefile
Emmanuel Vadot b0995124cd pkgbase: Install libxo test files in the tests package
Reviewed by:	bapt, emaste
Differential Revision:	https://reviews.freebsd.org/D27713
2021-01-04 16:20:26 +01:00

21 lines
333 B
Makefile

# $FreeBSD$
PACKAGE= tests
LIBXOSRC= ${SRCTOP}/contrib/libxo
.PATH: ${LIBXOSRC}/encoder/test
SHLIB_NAME= libenc_test.so
LIBDIR= ${TESTSBASE}/lib/libxo
SYMLINKS+= ${LIBDIR}/${SHLIB_NAME} /usr/lib/libxo/encoder/test.enc
SRCS= enc_test.c
CFLAGS+= -I${LIBXOSRC}/libxo -I${.CURDIR:H:H}/libxo
LIBADD= xo
.include <bsd.lib.mk>