1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/sysutils/py-zfs/files/Makefile.lib
Baptiste Daroussin bea7ca8a4c Resurrect it was actually staged
Reported by:	koobs
2014-09-02 10:38:28 +00:00

32 lines
1.2 KiB
Makefile

# $FreeBSD$
SRCDIR?= /usr/src
.PATH: ${SRCDIR}/cddl/contrib/opensolaris/lib/pyzfs/common
SRCS= ioctl.c
SHLIB_NAME= ioctl.so
LIB= ioctl
DPADD= ${LIBGEOM} ${LIBZFS} ${LIBZFS_CORE} ${LIBNVPAIR} ${LIBUUTIL}
LDADD= -lgeom -lzfs -lzfs_core -lnvpair -luutil ${PYTHON_LDFLAGS}
CFLAGS+= -DNEED_SOLARIS_BOOLEAN
CFLAGS+= -I${SRCDIR}/sys/cddl/compat/opensolaris
CFLAGS+= -I${SRCDIR}/cddl/compat/opensolaris/include
CFLAGS+= -I${SRCDIR}/cddl/compat/opensolaris/lib/libumem
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${SRCDIR}/sys/cddl/contrib/opensolaris/common/zfs
CFLAGS+= -I${SRCDIR}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
CFLAGS+= -I${SRCDIR}/sys/cddl/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${SRCDIR}/sys/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/head
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/lib/libnvpair
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/lib/libuutil/common
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/lib/libzfs_core/common
CFLAGS+= -I${SRCDIR}/cddl/contrib/opensolaris/lib/libzfs/common
CFLAGS+= -I${PYTHON_INCLUDEDIR}
.include <bsd.lib.mk>