# $FreeBSD: stable/10/tests/sys/pjdfstest/pjdfstest/Makefile 291815 2015-12-04 18:59:20Z bdrewery $

TOP=		${.CURDIR:H:H:H:H}

.PATH: ${TOP}/contrib/pjdfstest

BINDIR=		${TESTSBASE}/sys/pjdfstest
PROG=		pjdfstest
MAN=

CFLAGS+=	-D__OS_FreeBSD__ -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_FCHFLAGS
CFLAGS+=	-DHAS_CHFLAGSAT -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL -DHAS_BINDAT
CFLAGS+=	-DHAS_CONNECTAT

# XXX: the upstream sources need some massaging with how it assigns ngroups in
# pjdfstest.c
NO_WERROR=
WARNS?=		6

.include <bsd.prog.mk>
