summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 11:15:40 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 11:15:40 +0000
commit53c2ff7734d36745ac563d50ed143d9cd7b352b0 (patch)
tree464e2b0fe4b668bbca54a17c993842255230d630 /bin/ls
parentae45ae3f5d298bc24587c5e94dab89e48f5d2378 (diff)
downloadFreeBSD-src-53c2ff7734d36745ac563d50ed143d9cd7b352b0.zip
FreeBSD-src-53c2ff7734d36745ac563d50ed143d9cd7b352b0.tar.gz
Convert bin/ to LIBADD, reduce overlinking allow to build all components as
static
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
index dce2046..58206e0 100644
--- a/bin/ls/Makefile
+++ b/bin/ls/Makefile
@@ -5,14 +5,12 @@
PROG= ls
SRCS= cmp.c ls.c print.c util.c
-DPADD= ${LIBUTIL}
-LDADD= -lutil
+LIBADD= util
.if !defined(RELEASE_CRUNCH) && \
${MK_LS_COLORS} != no
CFLAGS+= -DCOLORLS
-DPADD+= ${LIBTERMCAPW}
-LDADD+= -ltermcapw
+LIBADD+= termcapw
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud