Fixed world breakage in previous commit. -lpam must never be used

directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the lbraries necessary for static linkage.

Fixed new and old bugs in DPADD.  ${LIBPAM} was missing, and the
library order was different from that in LDADD so `make checkdpadd'
reported a non-bug.
This commit is contained in:
Bruce Evans 2001-05-09 14:23:54 +00:00
parent 63e45b51b0
commit f61dcf5281
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76407

View File

@ -13,9 +13,10 @@ CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c authenc.c
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} ${LIBMP} \
${LIBCRYPT}
LDADD= -lutil -ltermcap ${LIBTELNET} -lcrypto -lcrypt -lmp -lpam
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
${LIBCRYPT} ${LIBMP} ${LIBPAM}
LDADD= -lutil -ltermcap ${LIBTELNET} -lcrypto \
-lcrypt -lmp ${MINUSLPAM}
.include <bsd.prog.mk>