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-online.8 \ 37 zpool-reguid.8 \ 38 zpool-remove.8 \ 39 zpool-reopen.8 \ 40 zpool-replace.8 \ 41 zpool-resilver.8 \ 42 zpool-scrub.8 \ 43 zpool-set.8 \ 44 zpool-split.8 \ 45 zpool-status.8 \ 46 zpool-sync.8 \ 47 zpool-trim.8 \ 48 zpool-upgrade.8 \ 49 zpool-wait.8 \ 50 zpoolconcepts.8 \ 51 zpoolprops.8 52SRCS= \ 53 zpool_iter.c \ 54 zpool_main.c \ 55 zpool_util.c \ 56 zpool_util.h \ 57 zpool_vdev.c \ 58 zpool_vdev_os.c 59 60WARNS?= 2 61 62CFLAGS+= \ 63 -DIN_BASE \ 64 -I${ZFSTOP}/include \ 65 -I${ZFSTOP}/lib/libspl/include \ 66 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 67 -I${SRCTOP}/sys \ 68 -I${SRCTOP}/cddl/compat/opensolaris/include \ 69 -I${ZFSTOP}/cmd/zpool \ 70 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \ 71 -DHAVE_ISSETUGID \ 72 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h \ 73 -DSYSCONFDIR=\"/etc\" 74 75LIBADD= geom nvpair uutil zfs zutil avl spl tpool zfs_core m 76LDADD+= -pthread 77.include <bsd.prog.mk> 78