diff options
Diffstat (limited to 'usr.sbin/ngctl/Makefile')
-rw-r--r-- | usr.sbin/ngctl/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile new file mode 100644 index 0000000..071f1c3 --- /dev/null +++ b/usr.sbin/ngctl/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ +# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $ + +.include <bsd.own.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 + +.if defined(RELEASE_CRUNCH) +NGCTL_NO_LIBEDIT= +.endif + +.if ${MK_LIBTHR} == "no" +NGCTL_NO_LIBEDIT= +.endif + +DPADD= ${LIBNETGRAPH} +LDADD= -lnetgraph + +.if !defined(NGCTL_NO_LIBEDIT) +CFLAGS+= -DEDITLINE +DPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP} +LDADD+= -lpthread -ledit -ltermcap +.endif + +.include <bsd.prog.mk> |