Makefile (416ba5c74546f32a993436a99516d35008e9f384) | Makefile (69f172f27d18b8b1341d3fb2fa4cf3e945c3883a) |
---|---|
1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= fstyp 6SRCS= cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c 7 | 1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= fstyp 6SRCS= cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c 7 |
8.if ${MK_CDDL} != "no" | 8.if ${MK_ZFS} != "no" |
9SRCS += zfs.c 10.endif 11 12MAN= fstyp.8 13 14WARNS?= 0 15 | 9SRCS += zfs.c 10.endif 11 12MAN= fstyp.8 13 14WARNS?= 0 15 |
16.if ${MK_CDDL} != "no" | 16.if ${MK_ZFS} != "no" |
17IGNORE_PRAGMA= YES 18 | 17IGNORE_PRAGMA= YES 18 |
19CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_CDDL | 19CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_ZFS |
20CFLAGS+= -I${.CURDIR}/../../sys/cddl/compat/opensolaris 21CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/include 22CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/lib/libumem 23CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libnvpair 24CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libzpool/common 25CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 26CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common 27CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys 28CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head 29.endif 30 31CFLAGS+=-I${.CURDIR}/../../sys 32 33DPADD= ${LIBGEOM} ${LIBMD} 34LDADD= -lgeom -lmd 35 | 20CFLAGS+= -I${.CURDIR}/../../sys/cddl/compat/opensolaris 21CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/include 22CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/lib/libumem 23CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libnvpair 24CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libzpool/common 25CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 26CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common 27CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys 28CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head 29.endif 30 31CFLAGS+=-I${.CURDIR}/../../sys 32 33DPADD= ${LIBGEOM} ${LIBMD} 34LDADD= -lgeom -lmd 35 |
36.if ${MK_CDDL} != "no" | 36.if ${MK_ZFS} != "no" |
37DPADD += ${LIBNVPAIR} ${LIBZFS} 38LDADD += -lnvpair -lzfs 39.endif 40 41.include <bsd.prog.mk> | 37DPADD += ${LIBNVPAIR} ${LIBZFS} 38LDADD += -lnvpair -lzfs 39.endif 40 41.include <bsd.prog.mk> |