Build helper programs as PROGS and not as TESTS_{C,SH}

This enables us to remove custom Atffiles whose only purpose was to avoid
using the helpers as tests.

XXX src/tests/dev/dm/ is not (yet) linked into the build!
This commit is contained in:
pgoyette 2012-12-02 18:39:53 +00:00
parent 20de507730
commit f93daef0af
3 changed files with 14 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2010/10/31 13:54:31 he Exp $
# $NetBSD: Makefile,v 1.4 2012/12/02 18:39:53 pgoyette Exp $
#
.include <bsd.own.mk>
@ -7,9 +7,11 @@ TESTSDIR= ${TESTSBASE}/dev/audio
FILESDIR= ${TESTSDIR}
TESTS_SH= t_pad
TESTS_C= h_pad
ATFFILE= yes # for h_pad ... or rather not for it
BINDIR= ${TESTSDIR}
MKMAN=no
PROGS= h_pad
LDADD+= -lrumpdev_pad -lrumpdev_audio -lrumpdev -lrumpvfs
LDADD+= -lrump

View File

@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.1 2010/10/06 11:24:55 haad Exp $
# $NetBSD: Makefile,v 1.2 2012/12/02 18:39:53 pgoyette Exp $
#
.include <bsd.own.mk>
@ -8,10 +8,11 @@ TESTSDIR= ${TESTSBASE}/dev/dm
FILESDIR= ${TESTSDIR}
TESTS_SH= t_dm
TESTS_C= h_dm
ATFFILE= yes
BINDIR= ${TESTSDIR}
MKMAN=no
PROGS= h_dm
LDADD+= -lprop -lutil
LDADD+= -lrumpdev_disk -lrumpdev_dm

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2010/11/30 19:03:44 pooka Exp $
# $NetBSD: Makefile,v 1.3 2012/12/02 18:39:53 pgoyette Exp $
#
.include <bsd.own.mk>
@ -7,9 +7,11 @@ TESTSDIR= ${TESTSBASE}/dev/md
FILESDIR= ${TESTSDIR}
TESTS_SH= t_md
TESTS_C= h_mdserv
ATFFILE= yes
BINDIR= ${TESTSDIR}
MKMAN=no
PROGS= h_mdserv
LDADD+= -lrumpdev_md -lrumpdev_disk -lrumpdev -lrumpvfs
LDADD+= -lrump