# $FreeBSD: stable/11/tools/tools/bootparttest/Makefile 329145 2018-02-12 01:08:44Z kevans $

.PATH:		${SRCTOP}/stand/common

BINDIR?=	/usr/bin

PROG=		bootparttest
MAN=

SRCS=		bootparttest.c crc32.c stub.c part.c disk.c

CFLAGS=		-I${SRCTOP}/stand/common \
		-DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -DPART_DEBUG \
		-DDISK_DEBUG

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

.include <bsd.prog.mk>
