]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/efi/libefi/Makefile
Merge libxo 0.4.6
[FreeBSD/FreeBSD.git] / sys / boot / efi / libefi / Makefile
1 # $FreeBSD$
2
3 LIB=    efi
4 INTERNALLIB=
5 WARNS?= 2
6
7 SRCS=   delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
8         libefi.c time.c
9
10 .if ${MACHINE_CPUARCH} == "aarch64"
11 CFLAGS+=        -msoft-float -mgeneral-regs-only
12 .endif
13 .if ${MACHINE_ARCH} == "amd64"
14 CFLAGS+= -fPIC -mno-red-zone
15 .endif
16 CFLAGS+= -I${.CURDIR}/../include
17 CFLAGS+= -I${.CURDIR}/../include/${MACHINE}
18 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
19
20 # Pick up the bootstrap header for some interface items
21 CFLAGS+= -I${.CURDIR}/../../common
22
23 # Handle FreeBSD specific %b and %D printf format specifiers
24 CFLAGS+= ${FORMAT_EXTENSIONS}
25 CFLAGS+= -DTERM_EMU
26
27 .include <bsd.lib.mk>