1 # $NetBSD: Makefile,v 1.8 2009/04/20 16:05:30 drochner Exp $
4 SRCS
= rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
5 process.c rates.c msghdl.c fsm.c support.c timer.c \
6 exec.c dial.c monitor.c pcause.c controller.c alias.c \
9 CPPFLAGS
+= -I
${.CURDIR
}/..
/isdnmonitor
-I
${.CURDIR
}/..
/isdntel
10 CPPFLAGS
+= -I
${.CURDIR
} -I
${.OBJDIR
}
12 # compile debug support
15 MAN
= isdnd
.8 isdnd.rc
.5 isdnd.rates
.5 isdnd.acct
.5
20 .
include <bsd.prog.mk
>
22 .if
!defined
(I4B_WITHOUT_CURSES
)
23 CPPFLAGS
+= -DUSE_CURSES
28 .if defined
(I4B_EXTERNAL_MONITOR
)
29 CPPFLAGS
+= -DI4B_EXTERNAL_MONITOR
30 .if defined
(I4B_NOTCPIP_MONITOR
)
31 CPPFLAGS
+= -DI4B_NOTCPIP_MONITOR
35 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
36 COPTS.alias.c
+= -Wno-pointer-sign
37 COPTS.holiday.c
+= -Wno-pointer-sign
38 COPTS.monitor.c
+= -Wno-pointer-sign