Makefile revision 136910
1251886Speter# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 136910 2004-10-24 15:33:08Z ru $ 2251886Speter 3251886SpeterLIB= ofw 4251886SpeterINTERNALLIB= 5251886Speter 6251886SpeterSRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \ 7251886Speter ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \ 8251886Speter ofw_time.c openfirm.c 9251886Speter 10251886SpeterCFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 11251886Speter 12251886Speter# Pick up the bootstrap header for some interface items 13251886SpeterCFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 14251886Speter 15251886SpeterCFLAGS+= -ffreestanding 16251886Speter.if ${MACHINE_ARCH} == "powerpc" 17251886SpeterCFLAGS+= -msoft-float 18251886Speter.endif 19251886Speter 20251886Speter.ifdef(BOOT_DISK_DEBUG) 21251886Speter# Make the disk code more talkative 22251886SpeterCFLAGS+= -DDISK_DEBUG 23.endif 24 25machine: 26 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine 27 28CLEANFILES+= machine 29 30.include <bsd.lib.mk> 31 32beforedepend ${OBJS}: machine 33