1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5LIB= efi 6INTERNALLIB= 7WARNS?= 2 8 9SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \ 10 libefi.c time.c 11 12.if ${MACHINE_CPUARCH} == "ia64" 13IGNORE_PRAGMA= 1 14.endif 15 16.if ${MACHINE_ARCH} == "amd64" 17CFLAGS+= -fPIC -mno-red-zone 18.endif 19CFLAGS+= -I${.CURDIR}/../include 20CFLAGS+= -I${.CURDIR}/../include/${MACHINE} 21CFLAGS+= -I${.CURDIR}/../../../../lib/libstand 22 23# Pick up the bootstrap header for some interface items 24CFLAGS+= -I${.CURDIR}/../../common 25 26 27# Suppress warning from clang for FreeBSD %b and %D formats 28CFLAGS+= -fformat-extensions 29CFLAGS+= -DTERM_EMU 30 31.include <bsd.lib.mk> 32