mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
Add -j <jail> flag to ngctl to allow ngctl to attach and run inside a jail. This allow parent to manipulate netgraph nodes in the jail even if ngctl is not available. Submitted by: David Marker <dave_freedave.net> Reviewed by: kevans, zlei, jamie Relnotes: yes Differential Revision: https://reviews.freebsd.org/D50241
21 lines
396 B
Makefile
21 lines
396 B
Makefile
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= ngctl
|
|
MAN= ngctl.8
|
|
SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
|
|
msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
|
|
WARNS?= 3
|
|
|
|
LIBADD= netgraph
|
|
|
|
CFLAGS+= -DEDITLINE
|
|
LIBADD+= edit pthread
|
|
|
|
.if ${MK_JAIL} != "no"
|
|
CFLAGS+= -DJAIL
|
|
LIBADD+= jail
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|