aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_std/Makefile
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1996-05-13 17:43:19 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1996-05-13 17:43:19 +0000
commit5e074e31a22cb630ab1a44da33e64cd3615824ec (patch)
tree45a3a22a6378c4db6229097d19a3e57ef24f2e5c /sbin/mount_std/Makefile
parent49968bb8cfacb0f3baa4074609aa24722d51f911 (diff)
downloadsrc-5e074e31a22cb630ab1a44da33e64cd3615824ec.tar.gz
src-5e074e31a22cb630ab1a44da33e64cd3615824ec.zip
Get rid of the last vestiges of the old MOUNT_* constants in the
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.
Notes
Notes: svn path=/head/; revision=15770
Diffstat (limited to 'sbin/mount_std/Makefile')
-rw-r--r--sbin/mount_std/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile
new file mode 100644
index 000000000000..ff011315f18f
--- /dev/null
+++ b/sbin/mount_std/Makefile
@@ -0,0 +1,16 @@
+# @(#)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>