1 # $NetBSD: Makefile,v 1.2 2009/08/10 22:38:59 haad Exp $
3 .
include "../Makefile.inc"
5 CFLAGS
+= -g
-fno-inline
9 ZFSDIR
= ${S}/..
/external
/cddl
/osnet
11 .PATH
: ${ZFSDIR}/dist/common
/avl
15 .PATH
: ${ZFSDIR}/dist/common
/nvpair
18 SRCS
+= nvpair_alloc_fixed.c
20 .PATH
: ${ZFSDIR}/dist/common
/unicode
24 .PATH
: ${ZFSDIR}/dist/uts
/common
/os
28 SRCS
+= nvpair_alloc_system.c
30 .PATH
: ${ZFSDIR}/dist/uts
/common
/rpc
36 .PATH
: ${ZFSDIR}/dist/uts
/common
/zmod
49 .PATH
: ${ZFSDIR}/dist/common
/acl
53 .PATH
: ${ZFSDIR}/sys
/kern
72 CWARNFLAGS
+= -Wno-unknown-pragmas
73 CWARNFLAGS
+= -Wno-missing-braces
74 CWARNFLAGS
+= -Wno-parentheses
75 CWARNFLAGS
+= -Wno-uninitialized
76 CWARNFLAGS
+= -Wno-unused
77 CWARNFLAGS
+= -Wno-switch
78 CWARNFLAGS
+= -Wno-strict-prototypes
79 CWARNFLAGS
+= -Wno-missing-prototypes
80 CWARNFLAGS
+= -Wno-format
82 CPPFLAGS
+= -I
${ZFSDIR}/sys
83 CPPFLAGS
+= -I
${ZFSDIR}/dist/common
/acl
84 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
/zmod
85 CPPFLAGS
+= -I
${ZFSDIR}/dist/uts
/common
86 CPPFLAGS
+= -I
${ZFSDIR}/sys
/sys
88 CPPFLAGS
+= -Dcaddr_t
=__caddr_t
"-D__va_list=va_list"
90 # CPPFLAGS+= -D_NFS_NFS_H_
91 # CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT
93 CFLAGS
+= -g
-O0
-DDIAGNOSTIC
94 .
include <bsd.kmodule.mk
>