From 5ebae837e16c54ee535eb8a0015d03f6903cc8cc Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 27 Mar 2000 14:53:26 +0000 Subject: [PATCH] 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$). --- bin/df/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/df/Makefile b/bin/df/Makefile index 182ac8c6b47..d9a27cf38d2 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