summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
commit1f187793183f3d481e685f06b9d0776d38926bf7 (patch)
tree569e9832fa3d4775e3b8244ea1f09d4307418368 /libexec/ftpd/Makefile
parent84381fd9772c40ffd0f864ffb6db9a6f89e54fe0 (diff)
downloadFreeBSD-src-1f187793183f3d481e685f06b9d0776d38926bf7.zip
FreeBSD-src-1f187793183f3d481e685f06b9d0776d38926bf7.tar.gz
Convert to LIBADD
Reduce overlinking
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 0c7c982..da41967 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -13,19 +13,16 @@ YFLAGS=
WARNS?= 2
WFORMAT=0
-DPADD= ${LIBUTIL} ${LIBCRYPT}
-LDADD= -lutil -lcrypt
+LIBADD= util crypt
# XXX Kluge! Conversation mechanism needs to be fixed.
-DPADD+= ${LIBOPIE} ${LIBMD}
-LDADD+= -lopie -lmd
+LIBADD+= opie md
LSDIR= ../../bin/ls
.PATH: ${.CURDIR}/${LSDIR}
SRCS+= ls.c cmp.c print.c util.c
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
-DPADD+= ${LIBM}
-LDADD+= -lm
+LIBADD+= m
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
@@ -33,8 +30,7 @@ CFLAGS+=-DINET6
.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+=-DUSE_PAM
-DPADD+= ${LIBPAM}
-LDADD+= ${MINUSLPAM}
+LIBADD+= pam
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud