Makefile revision 183198
167204Sobrien# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 183198 2008-09-19 19:49:58Z sobomax $ 267204Sobrien 367204SobrienLIB= ofw 4136910SruINTERNALLIB= 567204Sobrien 6106738SjakeSRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \ 7106738Sjake ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \ 8170854Smarius ofw_time.c openfirm.c 967204Sobrien 1067204SobrienCFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 1167204Sobrien 1267204Sobrien# Pick up the bootstrap header for some interface items 1368548SbennoCFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 1467204Sobrien 1591115SjakeCFLAGS+= -ffreestanding 1668548Sbenno.if ${MACHINE_ARCH} == "powerpc" 17183198SsobomaxCFLAGS+= -msoft-float 1868548Sbenno.endif 1968548Sbenno 2068548Sbenno.ifdef(BOOT_DISK_DEBUG) 2167204Sobrien# Make the disk code more talkative 2267204SobrienCFLAGS+= -DDISK_DEBUG 2367204Sobrien.endif 2467204Sobrien 2568548Sbennomachine: 2668548Sbenno ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine 2768548Sbenno 2868548SbennoCLEANFILES+= machine 2968548Sbenno 3067204Sobrien.include <bsd.lib.mk> 3168548Sbenno 3268548Sbennobeforedepend ${OBJS}: machine 33