]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/i4b/isdnd/Makefile
This commit was generated by cvs2svn to compensate for changes in r53024,
[FreeBSD/FreeBSD.git] / usr.sbin / i4b / isdnd / Makefile
1 # $FreeBSD$
2
3 PROG    =       isdnd
4
5 SRCS    =       rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c  \
6                 process.c rates.c msghdl.c fsm.c support.c timer.c      \
7                 exec.c dial.c monitor.c pcause.c controller.c alias.c   \
8                 y.tab.h
9
10 COPTS   +=      -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.OBJDIR}
11
12 # compile debug support
13 COPTS   +=      -DDEBUG
14
15 # enable rtprio usage
16 COPTS   +=      -DUSE_RTPRIO
17
18 MAN8     =      isdnd.8
19 MAN5     =      isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
20
21 .if !defined(I4B_WITHOUT_CURSES)
22 COPTS   +=      -DUSE_CURSES
23 DPADD    =      ${LIBCURSES} ${LIBTERMCAP}
24 LDADD    =      -lcurses -ltermcap
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>