Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 23:16:22 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273568 - in head/usr.bin: . xo
Message-ID:  <201410232316.s9NNGMO1022993@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410232316.s9NNGMO1022993>