blob: 071f1c38ab95e21de96f67f5e590949cbd76f44b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>
|