2018-07-24 19:55:02 +00:00
|
|
|
# $FreeBSD$
|
2018-07-24 13:17:40 +00:00
|
|
|
|
2018-11-19 02:30:12 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2018-07-24 13:21:44 +00:00
|
|
|
PROG= bectl
|
|
|
|
MAN= bectl.8
|
2018-07-24 13:17:40 +00:00
|
|
|
|
2018-08-06 03:41:52 +00:00
|
|
|
SRCS= bectl.c bectl_jail.c bectl_list.c
|
2018-08-06 03:32:25 +00:00
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
LIBADD+= be
|
2018-07-26 03:14:58 +00:00
|
|
|
LIBADD+= jail
|
2018-07-24 13:17:40 +00:00
|
|
|
LIBADD+= nvpair
|
2018-07-26 18:56:50 +00:00
|
|
|
LIBADD+= util
|
2018-07-24 13:17:40 +00:00
|
|
|
|
2018-07-25 14:30:47 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
|
2018-08-11 20:47:35 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
|
2018-07-25 14:30:47 +00:00
|
|
|
|
|
|
|
CFLAGS+= -DNEED_SOLARIS_BOOLEAN
|
|
|
|
|
2018-11-19 02:30:12 +00:00
|
|
|
HAS_TESTS= yes
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
.include <bsd.prog.mk>
|