Makefile revision 177152
1# $FreeBSD: head/sys/boot/uboot/lib/Makefile 177152 2008-03-13 17:54:21Z obrien $
2
3LIB=		uboot
4INTERNALLIB=
5
6SRCS=	devicename.c elf_freebsd.c console.c copy.c disk.c \
7	module.c net.c reboot.c time.c glue.c
8
9CFLAGS+=	-ffreestanding -msoft-float
10
11CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
12# Pick up the bootstrap header for some interface items
13CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
14
15.ifdef(BOOT_DISK_DEBUG)
16# Make the disk code more talkative
17CFLAGS+= -DDISK_DEBUG
18.endif
19
20machine:
21	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
22
23CLEANFILES+=	machine
24
25.include <bsd.lib.mk>
26
27beforedepend ${OBJS}: machine
28