HAMMER 59C/Many: Stabilization pass - fixes for large file issues
[dragonfly.git] / sys / boot / ofw / libofw / Makefile
blobd4b3cde1ff8bba4a36eccfabb545e34f9b2443b3
1 # $FreeBSD: src/sys/boot/ofw/libofw/Makefile,v 1.8 2002/11/10 19:17:36 jake Exp $
2 # $DragonFly: src/sys/boot/ofw/libofw/Makefile,v 1.3 2006/10/22 16:09:19 dillon Exp $
4 LIB= ofw
5 INTERNALLIB= true
7 SRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \
8 ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
9 ofw_time.c openfirm.c
11 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
13 # Pick up the bootstrap header for some interface items
14 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
16 CFLAGS+= -ffreestanding
17 .if ${MACHINE_ARCH} == "powerpc"
18 CFLAGS+= -msoft-float
19 .endif
21 .ifdef(BOOT_DISK_DEBUG)
22 # Make the disk code more talkative
23 CFLAGS+= -DDISK_DEBUG
24 .endif
26 machine:
27 ${LN} -sf ${.CURDIR}/../../../arch/${MACHINE_ARCH}/include machine
29 CLEANFILES+= machine
31 .include <bsd.lib.mk>
33 beforedepend ${OBJS}: machine