]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - usr.sbin/i4b/isdnd/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / usr.sbin / i4b / isdnd / Makefile
1 # $FreeBSD$
2
3 PROG=   isdnd
4 MAN=    isdnd.rc.5 isdnd.rates.5 isdnd.acct.5 isdnd.8
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 holiday.c
9
10 # compile debug support
11 CFLAGS+= -DDEBUG
12
13 # avoid wacky merging of string constants from
14 # source code with compile-time timestamp
15 CFLAGS+= -fno-merge-constants
16
17 # enable rtprio usage
18 CFLAGS+= -DUSE_RTPRIO
19
20 CFLAGS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
21
22 .include "${.CURDIR}/../Makefile.inc"
23
24 .if !defined(I4B_WITHOUT_CURSES)
25 CFLAGS+= -DUSE_CURSES
26 DPADD=  ${LIBCURSES}
27 LDADD=  -lcurses
28 .endif
29
30 .if defined(I4B_EXTERNAL_MONITOR)
31 CFLAGS+= -DI4B_EXTERNAL_MONITOR
32 .if defined(I4B_NOTCPIP_MONITOR)
33 CFLAGS+= -DI4B_NOTCPIP_MONITOR
34 .endif
35 .endif
36
37 .include <bsd.prog.mk>