freebsd-nq/usr.bin/xo/Makefile
Phil Shafer 2db46b45f4 Allow proper builds of libxo's CSV encoder:
- Move libxo.a build to subdirectory (lib/libxo/libxo/Makefile)
- Add .WAIT target to delay encoder build til after libxo
- Use FILES to install encoder library as csv.enc
- Update import script to put xo_config.h in new location
2019-12-16 22:05:03 +00:00

25 lines
311 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIBXOSRC= ${SRCTOP}/contrib/libxo
.PATH:
.PATH: ${LIBXOSRC}/xo
PROG= xo
MAN= xo.1
# XXX For xoversion.h
CFLAGS+=-I${LIBXOSRC}/libxo
# XXX For xo_config.h
CFLAGS+=-I${SRCTOP}/lib/libxo/libxo
LIBADD= xo util
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>