Makefile revision 292560
1# $FreeBSD: stable/10/sys/boot/efi/libefi/Makefile 292560 2015-12-21 19:25:27Z emaste $ 2 3LIB= efi 4INTERNALLIB= 5 6SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \ 7 libefi.c time.c 8 9.if ${MACHINE_ARCH} == "amd64" 10CFLAGS+= -fPIC -mno-red-zone 11.endif 12CFLAGS+= -I${.CURDIR}/../include 13CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH} 14CFLAGS+= -I${.CURDIR}/../../../../lib/libstand 15 16# Pick up the bootstrap header for some interface items 17CFLAGS+= -I${.CURDIR}/../../common 18 19 20# Suppress warning from clang for FreeBSD %b and %D formats 21CFLAGS+= -fformat-extensions 22 23.include <bsd.lib.mk> 24