Deleted Added
full compact
Makefile (256281) Makefile (271135)
1# $FreeBSD: stable/10/sys/boot/efi/libefi/Makefile 211679 2010-08-23 01:48:07Z imp $
1# $FreeBSD: stable/10/sys/boot/efi/libefi/Makefile 271135 2014-09-04 21:01:10Z 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
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
11.endif
9CFLAGS+= -I${.CURDIR}/../include
12CFLAGS+= -I${.CURDIR}/../include
10CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH:S/amd64/i386/}
13CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH}
11CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
12
13# Pick up the bootstrap header for some interface items
14CFLAGS+= -I${.CURDIR}/../../common
15
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
16.include <bsd.lib.mk>
23.include <bsd.lib.mk>