View | Details | Raw Unified | Return to bug 200976
Collapse All | Expand All

(-)usr.sbin/fstyp/Makefile (-3 / +3 lines)
Lines 5-11 Link Here
5
PROG=	fstyp
5
PROG=	fstyp
6
SRCS=	cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c
6
SRCS=	cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c
7
7
8
.if ${MK_CDDL} != "no"
8
.if ${MK_ZFS} != "no"
9
SRCS +=	zfs.c
9
SRCS +=	zfs.c
10
.endif
10
.endif
11
11
Lines 13-19 Link Here
13
13
14
WARNS=	6
14
WARNS=	6
15
15
16
.if ${MK_CDDL} != "no"
16
.if ${MK_ZFS} != "no"
17
IGNORE_PRAGMA=  YES
17
IGNORE_PRAGMA=  YES
18
18
19
CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_CDDL
19
CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_CDDL
Lines 33-39 Link Here
33
DPADD=   ${LIBGEOM} ${LIBMD}
33
DPADD=   ${LIBGEOM} ${LIBMD}
34
LDADD=   -lgeom -lmd
34
LDADD=   -lgeom -lmd
35
35
36
.if ${MK_CDDL} != "no"
36
.if ${MK_ZFS} != "no"
37
DPADD += ${LIBNVPAIR} ${LIBZFS}
37
DPADD += ${LIBNVPAIR} ${LIBZFS}
38
LDADD += -lnvpair -lzfs
38
LDADD += -lnvpair -lzfs
39
.endif
39
.endif

Return to bug 200976