summaryrefslogtreecommitdiffstats
path: root/cddl/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-04-16 21:20:26 +0000
committerru <ru@FreeBSD.org>2007-04-16 21:20:26 +0000
commitfc861d6ddfef1ad969b1beb206c79466f51bb0fb (patch)
tree96b513e188e12d0119ea9cb2b351ff665a33a9f9 /cddl/usr.bin
parent84f8e133d5518313892727075c5c44d94f57aa14 (diff)
downloadFreeBSD-src-fc861d6ddfef1ad969b1beb206c79466f51bb0fb.zip
FreeBSD-src-fc861d6ddfef1ad969b1beb206c79466f51bb0fb.tar.gz
Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.
There are some insignificant non-style changes as well. Not fixed: makefiles use ${LIBTHR} that doesn't exist, thus breaking "make checkdpadd" and not tracking dependencies properly. Approved by: pjd
Diffstat (limited to 'cddl/usr.bin')
-rw-r--r--cddl/usr.bin/Makefile6
-rw-r--r--cddl/usr.bin/ztest/Makefile24
2 files changed, 14 insertions, 16 deletions
diff --git a/cddl/usr.bin/Makefile b/cddl/usr.bin/Makefile
index b703d19..0a9035a 100644
--- a/cddl/usr.bin/Makefile
+++ b/cddl/usr.bin/Makefile
@@ -2,12 +2,12 @@
.include <bsd.own.mk>
-.if ${MK_ZFS} != "no"
SUBDIR= ${_ztest}
-.endif
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+.if ${MK_ZFS} != "no"
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
_ztest= ztest
.endif
+.endif
.include <bsd.subdir.mk>
diff --git a/cddl/usr.bin/ztest/Makefile b/cddl/usr.bin/ztest/Makefile
index 99173d5..b38426c 100644
--- a/cddl/usr.bin/ztest/Makefile
+++ b/cddl/usr.bin/ztest/Makefile
@@ -1,23 +1,21 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/ztest
+.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/ztest
PROG= ztest
+NO_MAN=
-CFLAGS+=-I${.CURDIR}/../../../sys/compat/opensolaris
-CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/include
-CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/lib/libumem
-CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
-CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs
-CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
-CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
-CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/head
-CFLAGS+=-I${.CURDIR}/../../lib/libumem
-CFLAGS+=-I${.CURDIR}/../../../sys
+CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
+CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
+CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
+CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
+CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs
+CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
+CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
+CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
+CFLAGS+= -I${.CURDIR}/../../lib/libumem
DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBTHR} ${LIBUMEM} ${LIBZPOOL}
LDADD= -lavl -lm -lnvpair -lthr -lumem -lzpool
-NO_MAN=
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud