Cross Reference: Makefile
xref: /src/usr.sbin/fstyp/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/fstyp/
11.15Schristos#	$NetBSD: Makefile,v 1.15 2024/04/26 18:21:25 christos Exp $
21.1Schristos
31.1Schristos.include <bsd.own.mk>
41.1Schristos
51.1SchristosPROG=	fstyp
61.9StkusumiSRCS=	apfs.c cd9660.c exfat.c ext2fs.c fstyp.c hammer.c hammer2.c hfsplus.c msdosfs.c ntfs.c ufs.c
71.1Schristos
81.1Schristos.if (${MKZFS} != "no")
91.1SchristosSRCS+=	zfs.c
101.1Schristos.endif
111.1Schristos
121.1SchristosMAN=	fstyp.8
131.1Schristos
141.1SchristosWARNS?=	6
151.1Schristos
161.1Schristos.if (${MKZFS} != "no")
171.3SchsCOPTS.zfs.c+=	-Wno-unknown-pragmas
181.3SchsCOPTS.zfs.c+=	-Wno-sign-conversion
191.3SchsCOPTS.zfs.c+=	-Wno-strict-prototypes
201.15SchristosLDADD+=	-lnvpair
211.15SchristosDPADD+= ${LIBNVPAIR}
221.12Schristos
231.12SchristosOSNET=${NETBSDSRCDIR}/external/cddl/osnet
241.12SchristosCPPFLAGS+=	-DHAVE_ZFS
251.12SchristosCPPFLAGS.zfs.c+=	-I${NETBSDSRCDIR}/external
261.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/include
271.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/sys
281.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/dist/head
291.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/dist/lib/libzpool/common
301.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/dist/uts/common
311.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/dist/uts/common/fs/zfs
321.12SchristosCPPFLAGS.zfs.c+=	-I${OSNET}/dist/lib/libnvpair
331.1Schristos.endif
341.1Schristos
351.14SlukemCWARNFLAGS.clang+=	-Wno-unknown-pragmas
361.14SlukemCWARNFLAGS+=        	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
371.2Sjoerg
381.1Schristos.include <bsd.prog.mk>
39

Indexes created Sat Nov 29 02:09:32 GMT 2025