diff options
author | marcel <marcel@FreeBSD.org> | 2014-10-23 23:14:23 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-10-23 23:14:23 +0000 |
commit | 1c9fbedf833fe685d563e3d1751d4830649757e2 (patch) | |
tree | 2b2a7a9d0ebc9bb83abcb5950e031ee395d49485 | |
parent | 0bb25fe6bf9281c3a3c15e756c2f803d3eaac4ac (diff) | |
download | FreeBSD-src-1c9fbedf833fe685d563e3d1751d4830649757e2.zip FreeBSD-src-1c9fbedf833fe685d563e3d1751d4830649757e2.tar.gz |
Hook libxo to the build.
Sponsored by: Juniper Networks, Inc.
-rw-r--r-- | etc/mtree/BSD.include.dist | 2 | ||||
-rw-r--r-- | lib/Makefile | 1 | ||||
-rw-r--r-- | lib/libxo/Makefile | 36 |
3 files changed, 39 insertions, 0 deletions
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist index 3462d7e..fd54387 100644 --- a/etc/mtree/BSD.include.dist +++ b/etc/mtree/BSD.include.dist @@ -249,6 +249,8 @@ .. libmilter .. + libxo + .. lzma .. machine diff --git a/lib/Makefile b/lib/Makefile index b683a90..b1f0de0 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -106,6 +106,7 @@ SUBDIR= ${SUBDIR_ORDERED} \ ${_libvgl} \ ${_libvmmapi} \ libwrap \ + libxo \ liby \ ${_libypclnt} \ libz \ diff --git a/lib/libxo/Makefile b/lib/libxo/Makefile new file mode 100644 index 0000000..644b71f --- /dev/null +++ b/lib/libxo/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +LIBXO= ${.CURDIR:H:H}/contrib/libxo + +.PATH: ${LIBXO}/libxo + +LIB= xo +SHLIB_MAJOR=0 + +SRCS= libxo.c + +CFLAGS+=-I${LIBXO}/libxo + +INCS= xo.h +INCSDIR=${INCLUDEDIR}/libxo + +MAN+= libxo.3 +MAN+= xo_attr.3 \ + xo_create.3 \ + xo_emit.3 \ + xo_err.3 \ + xo_finish.3 \ + xo_flush.3 \ + xo_no_setlocale.3 \ + xo_open_container.3 \ + xo_open_list.3 \ + xo_parse_args.3 \ + xo_set_allocator.3 \ + xo_set_flags.3 \ + xo_set_info.3 \ + xo_set_options.3 \ + xo_set_style.3 \ + xo_set_writer.3 +MAN+= xo_format.5 + +.include <bsd.lib.mk> |