Makefile revision 77943
1# $FreeBSD: head/sys/boot/efi/libefi/Makefile 77943 2001-06-09 16:49:51Z dfr $
2
3LIB=		efi
4NOPIC=		true
5NOPROFILE=	true
6INTERNALLIB=	true
7INTERNALSTATICLIB=	true
8
9SRCS=	libefi.c efi_console.c time.c copy.c devicename.c module.c exit.c
10SRCS+=	delay.c
11
12CFLAGS+=	-fpic
13CFLAGS+=	-I${.CURDIR}/../include
14CFLAGS+=	-I${.CURDIR}/../include/${MACHINE_ARCH}
15CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
16
17# Pick up the bootstrap header for some interface items
18CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
19
20.if ${MACHINE_ARCH} == "powerpc"
21CFLAGS+=	-msoft-float
22.endif
23
24.ifdef(BOOT_DISK_DEBUG)
25# Make the disk code more talkative
26CFLAGS+= -DDISK_DEBUG
27.endif
28
29machine:
30	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
31
32CLEANFILES+=	machine
33
34.include <bsd.lib.mk>
35
36beforedepend ${OBJS}: machine
37