From 41019211aff6898997dcbe809faf75879ac9ca0a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 23 Oct 2014 23:16:21 +0000 Subject: [PATCH] Hook xo(1) to the build -- it's like echo, but uses libxo to support emitting machine-readable output. Sponsored by: Juniper Networks, Inc. --- usr.bin/Makefile | 1 + usr.bin/xo/Makefile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 usr.bin/xo/Makefile diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 353816a0cea0..488c644c9fd2 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -196,6 +196,7 @@ SUBDIR= alias \ xargs \ xinstall \ ${_xlint} \ + xo \ ${_xstr} \ xz \ xzdec \ diff --git a/usr.bin/xo/Makefile b/usr.bin/xo/Makefile new file mode 100644 index 000000000000..c7b51d8e1d86 --- /dev/null +++ b/usr.bin/xo/Makefile @@ -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