1 1.7 joerg # $NetBSD: Makefile,v 1.7 2013/09/11 23:04:10 joerg Exp $ 2 1.1 haad 3 1.3 darran .PATH: ${.CURDIR}/../../dist/common/zfs 4 1.3 darran .PATH: ${.CURDIR}/../../dist/common/fs/zfs 5 1.3 darran .PATH: ${.CURDIR}/../../dist/lib/libzfs/common 6 1.1 haad 7 1.1 haad LIB= zfs 8 1.7 joerg 9 1.7 joerg LIBDPLIBS+= \ 10 1.7 joerg avl ${.CURDIR}/../libavl \ 11 1.7 joerg nvpair ${.CURDIR}/../libnvpair \ 12 1.7 joerg m ${NETBSDSRCDIR}/lib/libm \ 13 1.7 joerg pthread ${NETBSDSRCDIR}/lib/libpthread \ 14 1.7 joerg umem ${.CURDIR}/../libumem \ 15 1.7 joerg util ${NETBSDSRCDIR}/lib/libutil \ 16 1.7 joerg uutil ${.CURDIR}/../libuutil 17 1.1 haad 18 1.3 darran # Local 19 1.4 haad SRCS= deviceid.c mnttab.c mkdirp.c zmount.c fsshare.c zone.c efi.c ucred.c stubs.c 20 1.1 haad 21 1.3 darran # Sun 22 1.3 darran SRCS+= zfs_namecheck.c zprop_common.c zfs_prop.c zpool_prop.c 23 1.5 haad SRCS+= zfs_deleg.c zfs_fletcher.c zfs_comutil.c 24 1.3 darran SRCS+= libzfs_dataset.c libzfs_util.c libzfs_graph.c libzfs_mount.c 25 1.3 darran SRCS+= libzfs_pool.c libzfs_changelist.c libzfs_config.c libzfs_import.c 26 1.3 darran SRCS+= libzfs_status.c libzfs_sendrecv.c 27 1.3 darran 28 1.3 darran CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mount 29 1.6 haad # CPPFLAGS+= -Wall -Wno-unknown-pragmas 30 1.3 darran 31 1.3 darran # Avoid conflict with libprop 32 1.3 darran CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT 33 1.3 darran 34 1.3 darran # Avoid internal header conflicts 35 1.6 haad CPPFLAGS+= -D_ZFS_CONTEXT_NO_VERIFY -D_ZFS_CONTEXT_NO_DEBUG 36 1.3 darran 37 1.3 darran .include "../../Makefile.zfs" 38 1.1 haad .include <bsd.lib.mk> 39