MP Implementation 1/2: Get the APIC code working again, sweetly integrate the
[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.2 2003/06/17 04:28:46 dillon Exp $
3
4 .PATH:  ${.CURDIR}/../../nwfs
5
6 KMOD=   nwfs
7 KMODDEPS= ncp
8
9 SRCS=   vnode_if.h \
10         nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
11         nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
12
13 NOMAN=true
14
15 .if defined(VNPRINT)
16 CFLAGS+= -DVNPRINT
17 .endif
18
19 opt_ncp.h:
20         echo "#define NCP       1"  > ${.TARGET}
21
22 load: nwfs.ko
23         kldload ./nwfs.ko
24
25 unload:
26         @(if kldunload nwfs; then true; else true; fi)
27
28 deinstall:
29         rm -f /modules/nwfs.ko
30
31 .include <bsd.kmod.mk>