aboutsummaryrefslogtreecommitdiff
path: root/lib/libpam/libpam/tests/Makefile
blob: ec32229781e201119341e534ab43603356b6a2c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$

PACKAGE=	tests
FILESGROUPS=	TESTS
TESTSPACKAGE=	${PACKAGE}

OPENPAM=	${SRCTOP}/contrib/openpam
.PATH: ${OPENPAM}/t

TESTSDIR = ${TESTSBASE}/lib/libpam

COMMONSRC = t_file.c t_main.c
.for test in t_openpam_ctype t_openpam_readlinev t_openpam_readword
TAP_TESTS_C += ${test}
SRCS.${test} = ${test}.c ${COMMONSRC}
.endfor
CFLAGS +=-I${OPENPAM}/include -I${OPENPAM}/lib/libpam -I${OPENPAM}/t
WARNS ?= 6

LIBADD =	pam

.include <bsd.test.mk>