Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.sbin / i4b / isdnd / Makefile
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 $
3
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
10
11 COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
12
13 # compile debug support
14 COPTS+= -DDEBUG
15
16 # enable rtprio usage
17 COPTS+= -DUSE_RTPRIO
18
19 .include "${.CURDIR}/../Makefile.inc"
20
21 .if !defined(I4B_WITHOUT_CURSES)
22 COPTS+= -DUSE_CURSES
23 DPADD=  ${LIBCURSES}
24 LDADD=  -lcurses
25 .endif
26
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
33
34 .include <bsd.prog.mk>