1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1998-12-27 21:47:14 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
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
|
1998-12-27 21:47:14 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -I. -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.CURDIR}
|
1998-12-27 21:47:14 +00:00
|
|
|
|
|
|
|
# compile debug support
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -DDEBUG
|
1998-12-27 21:47:14 +00:00
|
|
|
|
|
|
|
# enable rtprio usage
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -DUSE_RTPRIO
|
1998-12-27 21:47:14 +00:00
|
|
|
|
2001-05-02 08:53:35 +00:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
1998-12-27 21:47:14 +00:00
|
|
|
.if !defined(I4B_WITHOUT_CURSES)
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -DUSE_CURSES
|
|
|
|
DPADD= ${LIBCURSES}
|
|
|
|
LDADD= -lcurses
|
1998-12-27 21:47:14 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(I4B_EXTERNAL_MONITOR)
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -DI4B_EXTERNAL_MONITOR
|
1998-12-27 21:47:14 +00:00
|
|
|
.if defined(I4B_NOTCPIP_MONITOR)
|
2001-07-20 06:20:32 +00:00
|
|
|
COPTS+= -DI4B_NOTCPIP_MONITOR
|
1998-12-27 21:47:14 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
1999-01-01 09:51:46 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|