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