Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / modules / zfs / Makefile
blob961a5fe7a3797d3680d613d3a301c01f40fb9009
1 # $NetBSD: Makefile,v 1.1 2009/08/10 07:16:06 haad Exp $
3 .include "../Makefile.inc"
5 KMOD= zfs
7 ZFSDIR= ${S}/../external/cddl/osnet
9 .PATH: ${ZFSDIR}/dist/common/zfs
11 SRCS+= zfs_comutil.c
12 SRCS+= zfs_deleg.c
13 SRCS+= zfs_namecheck.c
14 SRCS+= zfs_prop.c
15 SRCS+= zpool_prop.c
16 SRCS+= zprop_common.c
18 .PATH: ${ZFSDIR}/dist/uts/common/fs
20 #SRCS+= gfs.c
22 .PATH: ${ZFSDIR}/dist/uts/common/zmod
24 SRCS+= trees.c
26 .PATH: ${ZFSDIR}/dist/uts/common/fs/zfs
28 SRCS+= arc.c
29 SRCS+= bplist.c
30 SRCS+= dbuf.c
31 SRCS+= dmu.c
32 SRCS+= dmu_object.c
33 SRCS+= dmu_objset.c
34 SRCS+= dmu_send.c
35 SRCS+= dmu_traverse.c
36 SRCS+= dmu_tx.c
37 SRCS+= dmu_zfetch.c
38 SRCS+= dnode.c
39 SRCS+= dnode_sync.c
40 SRCS+= dsl_dataset.c
41 SRCS+= dsl_deleg.c
42 SRCS+= dsl_dir.c
43 SRCS+= dsl_pool.c
44 SRCS+= dsl_prop.c
45 SRCS+= dsl_scrub.c
46 SRCS+= dsl_synctask.c
47 SRCS+= fletcher.c
48 SRCS+= gzip.c
49 SRCS+= lzjb.c
50 SRCS+= metaslab.c
51 SRCS+= refcount.c
52 SRCS+= rrwlock.c
53 SRCS+= sha256.c
54 SRCS+= spa.c
55 SRCS+= spa_config.c
56 SRCS+= spa_errlog.c
57 SRCS+= spa_history.c
58 SRCS+= spa_misc.c
59 SRCS+= space_map.c
60 SRCS+= txg.c
61 SRCS+= uberblock.c
62 SRCS+= unique.c
63 SRCS+= vdev.c
64 SRCS+= vdev_cache.c
65 SRCS+= vdev_disk.c
66 SRCS+= vdev_file.c
67 SRCS+= vdev_label.c
68 SRCS+= vdev_mirror.c
69 SRCS+= vdev_missing.c
70 SRCS+= vdev_queue.c
71 SRCS+= vdev_raidz.c
72 SRCS+= vdev_root.c
73 SRCS+= zap.c
74 SRCS+= zap_leaf.c
75 SRCS+= zap_micro.c
76 SRCS+= zfs_byteswap.c
77 #SRCS+= zfs_ctldir.c
78 SRCS+= zfs_dir.c
79 SRCS+= zfs_fuid.c
80 SRCS+= zfs_fm.c
81 SRCS+= zfs_ioctl.c
82 SRCS+= zfs_log.c
83 SRCS+= zfs_replay.c
84 SRCS+= zfs_rlock.c
85 SRCS+= zfs_vfsops.c
86 SRCS+= zfs_vnops.c
87 SRCS+= zfs_znode.c
88 SRCS+= zfs_acl.c
89 SRCS+= zil.c
90 SRCS+= zio.c
91 SRCS+= zio_checksum.c
92 SRCS+= zio_compress.c
93 SRCS+= zio_inject.c
94 SRCS+= zutil.c
95 SRCS+= zvol.c
97 .PATH: ${ZFSDIR}/sys/kern
99 SRCS+= zfs_stub.c
101 WARNS= 0
102 NOGCCERROR= yes
104 CWARNFLAGS+= -Wall
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__
125 CPPFLAGS+= -std=c99
126 CPPFLAGS+= -D_NFS_NFS_H_
127 CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT
129 CFLAGS+= -DDIAGNOSTIC -g -O0
130 # -DZFS_DEBUG
132 .include <bsd.kmodule.mk>