No empty .Rs/.Re
[netbsd-mini2440.git] / usr.sbin / isdn / isdnd / Makefile
blob610a9b0cc26e8e26557480d5d5ee8f28dc8df46c
1 # $NetBSD: Makefile,v 1.8 2009/04/20 16:05:30 drochner Exp $
3 PROG = isdnd
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 \
7 holiday.c
9 CPPFLAGS+= -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel
10 CPPFLAGS+= -I${.CURDIR} -I${.OBJDIR}
12 # compile debug support
13 CPPFLAGS+= -DDEBUG
15 MAN = isdnd.8 isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
17 LDADD+=-ly -ll
18 YHEADER=1
20 .include <bsd.prog.mk>
22 .if !defined(I4B_WITHOUT_CURSES)
23 CPPFLAGS+= -DUSE_CURSES
24 LDADD += -lcurses
25 LDADD += -ltermlib
26 .endif
28 .if defined(I4B_EXTERNAL_MONITOR)
29 CPPFLAGS+= -DI4B_EXTERNAL_MONITOR
30 .if defined(I4B_NOTCPIP_MONITOR)
31 CPPFLAGS+= -DI4B_NOTCPIP_MONITOR
32 .endif
33 .endif
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
39 .endif