diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2007-10-01 18:23:24 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2007-10-01 18:23:24 +0000 |
commit | bcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8 (patch) | |
tree | e3e4ada2df826ef2f884bff2138d6157cd7a8aa2 /cddl | |
parent | 152f2a4a96fd82ea013f6602e97ce3c2f0f46d08 (diff) | |
download | src-bcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8.tar.gz src-bcf72246c5082e768c19a7d4a76fe4b1fe6e8fd8.zip |
Don't build bits that depend on the pthreads support if a
system was configured without such support.
Approved by: re (kensmith)
Notes
Notes:
svn path=/head/; revision=172404
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/Makefile | 2 | ||||
-rw-r--r-- | cddl/usr.bin/Makefile | 2 | ||||
-rw-r--r-- | cddl/usr.sbin/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile index 94a93a13ea87..138f60740ee3 100644 --- a/cddl/lib/Makefile +++ b/cddl/lib/Makefile @@ -11,7 +11,9 @@ SUBDIR= libavl \ .if ${MK_ZFS} != "no" _libzfs= libzfs +.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" _libzpool= libzpool .endif +.endif .include <bsd.subdir.mk> diff --git a/cddl/usr.bin/Makefile b/cddl/usr.bin/Makefile index 95e5ac498784..2ca99cbe1092 100644 --- a/cddl/usr.bin/Makefile +++ b/cddl/usr.bin/Makefile @@ -5,7 +5,9 @@ SUBDIR= ${_ztest} .if ${MK_ZFS} != "no" +.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" _ztest= ztest .endif +.endif .include <bsd.subdir.mk> diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile index 1be350108b44..f8b81fcdd1f1 100644 --- a/cddl/usr.sbin/Makefile +++ b/cddl/usr.sbin/Makefile @@ -5,7 +5,9 @@ SUBDIR= ${_zdb} .if ${MK_ZFS} != "no" +.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" _zdb= zdb .endif +.endif .include <bsd.subdir.mk> |