svn commit: r296970 - head/lib/libxo/tests

Simon J. Gerraty sjg at FreeBSD.org
Thu Mar 17 00:37:05 UTC 2016


Author: sjg
Date: Thu Mar 17 00:37:04 2016
New Revision: 296970
URL: https://svnweb.freebsd.org/changeset/base/296970

Log:
  We need libutil
  
  and make it feasible to at least build the tests in situ

Modified:
  head/lib/libxo/tests/Makefile

Modified: head/lib/libxo/tests/Makefile
==============================================================================
--- head/lib/libxo/tests/Makefile	Thu Mar 17 00:32:29 2016	(r296969)
+++ head/lib/libxo/tests/Makefile	Thu Mar 17 00:37:04 2016	(r296970)
@@ -242,8 +242,14 @@ PROGS+= test_11
 
 CFLAGS+=	-I${LIBXOSRC}/libxo
 
-LIBADD=		xo
+LIBADD=		xo util 
 
 SUBDIR+=	encoder
 
+.if ${MACHINE} == "host"
+# make it easy to test without install
+TESTSDIR=	${.OBJDIR}
+CFLAGS+=	-I${.CURDIR:H}
+.endif
+
 .include <bsd.test.mk>


More information about the svn-src-all mailing list