2001-06-09 16:49:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-09-24 19:31:44 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE_ARCH}
|
|
|
|
|
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
|
|
|
|
2004-11-28 00:30:22 +00:00
|
|
|
SRCS= bootinfo.c copy.c delay.c devicename.c efi_console.c efifs.c efinet.c \
|
|
|
|
elf_freebsd.c libefi.c module.c time.c
|
2001-06-09 16:49:51 +00:00
|
|
|
|
2001-11-19 07:09:47 +00:00
|
|
|
.if ${MACHINE_ARCH} == "ia64"
|
2004-11-28 00:30:22 +00:00
|
|
|
SRCS+= efifpswa.c pal.S
|
2001-11-19 07:09:47 +00:00
|
|
|
.endif
|
|
|
|
|
2004-11-28 00:30:22 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
|
|
|
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
|
|
|
|
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
|
|
|
|
|
|
|
# Make the disk code more talkative
|
2004-11-28 00:30:22 +00:00
|
|
|
.if defined(BOOT_DISK_DEBUG)
|
2001-06-09 16:49:51 +00:00
|
|
|
CFLAGS+= -DDISK_DEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|