Leverage bsd.opts.mk
This commit is contained in:
parent
8041d4fdaa
commit
9835224ad3
@ -4,31 +4,47 @@
|
||||
|
||||
DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
|
||||
|
||||
.if !defined(MK_CTF)
|
||||
.include "${SRCTOP}/share/mk/bsd.opts.mk"
|
||||
.endif
|
||||
|
||||
DIRDEPS = \
|
||||
cddl/lib/drti \
|
||||
cddl/lib/libavl \
|
||||
cddl/lib/libctf \
|
||||
cddl/lib/libdtrace \
|
||||
cddl/lib/libnvpair \
|
||||
cddl/lib/libumem \
|
||||
cddl/lib/libuutil \
|
||||
cddl/usr.bin/sgsmsg \
|
||||
|
||||
|
||||
DIRDEPS.CTF = \
|
||||
cddl/lib/libctf \
|
||||
cddl/usr.bin/ctfconvert \
|
||||
cddl/usr.bin/ctfdump \
|
||||
cddl/usr.bin/ctfmerge \
|
||||
cddl/lib/libdtrace \
|
||||
cddl/usr.sbin/dtrace \
|
||||
cddl/usr.sbin/dtruss \
|
||||
|
||||
|
||||
DIRDEPS.ZFS = \
|
||||
cddl/lib/libzfs \
|
||||
cddl/lib/libzfs_core \
|
||||
cddl/lib/libzpool \
|
||||
cddl/sbin/zfs \
|
||||
cddl/sbin/zpool \
|
||||
cddl/usr.bin/ctfconvert \
|
||||
cddl/usr.bin/ctfdump \
|
||||
cddl/usr.bin/ctfmerge \
|
||||
cddl/usr.bin/sgsmsg \
|
||||
cddl/usr.bin/zinject \
|
||||
cddl/usr.bin/zstreamdump \
|
||||
cddl/usr.bin/ztest \
|
||||
cddl/usr.sbin/dtrace \
|
||||
cddl/usr.sbin/dtruss \
|
||||
cddl/usr.sbin/lockstat \
|
||||
cddl/usr.sbin/zdb \
|
||||
cddl/usr.sbin/zhack \
|
||||
|
||||
|
||||
.for O in CTF ZFS
|
||||
.if ${MK_$O} == "yes"
|
||||
DIRDEPS+= ${DIRDEPS.$O}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user