Makefile revision 176348
1# $FreeBSD: head/sys/boot/uboot/lib/Makefile 176348 2008-02-16 22:13:11Z marcel $ 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+= -I${.CURDIR}/../../../../lib/libstand/ 10 11# Pick up the bootstrap header for some interface items 12CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 13 14CFLAGS+= -ffreestanding 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