1 1.1.4.2 rmind # $NetBSD: Makefile.zfsmod,v 1.1.4.2 2011/03/05 20:55:50 rmind Exp $ 2 1.1.4.2 rmind 3 1.1.4.2 rmind ZFSDIR= ${S}/../external/cddl/osnet 4 1.1.4.2 rmind 5 1.1.4.2 rmind .PATH: ${ZFSDIR}/dist/common/zfs 6 1.1.4.2 rmind 7 1.1.4.2 rmind SRCS+= zfs_comutil.c 8 1.1.4.2 rmind SRCS+= zfs_deleg.c 9 1.1.4.2 rmind SRCS+= zfs_fletcher.c 10 1.1.4.2 rmind SRCS+= zfs_namecheck.c 11 1.1.4.2 rmind SRCS+= zfs_prop.c 12 1.1.4.2 rmind SRCS+= zpool_prop.c 13 1.1.4.2 rmind SRCS+= zprop_common.c 14 1.1.4.2 rmind 15 1.1.4.2 rmind .PATH: ${ZFSDIR}/dist/uts/common/fs 16 1.1.4.2 rmind 17 1.1.4.2 rmind #SRCS+= gfs.c 18 1.1.4.2 rmind 19 1.1.4.2 rmind .PATH: ${ZFSDIR}/dist/uts/common/zmod 20 1.1.4.2 rmind 21 1.1.4.2 rmind SRCS+= trees.c 22 1.1.4.2 rmind 23 1.1.4.2 rmind .PATH: ${ZFSDIR}/dist/uts/common/fs/zfs 24 1.1.4.2 rmind 25 1.1.4.2 rmind SRCS+= arc.c 26 1.1.4.2 rmind SRCS+= bplist.c 27 1.1.4.2 rmind SRCS+= dbuf.c 28 1.1.4.2 rmind SRCS+= ddt.c 29 1.1.4.2 rmind SRCS+= ddt_zap.c 30 1.1.4.2 rmind SRCS+= dmu.c 31 1.1.4.2 rmind SRCS+= dmu_object.c 32 1.1.4.2 rmind SRCS+= dmu_objset.c 33 1.1.4.2 rmind SRCS+= dmu_send.c 34 1.1.4.2 rmind SRCS+= dmu_traverse.c 35 1.1.4.2 rmind SRCS+= dmu_tx.c 36 1.1.4.2 rmind SRCS+= dmu_zfetch.c 37 1.1.4.2 rmind SRCS+= dnode.c 38 1.1.4.2 rmind SRCS+= dnode_sync.c 39 1.1.4.2 rmind SRCS+= dsl_dataset.c 40 1.1.4.2 rmind SRCS+= dsl_deleg.c 41 1.1.4.2 rmind SRCS+= dsl_dir.c 42 1.1.4.2 rmind SRCS+= dsl_pool.c 43 1.1.4.2 rmind SRCS+= dsl_prop.c 44 1.1.4.2 rmind SRCS+= dsl_scrub.c 45 1.1.4.2 rmind SRCS+= dsl_synctask.c 46 1.1.4.2 rmind SRCS+= gzip.c 47 1.1.4.2 rmind SRCS+= lzjb.c 48 1.1.4.2 rmind SRCS+= metaslab.c 49 1.1.4.2 rmind SRCS+= refcount.c 50 1.1.4.2 rmind SRCS+= rrwlock.c 51 1.1.4.2 rmind SRCS+= sha256.c 52 1.1.4.2 rmind SRCS+= spa.c 53 1.1.4.2 rmind SRCS+= spa_config.c 54 1.1.4.2 rmind SRCS+= spa_errlog.c 55 1.1.4.2 rmind SRCS+= spa_history.c 56 1.1.4.2 rmind SRCS+= spa_misc.c 57 1.1.4.2 rmind SRCS+= space_map.c 58 1.1.4.2 rmind SRCS+= txg.c 59 1.1.4.2 rmind SRCS+= uberblock.c 60 1.1.4.2 rmind SRCS+= unique.c 61 1.1.4.2 rmind SRCS+= vdev.c 62 1.1.4.2 rmind SRCS+= vdev_cache.c 63 1.1.4.2 rmind SRCS+= vdev_disk.c 64 1.1.4.2 rmind SRCS+= vdev_file.c 65 1.1.4.2 rmind SRCS+= vdev_label.c 66 1.1.4.2 rmind SRCS+= vdev_mirror.c 67 1.1.4.2 rmind SRCS+= vdev_missing.c 68 1.1.4.2 rmind SRCS+= vdev_queue.c 69 1.1.4.2 rmind SRCS+= vdev_raidz.c 70 1.1.4.2 rmind SRCS+= vdev_root.c 71 1.1.4.2 rmind SRCS+= zap.c 72 1.1.4.2 rmind SRCS+= zap_leaf.c 73 1.1.4.2 rmind SRCS+= zap_micro.c 74 1.1.4.2 rmind SRCS+= zfs_byteswap.c 75 1.1.4.2 rmind #SRCS+= zfs_ctldir.c 76 1.1.4.2 rmind SRCS+= zfs_dir.c 77 1.1.4.2 rmind SRCS+= zfs_fuid.c 78 1.1.4.2 rmind SRCS+= zfs_fm.c 79 1.1.4.2 rmind SRCS+= zfs_ioctl.c 80 1.1.4.2 rmind SRCS+= zfs_log.c 81 1.1.4.2 rmind SRCS+= zfs_replay.c 82 1.1.4.2 rmind SRCS+= zfs_rlock.c 83 1.1.4.2 rmind SRCS+= zfs_vfsops.c 84 1.1.4.2 rmind SRCS+= zfs_vnops.c 85 1.1.4.2 rmind SRCS+= zfs_znode.c 86 1.1.4.2 rmind SRCS+= zfs_acl.c 87 1.1.4.2 rmind SRCS+= zil.c 88 1.1.4.2 rmind SRCS+= zio.c 89 1.1.4.2 rmind SRCS+= zio_checksum.c 90 1.1.4.2 rmind SRCS+= zio_compress.c 91 1.1.4.2 rmind SRCS+= zio_inject.c 92 1.1.4.2 rmind SRCS+= zutil.c 93 1.1.4.2 rmind SRCS+= zvol.c 94 1.1.4.2 rmind SRCS+= zle.c 95 1.1.4.2 rmind 96 1.1.4.2 rmind .PATH: ${ZFSDIR}/sys/kern 97 1.1.4.2 rmind 98 1.1.4.2 rmind SRCS+= zfs_stub.c 99 1.1.4.2 rmind 100 1.1.4.2 rmind WARNS= 0 101 1.1.4.2 rmind NOGCCERROR= yes 102 1.1.4.2 rmind 103 1.1.4.2 rmind CWARNFLAGS+= -Wall 104 1.1.4.2 rmind CWARNFLAGS+= -Wno-unknown-pragmas 105 1.1.4.2 rmind CWARNFLAGS+= -Wno-missing-braces 106 1.1.4.2 rmind CWARNFLAGS+= -Wno-parentheses 107 1.1.4.2 rmind CWARNFLAGS+= -Wno-uninitialized 108 1.1.4.2 rmind CWARNFLAGS+= -Wno-unused 109 1.1.4.2 rmind CWARNFLAGS+= -Wno-switch 110 1.1.4.2 rmind CWARNFLAGS+= -Wno-strict-prototypes 111 1.1.4.2 rmind CWARNFLAGS+= -Wno-missing-prototypes 112 1.1.4.2 rmind CWARNFLAGS+= -Wno-format 113 1.1.4.2 rmind 114 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/sys 115 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/common 116 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/common/acl 117 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/common/zfs 118 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/uts/common/fs/zfs 119 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/uts/common/zmod 120 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/uts/common 121 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/uts/common/zfs 122 1.1.4.2 rmind CPPFLAGS+= -I${ZFSDIR}/dist/uts/common 123 1.1.4.2 rmind 124 1.1.4.2 rmind CPPFLAGS+= -Dcaddr_t=__caddr_t "-D__va_list=va_list" -D__NetBSD__ 125 1.1.4.2 rmind CPPFLAGS+= -std=c99 126 1.1.4.2 rmind CPPFLAGS+= -D_NFS_NFS_H_ 127 1.1.4.2 rmind CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT 128 1.1.4.2 rmind 129 1.1.4.2 rmind CFLAGS+= -DDIAGNOSTIC -g -O0 130 1.1.4.2 rmind # -DZFS_DEBUG 131