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