diff options
author | marcel <marcel@FreeBSD.org> | 2014-10-23 23:16:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-10-23 23:16:21 +0000 |
commit | 0172ecaad7b0395315373529801f431b8e5aedea (patch) | |
tree | c3ab335cbe5d8eb0791ca7eba7ebf359c77fd8a9 /usr.bin | |
parent | 1c9fbedf833fe685d563e3d1751d4830649757e2 (diff) | |
download | FreeBSD-src-0172ecaad7b0395315373529801f431b8e5aedea.zip FreeBSD-src-0172ecaad7b0395315373529801f431b8e5aedea.tar.gz |
Hook xo(1) to the build -- it's like echo, but uses libxo to
support emitting machine-readable output.
Sponsored by: Juniper Networks, Inc.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/xo/Makefile | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 353816a..488c644 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 0000000..c7b51d8 --- /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 <bsd.prog.mk> |