summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-03-27 14:53:26 +0000
committerbde <bde@FreeBSD.org>2000-03-27 14:53:26 +0000
commitb68474831b462615c0f959b3f03c2aaa0ec0a5c9 (patch)
tree9913965c8c5ebca67e030b10d65d6060af3a6aea
parent91203ebc060c30cf4c190e380ffac543088bc44c (diff)
downloadFreeBSD-src-b68474831b462615c0f959b3f03c2aaa0ec0a5c9.zip
FreeBSD-src-b68474831b462615c0f959b3f03c2aaa0ec0a5c9.tar.gz
Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most
cases and broke the world in some cases. Fixed some style bugs (the usual ones for DPADD and LDADD, misplacement of DPADD and LDADD, and misplacement of $FreeBSD$).
-rw-r--r--bin/df/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile
index 182ac8c..d9a27cf 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -1,5 +1,5 @@
-# $FreeBSD$
# @(#)Makefile 8.3 (Berkeley) 5/8/95
+# $FreeBSD$
PROG= df
SRCS= df.c vfslist.c
@@ -8,8 +8,9 @@ BINMODE=2555
MOUNT= ${.CURDIR}/../../sbin/mount
CFLAGS+= -I${MOUNT}
-LDADD+= ${LIBM}
-DPADD+= ${LIBM}
.PATH: ${MOUNT}
+DPADD= ${LIBM}
+LDADD= -lm
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud