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