Convert to LIBADD

This commit is contained in:
Baptiste Daroussin 2014-11-26 08:12:21 +00:00
parent a97184817e
commit 65c31e445c
3 changed files with 4 additions and 7 deletions

View File

@ -11,13 +11,11 @@ MAN= login.1
CFLAGS+=-DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
LIBADD= util crypt
.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
LIBADD+= pam
.endif
BINOWN= root

View File

@ -14,7 +14,7 @@ CFLAGS= -DSH_PATH=\"${SH_PATH}\" -DSH_NAME=\"${SH_NAME}\" \
#CFLAGS+= -DOINIT_RC=\"/etc/oinit.rc\"
#LDADD= -lutil -ledit -ltermcap
LDADD=-lutil
LIBADD= util
MAN=
.include <bsd.prog.mk>

View File

@ -11,8 +11,7 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \
yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c
CFLAGS+=-Wall
DPADD= ${LIBCRYPT} ${LIBUTIL}
LDADD= -lcrypt -lutil
LIBADD= crypt util
.PATH: ${.CURDIR}/../../../../usr.bin/chpass \
# ${.CURDIR}/../../../../usr.sbin/vipw \
# ${.CURDIR}/../../../../usr.bin/passwd