1 # $FreeBSD: src/sys/boot/efi/libefi/Makefile,v 1.12 2003/07/02 11:53:55 ru Exp $
2 # $DragonFly: src/sys/boot/efi/libefi/Makefile,v 1.1 2003/11/10 06:08:32 dillon Exp $
4 .PATH: ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE_ARCH}
9 SRCS= libefi.c efi_console.c time.c copy.c devicename.c module.c
10 SRCS+= delay.c efifs.c efinet.c elf_freebsd.c bootinfo.c pal.S
12 .if ${MACHINE_ARCH} == "ia64"
16 CFLAGS+= -ffreestanding -fpic
17 CFLAGS+= -I${.CURDIR}/../include
18 CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
19 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
21 # Pick up the bootstrap header for some interface items
22 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
24 .if ${MACHINE_ARCH} == "powerpc"
28 .ifdef(BOOT_DISK_DEBUG)
29 # Make the disk code more talkative
34 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
40 beforedepend ${OBJS}: machine