1999-10-21 09:06:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-11-27 16:55:14 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
PROG= ngctl
|
|
|
|
MAN= ngctl.8
|
2004-01-09 03:19:40 +00:00
|
|
|
SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
|
2002-01-22 22:01:25 +00:00
|
|
|
msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
|
2004-01-26 10:27:18 +00:00
|
|
|
WARNS?= 3
|
2006-08-07 14:17:05 +00:00
|
|
|
|
2007-03-30 08:23:59 +00:00
|
|
|
.if defined(RELEASE_CRUNCH)
|
2006-08-07 14:17:05 +00:00
|
|
|
NGCTL_NO_LIBEDIT=
|
|
|
|
.endif
|
|
|
|
|
2008-03-29 17:44:40 +00:00
|
|
|
.if ${MK_LIBTHR} == "no"
|
2006-11-27 16:55:14 +00:00
|
|
|
NGCTL_NO_LIBEDIT=
|
|
|
|
.endif
|
|
|
|
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD= netgraph
|
1999-10-21 09:06:11 +00:00
|
|
|
|
2006-08-07 14:17:05 +00:00
|
|
|
.if !defined(NGCTL_NO_LIBEDIT)
|
|
|
|
CFLAGS+= -DEDITLINE
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD+= edit pthread
|
2006-08-07 14:17:05 +00:00
|
|
|
.endif
|
|
|
|
|
1999-10-21 09:06:11 +00:00
|
|
|
.include <bsd.prog.mk>
|