Makefile revision 209920
1# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 209920 2010-07-12 00:49:22Z nwhitehorn $ 2 3LIB= ofw 4INTERNALLIB= 5 6SRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \ 7 ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \ 8 ofw_time.c openfirm.c 9 10CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 11 12# Pick up the bootstrap header for some interface items 13CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 14 15CFLAGS+= -ffreestanding 16.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" 17CFLAGS+= -msoft-float 18SRCS+= ppc64_elf_freebsd.c 19.endif 20 21.ifdef(BOOT_DISK_DEBUG) 22# Make the disk code more talkative 23CFLAGS+= -DDISK_DEBUG 24.endif 25 26machine: 27 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine 28 29CLEANFILES+= machine 30 31.include <bsd.lib.mk> 32 33beforedepend ${OBJS}: machine 34