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