export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir

include $(MakeInc_cmd)
include $(MakeInc_def)

DATAFILES = \
	__syscall.2	\
	_exit.2	\
	aio_cancel.2	\
	aio_error.2	\
	aio_read.2	\
	aio_return.2	\
	aio_suspend.2	\
	aio_write.2	\
	accept.2	\
	access.2	\
	acct.2	\
	adjtime.2	\
	bind.2	\
	chdir.2	\
	chflags.2	\
	chmod.2	\
	chown.2	\
	chroot.2	\
	close.2	\
	connect.2	\
	dup.2	\
	dup2.2	\
	execve.2	\
	exchangedata.2	\
	fchdir.2	\
	fchflags.2	\
	fchmod.2	\
	fchown.2	\
	fcntl.2	\
	flock.2	\
	fork.2	\
	fpathconf.2	\
	fstat.2	\
	fstatfs.2	\
	fsync.2	\
	ftruncate.2	\
	futimes.2	\
	getattrlist.2	\
	getdirentries.2	\
	getdirentriesattr.2	\
	getegid.2	\
	geteuid.2	\
	getfh.2	\
	getfsstat.2	\
	getgid.2	\
	getgroups.2	\
	getitimer.2	\
	getlogin.2	\
	getpeername.2	\
	getpgrp.2	\
	getpgid.2	\
	getpid.2	\
	getppid.2	\
	getpriority.2	\
	getrlimit.2	\
	getrusage.2	\
	getsid.2	\
	getsockname.2	\
	getsockopt.2	\
	gettimeofday.2	\
	getuid.2	\
	getxattr.2	\
	i386_get_ldt.2	\
	intro.2	\
	ioctl.2	\
	issetugid.2	\
	kill.2	\
	kqueue.2	\
	ktrace.2	\
	lchown.2	\
	link.2	\
	listen.2	\
	listxattr.2	\
	lseek.2	\
	lstat.2	\
	madvise.2	\
	mincore.2	\
	minherit.2	\
	mkdir.2	\
	mkfifo.2	\
	mknod.2	\
	mlock.2	\
	mmap.2	\
	mount.2	\
	mprotect.2	\
	msync.2	\
	munlock.2	\
	munmap.2	\
	nfssvc.2	\
	open.2	\
	pathconf.2	\
	pipe.2	\
	poll.2 \
	posix_madvise.2	\
	pread.2	\
	profil.2	\
	ptrace.2	\
	pwrite.2	\
	quotactl.2	\
	read.2	\
	readlink.2	\
	readv.2	\
	reboot.2	\
	recv.2	\
	recvfrom.2	\
	recvmsg.2	\
	rename.2	\
	removexattr.2	\
	revoke.2	\
	rmdir.2	\
	searchfs.2	\
	select.2	\
	semctl.2	\
	semget.2	\
	semop.2	\
	send.2	\
	sendmsg.2	\
	sendto.2	\
	setattrlist.2	\
	setegid.2	\
	seteuid.2	\
	setgid.2	\
	setgroups.2	\
	setitimer.2	\
	setlogin.2	\
	setpgid.2	\
	setpgrp.2	\
	setpriority.2	\
	setrlimit.2	\
	setsid.2	\
	setsockopt.2	\
	settimeofday.2	\
	setuid.2	\
	setxattr.2	\
	shmat.2	\
	shmctl.2	\
	shmdt.2	\
	shmget.2	\
	shutdown.2	\
	sigaction.2	\
	sigaltstack.2	\
	sigpending.2	\
	sigprocmask.2	\
	sigreturn.2	\
	sigstack.2	\
	sigsuspend.2	\
	socket.2	\
	socketpair.2	\
	stat.2	\
	statfs.2	\
	symlink.2	\
	sync.2	\
	syscall.2	\
	truncate.2	\
	umask.2	\
	unlink.2	\
	unmount.2	\
	utimes.2	\
	vfork.2	\
	wait.2	\
	wait3.2	\
	wait4.2	\
	waitpid.2	\
	write.2	\
	writev.2	\

# List of source/target hard link pairs for installed manual pages; source
# names may be repeated
MLINKS= kqueue.2 kevent.2 i386_get_ldt.2 i386_set_ldt.2

INSTALL_MAN_LIST = ${DATAFILES}
INSTALL_MAN_LINKS = ${MLINKS}

INSTALL_MAN_DIR = man2

include $(MakeInc_rule)
include $(MakeInc_dir)

