1 # $NetBSD: Makefile,v 1.1 2009/08/10 07:16:06 haad Exp $
3 .
include "../Makefile.inc"
7 ZFSDIR
= ${S}/..
/external
/cddl
/osnet
9 .PATH
: ${ZFSDIR}/dist/common
/zfs
13 SRCS
+= zfs_namecheck.c
18 .PATH
: ${ZFSDIR}/dist/uts
/common
/fs
22 .PATH
: ${ZFSDIR}/dist/uts
/common
/zmod
26 .PATH
: ${ZFSDIR}/dist/uts
/common
/fs
/zfs
97 .PATH
: ${ZFSDIR}/sys
/kern
105 CWARNFLAGS
+= -Wno-unknown-pragmas
106 CWARNFLAGS
+= -Wno-missing-braces
107 CWARNFLAGS
+= -Wno-parentheses
108 CWARNFLAGS
+= -Wno-uninitialized
109 CWARNFLAGS
+= -Wno-unused
110 CWARNFLAGS
+= -Wno-switch
111 CWARNFLAGS
+= -Wno-strict-prototypes
112 CWARNFLAGS
+= -Wno-missing-prototypes
113 CWARNFLAGS
+= -Wno-format
115 CPPFLAGS
+= -I
${ZFSDIR}/sys
116 CPPFLAGS
+= -I
${ZFSDIR}/dist/common
/acl
117 CPPFLAGS
+= -I
${ZFSDIR}/dist/common
/zfs
118 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
/fs
/zfs
119 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
/zmod
120 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
121 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
/zfs
122 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
124 CPPFLAGS
+= -Dcaddr_t
=__caddr_t
"-D__va_list=va_list" -D__NetBSD__
126 CPPFLAGS
+= -D_NFS_NFS_H_
127 CPPFLAGS
+= -D_PROPLIB_ZFS_CONFLICT
129 CFLAGS
+= -DDIAGNOSTIC
-g
-O0
132 .
include <bsd.kmodule.mk
>