Home | History | Annotate | Line # | Download | only in fstyp
Makefile revision 1.14
      1  1.14     lukem #	$NetBSD: Makefile,v 1.14 2023/06/03 21:26:29 lukem Exp $
      2   1.1  christos 
      3   1.1  christos .include <bsd.own.mk>
      4   1.1  christos 
      5   1.1  christos PROG=	fstyp
      6   1.9   tkusumi SRCS=	apfs.c cd9660.c exfat.c ext2fs.c fstyp.c hammer.c hammer2.c hfsplus.c msdosfs.c ntfs.c ufs.c
      7   1.1  christos 
      8   1.1  christos .if (${MKZFS} != "no")
      9   1.1  christos SRCS+=	zfs.c
     10   1.1  christos .endif
     11   1.1  christos 
     12   1.1  christos MAN=	fstyp.8
     13   1.1  christos 
     14   1.1  christos WARNS?=	6
     15   1.1  christos 
     16   1.1  christos .if (${MKZFS} != "no")
     17   1.3       chs COPTS.zfs.c+=	-Wno-unknown-pragmas
     18   1.3       chs COPTS.zfs.c+=	-Wno-sign-conversion
     19   1.3       chs COPTS.zfs.c+=	-Wno-strict-prototypes
     20   1.1  christos LDADD+=	-lnvpair -lzfs
     21  1.12  christos 
     22  1.12  christos OSNET=${NETBSDSRCDIR}/external/cddl/osnet
     23  1.12  christos CPPFLAGS+=	-DHAVE_ZFS
     24  1.12  christos CPPFLAGS.zfs.c+=	-I${NETBSDSRCDIR}/external
     25  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/include
     26  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/sys
     27  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/dist/head
     28  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/dist/lib/libzpool/common
     29  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/dist/uts/common
     30  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/dist/uts/common/fs/zfs
     31  1.12  christos CPPFLAGS.zfs.c+=	-I${OSNET}/dist/lib/libnvpair
     32   1.1  christos .endif
     33   1.1  christos 
     34  1.14     lukem CWARNFLAGS.clang+=	-Wno-unknown-pragmas
     35  1.14     lukem CWARNFLAGS+=        	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
     36   1.2     joerg 
     37   1.1  christos .include <bsd.prog.mk>
     38