]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/efi/libefi/Makefile
Update llvm, clang and lldb to 3.7.0 release.
[FreeBSD/FreeBSD.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_CPUARCH} == "aarch64"
10 CFLAGS+=        -msoft-float -mgeneral-regs-only
11 .endif
12 .if ${MACHINE_ARCH} == "amd64"
13 CFLAGS+= -fPIC -mno-red-zone
14 .endif
15 CFLAGS+= -I${.CURDIR}/../include
16 CFLAGS+= -I${.CURDIR}/../include/${MACHINE}
17 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
18
19 # Pick up the bootstrap header for some interface items
20 CFLAGS+= -I${.CURDIR}/../../common
21
22 # Handle FreeBSD specific %b and %D printf format specifiers
23 CFLAGS+= ${FORMAT_EXTENSIONS}
24
25 .include <bsd.lib.mk>