NetBSD/sbin/mount_procfs/Makefile
mlelstv fd33bfb7f2 Refactor remaining mount_* commands to use the common pathadj()
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.
2020-07-26 08:20:22 +00:00

18 lines
347 B
Makefile

# $NetBSD: Makefile,v 1.15 2020/07/26 08:20:23 mlelstv Exp $
# @(#)Makefile 8.4 (Berkeley) 3/27/94
.include <bsd.own.mk>
PROG= mount_procfs
SRCS= mount_procfs.c pathadj.c
MAN= mount_procfs.8
MOUNT= ${NETBSDSRCDIR}/sbin/mount
CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${MOUNT}
.PATH: ${MOUNT}
DPADD+=${LIBUTIL}
LDADD+=-lutil
.include <bsd.prog.mk>