#
#       $Id: Makefile,v 1.7 2002/01/04 17:29:25 simonb Exp $
#
#       I'm lazy with a capital 1....
#       (c) 2002 SimonB <spb@kaizo.org>
######################################################################

default:
	less INSTALL

setup:	includes headers

includes:
	@echo "Installing header files in proper locations..."
	install -m0644 sys/kern_tpe.h /usr/src/sys/sys/kern_tpe.h
	install -m0644 sys/kern_tpe.h /usr/include/sys/kern_tpe.h
	@echo "Installing C files in proper locations..."
	install -m0644 kern/kern_tpe_sys.c /usr/src/sys/kern/kern_tpe_sys.c
	install -m0644 kern/kern_tpe.c /usr/src/sys/kern/kern_tpe.c

syscall:
	cd /usr/src/sys/kern && make

headers:
	@echo "Installing header files in proper locations..."
	install -m0644 /usr/src/sys/sys/syscall.h /usr/include/sys/
	install -m0644 /usr/src/sys/sys/syscallargs.h /usr/include/sys/
	install -m0644 /usr/src/sys/sys/sysctl.h /usr/include/sys/
	install -m0644 /usr/src/sys/sys/kern_tpe.h /usr/include/sys/
	install -m0644  /usr/src/sys/sys/proc.h /usr/include/sys/

tpe_adm: includes headers
	cd misc && make && make install

libs:
	@echo "I ain't gonna patch important stuff like that for you,"
	@echo "read INSTALL and do it yourself..."

