head	1.6;
access;
symbols
	RELENG_3_5_0_RELEASE:1.5.2.1
	RELENG_3_4_0_RELEASE:1.5.2.1
	RELENG_3_3_0_RELEASE:1.5.2.1
	RELENG_3_2_PAO:1.5.0.4
	RELENG_3_2_PAO_BP:1.5
	RELENG_3_2_0_RELEASE:1.5
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_2_2_8_RELEASE:1.3
	RELENG_3_0_0_RELEASE:1.5
	RELENG_2_2_7_RELEASE:1.3
	RELENG_2_2_6_RELEASE:1.3
	RELENG_2_2_5_RELEASE:1.3
	RELENG_2_2_2_RELEASE:1.3
	RELENG_2_2_1_RELEASE:1.3
	RELENG_2_2_0_RELEASE:1.3
	RELENG_2_1_7_RELEASE:1.1.6.1
	RELENG_2_1_6_1_RELEASE:1.1.6.1
	RELENG_2_1_6_RELEASE:1.1.6.1
	RELENG_2_2:1.3.0.2
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.1.6.1
	RELENG_2_1_0_RELEASE:1.1
	RELENG_2_1_0:1.1.0.6
	RELENG_2_1_0_BP:1.1
	RELENG_2_0_5_RELEASE:1.1
	RELENG_2_0_5:1.1.0.4
	RELENG_2_0_5_BP:1.1
	RELENG_2_0_5_ALPHA:1.1
	RELEASE_2_0:1.1
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	99.04.24.21.00.27;	author peter;	state dead;
branches;
next	1.5;

1.5
date	97.02.22.13.55.56;	author peter;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	97.01.14.06.30.40;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	95.12.25.07.18.59;	author bde;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	95.07.27.09.45.26;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	94.08.19.12.42.01;	author davidg;	state Exp;
branches
	1.1.6.1;
next	;

1.1.6.1
date	96.07.01.14.20.25;	author joerg;	state Exp;
branches;
next	1.1.6.2;

1.1.6.2
date	99.09.05.11.28.37;	author peter;	state Exp;
branches;
next	;

1.3.2.1
date	99.09.05.11.26.53;	author peter;	state Exp;
branches;
next	;

1.5.2.1
date	99.08.29.16.45.13;	author peter;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Zap lkm examples, they don't do anything anymore.
@
text
@# 05 Jun 93
#
# Makefile for testmisc
#
# 05 Jun 93	Terry Lambert		Original
#
# Copyright (c) 1993 Terrence R. Lambert.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#      This product includes software developed by Terrence R. Lambert.
# 4. The name Terrence R. Lambert may not be used to endorse or promote
#    products derived from this software without specific prior written
#    permission.
#
# THIS SOFTWARE IS PROVIDED BY TERRENCE R. LAMBERT ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE TERRENCE R. LAMBERT BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $Id: Makefile,v 1.5 1997/02/22 13:55:56 peter Exp $
#
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"
	@@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_mod
	@@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_mod

.include <bsd.prog.mk>
@


1.5
log
@Revert $FreeBSD$ to $Id$
@
text
@d37 1
a37 1
# $Id$
@


1.5.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d37 1
a37 1
# $FreeBSD$
@


1.4
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d37 1
a37 1
# $FreeBSD$
@


1.3
log
@Updated lkm examples to work with prototype-related changes to the
MOD_MISC() and DISPATCH() macros.

Renamed new_syscall module as new_syscall_mod.  It seems to be standard
to have module names ending with _mod, and this may be forced when
MOD_SYSCALL() and MOD_VFS() are updated to match MOD_MISC().

Cleaned up lkm examples a little.
@
text
@d37 1
a37 1
# $Id: Makefile,v 1.2 1995/07/27 09:45:26 joerg Exp $
@


1.3.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d37 1
a37 1
# $FreeBSD$
@


1.2
log
@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
@
text
@d37 1
a37 1
# $Id$
a65 4

#
# EOF -- This file has not been truncated.
#
@


1.1
log
@Terry Lambert's loadable kernel module support - example modules.
@
text
@d37 2
a38 1

d42 2
d54 1
a54 1
	/sbin/modstat -n miscmod
d63 1
a63 1
	/sbin/modstat -n miscmod
@


1.1.6.1
log
@Make the lkm examples buildable and working again.  Mostly taken
from -current.
@
text
@d37 1
a37 2
# $Id: Makefile,v 1.3 1995/12/25 07:18:59 bde Exp $
#
a40 2
MODSTAT= /usr/bin/modstat

d51 1
a51 1
	${MODSTAT} -n misc_mod
d60 1
a60 1
	${MODSTAT} -n misc_mod
d63 4
@


1.1.6.2
log
@$Id$ -> $FreeBSD$
@
text
@d37 1
a37 1
# $FreeBSD$
@

