ng_mppc(4): Bring netgraph(3) MPPC compression support.
[freebsd-src.git] / usr.sbin / fstyp / Makefile
blob5eba12bcabf7fa470c88a3ab0f27104bfff2e352
1 # $FreeBSD$
3 .include <src.opts.mk>
5 PROG= fstyp
6 SRCS= cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c
8 .if ${MK_ZFS} != "no"
9 SRCS += zfs.c
10 .endif
12 MAN= fstyp.8
14 WARNS?= 2
16 .include <src.opts.mk>
18 .if ${MK_TESTS} != "no"
19 SUBDIR+= tests
20 .endif
22 CFLAGS+=-I${.CURDIR}/../../sys
24 .if ${MK_ZFS} != "no"
25 IGNORE_PRAGMA= YES
27 CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_ZFS
28 CFLAGS+= -I${.CURDIR}/../../sys/cddl/compat/opensolaris
29 CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/include
30 CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/lib/libumem
31 CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libnvpair
32 CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libzpool/common
33 CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
34 CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common
35 CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys
36 CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head
37 .endif
39 LIBADD= geom md
41 .if ${MK_ZFS} != "no"
42 LIBADD+=nvpair zfs
43 .endif
45 .include <bsd.prog.mk>