Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / modules / solaris / Makefile
blob2e65fa3854d51fb7205f2c7338d2692272450eb0
1 # $NetBSD: Makefile,v 1.2 2009/08/10 22:38:59 haad Exp $
3 .include "../Makefile.inc"
5 CFLAGS+= -g -fno-inline
7 KMOD= solaris
9 ZFSDIR= ${S}/../external/cddl/osnet
11 .PATH: ${ZFSDIR}/dist/common/avl
13 SRCS= avl.c
15 .PATH: ${ZFSDIR}/dist/common/nvpair
17 SRCS+= nvpair.c
18 SRCS+= nvpair_alloc_fixed.c
20 .PATH: ${ZFSDIR}/dist/common/unicode
22 SRCS+= u8_textprep.c
24 .PATH: ${ZFSDIR}/dist/uts/common/os
26 SRCS+= fm.c
27 SRCS+= list.c
28 SRCS+= nvpair_alloc_system.c
30 .PATH: ${ZFSDIR}/dist/uts/common/rpc
32 SRCS+= xdr.c
33 SRCS+= xdr_array.c
34 SRCS+= xdr_mem.c
36 .PATH: ${ZFSDIR}/dist/uts/common/zmod
38 SRCS+= adler32.c
39 SRCS+= crc32.c
40 SRCS+= deflate.c
41 SRCS+= inffast.c
42 SRCS+= inflate.c
43 SRCS+= inftrees.c
44 SRCS+= trees.c
45 SRCS+= zmod.c
46 SRCS+= zmod_subr.c
47 SRCS+= zutil.c
49 .PATH: ${ZFSDIR}/dist/common/acl
51 SRCS+= acl_common.c
53 .PATH: ${ZFSDIR}/sys/kern
55 SRCS+= kobj.c
56 SRCS+= kstat.c
57 SRCS+= misc.c
58 SRCS+= policy.c
59 SRCS+= string.c
60 SRCS+= zone.c
61 SRCS+= callb.c
62 SRCS+= ddi.c
63 SRCS+= mod.c
64 SRCS+= printf.c
65 SRCS+= taskq.c
66 SRCS+= vfs.c
68 WARNS= 0
69 NOGCCERROR= yes
71 CWARNFLAGS+= -Wall
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"
89 CPPFLAGS+= -std=c99
90 # CPPFLAGS+= -D_NFS_NFS_H_
91 # CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT
93 CFLAGS+= -g -O0 -DDIAGNOSTIC
94 .include <bsd.kmodule.mk>