xref: /freebsd/lib/libproc/tests/Makefile (revision c6db8143eda5c775467145ac73e8ebec47afdd8f)
1# $FreeBSD$
2
3TESTSDIR=	${TESTSBASE}/lib/libproc
4
5ATF_TESTS_C+=	proc_test
6
7PROGS=		target_prog
8SRCS_target_prog=	target_prog.c
9BINDIR_target_prog=	${TESTSDIR}
10
11LDADD+=	-lelf -lproc -lrtld_db -lutil
12DPADD+=	${LIBELF} ${LIBPROC} ${LIBRTLD_DB} ${LIBUTIL}
13
14# Ensure that symbols aren't stripped from the test program, as they're needed
15# for testing symbol lookup.
16STRIP=
17
18MAN=
19WARNS?=	6
20
21.include <bsd.test.mk>
22