fd33bfb7f2
function for resolving paths. Make pathadj() no longer warn about symlinks. Symlinks in /dev are regularly used in several places like LVM . The warning was also only visible when calling a mount_* command directly as mount(8) itself would resolve the path witout warning before passing it to a mount_* command.
19 lines
325 B
Makefile
19 lines
325 B
Makefile
# $NetBSD: Makefile,v 1.9 2020/07/26 08:20:22 mlelstv Exp $
|
|
#
|
|
# Makefile 1.0 1998/6/26
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= mount_filecore
|
|
SRCS= mount_filecore.c fattr.c pathadj.c
|
|
MAN= mount_filecore.8
|
|
|
|
MOUNT= ${NETBSDSRCDIR}/sbin/mount
|
|
CPPFLAGS+= -I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
DPADD+=${LIBUTIL}
|
|
LDADD+=-lutil
|
|
|
|
.include <bsd.prog.mk>
|