2001-06-09 16:49:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-11-28 00:30:22 +00:00
|
|
|
LIB= efi
|
2004-10-24 15:33:08 +00:00
|
|
|
INTERNALLIB=
|
2001-06-09 16:49:51 +00:00
|
|
|
|
2010-01-09 22:54:29 +00:00
|
|
|
SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
|
|
|
|
libefi.c time.c
|
2014-09-12 17:32:28 +00:00
|
|
|
.PATH: ${.CURDIR}/../../i386/libi386
|
|
|
|
SRCS+= nullconsole.c comconsole.c
|
2001-11-19 07:09:47 +00:00
|
|
|
|
2014-04-03 23:10:23 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
2004-11-28 00:30:22 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
2014-03-13 18:17:18 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH}
|
2004-11-28 00:30:22 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
2001-06-09 16:49:51 +00:00
|
|
|
|
|
|
|
# Pick up the bootstrap header for some interface items
|
2004-11-28 00:30:22 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../common
|
2001-06-09 16:49:51 +00:00
|
|
|
|
2014-09-12 17:32:28 +00:00
|
|
|
CFLAGS+= -DNO_PCI
|
|
|
|
|
2014-07-22 04:37:47 +00:00
|
|
|
|
|
|
|
# Suppress warning from clang for FreeBSD %b and %D formats
|
|
|
|
CFLAGS+= -fformat-extensions
|
|
|
|
|
2001-06-09 16:49:51 +00:00
|
|
|
.include <bsd.lib.mk>
|