# $FreeBSD: stable/10/tools/tools/bootparttest/Makefile 276486 2014-12-31 23:25:37Z ngie $

.PATH:		${.CURDIR}/../../../sys/boot/common

BINDIR?=	/usr/bin

PROG=		bootparttest
MAN=

SRCS=		bootparttest.c crc32.c malloc.c part.c

CFLAGS=		-I${.CURDIR}/../../../sys/boot/common -I. \
		-DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -DPART_DEBUG

DPADD+=		${LIBGEOM} ${LIBUTIL}
LDADD+=		${LIBGEOM} ${LIBUTIL}
LDFLAGS+=	-lgeom -lutil

.include <bsd.prog.mk>
