namecache work stage 3a: Adjust the VFS APIs to include a namecache pointer
[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.3 2003/08/15 07:26:15 dillon Exp $
3
4 KMOD=   nwfs
5 KMODDEPS= ncp
6
7 SRCS=   vnode_if.h \
8         nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
9         nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
10
11 NOMAN=true
12
13 .if defined(VNPRINT)
14 CFLAGS+= -DVNPRINT
15 .endif
16
17 opt_ncp.h:
18         echo "#define NCP       1"  > ${.TARGET}
19
20 load: nwfs.ko
21         kldload ./nwfs.ko
22
23 unload:
24         @(if kldunload nwfs; then true; else true; fi)
25
26 deinstall:
27         rm -f /modules/nwfs.ko
28
29 .include <bsd.kmod.mk>