freebsd-src/sys/modules/nwfs/Makefile
Peter Wemm 56ca39961b Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00

30 lines
463 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../nwfs
KMOD= nwfs
SRCS= vnode_if.h \
nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
NOMAN=true
.if defined(VNPRINT)
CFLAGS+= -DVNPRINT
.endif
opt_ncp.h:
echo "#define NCP 1" > ${.TARGET}
load: nwfs.ko
kldload ./nwfs.ko
unload:
@(if kldunload nwfs; then true; else true; fi)
deinstall:
rm -f /modules/nwfs.ko
.include "${.CURDIR}/../../conf/kmod.mk"