mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
5e074e31a2
mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h.
17 lines
437 B
Makefile
17 lines
437 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
PROG= mount_std
|
|
SRCS= mount_std.c getmntopts.c
|
|
MAN8= mount_std.8 mount_devfs.8 mount_fdesc.8 mount_kernfs.8 mount_procfs.8
|
|
|
|
MOUNT= ${.CURDIR}/../mount
|
|
CFLAGS+= -I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
LINKS= ${BINDIR}/mount_std ${BINDIR}/mount_devfs \
|
|
${BINDIR}/mount_std ${BINDIR}/mount_fdesc \
|
|
${BINDIR}/mount_std ${BINDIR}/mount_kernfs \
|
|
${BINDIR}/mount_std ${BINDIR}/mount_procfs
|
|
|
|
.include <bsd.prog.mk>
|