xref: /freebsd-12-stable/usr.sbin/fstyp/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD: stable/12/usr.sbin/fstyp/Makefile 369204 2021-02-02 21:15:35Z emaste $
2
3.include <src.opts.mk>
4
5PROG=	fstyp
6SRCS=	cd9660.c exfat.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c
7
8.if ${MK_ZFS} != "no"
9SRCS +=	zfs.c
10.endif
11
12MAN=	fstyp.8
13
14WARNS?=	2
15
16.if ${MK_ICONV} == "yes"
17CFLAGS+=	-DWITH_ICONV
18.endif
19
20.include <bsd.endian.mk>
21
22.if ${TARGET_ENDIANNESS} == 1234
23HAS_TESTS=
24SUBDIR.${MK_TESTS}+= tests
25.endif
26
27.if ${MK_ZFS} != "no"
28IGNORE_PRAGMA=  YES
29
30CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_ZFS
31CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
32CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
33CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
34CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
35CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
36CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
37CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
38CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
39.endif
40
41CFLAGS+=-I${SRCTOP}/sys
42
43LIBADD=	geom md ufs
44
45.if ${MK_ZFS} != "no"
46LIBADD+=nvpair zfs
47.endif
48
49.include <bsd.prog.mk>
50

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026