head	1.11;
access;
symbols
	perseant-exfatfs-base-20250801:1.11
	perseant-exfatfs-base-20240630:1.11
	cjep_sun2x:1.11.0.44
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	cjep_staticlib_x:1.11.0.42
	cjep_staticlib_x-base:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	phil-wifi-20200406:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	pgoyette-compat-0728:1.11
	pgoyette-compat-0625:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	pgoyette-compat:1.11.0.40
	pgoyette-compat-base:1.11
	perseant-stdc-iso10646:1.11.0.38
	perseant-stdc-iso10646-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.36
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	bouyer-socketcan:1.11.0.34
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	pgoyette-localcount-20161104:1.11
	localcount-20160914:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.32
	pgoyette-localcount-base:1.11
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	tls-earlyentropy:1.11.0.28
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	agc-symver:1.11.0.30
	agc-symver-base:1.11
	tls-maxphys-base:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.11.0.26
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	yamt-pagecache-base6:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.24
	yamt-pagecache-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.22
	bouyer-quota2-base:1.11
	matt-nb5-pq3:1.11.0.20
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.18
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.16
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.14
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.12
	netbsd-5-base:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-base2:1.11
	yamt-pf42:1.11.0.10
	yamt-pf42-base:1.11
	mjf-devfs2:1.11.0.8
	mjf-devfs2-base:1.11
	keiichi-mipv6-nbase:1.11
	keiichi-mipv6:1.11.0.6
	keiichi-mipv6-base:1.11
	cube-autoconf:1.11.0.4
	cube-autoconf-base:1.11
	hpcarm-cleanup:1.11.0.2
	hpcarm-cleanup-base:1.11
	netbsd-1-5-PATCH003:1.10
	netbsd-1-5-PATCH002:1.10
	netbsd-1-5-PATCH001:1.10
	netbsd-1-5-RELEASE:1.10
	netbsd-1-5-BETA2:1.10
	netbsd-1-5-BETA:1.10
	netbsd-1-4-PATCH003:1.9
	netbsd-1-5-ALPHA2:1.10
	netbsd-1-5:1.10.0.4
	netbsd-1-5-base:1.10
	minoura-xpg4dl:1.10.0.2
	minoura-xpg4dl-base:1.10
	netbsd-1-4-PATCH002:1.9
	wrstuden-devbsize-19991221:1.10
	wrstuden-devbsize:1.9.0.6
	wrstuden-devbsize-base:1.10
	comdex-fall-1999:1.9.0.4
	comdex-fall-1999-base:1.9
	netbsd-1-4-PATCH001:1.9
	netbsd-1-4-RELEASE:1.9
	netbsd-1-4:1.9.0.2
	netbsd-1-4-base:1.9
	netbsd-1-3-PATCH003:1.6
	netbsd-1-3-PATCH003-CANDIDATE2:1.6
	netbsd-1-3-PATCH003-CANDIDATE1:1.6
	netbsd-1-3-PATCH003-CANDIDATE0:1.6
	netbsd-1-3-PATCH002:1.6
	netbsd-1-3-PATCH001:1.6
	netbsd-1-3-RELEASE:1.6
	netbsd-1-3-BETA:1.6
	netbsd-1-3:1.6.0.2
	netbsd-1-3-base:1.6
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.1.4.3
	netbsd-1-0-PATCH05:1.1.4.3
	netbsd-1-0-PATCH04:1.1.4.3
	netbsd-1-0-PATCH03:1.1.4.3
	netbsd-1-0-PATCH02:1.1.4.3
	netbsd-1-0-PATCH1:1.1.4.3
	netbsd-1-0-PATCH0:1.1.4.3
	netbsd-1-0-RELEASE:1.1.4.3
	netbsd-1-0:1.1.0.4
	netbsd-1-0-base:1.1
	netbsd-0-9-RELEASE:1.1
	netbsd-0-9-BETA:1.1
	netbsd-0-9-ALPHA2:1.1
	netbsd-0-9-ALPHA:1.1
	netbsd-0-9:1.1.0.2
	netbsd-0-9-base:1.1;
locks; strict;
comment	@# @;


1.11
date	2000.12.11.09.14.29;	author jdolecek;	state dead;
branches;
next	1.10;

1.10
date	99.11.10.00.44.22;	author wrstuden;	state Exp;
branches;
next	1.9;

1.9
date	97.11.08.08.09.05;	author lukem;	state Exp;
branches
	1.9.6.1;
next	1.8;

1.8
date	97.10.23.23.16.04;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	97.10.23.23.09.05;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	97.10.13.11.21.08;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	95.04.27.19.15.22;	author jtc;	state Exp;
branches;
next	1.4;

1.4
date	95.03.23.20.13.26;	author jtc;	state Exp;
branches;
next	1.3;

1.3
date	94.07.24.07.16.21;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	94.07.24.03.13.30;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	93.06.08.03.53.46;	author cgd;	state Exp;
branches
	1.1.4.1;
next	;

1.9.6.1
date	99.12.27.18.30.36;	author wrstuden;	state Exp;
branches;
next	;

1.1.4.1
date	94.07.24.03.17.16;	author cgd;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	94.07.24.03.47.33;	author cgd;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	94.07.24.07.26.04;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.11
log
@nuke vfs examples - we have enough examples in kernel sources
@
text
@#
# Makefile for newsyscall
#
# 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.
#
#	$NetBSD: Makefile,v 1.10 1999/11/10 00:44:22 wrstuden Exp $
#

