xref: /netbsd/tests/dev/audio/Makefile (revision df525b82)
1#	$NetBSD: Makefile,v 1.9 2020/03/02 04:25:08 isaki Exp $
2#
3
4.include <bsd.own.mk>
5
6TESTSDIR=	${TESTSBASE}/dev/audio
7FILESDIR=	${TESTSDIR}
8
9PROGS+=		audiotest
10PROGS+=		h_pad
11
12SRCS.audiotest=	audiotest.c
13LDADD.audiotest+=	-lutil
14
15SRCS.h_pad=	h_pad.c
16
17TESTS_SH+=	t_audio
18TESTS_SH+=	t_pad
19
20BINDIR=		${TESTSDIR}
21MKMAN=no
22
23CPPFLAGS+=	-D_KERNTYPES
24LDADD+=	-lrumpdev_pad -lrumpdev_audio -lrumpdev ${LIBRUMPBASE}
25
26WARNS=	4
27NOMAN=
28
29CLEANFILES+=	t_audio.sh
30
31t_audio.sh:	t_audio.awk audiotest.c
32	${_MKTARGET_CREATE}
33	${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET}
34
35.include <bsd.test.mk>
36