Hook xo(1) to the build -- it's like echo, but uses libxo to

support emitting machine-readable output.

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Marcel Moolenaar 2014-10-23 23:16:21 +00:00
parent d7790611c1
commit 41019211af
2 changed files with 17 additions and 0 deletions

View File

@ -196,6 +196,7 @@ SUBDIR= alias \
xargs \
xinstall \
${_xlint} \
xo \
${_xstr} \
xz \
xzdec \

16
usr.bin/xo/Makefile Normal file
View File

@ -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>