#
#
# HISTORY
#
#  install copies all the .2 files in this directory
#  to /usr/mach/man/man2, and then runs the toc 
#  program in that directory.
#
#
#  20-Apr-87 Mary Thompson
#	Added map_fd
#
#   8-Apr-87 Mary Thompson
#	Added kern_timestamp, thread_times, thread_wait
#	and task_wait
#
#  26-Mar-87 Mary Thompson
#	Added cpu_control, host_info, slot_info
#	Removed timemode
#
#  30-Jan-87 Mary Thompson
#	Added GROUP argument for toc
#
#  1-Jan-87	Mary Thompson
#	Removed Send and Receive
 
DSTDIR=/usr/mach
SRCDIR=$(DSTDIR)/src
INSTALL_DIR=${DSTDIR}/man/man2
TARGET_DIRS = $(INSTALL_DIR)
GROUP=mach
SECTION = 2

MAN_OBJS = cpu_control.2 current_task.2 \
	host_info.2 ipc_macros.2 ipc_types.2 kern_timestamp.2 \
	mach_ports.2 map_fd.2 msg_receive.2 msg_rpc.2 msg_send.2 \
	pager_calls.2 ext_pager_calls.2 port_messages.2\
	port_allocate.2 port_deallocate.2 \
	port_restrict.2 port_set_backlog.2 port_status.2\
	slot_info.2 task_create.2 task_resume.2 task_self.2 \
	task_status.2 task_suspend.2 task_terminate.2 \
	task_threads.2 task_wait.2 \
	thread_create.2 thread_resume.2 thread_status.2 \
	thread_suspend.2 thread_terminate.2 thread_times.2 \
	thread_wait.2 vm_allocate.2 vm_copy.2 vm_deallocate.2 \
	vm_inherit.2 vm_protect.2 vm_read.2  \
	vm_regions.2 vm_statistics.2 vm_write.2 

$(INSTALL_MANS): $$(@:.install=.2)
	-@mach_install $I $? $(INSTALL_DIR)
	-@touch $@

include $(SRCDIR)/Make.inc

install: do_toc

