Hook libxo to the build.

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Marcel Moolenaar 2014-10-23 23:14:23 +00:00
parent b09d4398fa
commit d7790611c1
3 changed files with 39 additions and 0 deletions

View File

@ -249,6 +249,8 @@
..
libmilter
..
libxo
..
lzma
..
machine

View File

@ -106,6 +106,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
${_libvgl} \
${_libvmmapi} \
libwrap \
libxo \
liby \
${_libypclnt} \
libz \

36
lib/libxo/Makefile Normal file
View File

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