Makefile revision 284728
1275680Strasz# $FreeBSD: head/usr.sbin/fstyp/Makefile 284728 2015-06-23 16:34:43Z allanjude $ 2275680Strasz 3284589Sallanjude.include <src.opts.mk> 4284589Sallanjude 5275680StraszPROG= fstyp 6284589SallanjudeSRCS= cd9660.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c 7284589Sallanjude 8284728Sallanjude.if ${MK_ZFS} != "no" 9284589SallanjudeSRCS += zfs.c 10284589Sallanjude.endif 11284589Sallanjude 12275680StraszMAN= fstyp.8 13275680Strasz 14284644SallanjudeWARNS?= 0 15275680Strasz 16284728Sallanjude.if ${MK_ZFS} != "no" 17284589SallanjudeIGNORE_PRAGMA= YES 18284589Sallanjude 19284728SallanjudeCFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_ZFS 20284589SallanjudeCFLAGS+= -I${.CURDIR}/../../sys/cddl/compat/opensolaris 21284589SallanjudeCFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/include 22284589SallanjudeCFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris/lib/libumem 23284589SallanjudeCFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libnvpair 24284589SallanjudeCFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libzpool/common 25284589SallanjudeCFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 26284589SallanjudeCFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common 27284589SallanjudeCFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys 28284589SallanjudeCFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head 29284589Sallanjude.endif 30284589Sallanjude 31284589SallanjudeCFLAGS+=-I${.CURDIR}/../../sys 32284589Sallanjude 33284589SallanjudeDPADD= ${LIBGEOM} ${LIBMD} 34284589SallanjudeLDADD= -lgeom -lmd 35284589Sallanjude 36284728Sallanjude.if ${MK_ZFS} != "no" 37284589SallanjudeDPADD += ${LIBNVPAIR} ${LIBZFS} 38284589SallanjudeLDADD += -lnvpair -lzfs 39284589Sallanjude.endif 40284589Sallanjude 41275680Strasz.include <bsd.prog.mk> 42