diff options
author | ru <ru@FreeBSD.org> | 2007-10-01 18:23:24 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-10-01 18:23:24 +0000 |
commit | c05a2547c61f36994f2eb95b4a4f042faa697cef (patch) | |
tree | e3e4ada2df826ef2f884bff2138d6157cd7a8aa2 /cddl | |
parent | 0ea9576a4d3c8cec356445aa34c765471dc136ac (diff) | |
download | FreeBSD-src-c05a2547c61f36994f2eb95b4a4f042faa697cef.zip FreeBSD-src-c05a2547c61f36994f2eb95b4a4f042faa697cef.tar.gz |
Don't build bits that depend on the pthreads support if a
system was configured without such support.
Approved by: re (kensmith)
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 94a93a1..138f607 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 95e5ac4..2ca99cb 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 1be3501..f8b81fc 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> |