xref: /freebsd/lib/libkvm/tests/Makefile (revision 537976d1909fd0b1626a8576e12bf2dcde7b4887)
110f81a9bSEnji Cooper# $FreeBSD$
210f81a9bSEnji Cooper
310f81a9bSEnji Cooper.include <bsd.own.mk>
410f81a9bSEnji Cooper
510f81a9bSEnji CooperATF_TESTS_C+=	kvm_close_test
610f81a9bSEnji CooperATF_TESTS_C+=	kvm_geterr_test
710f81a9bSEnji CooperATF_TESTS_C+=	kvm_open_test
810f81a9bSEnji CooperATF_TESTS_C+=	kvm_open2_test
9*537976d1SAlfredo Dal'Ava JuniorATF_TESTS_C+=	kvm_read_test
1010f81a9bSEnji Cooper
1110f81a9bSEnji CooperCFLAGS.kvm_geterr_test+=	-I${.CURDIR:H}
12*537976d1SAlfredo Dal'Ava JuniorCFLAGS.kvm_read_test+=		-I${.CURDIR:H}
1310f81a9bSEnji Cooper
1410f81a9bSEnji CooperLIBADD+=	kvm
1510f81a9bSEnji Cooper
1610f81a9bSEnji CooperWARNS?=		6
1710f81a9bSEnji Cooper
1810f81a9bSEnji CooperBINDIR=		${TESTSDIR}
1910f81a9bSEnji Cooper
20*537976d1SAlfredo Dal'Ava Junior.for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test
2110f81a9bSEnji CooperSRCS.$t=	$t.c kvm_test_common.c
2210f81a9bSEnji Cooper.endfor
2310f81a9bSEnji Cooper
2410f81a9bSEnji Cooper.include <bsd.test.mk>
25