summaryrefslogtreecommitdiffstats
path: root/tests/sys/pjdfstest/pjdfstest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys/pjdfstest/pjdfstest/Makefile')
-rw-r--r--tests/sys/pjdfstest/pjdfstest/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/sys/pjdfstest/pjdfstest/Makefile b/tests/sys/pjdfstest/pjdfstest/Makefile
new file mode 100644
index 0000000..c0e82a4
--- /dev/null
+++ b/tests/sys/pjdfstest/pjdfstest/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+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>
OpenPOWER on IntegriCloud