summaryrefslogtreecommitdiffstats
path: root/cddl/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/lib/Makefile')
-rw-r--r--cddl/lib/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile
index 272e0dd..4ee4780 100644
--- a/cddl/lib/Makefile
+++ b/cddl/lib/Makefile
@@ -2,17 +2,18 @@
.include <bsd.own.mk>
-SUBDIR= libavl
-SUBDIR+=libnvpair
-SUBDIR+=libumem
-SUBDIR+=libuutil
-.if ${MK_CDDL} != "no"
-SUBDIR+=libzfs
-SUBDIR+=${_libzpool}
-.endif
+SUBDIR= libavl \
+ libnvpair \
+ libumem \
+ libuutil \
+ ${_libzfs} \
+ ${_libzpool}
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+.if ${MK_ZFS} != "no"
+_libzfs= libzfs
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
_libzpool= libzpool
.endif
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud