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