aboutsummaryrefslogtreecommitdiff
path: root/lib/libxo/tests/encoder/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxo/tests/encoder/Makefile')
-rw-r--r--lib/libxo/tests/encoder/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libxo/tests/encoder/Makefile b/lib/libxo/tests/encoder/Makefile
new file mode 100644
index 000000000000..2cd86b917855
--- /dev/null
+++ b/lib/libxo/tests/encoder/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+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
+
+DPADD+= ${LIBXO}
+LDADD+= -lxo
+
+.include <bsd.lib.mk>