summaryrefslogtreecommitdiffstats
path: root/share/examples/lkm/misc/test/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-07-27 09:45:28 +0000
committerjoerg <joerg@FreeBSD.org>1995-07-27 09:45:28 +0000
commit7cccd0e4ec8808c8954fd54d10d748567d9cb0e7 (patch)
treec4ac1fb31564136e84366d486dc1110e394a3cbb /share/examples/lkm/misc/test/Makefile
parent39a85a58ed8d6e8e315fe2b097174f032de724c4 (diff)
downloadFreeBSD-src-7cccd0e4ec8808c8954fd54d10d748567d9cb0e7.zip
FreeBSD-src-7cccd0e4ec8808c8954fd54d10d748567d9cb0e7.tar.gz
Make this bugger actually compile and work again:
o a couple of header files have been missing o convert the LKM Makefile to use <bsd.kmod.mk> o rename the module to ``misc_mod'' (as opposed to ``miscmod''), so the module name can be made identical to the module's file name, avoiding the clash with one of the component's .o file names o modstat(1/8) has been moved meanwhile
Diffstat (limited to 'share/examples/lkm/misc/test/Makefile')
-rw-r--r--share/examples/lkm/misc/test/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/share/examples/lkm/misc/test/Makefile b/share/examples/lkm/misc/test/Makefile
index 466e4ac..61bbf37 100644
--- a/share/examples/lkm/misc/test/Makefile
+++ b/share/examples/lkm/misc/test/Makefile
@@ -34,10 +34,13 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-
+# $Id$
+#
PROG= testmisc
NOMAN=
+MODSTAT= /usr/bin/modstat
+
load:
@echo "This test program will call the sample system call;"
@echo "the "offset requested will be shown as 'Off' in the"
@@ -48,7 +51,7 @@ load:
@echo "system console each time it is run."
@echo
@echo
- /sbin/modstat -n miscmod
+ ${MODSTAT} -n misc_mod
@echo
@./testmisc
@@ -57,7 +60,7 @@ unload:
@echo "has been successfully unloaded by building 'unload' in"
@echo "the 'module' subdirectory."
@echo
- /sbin/modstat -n miscmod
+ ${MODSTAT} -n misc_mod
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud