Makefile revision 281321
1# $FreeBSD: stable/10/sys/boot/efi/libefi/Makefile 281321 2015-04-09 19:36:06Z jhb $ 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.PATH: ${.CURDIR}/../../i386/libi386 9SRCS+= nullconsole.c comconsole.c 10 11.if ${MACHINE_ARCH} == "amd64" 12CFLAGS+= -fPIC -mno-red-zone 13.endif 14CFLAGS+= -I${.CURDIR}/../include 15CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH} 16CFLAGS+= -I${.CURDIR}/../../../../lib/libstand 17 18# Pick up the bootstrap header for some interface items 19CFLAGS+= -I${.CURDIR}/../../common 20 21CFLAGS+= -DNO_PCI 22 23 24# Suppress warning from clang for FreeBSD %b and %D formats 25CFLAGS+= -fformat-extensions 26 27.include <bsd.lib.mk> 28