xref: /freebsd/stand/efi/gptboot/Makefile (revision cfcf475a669738382ac75ea50eb03a20280f7662)
1.include <bsd.init.mk>
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