SRCS=kernfsmod.c
OBJS=$(SRCS:.c=.o)

KSRCS=/sys/miscfs/kernfs/kernfs_vfsops.c /sys/miscfs/kernfs/kernfs_vnops.c
KOBJS=kernfs_vfsops.o kernfs_vnops.o

MODOBJ=combined.o

KMOD=kernfsmod
CFLAGS= -D_LKM -D_KERNEL -I/sys -I.

all:	$(MODOBJ)

clean:
	rm -f vnode_if.[ch] $(OBJS) $(KOBJS) $(MODOBJ) $(KMOD)

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

unload:
	modunload -n $(KMOD)

kernfs_vfsops.o: /sys/miscfs/kernfs/kernfs_vfsops.c vnode_if.h
	$(CC) $(CFLAGS) -c -o $@@ $<

kernfs_vnops.o: /sys/miscfs/kernfs/kernfs_vnops.c vnode_if.h
	$(CC) $(CFLAGS) -c -o $@@ $<

vnode_if.h: /sys/kern/vnode_if.sh /sys/kern/vnode_if.src
	sh /sys/kern/vnode_if.sh /sys/kern/vnode_if.src

$(MODOBJ): $(OBJS) $(KOBJS)
	$(LD) -r -o $(MODOBJ) $(OBJS) $(KOBJS)

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


1.10
log
@Define _LKM so that these are more likely to compile.
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.9 1997/11/08 08:09:05 lukem Exp $
@


1.9
log
@balance parenthesis correctly
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.8 1997/10/23 23:16:04 lukem Exp $
d48 1
a48 1
CFLAGS= -D_KERNEL -I/sys -I.
@


1.9.6.1
log
@Pull up to last week's -current.
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.10 1999/11/10 00:44:22 wrstuden Exp $
d48 1
a48 1
CFLAGS= -D_LKM -D_KERNEL -I/sys -I.
@


1.8
log
@backout CPPFLAGS; this is a sample standalone makefile
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.7 1997/10/23 23:09:05 lukem Exp $
d62 1
a62 1
	${CC) $(CFLAGS) -c -o $@@ $<
@


1.7
log
@use CPPFLAGS instead of CFLAGS
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.6 1997/10/13 11:21:08 lukem Exp $
d48 1
a48 1
CPPFLAGS+= -D_KERNEL -I/sys -I.
d62 1
a62 1
	$(CC) $(CFLAGS) -c -o $@@ $<
@


1.6
log
@rcsid fascism
@
text
@d36 1
a36 1
#	$NetBSD: Makefile,v 1.5 1995/04/27 19:15:22 jtc Exp $
d48 1
a48 1
CFLAGS= -O6 -D_KERNEL -I/sys -I.
@


1.5
log
@Removed -DKERNEL, header files have been converted to use _KERNEL
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.4 1995/03/23 20:13:26 jtc Exp $
@


1.4
log
@Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.3 1994/07/24 07:16:21 mycroft Exp $
d48 1
a48 1
CFLAGS= -O6 -DKERNEL -D_KERNEL -I/sys -I.
@


1.3
log
@Make this work again.
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.2 1994/07/24 03:13:30 mycroft Exp $
d48 1
a48 1
CFLAGS= -O6 -DKERNEL -I/sys -I.
@


1.2
log
@Make this compile again (mostly).
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.1 1993/06/08 03:53:46 cgd Exp $
d48 1
a48 1
CFLAGS= -DKERNEL -I/sys -I
@


1.1
log
@add terry lambert's LKM sample files
@
text
@d36 1
a36 1
#	$Id$
d48 1
a48 1
CFLAGS= -DKERNEL
d53 1
a53 1
	rm -f $(OBJS) $(KOBJS) $(MODOBJ) $(KMOD)
d61 2
a62 2
kernfs_vfsops.o: /sys/miscfs/kernfs/kernfs_vfsops.c
	$(CC) $(CFLAGS) -c -O $@@ $<
d64 5
a68 2
kernfs_vnops.o: /sys/miscfs/kernfs/kernfs_vnops.c
	$(CC) $(CFLAGS) -c -O $@@ $<
@


1.1.4.1
log
@from trunk.
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.2 1994/07/24 03:13:30 mycroft Exp $
d48 1
a48 1
CFLAGS= -DKERNEL -I/sys -I
d53 1
a53 1
	rm -f vnode_if.[ch] $(OBJS) $(KOBJS) $(MODOBJ) $(KMOD)
d61 2
a62 2
kernfs_vfsops.o: /sys/miscfs/kernfs/kernfs_vfsops.c vnode_if.h
	$(CC) $(CFLAGS) -c -o $@@ $<
d64 2
a65 5
kernfs_vnops.o: /sys/miscfs/kernfs/kernfs_vnops.c vnode_if.h
	$(CC) $(CFLAGS) -c -o $@@ $<

vnode_if.h: /sys/kern/vnode_if.sh /sys/kern/vnode_if.src
	sh /sys/kern/vnode_if.sh /sys/kern/vnode_if.src
@


1.1.4.2
log
@from trunk.
@
text
@@


1.1.4.3
log
@from trunk.
@
text
@d36 1
a36 1
#	$Id: Makefile,v 1.3 1994/07/24 07:16:21 mycroft Exp $
d48 1
a48 1
CFLAGS= -O6 -DKERNEL -I/sys -I.
@
