freebsd-nq/usr.sbin/i4b/isdnd/Makefile
Bruce Evans bf2033044e Fixed a missing library and style bugs in LDADD. Static linkage was broken.
Fixed missing DPADD.

Fixed placement of the include of bsd.prog.mk.  It annulled
`make checkdpadd', which should have been run to find the broken DPADD.
1999-01-01 09:51:46 +00:00

35 lines
730 B
Makefile

# $Id$
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 \
y.tab.h
COPTS += -I${.CURDIR}/../isdnmonitor -I${.CURDIR}/../isdntel -I${.OBJDIR}
# compile debug support
COPTS += -DDEBUG
# enable rtprio usage
COPTS += -DUSE_RTPRIO
MAN8 = isdnd.8
MAN5 = isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
.if !defined(I4B_WITHOUT_CURSES)
COPTS += -DUSE_CURSES
DPADD = ${LIBCURSES} ${LIBTERMCAP}
LDADD = -lcurses -ltermcap
.endif
.if defined(I4B_EXTERNAL_MONITOR)
COPTS += -DI4B_EXTERNAL_MONITOR
.if defined(I4B_NOTCPIP_MONITOR)
COPTS += -DI4B_NOTCPIP_MONITOR
.endif
.endif
.include <bsd.prog.mk>