svn commit: r273568 - in head/usr.bin: . xo
Marcel Moolenaar
marcel at FreeBSD.org
Thu Oct 23 23:16:23 UTC 2014
Author: marcel
Date: Thu Oct 23 23:16:21 2014
New Revision: 273568
URL: https://svnweb.freebsd.org/changeset/base/273568
Log:
Hook xo(1) to the build -- it's like echo, but uses libxo to
support emitting machine-readable output.
Sponsored by: Juniper Networks, Inc.
Added:
head/usr.bin/xo/
head/usr.bin/xo/Makefile (contents, props changed)
Modified:
head/usr.bin/Makefile
Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile Thu Oct 23 23:14:23 2014 (r273567)
+++ head/usr.bin/Makefile Thu Oct 23 23:16:21 2014 (r273568)
@@ -196,6 +196,7 @@ SUBDIR= alias \
xargs \
xinstall \
${_xlint} \
+ xo \
${_xstr} \
xz \
xzdec \
Added: head/usr.bin/xo/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/xo/Makefile Thu Oct 23 23:16:21 2014 (r273568)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+LIBXO= ${.CURDIR:H:H}/contrib/libxo
+
+.PATH: ${LIBXO}/xo
+
+PROG= xo
+MAN= xo.1
+
+# XXX For xoversion.h
+CFLAGS+=-I${LIBXO}/libxo
+
+DPADD= ${LIBXO}
+LDADD= -lxo
+
+.include <bsd.prog.mk>
More information about the svn-src-head
mailing list