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 $
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 \
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"
21 .
ifdef(BOOT_DISK_DEBUG
)
22 # Make the disk code more talkative
27 ${LN} -sf
${.CURDIR
}/..
/..
/..
/arch
/${MACHINE_ARCH}/include machine
33 beforedepend
${OBJS}: machine