]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/boot/efi/libefi/Makefile
MFC r293233: loader.efi: add terminal emulation support
[FreeBSD/stable/10.git] / sys / boot / efi / libefi / Makefile
1 # $FreeBSD$
2
3 LIB=    efi
4 INTERNALLIB=
5
6 SRCS=   delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
7         libefi.c time.c
8
9 .if ${MACHINE_ARCH} == "amd64"
10 CFLAGS+= -fPIC -mno-red-zone
11 .endif
12 CFLAGS+= -I${.CURDIR}/../include
13 CFLAGS+= -I${.CURDIR}/../include/${MACHINE}
14 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
15
16 # Pick up the bootstrap header for some interface items
17 CFLAGS+= -I${.CURDIR}/../../common
18
19  
20 # Suppress warning from clang for FreeBSD %b and %D formats
21 CFLAGS+= -fformat-extensions
22 CFLAGS+= -DTERM_EMU
23
24 .include <bsd.lib.mk>