1999-10-21 09:06:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
|
|
|
|
|
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
|
|
|
|
|
|
|
.if defined(RELEASE_CRUNCH)
|
|
|
|
NGCTL_NO_LIBEDIT=
|
|
|
|
.endif
|
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
DPADD= ${LIBNETGRAPH}
|
|
|
|
LDADD= -lnetgraph
|
1999-10-21 09:06:11 +00:00
|
|
|
|
2006-08-07 14:17:05 +00:00
|
|
|
.if !defined(NGCTL_NO_LIBEDIT)
|
|
|
|
CFLAGS+= -DEDITLINE
|
|
|
|
DPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP}
|
|
|
|
LDADD+= -pthread -ledit -ltermcap
|
|
|
|
.endif
|
|
|
|
|
1999-10-21 09:06:11 +00:00
|
|
|
.include <bsd.prog.mk>
|