Home | History | Annotate | Line # | Download | only in fstyp
Makefile revision 1.3
      1  1.3       chs #	$NetBSD: Makefile,v 1.3 2018/05/28 21:05:02 chs 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.1  christos SRCS=	cd9660.c ext2fs.c fstyp.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.1  christos CFLAGS+=	-DHAVE_ZFS
     18  1.3       chs COPTS.zfs.c+=	-Wno-unknown-pragmas
     19  1.3       chs COPTS.zfs.c+=	-Wno-sign-conversion
     20  1.3       chs COPTS.zfs.c+=	-Wno-strict-prototypes
     21  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external
     22  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external/cddl/osnet/include
     23  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external/cddl/osnet/sys
     24  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
     25  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common/fs/zfs
     26  1.3       chs COPTS.zfs.c+=	-I${NETBSDSRCDIR}/external/cddl/osnet/dist/lib/libnvpair
     27  1.1  christos LDADD+=	-lnvpair -lzfs
     28  1.1  christos .endif
     29  1.1  christos 
     30  1.2     joerg CWARNFLAGS.clang+=	-Wno-unknown-pragmas
     31  1.2     joerg 
     32  1.1  christos .include <bsd.prog.mk>
     33