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