Makefile revision 1.3
11.3Sriastrad#	$NetBSD: Makefile,v 1.3 2020/03/21 18:43:47 riastradh Exp $
21.1Snonaka
31.1SnonakaPROG=		bootx64.efi
41.1SnonakaOBJFMT=		pei-x86-64
51.1SnonakaNEWVERSWHAT=	"EFI Boot (x64)"
61.1Snonaka
71.2SmanuEXTRA_SOURCES=	efibootx64.c startprog64.S multiboot64.S
81.1Snonaka
91.1SnonakaCOPTS+=		-mno-red-zone
101.1SnonakaCPPFLAGS+=	-DEFI_FUNCTION_WRAPPER
111.1Snonaka
121.3Sriastrad# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
131.3Sriastrad# accessors -- they don't actually dereference the resulting pointer,
141.3Sriastrad# just use it for type-checking.
151.3SriastradCWARNFLAGS.clang+=	-Wno-error=address-of-packed-member
161.3Sriastrad
171.1Snonaka.include "${.CURDIR}/../Makefile.efiboot"
18