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