summaryrefslogtreecommitdiff
path: root/usr.sbin/mailstats
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
commitc6db8143eda5c775467145ac73e8ebec47afdd8f (patch)
tree41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/mailstats
parentc97038fa5a6b253c5f2eb3d09a7a529f8ae86220 (diff)
downloadsrc-test2-c6db8143eda5c775467145ac73e8ebec47afdd8f.tar.gz
src-test2-c6db8143eda5c775467145ac73e8ebec47afdd8f.zip
Convert usr.sbin to LIBADD
Reduce overlinking
Notes
Notes: svn path=/head/; revision=275054
Diffstat (limited to 'usr.sbin/mailstats')
-rw-r--r--usr.sbin/mailstats/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/mailstats/Makefile b/usr.sbin/mailstats/Makefile
index bd72fc6c5b76..a7911a272f25 100644
--- a/usr.sbin/mailstats/Makefile
+++ b/usr.sbin/mailstats/Makefile
@@ -13,14 +13,7 @@ CFLAGS+= -DNOT_SENDMAIL
WARNS?= 2
-LIBSMDIR= ${.OBJDIR}/../../lib/libsm
-LIBSM= ${LIBSMDIR}/libsm.a
-
-LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
-LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
-
-DPADD= ${LIBSMUTIL} ${LIBSM}
-LDADD= ${LIBSMUTIL} ${LIBSM}
+LIBADD= sm smutil
SRCS+= sm_os.h
CLEANFILES+=sm_os.h