freebsd-dev/tests/lib/Makefile
Rui Paulo e2197f8018 Set up the /usr/tests hierarchy.
Populate /usr/tests with the only test programs that currently live
in the tree (those in lib/libcrypt/tests/) and add all the build
machinery to accompany this change.

In particular:

- Add a WITHOUT_TESTS variable that users can define to request that
  no tests be put in /usr/tests.
- Add a top-level Kyuafile for /usr/tests and a way to create similar
  Kyuafiles in top-level subdirectories.
- Add a BSD.tests.dist file to define the directory layout of
  /usr/tests.

Submitted by:	Julio Merino jmmv google.com
Reviewed by:	sjg
MFC after:	2 weeks
2013-10-25 05:25:19 +00:00

14 lines
190 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/lib
KYUAFILE= yes
CLEANFILES+= Kyuafile
Kyuafile: ${.CURDIR}/../Kyuafile
cp -f ${.CURDIR}/../Kyuafile .
.include <bsd.test.mk>