1 # $FreeBSD: head/sys/boot/efi/libefi/Makefile 294028 2016-01-14 18:46:57Z smh $
7 SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
10 .if ${MACHINE_ARCH} == "x86_64"
11 CFLAGS+= -fPIC -mno-red-zone
12 CFLAGS+= -I${.CURDIR}/../../../contrib/edk2/Include/X64
14 CFLAGS+= -I${.CURDIR}/../include
15 CFLAGS+= -I${.CURDIR}/../../../contrib/edk2/Include
16 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
18 # Pick up the bootstrap header for some interface items
19 CFLAGS+= -I${.CURDIR}/../../common
21 # Disable stack protector
22 CFLAGS+= -fno-stack-protector
24 # Handle FreeBSD specific %b and %D printf format specifiers
25 CFLAGS+= ${FORMAT_EXTENSIONS}