Home | History | Annotate | Line # | Download | only in libzfs
Makefile revision 1.8
      1  1.8  christos #	$NetBSD: Makefile,v 1.8 2016/08/04 17:07:24 christos 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.7     joerg 	uutil	${.CURDIR}/../libuutil
     19  1.1      haad 
     20  1.3    darran # Local
     21  1.4      haad SRCS=	deviceid.c mnttab.c mkdirp.c zmount.c fsshare.c zone.c efi.c ucred.c stubs.c
     22  1.1      haad 
     23  1.3    darran # Sun
     24  1.3    darran SRCS+=	zfs_namecheck.c zprop_common.c zfs_prop.c zpool_prop.c
     25  1.5      haad SRCS+=	zfs_deleg.c zfs_fletcher.c zfs_comutil.c
     26  1.3    darran SRCS+=	libzfs_dataset.c libzfs_util.c libzfs_graph.c libzfs_mount.c
     27  1.3    darran SRCS+=	libzfs_pool.c libzfs_changelist.c libzfs_config.c libzfs_import.c
     28  1.3    darran SRCS+=	libzfs_status.c libzfs_sendrecv.c
     29  1.3    darran 
     30  1.3    darran CPPFLAGS+=	-I${NETBSDSRCDIR}/sbin/mount
     31  1.6      haad # CPPFLAGS+=	-Wall -Wno-unknown-pragmas
     32  1.3    darran 
     33  1.3    darran # Avoid conflict with libprop
     34  1.3    darran CPPFLAGS+=	-D_PROPLIB_ZFS_CONFLICT
     35  1.3    darran 
     36  1.3    darran # Avoid internal header conflicts
     37  1.6      haad CPPFLAGS+=	-D_ZFS_CONTEXT_NO_VERIFY -D_ZFS_CONTEXT_NO_DEBUG
     38  1.3    darran 
     39  1.3    darran .include "../../Makefile.zfs"
     40  1.1      haad .include <bsd.lib.mk>
     41