xref: /freebsd/stand/libofw/Makefile (revision 4ac8f4067096a9d4a00e41cd53bd5c4fa295fd15)
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
5LIB=		ofw
6
7SRCS=	devicename.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# Pick up the bootstrap header for some interface items
12CFLAGS+=	-I${LDRSRC}
13
14.ifdef(BOOT_DISK_DEBUG)
15# Make the disk code more talkative
16CFLAGS+= -DDISK_DEBUG
17.endif
18
19.include <bsd.lib.mk>
20