Use __DEQUALIFY, not only __DECONST to get rid of the volatile too.
[dragonfly.git] / sys / boot / ofw / libofw / Makefile
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.1 2003/11/10 06:08:37 dillon Exp $
3
4 LIB=            ofw
5 INTERNALLIB=    true
6
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
10
11 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand/
12
13 # Pick up the bootstrap header for some interface items
14 CFLAGS+=        -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
15
16 CFLAGS+=        -ffreestanding
17 .if ${MACHINE_ARCH} == "powerpc"
18 CFLAGS+=        -msoft-float
19 .endif
20
21 .ifdef(BOOT_DISK_DEBUG)
22 # Make the disk code more talkative
23 CFLAGS+= -DDISK_DEBUG
24 .endif
25
26 machine:
27         ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
28
29 CLEANFILES+=    machine
30
31 .include <bsd.lib.mk>
32
33 beforedepend ${OBJS}: machine