Makefile revision 211680
167204Sobrien# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 211680 2010-08-23 01:50:34Z imp $ 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 16211680Simp.if ${MACHINE_CPUARCH} == "powerpc" 17183198SsobomaxCFLAGS+= -msoft-float 18209920SnwhitehornSRCS+= ppc64_elf_freebsd.c 1968548Sbenno.endif 2068548Sbenno 2168548Sbenno.ifdef(BOOT_DISK_DEBUG) 2267204Sobrien# Make the disk code more talkative 2367204SobrienCFLAGS+= -DDISK_DEBUG 2467204Sobrien.endif 2567204Sobrien 2668548Sbennomachine: 27211680Simp ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine 2868548Sbenno 2968548SbennoCLEANFILES+= machine 3068548Sbenno 3167204Sobrien.include <bsd.lib.mk> 3268548Sbenno 3368548Sbennobeforedepend ${OBJS}: machine 34