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.
This commit is contained in:
parent
77ca8b20d8
commit
bf2033044e
|
@ -1,3 +1,4 @@
|
|||
# $Id$
|
||||
|
||||
PROG = isdnd
|
||||
|
||||
|
@ -17,11 +18,10 @@ COPTS += -DUSE_RTPRIO
|
|||
MAN8 = isdnd.8
|
||||
MAN5 = isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if !defined(I4B_WITHOUT_CURSES)
|
||||
COPTS += -DUSE_CURSES
|
||||
LDADD += -lcurses
|
||||
DPADD = ${LIBCURSES} ${LIBTERMCAP}
|
||||
LDADD = -lcurses -ltermcap
|
||||
.endif
|
||||
|
||||
.if defined(I4B_EXTERNAL_MONITOR)
|
||||
|
@ -30,3 +30,5 @@ COPTS += -DI4B_EXTERNAL_MONITOR
|
|||
COPTS += -DI4B_NOTCPIP_MONITOR
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue