summaryrefslogtreecommitdiff
path: root/regress/sys/kern/flock/Makefile
blob: 46556e05f915f4eecc82202381e2db668c06aead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#	$OpenBSD: Makefile,v 1.13 2022/06/01 14:21:50 visa Exp $

PROGS+=		flock
SRCS_flock=	flock.c util.c
LDADD_flock=	-lutil

PROGS+=		lockf
SRCS_lockf=	lockf.c util.c

WARNINGS=	yes

TESTS_FLOCK!=	jot 26 1
.for t in ${TESTS_FLOCK}
run-flock-$t: flock
	./flock ${LOCKFLAGS} $t
REGRESS_TARGETS+=run-flock-$t
.endfor

TESTS_LOCKF!=	jot 2 1
.for t in ${TESTS_LOCKF}
run-lockf-$t: lockf
	./lockf ${LOCKFLAGS} $t
REGRESS_TARGETS+=run-lockf-$t
.endfor

.include <bsd.regress.mk>