summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdnd/Makefile
blob: 644df2fac3e11ebd58b0eec6652a2c789a4888f3 (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
30
31
32
33
# $FreeBSD$

PROG=	isdnd
MAN=	isdnd.rc.5 isdnd.rates.5 isdnd.acct.5 isdnd.8
SRCS=	rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c	\
	process.c rates.c msghdl.c fsm.c support.c timer.c	\
	exec.c dial.c monitor.c pcause.c controller.c alias.c	\
	y.tab.h holiday.c

# compile debug support
COPTS+=	-DDEBUG

# enable rtprio usage
COPTS+=	-DUSE_RTPRIO

COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}

.include "${.CURDIR}/../Makefile.inc"

.if !defined(I4B_WITHOUT_CURSES)
COPTS+=	-DUSE_CURSES
DPADD=	${LIBCURSES}
LDADD=	-lcurses
.endif

.if defined(I4B_EXTERNAL_MONITOR)
COPTS+=	-DI4B_EXTERNAL_MONITOR
.if defined(I4B_NOTCPIP_MONITOR)
COPTS+=	-DI4B_NOTCPIP_MONITOR
.endif
.endif

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud