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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to