-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:01 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= bioctl
SRCS= bioctl.c
CDIAGFLAGS+= -Wsign-compare
CDIAGFLAGS+= -Wshadow
-MAN= bioctl.8
-
.PATH: ${.CURDIR}/../../../sbin/bioctl
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:01 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= chmod
CFLAGS+=-DSUPPORT_DOT
-MAN= chmod.1 chgrp.1 chown.8 chflags.1
LINKS= ${BINDIR}/chmod ${BINDIR}/chgrp \
${BINDIR}/chmod /sbin/chown
-# $OpenBSD: Makefile,v 1.2 2021/06/18 11:46:06 florian Exp $
+# $OpenBSD: Makefile,v 1.3 2023/08/14 08:56:20 kn Exp $
PROG= dhcpleased
COPTS+= -DSMALL
.PATH: ${.CURDIR}/../../../sbin/dhcpleased
SRCS= bpf.c checksum.c dhcpleased.c engine.c frontend.c
-MAN=
-
LDADD+= -levent -lutil
DPADD+= ${LIBEVENT} ${LIBUTIL}
-# $OpenBSD: Makefile,v 1.13 2021/09/21 18:36:09 bluhm Exp $
+# $OpenBSD: Makefile,v 1.14 2023/08/14 08:56:20 kn Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
DPADD= ${LIBUTIL}
LDADD= -lutil
-MAN= disklabel.8 disklabel.5
CLEANFILES += disklabel.cat8 manual.c
#
-# $OpenBSD: Makefile,v 1.6 2022/05/23 16:58:11 krw Exp $
+# $OpenBSD: Makefile,v 1.7 2023/08/14 08:56:20 kn Exp $
#
# Copyright (c) 1997 Tobias Weingartner
#
echo '};'; echo 'const int manpage_sz = sizeof(manpage);') > manual.c
.endif
-MAN= fdisk.8
-
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || ${MACHINE} == "landisk"
CFLAGS += -DHAS_MBR
.endif
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= fsck
SRCS= fsck.c fsutil.c preen.c
-MAN= fsck.8
DPADD= ${LIBUTIL}
LDADD= -lutil
-# $OpenBSD: Makefile,v 1.2 2015/10/15 15:11:10 semarie Exp $
+# $OpenBSD: Makefile,v 1.3 2023/08/14 08:56:20 kn Exp $
PROG= fsck_ext2fs
-MAN= fsck_ext2fs.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c fsutil.c setup.c utilities.c ext2fs_bswap.c
CFLAGS+= -I${.CURDIR}/../../../sbin/fsck -DSMALL
-# $OpenBSD: Makefile,v 1.3 2018/06/25 16:29:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2023/08/14 08:56:20 kn Exp $
PROG= fsck_ffs
-MAN= fsck_ffs.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c fsutil.c setup.c utilities.c ffs_subr.c ffs_tables.c
CFLAGS+= -I${.CURDIR}/../../../sbin/fsck -DSMALL
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= fsck_msdos
-MAN= fsck_msdos.8
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
.PATH: ${.CURDIR}/../../../sbin/fsck
CFLAGS+= -I${.CURDIR}/../../../sbin/fsck
-# $OpenBSD: Makefile,v 1.7 2023/07/23 23:42:03 kn Exp $
+# $OpenBSD: Makefile,v 1.8 2023/08/14 08:56:20 kn Exp $
PROG= ksh
SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c eval.c \
DEFS= -Wall -DEMACS -DSMALL
CFLAGS+=${DEFS} -I. -I${.CURDIR}/../../../bin/ksh -I${.CURDIR}/../../../lib/libc/gen
-MAN= ksh.1 sh.1
LINKS= ${BINDIR}/ksh ${BINDIR}/rksh
LINKS+= ${BINDIR}/ksh ${BINDIR}/sh
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= ln
-MAN= ln.1 symlink.7
.PATH: ${.CURDIR}/../../../bin/ln
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
PROG= mknod
-MAN= mknod.8 mkfifo.1
LINKS= ${BINDIR}/mknod ${BINDIR}/mkfifo
.PATH: ${.CURDIR}/../../../sbin/mknod
-# $OpenBSD: Makefile,v 1.2 2023/07/23 23:21:19 kn Exp $
+# $OpenBSD: Makefile,v 1.3 2023/08/14 08:56:21 kn Exp $
PROG= mount
SRCS= mount.c
COPTS+= -DSMALL
DPADD= ${LIBUTIL}
LDADD= -lutil
-MAN= mount.8
.PATH: ${.CURDIR}/../../../sbin/mount
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_cd9660
SRCS= mount_cd9660.c getmntopts.c
-MAN= mount_cd9660.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_ext2fs
SRCS= mount_ext2fs.c getmntopts.c
-MAN= mount_ext2fs.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_ffs
SRCS= mount_ffs.c getmntopts.c
-MAN= mount_ffs.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_msdos
SRCS= mount_msdos.c getmntopts.c
-MAN= mount_msdos.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_nfs
SRCS= mount_nfs.c getmntopts.c
-MAN= mount_nfs.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -DNFS -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= mount_udf
SRCS= mount_udf.c getmntopts.c
-MAN= mount_udf.8
MOUNT= ${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${MOUNT}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= newfs_ext2fs
SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c
-MAN= newfs_ext2fs.8
.PATH: ${.CURDIR}/../../../sys/ufs/ext2fs
DPADD+= ${LIBUTIL}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
# $FreeBSD: src/sbin/newfs_msdos/Makefile,v 1.2 1999/08/28 00:13:52 peter Exp $
PROG= newfs_msdos
-MAN= newfs_msdos.8
DPADD= ${LIBUTIL}
LDADD= -lutil
-# $Id: Makefile,v 1.10 2016/01/27 14:19:59 krw Exp $
+# $Id: Makefile,v 1.11 2023/08/14 08:56:21 kn Exp $
.if ${MACHINE} == "macppc"
PROG= pdisk
NOPROG=yes
.endif
-MAN= pdisk.8
-MANSUBDIR=macppc
-
.PATH: ${.CURDIR}/../../../sbin/pdisk
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.2 2016/03/30 06:38:40 jmc Exp $
+# $OpenBSD: Makefile,v 1.3 2023/08/14 08:56:21 kn Exp $
PROG= reboot
DPADD= ${LIBUTIL}
LDADD= -lutil
-MAN= reboot.8
LINKS= ${BINDIR}/reboot ${BINDIR}/halt
.PATH: ${.CURDIR}/../../../sbin/reboot
-# $OpenBSD: Makefile,v 1.3 2021/06/18 11:43:38 florian Exp $
+# $OpenBSD: Makefile,v 1.4 2023/08/14 08:56:21 kn Exp $
PROG= resolvd
COPTS+= -DSMALL
.PATH: ${.CURDIR}/../../../sbin/resolvd
SRCS= resolvd.c
-MAN=
-
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.4 2017/10/17 19:31:56 naddy Exp $
+# $OpenBSD: Makefile,v 1.5 2023/08/14 08:56:21 kn Exp $
PROG= route
-MAN= route.8
SRCS= route.c show.c
CFLAGS+= -Wall -DSMALL
-# $OpenBSD: Makefile,v 1.3 2021/03/20 16:36:52 kn Exp $
+# $OpenBSD: Makefile,v 1.4 2023/08/14 08:56:21 kn Exp $
PROG= slaacd
COPTS+= -DSMALL
.PATH: ${.CURDIR}/../../../sbin/slaacd
SRCS= engine.c frontend.c slaacd.c
-MAN=
-
YFLAGS=
LDADD+= -levent -lutil
DPADD+= ${LIBEVENT} ${LIBUTIL}
-# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:03 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= sync
-MAN= sync.8
.PATH: ${.CURDIR}/../../../bin/sync
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.1 2014/02/21 19:01:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2023/08/14 08:56:21 kn Exp $
PROG= umount
-MAN= umount.8
CFLAGS+= -DNO_NFS
DPADD+= ${LIBUTIL}