mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 19:21:04 +01:00
a71ea7bea0
It is useful to have zfs utilities and lib in a separate package as it allow users to create image that can support ZFS (i.e. not with WITHOUT_ZFS in src.conf set) without bloating the default image with all zfs tools (for example for jails). Differential Revision: https://reviews.freebsd.org/D36225
29 lines
894 B
Makefile
29 lines
894 B
Makefile
.PATH: ${SRCTOP}/sys/contrib/openzfs/contrib/pam_zfs_key
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
|
|
|
PACKAGE= zfs
|
|
LIB= pam_zfs_key
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
|
|
LIBADD= zfs zfs_core nvpair uutil crypto
|
|
|
|
SRCS= pam_zfs_key.c
|
|
|
|
WARNS?= 2
|
|
CSTD= c99
|
|
CFLAGS+= -DIN_BASE
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs
|
|
CFLAGS+= -DRUNSTATEDIR=\"/var/run\"
|
|
|
|
.include "../../lib/libpam/modules/Makefile.inc"
|
|
.include <bsd.lib.mk>
|