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.26;	author peter;	state dead;
branches;
next	1.5;

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

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

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

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

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

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

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

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

1.5.2.1
date	99.08.29.16.45.12;	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 miscmod
#
# 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:54 peter Exp $
#
BINDIR=	/tmp
SRCS=	misccall.c miscmod.c
KMOD=	misc_mod
NOMAN=	none

CLEANFILES+= ${KMOD}

.include <bsd.kmod.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:44:35 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$
a46 3
#
# EOF -- This file has not been truncated
#
@


1.1
log
@Terry Lambert's loadable kernel module support - example modules.
@
text
@d37 6
d44 1
a44 24
SRCS=miscmod.c
OBJS=$(SRCS:.c=.o)

KSRCS=misccall.c
KOBJS=misccall.o

MODOBJ=combined.o

KMOD=miscmod
CFLAGS= -DKERNEL -I/sys/sys -I/sys

all:	$(MODOBJ)

clean:
	rm -f $(OBJS) $(KOBJS) $(MODOBJ) $(KMOD)

load:
	/sbin/modload -o $(KMOD) -e$(KMOD) $(MODOBJ)

unload:
	/sbin/modunload -n $(KMOD)

$(MODOBJ): $(OBJS) $(KOBJS)
	$(LD) -r -o $(MODOBJ) $(OBJS) $(KOBJS)
d46 1
@


1.1.6.1
log
@Make the lkm examples buildable and working again.  Mostly taken
from -current.
@
text
@a36 6
# $Id: Makefile,v 1.3 1995/12/25 07:18:49 bde Exp $
#
BINDIR=	/tmp
SRCS=	misccall.c miscmod.c
KMOD=	misc_mod
NOMAN=	none
d38 24
a61 1
CLEANFILES+= ${KMOD}
d63 3
a65 1
.include <bsd.kmod.mk>
@


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

