xref: /netbsd-src/external/bsd/libproc/tests/Makefile (revision 52ebe1c2c4d4a306e5aa34057375d60716bcd6e9)
1*52ebe1c2Schristos# $NetBSD: Makefile,v 1.1 2015/09/24 14:12:48 christos Exp $
2*52ebe1c2Schristos
3*52ebe1c2SchristosNOMAN=yes
4*52ebe1c2Schristos.include <bsd.own.mk>
5*52ebe1c2Schristos
6*52ebe1c2SchristosTESTSDIR=	${TESTSBASE}/lib/libproc
7*52ebe1c2Schristos
8*52ebe1c2Schristos.PATH: ${.CURDIR}/../dist/tests
9*52ebe1c2Schristos
10*52ebe1c2SchristosTESTS_C+=	proc_test
11*52ebe1c2Schristos
12*52ebe1c2SchristosBINDIR=         ${TESTSDIR}
13*52ebe1c2SchristosPROGS=		target_prog
14*52ebe1c2Schristos
15*52ebe1c2SchristosLDADD+=	-lelf -lproc -lrtld_db -lutil
16*52ebe1c2SchristosDPADD+=	${LIBELF} ${LIBPROC} ${LIBRTLD_DB} ${LIBUTIL}
17*52ebe1c2Schristos
18*52ebe1c2Schristos# Ensure that symbols aren't stripped from the test program, as they're needed
19*52ebe1c2Schristos# for testing symbol lookup.
20*52ebe1c2SchristosSTRIP=
21*52ebe1c2Schristos
22*52ebe1c2SchristosWARNS?=	6
23*52ebe1c2Schristos
24*52ebe1c2Schristos.include <bsd.test.mk>
25