Date: Thu, 17 Mar 2016 00:37:04 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296970 - head/lib/libxo/tests Message-ID: <201603170037.u2H0b4Rb082849@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603170037.u2H0b4Rb082849>