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$).
This commit is contained in:
parent
91203ebc06
commit
b68474831b
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user