MFC:
[dragonfly.git] / usr.sbin / i4b / isdnd / Makefile
blobf624a5cf15c8fa6deb31cb3992dbcb4605b90eea
1 # $FreeBSD: src/usr.sbin/i4b/isdnd/Makefile,v 1.3.2.3 2001/08/01 17:45:03 obrien Exp $
2 # $DragonFly: src/usr.sbin/i4b/isdnd/Makefile,v 1.2 2003/06/17 04:29:54 dillon Exp $
4 PROG= isdnd
5 MAN= isdnd.rc.5 isdnd.rates.5 isdnd.acct.5 isdnd.8
6 SRCS= rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
7 process.c rates.c msghdl.c fsm.c support.c timer.c \
8 exec.c dial.c monitor.c pcause.c controller.c alias.c \
9 y.tab.h holiday.c
11 COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
13 # compile debug support
14 COPTS+= -DDEBUG
16 # enable rtprio usage
17 COPTS+= -DUSE_RTPRIO
19 .include "${.CURDIR}/../Makefile.inc"
21 .if !defined(I4B_WITHOUT_CURSES)
22 COPTS+= -DUSE_CURSES
23 DPADD= ${LIBCURSES}
24 LDADD= -lcurses
25 .endif
27 .if defined(I4B_EXTERNAL_MONITOR)
28 COPTS+= -DI4B_EXTERNAL_MONITOR
29 .if defined(I4B_NOTCPIP_MONITOR)
30 COPTS+= -DI4B_NOTCPIP_MONITOR
31 .endif
32 .endif
34 .include <bsd.prog.mk>