1 1.9 chs # $NetBSD: Makefile,v 1.9 2018/05/28 21:05:09 chs Exp $ 2 1.8 christos 3 1.8 christos .include <bsd.init.mk> 4 1.1 haad 5 1.3 darran .PATH: ${.CURDIR}/../../dist/common/zfs 6 1.3 darran .PATH: ${.CURDIR}/../../dist/common/fs/zfs 7 1.3 darran .PATH: ${.CURDIR}/../../dist/lib/libzfs/common 8 1.1 haad 9 1.1 haad LIB= zfs 10 1.7 joerg 11 1.7 joerg LIBDPLIBS+= \ 12 1.7 joerg avl ${.CURDIR}/../libavl \ 13 1.7 joerg nvpair ${.CURDIR}/../libnvpair \ 14 1.7 joerg m ${NETBSDSRCDIR}/lib/libm \ 15 1.7 joerg pthread ${NETBSDSRCDIR}/lib/libpthread \ 16 1.7 joerg umem ${.CURDIR}/../libumem \ 17 1.7 joerg util ${NETBSDSRCDIR}/lib/libutil \ 18 1.9 chs uutil ${.CURDIR}/../libuutil \ 19 1.9 chs z ${NETBSDSRCDIR}/lib/libz \ 20 1.9 chs zfs_core ${.CURDIR}/../libzfs_core 21 1.1 haad 22 1.3 darran # Local 23 1.9 chs SRCS+= deviceid.c 24 1.9 chs SRCS+= fsshare.c 25 1.9 chs SRCS+= mkdirp.c 26 1.9 chs SRCS+= mnttab.c 27 1.9 chs SRCS+= thread_pool.c 28 1.9 chs SRCS+= zmount.c 29 1.9 chs SRCS+= zone.c 30 1.1 haad 31 1.3 darran # Sun 32 1.9 chs SRCS+= libzfs_changelist.c 33 1.9 chs SRCS+= libzfs_config.c 34 1.9 chs SRCS+= libzfs_dataset.c 35 1.9 chs SRCS+= libzfs_diff.c 36 1.9 chs #SRCS+= libzfs_fru.c 37 1.9 chs #SRCS+= libzfs_graph.c 38 1.9 chs SRCS+= libzfs_import.c 39 1.9 chs SRCS+= libzfs_iter.c 40 1.9 chs SRCS+= libzfs_mount.c 41 1.9 chs SRCS+= libzfs_pool.c 42 1.9 chs SRCS+= libzfs_sendrecv.c 43 1.9 chs SRCS+= libzfs_status.c 44 1.9 chs SRCS+= libzfs_util.c 45 1.9 chs SRCS+= zfeature_common.c 46 1.9 chs SRCS+= zfs_comutil.c 47 1.9 chs SRCS+= zfs_deleg.c 48 1.9 chs SRCS+= zfs_fletcher.c 49 1.9 chs SRCS+= zfs_namecheck.c 50 1.9 chs SRCS+= zfs_prop.c 51 1.9 chs SRCS+= zpool_prop.c 52 1.9 chs SRCS+= zprop_common.c 53 1.3 darran 54 1.3 darran CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mount 55 1.3 darran 56 1.3 darran # Avoid conflict with libprop 57 1.3 darran CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT 58 1.3 darran 59 1.3 darran # Avoid internal header conflicts 60 1.6 haad CPPFLAGS+= -D_ZFS_CONTEXT_NO_VERIFY -D_ZFS_CONTEXT_NO_DEBUG 61 1.3 darran 62 1.9 chs CWARNFLAGS+= -Wno-parentheses 63 1.9 chs 64 1.3 darran .include "../../Makefile.zfs" 65 1.1 haad .include <bsd.lib.mk> 66