diff options
author | bde <bde@FreeBSD.org> | 2000-03-27 14:53:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-03-27 14:53:26 +0000 |
commit | b68474831b462615c0f959b3f03c2aaa0ec0a5c9 (patch) | |
tree | 9913965c8c5ebca67e030b10d65d6060af3a6aea /bin/df | |
parent | 91203ebc060c30cf4c190e380ffac543088bc44c (diff) | |
download | FreeBSD-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$).
Diffstat (limited to 'bin/df')
-rw-r--r-- | bin/df/Makefile | 7 |
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> |