VFS messaging/interfacing work stage 8/99: Major reworking of the vnode
[dragonfly.git] / sys / vfs / nwfs / Makefile
1 # $FreeBSD: src/sys/modules/nwfs/Makefile,v 1.5 1999/12/12 20:34:08 peter Exp $
2 # $DragonFly: src/sys/vfs/nwfs/Makefile,v 1.4 2004/08/13 17:51:12 dillon Exp $
3
4 KMOD=   nwfs
5 KMODDEPS= ncp
6
7 SRCS=   nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
8         nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
9
10 NOMAN=true
11
12 .if defined(VNPRINT)
13 CFLAGS+= -DVNPRINT
14 .endif
15
16 opt_ncp.h:
17         echo "#define NCP       1"  > ${.TARGET}
18
19 load: nwfs.ko
20         kldload ./nwfs.ko
21
22 unload:
23         @(if kldunload nwfs; then true; else true; fi)
24
25 deinstall:
26         rm -f /modules/nwfs.ko
27
28 .include <bsd.kmod.mk>