aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:50:42 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:50:42 +0000
commitd511b20a693d77c1dc2491a62124471361eddd8e (patch)
tree0e48f6f74b51451185cd0d8b365c12092afdd206 /lib
parent46b37aa2c4068c1a237b0a7e61b8c2f953b3708c (diff)
downloadsrc-d511b20a693d77c1dc2491a62124471361eddd8e.tar.gz
src-d511b20a693d77c1dc2491a62124471361eddd8e.zip
Add HAS_TESTS to all Makefiles that are currently using the
`SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912.
Notes
Notes: svn path=/projects/make-check-sandbox/; revision=321914
Diffstat (limited to 'lib')
-rw-r--r--lib/atf/libatf-c++/Makefile1
-rw-r--r--lib/atf/libatf-c/Makefile1
-rw-r--r--lib/libarchive/Makefile1
-rw-r--r--lib/libc/Makefile1
-rw-r--r--lib/libcasper/services/cap_dns/Makefile1
-rw-r--r--lib/libcasper/services/cap_grp/Makefile1
-rw-r--r--lib/libcasper/services/cap_pwd/Makefile1
-rw-r--r--lib/libcasper/services/cap_sysctl/Makefile1
-rw-r--r--lib/libcrypt/Makefile1
-rw-r--r--lib/libmp/Makefile1
-rw-r--r--lib/libnv/Makefile1
-rw-r--r--lib/libpathconv/Makefile1
-rw-r--r--lib/libproc/Makefile1
-rw-r--r--lib/librt/Makefile1
-rw-r--r--lib/libthr/Makefile1
-rw-r--r--lib/libutil/Makefile1
-rw-r--r--lib/libxo/Makefile1
-rw-r--r--lib/msun/Makefile1
18 files changed, 18 insertions, 0 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index 08fa39bac893..03e7d19c4440 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -72,6 +72,7 @@ INCSDIR_atf-c++.hpp= ${INCLUDEDIR}
MAN= atf-c++.3
MLINKS+= atf-c++.3 atf-c-api++.3 # Backwards compatibility.
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include "../common.mk"
diff --git a/lib/atf/libatf-c/Makefile b/lib/atf/libatf-c/Makefile
index 4bb48694e817..e269839db8c1 100644
--- a/lib/atf/libatf-c/Makefile
+++ b/lib/atf/libatf-c/Makefile
@@ -97,6 +97,7 @@ INCSDIR_atf-c.h= ${INCLUDEDIR}
MAN= atf-c.3
MLINKS+= atf-c.3 atf-c-api.3 # Backwards compatibility.
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include "../common.mk"
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 228854eeb3de..9935d927a03f 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -413,6 +413,7 @@ MLINKS+= archive_write_set_options.3 archive_write_set_format_option.3
MLINKS+= archive_write_set_options.3 archive_write_set_option.3
MLINKS+= libarchive.3 archive.3
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 2d4de5c0dfa6..1fcb7108d690 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -173,6 +173,7 @@ libkern.${LIBC_ARCH}:: ${KMSRCS}
${CP} ${.ALLSRC} ${DESTDIR}/sys/libkern/${LIBC_ARCH}
.endif
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libcasper/services/cap_dns/Makefile b/lib/libcasper/services/cap_dns/Makefile
index 1317b317f5d7..4f89b0270ca3 100644
--- a/lib/libcasper/services/cap_dns/Makefile
+++ b/lib/libcasper/services/cap_dns/Makefile
@@ -18,6 +18,7 @@ LIBADD= nv
CFLAGS+=-I${.CURDIR}
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libcasper/services/cap_grp/Makefile b/lib/libcasper/services/cap_grp/Makefile
index 2363fa06eb18..5fba3d2ba7b0 100644
--- a/lib/libcasper/services/cap_grp/Makefile
+++ b/lib/libcasper/services/cap_grp/Makefile
@@ -18,6 +18,7 @@ LIBADD= nv
CFLAGS+=-I${.CURDIR}
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libcasper/services/cap_pwd/Makefile b/lib/libcasper/services/cap_pwd/Makefile
index 11c37bcd1bdd..e8c87d47b923 100644
--- a/lib/libcasper/services/cap_pwd/Makefile
+++ b/lib/libcasper/services/cap_pwd/Makefile
@@ -18,6 +18,7 @@ LIBADD= nv
CFLAGS+=-I${.CURDIR}
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libcasper/services/cap_sysctl/Makefile b/lib/libcasper/services/cap_sysctl/Makefile
index 32e1bef0f4f1..5b9960161932 100644
--- a/lib/libcasper/services/cap_sysctl/Makefile
+++ b/lib/libcasper/services/cap_sysctl/Makefile
@@ -18,6 +18,7 @@ LIBADD= nv
CFLAGS+=-I${.CURDIR}
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index 7842c49e7491..19a7ccb143d3 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -43,6 +43,7 @@ WARNS?= 2
PRECIOUSLIB=
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libmp/Makefile b/lib/libmp/Makefile
index 496c6839da60..9f001f521519 100644
--- a/lib/libmp/Makefile
+++ b/lib/libmp/Makefile
@@ -15,6 +15,7 @@ CFLAGS+= -I${SRCTOP}/crypto
VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile
index 9e4e7f1e20ca..6bba1f78a713 100644
--- a/lib/libnv/Makefile
+++ b/lib/libnv/Makefile
@@ -17,6 +17,7 @@ SRCS+= msgio.c
SRCS+= nvlist.c
SRCS+= nvpair.c
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libpathconv/Makefile b/lib/libpathconv/Makefile
index 10da9bb08d6d..fd9924e686e3 100644
--- a/lib/libpathconv/Makefile
+++ b/lib/libpathconv/Makefile
@@ -13,6 +13,7 @@ SRCS= abs2rel.c rel2abs.c
#VERSION_DEF= ${SRCTOP/lib/libc/Versions.def
#SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
index e487cd207604..ed37b8acb3c0 100644
--- a/lib/libproc/Makefile
+++ b/lib/libproc/Makefile
@@ -41,6 +41,7 @@ SHLIB_MAJOR= 4
MAN=
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/librt/Makefile b/lib/librt/Makefile
index 97306ae59cff..3c0973db1d70 100644
--- a/lib/librt/Makefile
+++ b/lib/librt/Makefile
@@ -21,6 +21,7 @@ PRECIOUSLIB=
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
SYMBOL_MAPS=${.CURDIR}/Symbol.map
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 05c67fac087a..1843bce2539d 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -69,6 +69,7 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index 176360c656f0..ae716352b1d5 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -84,6 +84,7 @@ MLINKS+=pw_util.3 pw_copy.3 \
pw_util.3 pw_tempname.3 \
pw_util.3 pw_tmp.3
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/libxo/Makefile b/lib/libxo/Makefile
index 3bea6ebef71c..7844332862ad 100644
--- a/lib/libxo/Makefile
+++ b/lib/libxo/Makefile
@@ -110,6 +110,7 @@ MLINKS= xo_attr.3 xo_attr_h.3 \
xo_syslog.3 xo_set_logmask.3 \
xo_syslog.3 xo_vsyslog.3
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index ced343d0d01c..ed9f96e61ae9 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -228,6 +228,7 @@ MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3
.include <src.opts.mk>
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>