aboutsummaryrefslogtreecommitdiff
path: root/lib/libcrypt/Makefile
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2013-10-25 05:25:19 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2013-10-25 05:25:19 +0000
commite2197f8018d99844d7ab3502e8c196b637d2c1ea (patch)
treed2d64f8bb603e244c2f535208834fc5bfd9f5e27 /lib/libcrypt/Makefile
parent5e6f3a8ed7c34d22d00b2959f8d9dbe5c6a48a66 (diff)
downloadsrc-e2197f8018d99844d7ab3502e8c196b637d2c1ea.tar.gz
src-e2197f8018d99844d7ab3502e8c196b637d2c1ea.zip
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
Notes
Notes: svn path=/head/; revision=257097
Diffstat (limited to 'lib/libcrypt/Makefile')
-rw-r--r--lib/libcrypt/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index 7274e287bded..798b4b6350d4 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -37,4 +37,9 @@ WARNS?= 2
PRECIOUSLIB=
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.lib.mk>
+.include <bsd.subdir.mk>