6 SRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \
7 ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
9 .PATH: ${.CURDIR}/../../zfs
10 SRCS+= devicename_stubs.c
12 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
14 # Pick up the bootstrap header for some interface items
15 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
17 CFLAGS+= -ffreestanding
18 .if ${MACHINE_ARCH} == "powerpc"
22 .ifdef(BOOT_DISK_DEBUG)
23 # Make the disk code more talkative
28 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
34 beforedepend ${OBJS}: machine