summaryrefslogtreecommitdiff
path: root/sys/lkm/misc/example/test/Makefile
blob: 768d7044d99c8c0dd8a31d5cbab5ab4ac5c9b2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	$NetBSD: Makefile,v 1.2 2001/12/12 01:50:14 tv Exp $

PROG=	testmisc
NOMAN=	# defined

load:
	@echo "This test program will call the sample system call;"
	@echo "the "offset requested will be shown as 'Off' in the"
	@echo "status display below.  If no modules are loaded, an"
	@echo "error '3' will be reported."
	@echo
	@echo "The sample system call will display a message on the"
	@echo "system console each time it is run."
	@echo
	@echo
	modstat -n misc_example
	@echo
	@./testmisc

unload:
	@echo "This test program will cause an error '3' if the call"
	@echo "has been successfully unloaded by building 'unload' in"
	@echo "the 'module' subdirectory."
	@echo
	modstat -n misc_example

.include <bsd.prog.mk>