summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi/Makefile
blob: 900b23059bb3ce10ae70c19839d2160026bc4d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $FreeBSD$

LIB=	efi
INTERNALLIB=

SRCS=	delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
	libefi.c time.c

.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -fPIC -mno-red-zone
.endif
CFLAGS+= -I${.CURDIR}/../include
CFLAGS+= -I${.CURDIR}/../include/${MACHINE}
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand

# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common

 
# Suppress warning from clang for FreeBSD %b and %D formats
CFLAGS+= -fformat-extensions
CFLAGS+= -DTERM_EMU

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud