xref: /freebsd/stand/efi/gptboot/Makefile (revision 19261079b74319502c6ffa1249920079f0f69a72)
1# $FreeBSD$
2
3# ZFS is not supported, we want debugging until this is vetted and
4# we don't want the gptboot.efifat thing created.
5MK_LOADER_ZFS=no
6EFI_DEBUG=yes
7
8BOOT1?=		gptboot
9MAN=		gptboot.efi.8
10.PATH:		${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
11CFLAGS+=	-I${SRCTOP}/stand/efi/boot1
12CFLAGS+=	-I${.CURDIR}
13CFLAGS+=	-DBOOTPROG=\"gptboot.efi\"
14CFLAGS+=	-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
15SRCS+=		gpt.c
16CWARNFLAGS.gpt.c+=	-Wno-sign-compare -Wno-cast-align
17WARNS?=6
18.include "${.CURDIR}/../boot1/Makefile"
19