Makefile revision 68548
1# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 68548 2000-11-10 06:39:58Z benno $ 2 3LIB= ofw 4NOPIC= true 5NOPROFILE= true 6INTERNALLIB= true 7INTERNALSTATICLIB= true 8 9SRCS= devicename.c ofw_copy.c ofw_module.c ofw_disk.c ofw_net.c \ 10 ofw_console.c ofw_time.c ofw_devsearch.c ofw_reboot.c openfirm.c 11 12CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 13 14# Pick up the bootstrap header for some interface items 15CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 16 17.if ${MACHINE_ARCH} == "powerpc" 18CFLAGS+= -msoft-float 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