1# $FreeBSD$ 2 3ZFSTOP= ${SRCTOP}/sys/contrib/openzfs 4 5.PATH: ${ZFSTOP}/man/man5 6.PATH: ${ZFSTOP}/man/man8 7.PATH: ${ZFSTOP}/cmd/zpool 8.PATH: ${ZFSTOP}/cmd/zpool/os/freebsd 9 10 11PACKAGE= runtime 12PROG= zpool 13MAN= \ 14 spl-module-parameters.5 \ 15 zfs-events.5 \ 16 zfs-module-parameters.5 \ 17 zpool.8 \ 18 zpool-add.8 \ 19 zpool-attach.8 \ 20 zpool-checkpoint.8 \ 21 zpool-clear.8 \ 22 zpool-create.8 \ 23 zpool-destroy.8 \ 24 zpool-detach.8 \ 25 zpool-events.8 \ 26 zpool-export.8 \ 27 zpool-features.5 \ 28 zpool-get.8 \ 29 zpool-history.8 \ 30 zpool-import.8 \ 31 zpool-initialize.8 \ 32 zpool-iostat.8 \ 33 zpool-labelclear.8 \ 34 zpool-list.8 \ 35 zpool-offline.8 \ 36 zpool-reguid.8 \ 37 zpool-remove.8 \ 38 zpool-reopen.8 \ 39 zpool-replace.8 \ 40 zpool-resilver.8 \ 41 zpool-scrub.8 \ 42 zpool-split.8 \ 43 zpool-status.8 \ 44 zpool-sync.8 \ 45 zpool-trim.8 \ 46 zpool-upgrade.8 \ 47 zpool-wait.8 \ 48 zpoolconcepts.8 \ 49 zpoolprops.8 50MLINKS= \ 51 zpool-offline.8 zpool-online.8 \ 52 zpool-get.8 zpool-set.8 53SRCS= \ 54 zpool_iter.c \ 55 zpool_main.c \ 56 zpool_util.c \ 57 zpool_util.h \ 58 zpool_vdev.c \ 59 zpool_vdev_os.c 60 61WARNS?= 2 62 63CFLAGS+= \ 64 -DIN_BASE \ 65 -I${ZFSTOP}/include \ 66 -I${ZFSTOP}/lib/libspl/include \ 67 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 68 -I${SRCTOP}/sys \ 69 -I${SRCTOP}/cddl/compat/opensolaris/include \ 70 -I${ZFSTOP}/cmd/zpool \ 71 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \ 72 -DHAVE_ISSETUGID \ 73 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h \ 74 -DSYSCONFDIR=\"/etc\" 75 76LIBADD= geom nvpair uutil zfs zutil avl spl tpool zfs_core m 77LDADD+= -pthread 78.include <bsd.prog.mk> 79