1# $FreeBSD: head/sys/boot/efi/libefi/Makefile 136910 2004-10-24 15:33:08Z ru $
| 1# $FreeBSD: head/sys/boot/efi/libefi/Makefile 138141 2004-11-28 00:30:22Z marcel $
|
2 3.PATH: ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE_ARCH} 4
| 2 3.PATH: ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE_ARCH} 4
|
5LIB= efi
| 5LIB= efi
|
6INTERNALLIB= 7
| 6INTERNALLIB= 7
|
8SRCS= libefi.c efi_console.c time.c copy.c devicename.c module.c 9SRCS+= delay.c efifs.c efinet.c elf_freebsd.c bootinfo.c pal.S
| 8SRCS= bootinfo.c copy.c delay.c devicename.c efi_console.c efifs.c efinet.c \ 9 elf_freebsd.c libefi.c module.c time.c
|
10 11.if ${MACHINE_ARCH} == "ia64"
| 10 11.if ${MACHINE_ARCH} == "ia64"
|
12SRCS+= efifpswa.c
| 12SRCS+= efifpswa.c pal.S
|
13.endif 14
| 13.endif 14
|
15CFLAGS+= -I${.CURDIR}/../include 16CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} 17CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
| 15CFLAGS+= -I${.CURDIR}/../include 16CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} 17CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
18 19# Pick up the bootstrap header for some interface items
| 18 19# Pick up the bootstrap header for some interface items
|
20CFLAGS+= -I${.CURDIR}/../../common
| 20CFLAGS+= -I${.CURDIR}/../../common
|
21
| 21
|
22.if defined(BOOT_DISK_DEBUG)
| |
23# Make the disk code more talkative
| 22# Make the disk code more talkative
|
| 23.if defined(BOOT_DISK_DEBUG)
|
24CFLAGS+= -DDISK_DEBUG 25.endif 26 27.include <bsd.lib.mk>
| 24CFLAGS+= -DDISK_DEBUG 25.endif 26 27.include <bsd.lib.mk>
|