2001-01-07 12:03:21 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2001/01/07 09:03:21 martin Exp $
|
2001-01-06 16:00:10 +03:00
|
|
|
|
|
|
|
PROG = isdnd
|
|
|
|
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 \
|
|
|
|
holiday.c
|
|
|
|
|
|
|
|
COPTS += -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.OBJDIR}
|
|
|
|
|
|
|
|
# compile debug support
|
|
|
|
COPTS += -DDEBUG
|
|
|
|
|
|
|
|
MAN = isdnd.8 isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
|
|
|
|
|
2001-01-07 12:03:21 +03:00
|
|
|
LDADD+=-ly -ll
|
2001-01-06 16:00:10 +03:00
|
|
|
YFLAGS += -d
|
2001-01-07 12:03:21 +03:00
|
|
|
CLEANFILES+= y.tab.h
|
2001-01-06 16:00:10 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.if !defined(I4B_WITHOUT_CURSES)
|
|
|
|
COPTS += -DUSE_CURSES
|
|
|
|
LDADD += -lcurses
|
|
|
|
LDADD += -ltermlib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(I4B_EXTERNAL_MONITOR)
|
|
|
|
COPTS += -DI4B_EXTERNAL_MONITOR
|
|
|
|
.if defined(I4B_NOTCPIP_MONITOR)
|
|
|
|
COPTS += -DI4B_NOTCPIP_MONITOR
|
|
|
|
.endif
|
|
|
|
.endif
|