]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/boot/efi/libefi/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.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 .PATH:  ${.CURDIR}/../../i386/libi386
9 SRCS+= nullconsole.c comconsole.c
10
11 .if ${MACHINE_ARCH} == "amd64"
12 CFLAGS+= -fPIC -mno-red-zone
13 .endif
14 CFLAGS+= -I${.CURDIR}/../include
15 CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH}
16 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
17
18 # Pick up the bootstrap header for some interface items
19 CFLAGS+= -I${.CURDIR}/../../common
20
21 CFLAGS+= -DNO_PCI
22
23  
24 # Suppress warning from clang for FreeBSD %b and %D formats
25 CFLAGS+= -fformat-extensions
26
27 .include <bsd.lib.mk>